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
ab8f2e27
Commit
ab8f2e27
authored
Jan 18, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't scope placeholder text color to just inputs
parent
d12560c0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
11 deletions
+6
-11
bootstrap.css
bootstrap.css
+3
-3
bootstrap.min.css
bootstrap.min.css
+2
-2
lib/forms.less
lib/forms.less
+1
-6
No files found.
bootstrap.css
View file @
ab8f2e27
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Wed Jan 18 00:3
0:0
9 PST 2012
* Date: Wed Jan 18 00:3
4:5
9 PST 2012
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -842,10 +842,10 @@ input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
...
@@ -842,10 +842,10 @@ input:invalid:focus, textarea:invalid:focus, select:invalid:focus {
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
cursor
:
not-allowed
;
cursor
:
not-allowed
;
}
}
input
:-moz-placeholder
{
:-moz-placeholder
{
color
:
#999999
;
color
:
#999999
;
}
}
input
::-webkit-input-placeholder
{
::-webkit-input-placeholder
{
color
:
#999999
;
color
:
#999999
;
}
}
.help-block
{
.help-block
{
...
...
bootstrap.min.css
View file @
ab8f2e27
...
@@ -155,8 +155,8 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
...
@@ -155,8 +155,8 @@ input[disabled],select[disabled],textarea[disabled],input[readonly],select[reado
input
:invalid
,
textarea
:invalid
,
select
:invalid
{
color
:
#b94a48
;
border-color
:
#ee5f5b
;}
input
:invalid:focus
,
textarea
:invalid:focus
,
select
:invalid:focus
{
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;}
input
:invalid
,
textarea
:invalid
,
select
:invalid
{
color
:
#b94a48
;
border-color
:
#ee5f5b
;}
input
:invalid:focus
,
textarea
:invalid:focus
,
select
:invalid:focus
{
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
-moz-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;}
.form-actions
{
padding
:
17px
20px
18px
;
margin-top
:
18px
;
margin-bottom
:
18px
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;}
.form-actions
{
padding
:
17px
20px
18px
;
margin-top
:
18px
;
margin-bottom
:
18px
;
background-color
:
#f5f5f5
;
border-top
:
1px
solid
#ddd
;}
.uneditable-input
{
display
:
block
;
background-color
:
#ffffff
;
border-color
:
#eee
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
cursor
:
not-allowed
;}
.uneditable-input
{
display
:
block
;
background-color
:
#ffffff
;
border-color
:
#eee
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.025
);
cursor
:
not-allowed
;}
input
:-moz-placeholder
{
color
:
#999999
;}
:-moz-placeholder
{
color
:
#999999
;}
input
::-webkit-input-placeholder
{
color
:
#999999
;}
::-webkit-input-placeholder
{
color
:
#999999
;}
.help-block
{
margin-top
:
5px
;
margin-bottom
:
0
;
color
:
#999999
;}
.help-block
{
margin-top
:
5px
;
margin-bottom
:
0
;
color
:
#999999
;}
.help-inline
{
*
position
:
relative
;
*
top
:
-5px
;
display
:
inline
;
padding-left
:
5px
;}
.help-inline
{
*
position
:
relative
;
*
top
:
-5px
;
display
:
inline
;
padding-left
:
5px
;}
.input-prepend
,
.input-append
{
margin-bottom
:
5px
;
zoom
:
1
;}
.input-prepend
:before
,
.input-append
:before
,
.input-prepend
:after
,
.input-append
:after
{
display
:
table
;
*
display
:
inline
;
content
:
""
;
zoom
:
1
;}
.input-prepend
,
.input-append
{
margin-bottom
:
5px
;
zoom
:
1
;}
.input-prepend
:before
,
.input-append
:before
,
.input-prepend
:after
,
.input-append
:after
{
display
:
table
;
*
display
:
inline
;
content
:
""
;
zoom
:
1
;}
...
...
lib/forms.less
View file @
ab8f2e27
...
@@ -336,12 +336,7 @@ select:invalid {
...
@@ -336,12 +336,7 @@ select:invalid {
}
}
// Placeholder text gets special styles; can't be bundled together though for some reason
// Placeholder text gets special styles; can't be bundled together though for some reason
input:-moz-placeholder {
.placeholder(@grayLight);
color: @grayLight;
}
input::-webkit-input-placeholder {
color: @grayLight;
}
...
...
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