Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
f8d5a974
Commit
f8d5a974
authored
11 years ago
by
syed
Browse files
Options
Download
Email Patches
Plain Diff
Moving navbar inline properties to variables.less and customize.html
parent
e9c83647
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
customize.html
+14
-0
customize.html
less/navbar.less
+7
-7
less/navbar.less
less/variables.less
+10
-0
less/variables.less
with
31 additions
and
7 deletions
+31
-7
customize.html
+
14
-
0
View file @
f8d5a974
...
...
@@ -724,6 +724,13 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<input
type=
"text"
placeholder=
"darken(@navbar-link-color, 10%)"
>
<label>
@navbar-brand-hover-bg
</label>
<input
type=
"text"
placeholder=
"transparent"
>
<h4>
Toggle
</h4>
<label>
@navbar-toggle-hover-bg
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
<label>
@navbar-toggle-icon-bar-bg
</label>
<input
type=
"text"
placeholder=
"#ccc"
>
<label>
@navbar-toggle-border-color
</label>
<input
type=
"text"
placeholder=
"#ddd"
>
</div>
<div
class=
"col-lg-6"
>
<h3>
Inverted navbar
</h3>
...
...
@@ -754,6 +761,13 @@ lead: Customize Bootstrap's components, LESS variables, and jQuery plugins to ge
<input
type=
"text"
placeholder=
"#fff"
>
<label>
@navbar-inverse-brand-hover-bg
</label>
<input
type=
"text"
placeholder=
"transparent"
>
<h4>
Toggle
</h4>
<label>
@navbar-inverse-toggle-hover-bg
</label>
<input
type=
"text"
placeholder=
"#333"
>
<label>
@navbar-inverse-toggle-icon-bar-bg
</label>
<input
type=
"text"
placeholder=
"#fff"
>
<label>
@navbar-inverse-toggle-border-color
</label>
<input
type=
"text"
placeholder=
"#333"
>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
less/navbar.less
+
7
-
7
View file @
f8d5a974
...
...
@@ -123,12 +123,12 @@
height: 32px;
padding: 8px 12px;
background-color: transparent;
border: 1px solid
#ddd
;
border-radius:
4px
;
border: 1px solid
@navbar-toggle-border-color
;
border-radius:
@border-radius-base
;
&:hover,
&:focus {
background-color:
#ddd
;
background-color:
@navbar-toggle-hover-bg
;
}
// Bars
...
...
@@ -136,7 +136,7 @@
display: block;
width: 22px;
height: 2px;
background-color:
#ccc
;
background-color:
@navbar-toggle-icon-bar-bg
;
border-radius: 1px;
}
.icon-bar + .icon-bar {
...
...
@@ -250,13 +250,13 @@
// Darken the responsive nav toggle
.navbar-toggle {
border-color:
#333
;
border-color:
@navbar-inverse-toggle-border-color
;
&:hover,
&:focus {
background-color:
#333
;
background-color:
@navbar-inverse-toggle-hover-bg
;
}
.icon-bar {
background-color:
#fff
;
background-color:
@navbar-inverse-toggle-icon-bar-bg
;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/variables.less
+
10
-
0
View file @
f8d5a974
...
...
@@ -224,6 +224,16 @@
@navbar-inverse-search-border: @navbar-inverse-bg;
@navbar-inverse-search-placeholder-color: #ccc;
// Navbar toggle
@navbar-toggle-hover-bg: #ddd;
@navbar-toggle-icon-bar-bg: #ccc;
@navbar-toggle-border-color: #ddd;
// Inverted navbar toggle
@navbar-inverse-toggle-hover-bg: #333;
@navbar-inverse-toggle-icon-bar-bg: #fff;
@navbar-inverse-toggle-border-color: #333;
// Pagination
// -------------------------
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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