aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-08-02 09:42:50 -0700
committerMark Otto <[email protected]>2013-08-02 09:42:50 -0700
commit048e19b8921ff0cae8ade7ace7700f0563c1fb82 (patch)
tree305b5181b8cea642971f4471706a05e2afe687dc /less
parent34e5c7542be4bf4792d77294a839f95815825f35 (diff)
downloadbootstrap-048e19b8921ff0cae8ade7ace7700f0563c1fb82.tar.xz
bootstrap-048e19b8921ff0cae8ade7ace7700f0563c1fb82.zip
Fixes #8996: shift placement of justified CSS for nav component
Diffstat (limited to 'less')
-rw-r--r--less/navs.less67
1 files changed, 33 insertions, 34 deletions
diff --git a/less/navs.less b/less/navs.less
index 340b63970..437052fc2 100644
--- a/less/navs.less
+++ b/less/navs.less
@@ -69,40 +69,6 @@
}
-
-// 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
// -------------------------
@@ -185,6 +151,39 @@
}
+// 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;
+ }
+}
+
+
// Tabbable tabs
// -------------------------