diff options
| author | Mark Otto <[email protected]> | 2013-05-02 23:13:43 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-05-02 23:13:43 -0700 |
| commit | e1c67b149f7189f72acc5ca3e25d02f9dcd27e35 (patch) | |
| tree | 4494dc20509f39dfc8a499f141675e66053b3f5d /less | |
| parent | 94792b9dae3800e739e0036d45a276c3127b103d (diff) | |
| download | bootstrap-e1c67b149f7189f72acc5ca3e25d02f9dcd27e35.tar.xz bootstrap-e1c67b149f7189f72acc5ca3e25d02f9dcd27e35.zip | |
More navbar CSS and docs cleanup
* Rearrange sections
* Add code snippets for text and links in navbars
* Add .navbar-link back in
* Add mention of .navbar-text, but it still needs to be re-implemented
* Update nav to reflect new order
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; + } +} |
