diff options
| author | Mark Otto <[email protected]> | 2012-07-17 22:26:53 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-07-17 22:26:53 -0700 |
| commit | 39f8996d6a34ac2fab1bdf47db65fd9bde891308 (patch) | |
| tree | 600ec1a8b305516ede999327496af01deeba2cb3 /docs/assets/css/bootstrap.css | |
| parent | 6a663081a78b2810e7b3904949cfc5a91df81eff (diff) | |
| download | bootstrap-39f8996d6a34ac2fab1bdf47db65fd9bde891308.tar.xz bootstrap-39f8996d6a34ac2fab1bdf47db65fd9bde891308.zip | |
fix dropdown vars and make hover state be link color again, add gradient to dropdown link hovers, fix caret positions and active states on nav tabs, tweak nav link padding
Diffstat (limited to 'docs/assets/css/bootstrap.css')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 3e79f9410..0226f24b5 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2623,7 +2623,7 @@ table .span24 { .dropdown-menu a { display: block; - padding: 3px 15px; + padding: 3px 20px; clear: both; font-weight: normal; line-height: 20px; @@ -2633,9 +2633,17 @@ table .span24 { .dropdown-menu li > a:hover, .dropdown-menu li > a:focus { - color: #333333; + color: #ffffff; text-decoration: none; - background-color: #eeeeee; + background-color: #0088cc; + background-color: #0081c2; + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-repeat: repeat-x; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); } .dropdown-menu .active > a, @@ -2643,7 +2651,15 @@ table .span24 { color: #ffffff; text-decoration: none; background-color: #0088cc; + background-color: #0081c2; + background-image: linear-gradient(to bottom, #0088cc, #0077b3); + background-image: -moz-linear-gradient(top, #0088cc, #0077b3); + background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); + background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); + background-image: -o-linear-gradient(top, #0088cc, #0077b3); + background-repeat: repeat-x; outline: 0; + filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0); } .dropdown-menu .disabled > a, @@ -2657,6 +2673,11 @@ table .span24 { background-color: transparent; } +.dropdown .dropdown-menu .nav-header { + padding-right: 20px; + padding-left: 20px; +} + .open { *z-index: 1000; } @@ -3659,13 +3680,23 @@ input[type="submit"].btn.btn-mini { border-bottom-color: #005580; } +/* move down carets for tabs */ + +.nav-tabs .dropdown-toggle .caret { + margin-top: 8px; +} + .nav .active .dropdown-toggle .caret { border-top-color: #fff; border-bottom-color: #fff; } +.nav-tabs .active .dropdown-toggle .caret { + border-top-color: #555555; + border-bottom-color: #555555; +} + .nav > .dropdown.active > a:hover { - color: #fff; cursor: pointer; } |
