diff options
author | Mark Otto <markotto@twitter.com> | 2012-06-29 08:20:40 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-06-29 08:20:40 +0400 |
commit | 98ebd548000bc080c6eb152cd2ef005938d2e516 (patch) | |
tree | 8e9e0e26808939e08d133e9c125e1cff98b34e7e /docs | |
parent | 6f4360c47b0fa2beaabf4595a58bbb929df7cecc (diff) |
address issues with fixed subnav like borders, corners, etc
Diffstat (limited to 'docs')
-rw-r--r-- | docs/assets/css/bootstrap.css | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 7adb65592c..f0f7dd77c3 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3987,7 +3987,7 @@ input[type="submit"].btn.btn-mini { .navbar .nav > li > a { float: none; - padding: 9px 12px 11px; + padding: 10px 12px 11px; line-height: 19px; color: #999999; text-decoration: none; @@ -4174,12 +4174,7 @@ input[type="submit"].btn.btn-mini { /* Subnav navbar -------------------------------------------------- */ -.navbar-subnav { - height: 36px; -} - .navbar-subnav .navbar-inner { - min-height: 36px; padding: 0; background-color: #f6f6f6; background-image: -moz-linear-gradient(top, #f9f9f9, #f1f1f1); @@ -4204,6 +4199,12 @@ input[type="submit"].btn.btn-mini { color: #005580; } +.navbar-subnav .nav > .active > a, +.navbar-subnav .nav > .active > a:hover { + color: #777; + background-color: #e5e5e5; +} + .navbar-subnav .nav li.dropdown .dropdown-toggle .caret, .navbar-subnav .nav li.dropdown.open .caret { border-top-color: #0088cc; @@ -4220,15 +4221,18 @@ input[type="submit"].btn.btn-mini { right: 0; left: 0; z-index: 1020; + -webkit-box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); + -moz-box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); + box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); +} + +.navbar-subnav-fixed .navbar-inner { border-color: #d5d5d5; border-width: 0 0 1px; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; filter: progid:dximagetransform.microsoft.gradient(enabled=false); - -webkit-box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 0 #ffffff, 0 1px 10px rgba(0, 0, 0, 0.1); } .navbar-subnav-fixed .nav { |