mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
introduce .navbar-link to resolve issue with buttons in .navbar-text
This commit is contained in:
Binary file not shown.
Vendored
+6
@@ -2896,6 +2896,12 @@ input[type="submit"].btn.btn-mini {
|
||||
margin-bottom: 0;
|
||||
line-height: 40px;
|
||||
}
|
||||
.navbar .navbar-link {
|
||||
color: #999999;
|
||||
}
|
||||
.navbar .navbar-link:hover {
|
||||
color: #ffffff;
|
||||
}
|
||||
.navbar .btn,
|
||||
.navbar .btn-group {
|
||||
margin-top: 5px;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
<li><a href="#about">About</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</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>
|
||||
</div>
|
||||
|
||||
@@ -81,6 +81,13 @@
|
||||
margin-bottom: 0;
|
||||
line-height: @navbarHeight;
|
||||
}
|
||||
// Janky solution for now to account for links outside the .nav
|
||||
.navbar-link {
|
||||
color: @navbarLinkColor;
|
||||
&:hover {
|
||||
color: @navbarLinkColorHover;
|
||||
}
|
||||
}
|
||||
// Buttons in navbar
|
||||
.btn,
|
||||
.btn-group {
|
||||
|
||||
Reference in New Issue
Block a user