diff options
| author | Andrey Popp <[email protected]> | 2013-07-30 03:27:32 +0400 |
|---|---|---|
| committer | Andrey Popp <[email protected]> | 2013-07-30 03:27:32 +0400 |
| commit | e0395b425d0a31d3cecda0793fcc2d0bb84ed8fb (patch) | |
| tree | 742305fcd6297e832bf41d1438450d0f0e5d3d81 | |
| parent | 0d7940d950b74220558051c56b2a98babccd5515 (diff) | |
| download | bootstrap-e0395b425d0a31d3cecda0793fcc2d0bb84ed8fb.tar.xz bootstrap-e0395b425d0a31d3cecda0793fcc2d0bb84ed8fb.zip | |
reorder nav-justified classes
| -rw-r--r-- | less/navs.less | 61 |
1 files changed, 30 insertions, 31 deletions
diff --git a/less/navs.less b/less/navs.less index 4051dbb75..340b63970 100644 --- a/less/navs.less +++ b/less/navs.less @@ -73,6 +73,36 @@ // Nav variations // -------------------------------------------------- +// Justified nav links +// ------------------------- + +.nav-justified { + width: 100%; + > li { + float: none; + display: table-cell; + width: 1%; + > a { + text-align: center; + } + } +} + +// Move borders to anchors instead of bottom of list +.nav-tabs-justified { + border-bottom: 0; + > li > a { + border-bottom: 1px solid @nav-tabs-justified-link-border-color; + + // Override margin from .nav-tabs + margin-right: 0; + } + > .active > a { + border-bottom-color: @nav-tabs-justified-active-link-border-color; + } + +} + // Tabs // ------------------------- @@ -154,37 +184,6 @@ } } -// Justified nav links -// ------------------------- - -.nav-justified { - width: 100%; - > li { - float: none; - display: table-cell; - width: 1%; - > a { - text-align: center; - } - } -} - -// Move borders to anchors instead of bottom of list -.nav-tabs-justified { - border-bottom: 0; - > li > a { - border-bottom: 1px solid @nav-tabs-justified-link-border-color; - - // Override margin from .nav-tabs - margin-right: 0; - } - > .active > a { - border-bottom-color: @nav-tabs-justified-active-link-border-color; - } - -} - - // Tabbable tabs // ------------------------- |
