Commit 6c5c29ad authored by Mark Otto's avatar Mark Otto

introduce .navbar-link to resolve issue with buttons in .navbar-text

parent a7b8e52f
...@@ -2896,6 +2896,12 @@ input[type="submit"].btn.btn-mini { ...@@ -2896,6 +2896,12 @@ input[type="submit"].btn.btn-mini {
margin-bottom: 0; margin-bottom: 0;
line-height: 40px; line-height: 40px;
} }
.navbar .navbar-link {
color: #999999;
}
.navbar .navbar-link:hover {
color: #ffffff;
}
.navbar .btn, .navbar .btn,
.navbar .btn-group { .navbar .btn-group {
margin-top: 5px; margin-top: 5px;
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<li><a href="#about">About</a></li> <li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li> <li><a href="#contact">Contact</a></li>
</ul> </ul>
<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p> <p class="navbar-text pull-right">Logged in as <a class="navbar-link" href="#">username</a></p>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
</div> </div>
</div> </div>
......
...@@ -81,6 +81,13 @@ ...@@ -81,6 +81,13 @@
margin-bottom: 0; margin-bottom: 0;
line-height: @navbarHeight; line-height: @navbarHeight;
} }
// Janky solution for now to account for links outside the .nav
.navbar-link {
color: @navbarLinkColor;
&:hover {
color: @navbarLinkColorHover;
}
}
// Buttons in navbar // Buttons in navbar
.btn, .btn,
.btn-group { .btn-group {
......
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