]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fixes #4156: don't override border radius if stacked nav has one child
authorMark Otto <markotto@twitter.com>
Tue, 24 Jul 2012 06:56:13 +0000 (23:56 -0700)
committerMark Otto <markotto@twitter.com>
Tue, 24 Jul 2012 06:56:13 +0000 (23:56 -0700)
docs/assets/css/bootstrap.css
less/navs.less

index df389af9ccbef73204b7a2fc19672bfc2fa14d35..5525614d60360ac7e426e7d49acd0320330d9646 100644 (file)
@@ -3686,15 +3686,21 @@ input[type="submit"].btn.btn-mini {
 }
 
 .nav-tabs.nav-stacked > li:first-child > a {
-  -webkit-border-radius: 4px 4px 0 0;
-     -moz-border-radius: 4px 4px 0 0;
-          border-radius: 4px 4px 0 0;
+  -webkit-border-top-right-radius: 4px;
+          border-top-right-radius: 4px;
+  -webkit-border-top-left-radius: 4px;
+          border-top-left-radius: 4px;
+  -moz-border-radius-topright: 4px;
+  -moz-border-radius-topleft: 4px;
 }
 
 .nav-tabs.nav-stacked > li:last-child > a {
-  -webkit-border-radius: 0 0 4px 4px;
-     -moz-border-radius: 0 0 4px 4px;
-          border-radius: 0 0 4px 4px;
+  -webkit-border-bottom-right-radius: 4px;
+          border-bottom-right-radius: 4px;
+  -webkit-border-bottom-left-radius: 4px;
+          border-bottom-left-radius: 4px;
+  -moz-border-radius-bottomright: 4px;
+  -moz-border-radius-bottomleft: 4px;
 }
 
 .nav-tabs.nav-stacked > li > a:hover {
index 96723ffc93556dce0d0bf3b8943de354758ff40a..4c38f7dbf2c80036cb9b62d01b6a16d5d113216f 100644 (file)
   .border-radius(0);
 }
 .nav-tabs.nav-stacked > li:first-child > a {
-  .border-radius(4px 4px 0 0);
+  .border-top-radius(4px);
 }
 .nav-tabs.nav-stacked > li:last-child > a {
-  .border-radius(0 0 4px 4px);
+  .border-bottom-radius(4px);
 }
 .nav-tabs.nav-stacked > li > a:hover {
   border-color: #ddd;