diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/less/navbar.less b/less/navbar.less index 9511670cd..6cee4030c 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -300,7 +300,8 @@ } -// Buttons in navbar + +// Buttons in navbars // // Vertically center a button within a navbar (when *not* in a form). @@ -308,10 +309,23 @@ margin-top: ((@navbar-height - @input-height-base) / 2); } -/* -// Janky solution for now to account for links outside the .nav -// ------------------------- + +// Text in navbars +// +// Add a class to make any element properly align itself vertically within the navbars. + +.navbar-text { + +} + + + +// Links in navbars +// +// Add a class to ensure links outside the navbar nav are colored correctly. + +// Default navbar variables .navbar-link { color: @navbar-link-color; &:hover { @@ -319,4 +333,10 @@ } } -*/ +// Use the inverse navbar variables +.navbar-inverse .navbar-link { + color: @navbar-inverse-link-color; + &:hover { + color: @navbar-inverse-link-hover-color; + } +} |
