mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +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;
|
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 @@
|
|||||||
<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 @@
|
|||||||
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user