Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
f1bc840d
Commit
f1bc840d
authored
Nov 02, 2013
by
Zlatan Vasović
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use nesting for .placeholder()
parent
ea3c8918
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
25 deletions
+23
-25
dist/css/bootstrap.css
dist/css/bootstrap.css
+16
-16
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/forms.less
less/forms.less
+6
-8
No files found.
dist/css/bootstrap.css
View file @
f1bc840d
...
@@ -1882,22 +1882,6 @@ output {
...
@@ -1882,22 +1882,6 @@ output {
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
.form-control
:-moz-placeholder
{
color
:
#999999
;
}
.form-control
::-moz-placeholder
{
color
:
#999999
;
}
.form-control
:-ms-input-placeholder
{
color
:
#999999
;
}
.form-control
::-webkit-input-placeholder
{
color
:
#999999
;
}
.form-control
{
.form-control
{
display
:
block
;
display
:
block
;
width
:
100%
;
width
:
100%
;
...
@@ -1924,6 +1908,22 @@ output {
...
@@ -1924,6 +1908,22 @@ output {
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgba
(
102
,
175
,
233
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgba
(
102
,
175
,
233
,
0.6
);
}
}
.form-control
:-moz-placeholder
{
color
:
#999999
;
}
.form-control
::-moz-placeholder
{
color
:
#999999
;
}
.form-control
:-ms-input-placeholder
{
color
:
#999999
;
}
.form-control
::-webkit-input-placeholder
{
color
:
#999999
;
}
.form-control
[
disabled
],
.form-control
[
disabled
],
.form-control
[
readonly
],
.form-control
[
readonly
],
fieldset
[
disabled
]
.form-control
{
fieldset
[
disabled
]
.form-control
{
...
...
dist/css/bootstrap.min.css
View file @
f1bc840d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/forms.less
View file @
f1bc840d
...
@@ -92,14 +92,6 @@ output {
...
@@ -92,14 +92,6 @@ output {
vertical-align: middle;
vertical-align: middle;
}
}
// Placeholder
//
// Placeholder text gets special styles because when browsers invalidate entire
// lines if it doesn't understand a selector/
.form-control {
.placeholder();
}
// Common form controls
// Common form controls
//
//
...
@@ -142,6 +134,12 @@ output {
...
@@ -142,6 +134,12 @@ output {
// Customize the `:focus` state to imitate native WebKit styles.
// Customize the `:focus` state to imitate native WebKit styles.
.form-control-focus();
.form-control-focus();
// Placeholder
//
// Placeholder text gets special styles because when browsers invalidate entire
// lines if it doesn't understand a selector/
.placeholder();
// Disabled and read-only inputs
// Disabled and read-only inputs
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// Note: HTML5 says that controls under a fieldset > legend:first-child won't
// be disabled if the fieldset is disabled. Due to implementation difficulty,
// be disabled if the fieldset is disabled. Due to implementation difficulty,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment