aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-12-11 01:03:57 -0800
committerMark Otto <[email protected]>2011-12-11 01:03:57 -0800
commit95048c271eb4166a4e22ab1f0ff6d69bade7d62b (patch)
treef1546dbc358c264d2c32243bcb502f0193e61bcb
parent6de3ed53228c79bc4fde5086d1302f2367bc40a5 (diff)
downloadbootstrap-95048c271eb4166a4e22ab1f0ff6d69bade7d62b.tar.xz
bootstrap-95048c271eb4166a4e22ab1f0ff6d69bade7d62b.zip
fix specificity on pills
-rw-r--r--bootstrap.css6
-rw-r--r--bootstrap.min.css2
-rw-r--r--lib/tabs-pills.less2
3 files changed, 5 insertions, 5 deletions
diff --git a/bootstrap.css b/bootstrap.css
index 79fe4826c..1c04bc09c 100644
--- a/bootstrap.css
+++ b/bootstrap.css
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
- * Date: Sun Dec 11 00:58:00 PST 2011
+ * Date: Sun Dec 11 01:03:44 PST 2011
*/
html, body {
margin: 0;
@@ -2074,7 +2074,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
.tabs li.open a.menu:after, .tabs .dropdown.open .dropdown-toggle:after {
border-top-color: #555;
}
-.pills > a {
+.pills > li > a {
padding: 0 15px;
margin: 5px 3px 5px 0;
line-height: 30px;
@@ -2083,7 +2083,7 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
-moz-border-radius: 15px;
border-radius: 15px;
}
-.pills > a:hover {
+.pills > li > a:hover {
color: #ffffff;
text-decoration: none;
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
diff --git a/bootstrap.min.css b/bootstrap.min.css
index 48cc90703..b9e7dd1ee 100644
--- a/bootstrap.min.css
+++ b/bootstrap.min.css
@@ -276,7 +276,7 @@ button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;
.tabs a.menu:after,.tabs .dropdown-toggle:after{border-top-color:#999;margin-top:15px;margin-left:5px;}
.tabs li.open.menu .menu,.tabs .open.dropdown .dropdown-toggle{border-color:#999;}
.tabs li.open a.menu:after,.tabs .dropdown.open .dropdown-toggle:after{border-top-color:#555;}
-.pills>a{padding:0 15px;margin:5px 3px 5px 0;line-height:30px;text-shadow:0 1px 1px #ffffff;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills>a:hover{color:#ffffff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);background-color:#00438a;}
+.pills>li>a{padding:0 15px;margin:5px 3px 5px 0;line-height:30px;text-shadow:0 1px 1px #ffffff;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills>li>a:hover{color:#ffffff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);background-color:#00438a;}
.pills .active>a{color:#ffffff;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);background-color:#0069d6;}
.pills-vertical>li{float:none;}
.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;}
diff --git a/lib/tabs-pills.less b/lib/tabs-pills.less
index 26c62c950..23ba9ccfa 100644
--- a/lib/tabs-pills.less
+++ b/lib/tabs-pills.less
@@ -182,7 +182,7 @@
// Pills
.pills {
- > a {
+ > li > a {
padding: 0 15px;
margin: 5px 3px 5px 0;
line-height: 30px;