]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
reorder nav-justified classes 8726/head
authorAndrey Popp <8mayday@gmail.com>
Mon, 29 Jul 2013 23:27:32 +0000 (03:27 +0400)
committerAndrey Popp <8mayday@gmail.com>
Mon, 29 Jul 2013 23:27:32 +0000 (03:27 +0400)
less/navs.less

index 4051dbb75ae544f8005c1c7841a564ea33025428..340b63970c22e96218af55aecb10d03ce7870e01 100644 (file)
 // 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
 // -------------------------
 
   }
 }
 
-// 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
 // -------------------------