aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2011-09-16 10:14:35 -0700
committerMark Otto <[email protected]>2011-09-16 10:14:35 -0700
commite663cfb43fdc9f0ce73865a2a9857579975ecb63 (patch)
tree45eec85eef57c9bbe9260dc692601a15cb169758 /bootstrap.css
parentc579e4d5507170dd14cbfa804ccfca667bf39c28 (diff)
downloadbootstrap-e663cfb43fdc9f0ce73865a2a9857579975ecb63.tar.xz
bootstrap-e663cfb43fdc9f0ce73865a2a9857579975ecb63.zip
fix tabs jitter bug when there is no active class
Diffstat (limited to 'bootstrap.css')
-rw-r--r--bootstrap.css15
1 files changed, 8 insertions, 7 deletions
diff --git a/bootstrap.css b/bootstrap.css
index bcba5b457..8f1058535 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: Fri Sep 16 09:47:29 PDT 2011
+ * Date: Fri Sep 16 10:13:51 PDT 2011
*/
/* Reset.less
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
@@ -1591,22 +1591,23 @@ a.menu:after, .dropdown-toggle:after {
.tabs > li > a {
margin-right: 2px;
padding: 0 15px;
- line-height: 35px;
+ line-height: 36px;
+ border: 1px solid transparent;
-webkit-border-radius: 4px 4px 0 0;
-moz-border-radius: 4px 4px 0 0;
border-radius: 4px 4px 0 0;
}
.tabs > li > a:hover {
- background-color: #eee;
- border-bottom: 1px solid #ddd;
text-decoration: none;
+ background-color: #eee;
+ border-color: #eee #eee #ddd;
}
.tabs > li.active > a {
- background-color: #ffffff;
padding: 0 14px;
- border: 1px solid #ddd;
- border-bottom: 0;
color: #808080;
+ background-color: #ffffff;
+ border: 1px solid #ddd;
+ border-bottom-color: transparent;
}
.tabs .menu-dropdown, .tabs .dropdown-menu {
top: 35px;