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
241cbd47
Commit
241cbd47
authored
May 28, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3619 from coreyti/2.0.4-wip-fix-placeholder
2.0.4 wip fix placeholder
parents
28708675
8a063395
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+4
-0
less/mixins.less
less/mixins.less
+3
-3
less/navbar.less
less/navbar.less
+1
-7
No files found.
docs/assets/css/bootstrap.css
View file @
241cbd47
...
...
@@ -3713,6 +3713,10 @@ input[type="submit"].btn.btn-mini {
color
:
#cccccc
;
}
.navbar-search
.search-query
:-ms-input-placeholder
{
color
:
#cccccc
;
}
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#cccccc
;
}
...
...
less/mixins.less
View file @
241cbd47
...
...
@@ -81,13 +81,13 @@
// Placeholder text
// -------------------------
.placeholder(@color: @placeholderText) {
:-moz-placeholder {
&
:-moz-placeholder {
color: @color;
}
:-ms-input-placeholder {
&
:-ms-input-placeholder {
color: @color;
}
::-webkit-input-placeholder {
&
::-webkit-input-placeholder {
color: @color;
}
}
...
...
less/navbar.less
View file @
241cbd47
...
...
@@ -123,13 +123,7 @@
.box-shadow(~"inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15)");
.transition(none);
// Placeholder text gets special styles; can't be a grouped selector
&:-moz-placeholder {
color: @navbarSearchPlaceholderColor;
}
&::-webkit-input-placeholder {
color: @navbarSearchPlaceholderColor;
}
.placeholder(@navbarSearchPlaceholderColor);
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
&:focus,
...
...
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