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
a3e9fc54
Commit
a3e9fc54
authored
Mar 10, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up search form in navbar, add new variable for placeholder text color
parent
f4ac080f
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
25 deletions
+21
-25
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+6
-13
docs/download.html
docs/download.html
+2
-0
docs/templates/pages/download.mustache
docs/templates/pages/download.mustache
+2
-0
less/navbar.less
less/navbar.less
+9
-12
less/variables.less
less/variables.less
+2
-0
No files found.
docs/assets/bootstrap.zip
View file @
a3e9fc54
No preview for this file type
docs/assets/css/bootstrap.css
View file @
a3e9fc54
...
@@ -2881,10 +2881,8 @@ input[type="submit"].btn.btn-small {
...
@@ -2881,10 +2881,8 @@ input[type="submit"].btn.btn-small {
font-weight
:
normal
;
font-weight
:
normal
;
line-height
:
1
;
line-height
:
1
;
color
:
#ffffff
;
color
:
#ffffff
;
color
:
rgba
(
255
,
255
,
255
,
0.75
);
background-color
:
#626262
;
background
:
#666
;
border
:
1px
solid
#000000
;
background
:
rgba
(
255
,
255
,
255
,
0.3
);
border
:
1px
solid
#111
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.1
),
0
1px
0px
rgba
(
255
,
255
,
255
,
0.15
);
...
@@ -2894,16 +2892,11 @@ input[type="submit"].btn.btn-small {
...
@@ -2894,16 +2892,11 @@ input[type="submit"].btn.btn-small {
-o-transition
:
none
;
-o-transition
:
none
;
transition
:
none
;
transition
:
none
;
}
}
.navbar-search
.search-query
:-moz-placeholder
{
.navbar-search
.search-query
:-moz-placeholder
{
color
:
#eeeeee
;
color
:
#cccccc
;
}
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#eeeeee
;
}
}
.navbar-search
.search-query
:hover
{
.navbar-search
.search-query
::-webkit-input-placeholder
{
color
:
#ffffff
;
color
:
#cccccc
;
background-color
:
#999999
;
background-color
:
rgba
(
255
,
255
,
255
,
0.5
);
}
}
.navbar-search
.search-query
:focus
,
.navbar-search
.search-query
:focus
,
.navbar-search
.search-query.focused
{
.navbar-search
.search-query.focused
{
...
...
docs/download.html
View file @
a3e9fc54
...
@@ -327,6 +327,8 @@
...
@@ -327,6 +327,8 @@
<input
type=
"text"
class=
"span3"
placeholder=
"transparent"
>
<input
type=
"text"
class=
"span3"
placeholder=
"transparent"
>
<label>
@navbarLinkBackgroundActive
</label>
<label>
@navbarLinkBackgroundActive
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@navbarBackground"
>
<input
type=
"text"
class=
"span3"
placeholder=
"@navbarBackground"
>
<label>
@navbarSearchPlaceholderColor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"#ccc"
>
<h3>
Dropdowns
</h3>
<h3>
Dropdowns
</h3>
<label>
@dropdownBackground
</label>
<label>
@dropdownBackground
</label>
...
...
docs/templates/pages/download.mustache
View file @
a3e9fc54
...
@@ -251,6 +251,8 @@
...
@@ -251,6 +251,8 @@
<input
type=
"text"
class=
"span3"
placeholder=
"transparent"
>
<input
type=
"text"
class=
"span3"
placeholder=
"transparent"
>
<label>
@navbarLinkBackgroundActive
</label>
<label>
@navbarLinkBackgroundActive
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"@navbarBackground"
>
<input
type=
"text"
class=
"span3"
placeholder=
"@navbarBackground"
>
<label>
@navbarSearchPlaceholderColor
</label>
<input
type=
"text"
class=
"span3"
placeholder=
"#ccc"
>
<h3>
{{
_i
}}
Dropdowns
{{/
i
}}
</h3>
<h3>
{{
_i
}}
Dropdowns
{{/
i
}}
</h3>
<label>
@dropdownBackground
</label>
<label>
@dropdownBackground
</label>
...
...
less/navbar.less
View file @
a3e9fc54
...
@@ -127,23 +127,20 @@
...
@@ -127,23 +127,20 @@
padding: 4px 9px;
padding: 4px 9px;
#font > .sans-serif(13px, normal, 1);
#font > .sans-serif(13px, normal, 1);
color: @white;
color: @white;
color: rgba(255,255,255,.75);
background-color: lighten(@navbarBackground, 25%);
background: #666;
border: 1px solid darken(@navbarBackground, 15%);
background: rgba(255,255,255,.3);
border: 1px solid #111;
@shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.15);
@shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0px rgba(255,255,255,.15);
.box-shadow(@shadow);
.box-shadow(@shadow);
.transition(none);
.transition(none);
// Placeholder text gets special styles; can't be bundled together though for some reason
// Placeholder text gets special styles; can't be a grouped selector
.placeholder(@grayLighter);
&:-moz-placeholder {
color: @navbarSearchPlaceholderColor;
// Hover states
&:hover {
color: @white;
background-color: @grayLight;
background-color: rgba(255,255,255,.5);
}
}
&::-webkit-input-placeholder {
color: @navbarSearchPlaceholderColor;
}
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
// Focus states (we use .focused since IE7-8 and down doesn't support :focus)
&:focus,
&:focus,
&.focused {
&.focused {
...
...
less/variables.less
View file @
a3e9fc54
...
@@ -149,6 +149,8 @@
...
@@ -149,6 +149,8 @@
@navbarLinkBackgroundHover: transparent;
@navbarLinkBackgroundHover: transparent;
@navbarLinkBackgroundActive: @navbarBackground;
@navbarLinkBackgroundActive: @navbarBackground;
@navbarSearchPlaceholderColor: #ccc;
// Hero unit
// Hero unit
// -------------------------
// -------------------------
...
...
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