Commit 16d12396 authored by Mark Otto's avatar Mark Otto

simplify text color in navbar by placing the color on global .navbar component

parent 1948e985
...@@ -2510,6 +2510,9 @@ button.btn.small, input[type="submit"].btn.small { ...@@ -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 { ...@@ -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;
......
...@@ -1244,7 +1244,7 @@ $('#myCollapsible').on('hidden', function () { ...@@ -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 @@ ...@@ -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 @@ ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment