mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
simplify text color in navbar by placing the color on global .navbar component
This commit is contained in:
parent
1948e985a3
commit
16d12396d0
Binary file not shown.
8
docs/assets/css/bootstrap.css
vendored
8
docs/assets/css/bootstrap.css
vendored
@ -2510,6 +2510,9 @@ button.btn.small, input[type="submit"].btn.small {
|
|||||||
.nav-collapse.collapse {
|
.nav-collapse.collapse {
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
|
.navbar {
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
.navbar .brand:hover {
|
.navbar .brand:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
@ -2526,11 +2529,6 @@ button.btn.small, input[type="submit"].btn.small {
|
|||||||
.navbar .navbar-text {
|
.navbar .navbar-text {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
color: #999999;
|
|
||||||
}
|
|
||||||
.navbar .navbar-text a:hover {
|
|
||||||
color: #ffffff;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
}
|
||||||
.navbar .btn, .navbar .btn-group {
|
.navbar .btn, .navbar .btn-group {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
|
2
docs/templates/pages/javascript.mustache
vendored
2
docs/templates/pages/javascript.mustache
vendored
@ -1244,7 +1244,7 @@ $('#myCollapsible').on('hidden', function () {
|
|||||||
<h4>.carousel({{_i}}options{{/i}})</h4>
|
<h4>.carousel({{_i}}options{{/i}})</h4>
|
||||||
<p>{{_i}}Initializes the carousel with an optional options <code>object</code> and starts cycling through items.{{/i}}</p>
|
<p>{{_i}}Initializes the carousel with an optional options <code>object</code> and starts cycling through items.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
$('.myCarousel').carousel({
|
$('.carousel').carousel({
|
||||||
interval: 2000
|
interval: 2000
|
||||||
})
|
})
|
||||||
</pre>
|
</pre>
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
|
|
||||||
// Brand, links, text, and buttons
|
// Brand, links, text, and buttons
|
||||||
.navbar {
|
.navbar {
|
||||||
|
color: @navbarText;
|
||||||
// Hover and active states
|
// Hover and active states
|
||||||
.brand:hover {
|
.brand:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -69,11 +70,6 @@
|
|||||||
.navbar-text {
|
.navbar-text {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
color: @navbarText;
|
|
||||||
a:hover {
|
|
||||||
color: @white;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
// Buttons in navbar
|
// Buttons in navbar
|
||||||
.btn,
|
.btn,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user