aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-04-16 11:32:53 -0700
committerMark Otto <[email protected]>2013-04-16 11:32:53 -0700
commitda35a6b4377e52e5509431dc5d60711e44f1430c (patch)
tree33ba7bf1423640d88cbba07e32e747130a8da6df /docs
parent5b38a1a3578c7e1f69dd6b0005cbf04c173b844c (diff)
parentdc97a1967b81e994ebb31ed3cad89f58794b46b9 (diff)
downloadbootstrap-da35a6b4377e52e5509431dc5d60711e44f1430c.tar.xz
bootstrap-da35a6b4377e52e5509431dc5d60711e44f1430c.zip
Merge pull request #7590 from Fowowski/3.0.0-wip
more nested less rules - navs component
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/css/bootstrap.css97
1 files changed, 51 insertions, 46 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 616661fa4..7ab329bbe 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -3262,10 +3262,34 @@ button.close {
background-color: #eeeeee;
}
+.nav > li.disabled > a {
+ color: #999999;
+}
+
+.nav > li.disabled > a:hover,
+.nav > li.disabled > a:focus {
+ color: #999999;
+ text-decoration: none;
+ cursor: default;
+ background-color: transparent;
+}
+
+.nav > li + .nav-header {
+ margin-top: 9px;
+}
+
.nav > .pull-right {
float: right;
}
+.nav .divider {
+ height: 2px;
+ margin: 9px 0;
+ overflow: hidden;
+ background-color: #e5e5e5;
+ border-bottom: 1px solid #ffffff;
+}
+
.nav-tabs {
border-bottom: 1px solid #ddd;
}
@@ -3286,9 +3310,9 @@ button.close {
border-color: #eeeeee #eeeeee #dddddd;
}
-.nav-tabs > .active > a,
-.nav-tabs > .active > a:hover,
-.nav-tabs > .active > a:focus {
+.nav-tabs > li.active > a,
+.nav-tabs > li.active > a:hover,
+.nav-tabs > li.active > a:focus {
color: #555555;
cursor: default;
background-color: #ffffff;
@@ -3296,6 +3320,27 @@ button.close {
border-bottom-color: transparent;
}
+.nav-tabs.nav-justified {
+ width: 100%;
+ border-bottom: 0;
+}
+
+.nav-tabs.nav-justified > li {
+ display: table-cell;
+ float: none;
+ width: 1%;
+ text-align: center;
+}
+
+.nav-tabs.nav-justified > li > a {
+ margin-right: 0;
+ border-bottom: 1px solid #ddd;
+}
+
+.nav-tabs.nav-justified > .active > a {
+ border-bottom-color: #ffffff;
+}
+
.nav-pills > li {
float: left;
}
@@ -3308,9 +3353,9 @@ button.close {
margin-left: 2px;
}
-.nav-pills > .active > a,
-.nav-pills > .active > a:hover,
-.nav-pills > .active > a:focus {
+.nav-pills > li.active > a,
+.nav-pills > li.active > a:hover,
+.nav-pills > li.active > a:focus {
color: #fff;
background-color: #428bca;
}
@@ -3335,34 +3380,6 @@ button.close {
text-align: center;
}
-.nav-justified.nav-tabs {
- border-bottom: 0;
-}
-
-.nav-justified.nav-tabs > li > a {
- border-bottom: 1px solid #ddd;
-}
-
-.nav-justified.nav-tabs > .active > a {
- border-bottom-color: #ffffff;
-}
-
-.nav-justified > li > a {
- margin-right: 0;
-}
-
-.nav > .disabled > a {
- color: #999999;
-}
-
-.nav > .disabled > a:hover,
-.nav > .disabled > a:focus {
- color: #999999;
- text-decoration: none;
- cursor: default;
- background-color: transparent;
-}
-
.nav-header {
display: block;
padding: 3px 15px;
@@ -3374,18 +3391,6 @@ button.close {
text-transform: uppercase;
}
-.nav li + .nav-header {
- margin-top: 9px;
-}
-
-.nav .divider {
- height: 2px;
- margin: 9px 0;
- overflow: hidden;
- background-color: #e5e5e5;
- border-bottom: 1px solid #ffffff;
-}
-
.tabbable:before,
.tabbable:after {
display: table;