utilize new dropdown variables

This commit is contained in:
Mark Otto 2012-03-05 00:32:02 -08:00
parent d3e922f0c8
commit a95c15a530
4 changed files with 7 additions and 6 deletions

Binary file not shown.

View File

@ -1712,13 +1712,13 @@ table .span24 {
clear: both; clear: both;
font-weight: normal; font-weight: normal;
line-height: 18px; line-height: 18px;
color: #555555; color: #333333;
white-space: nowrap; white-space: nowrap;
} }
.dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover { .dropdown-menu li > a:hover, .dropdown-menu .active > a, .dropdown-menu .active > a:hover {
color: #ffffff; color: #ffffff;
text-decoration: none; text-decoration: none;
background-color: #0088cc; background-color: #333333;
} }
.dropdown.open { .dropdown.open {
*z-index: 1000; *z-index: 1000;

View File

@ -54,7 +54,7 @@
padding: 4px 0; padding: 4px 0;
margin: 0; // override default ul margin: 0; // override default ul
list-style: none; list-style: none;
background-color: @white; background-color: @dropdownBackground;
border-color: #ccc; border-color: #ccc;
border-color: rgba(0,0,0,.2); border-color: rgba(0,0,0,.2);
border-style: solid; border-style: solid;
@ -85,7 +85,7 @@
clear: both; clear: both;
font-weight: normal; font-weight: normal;
line-height: @baseLineHeight; line-height: @baseLineHeight;
color: @gray; color: @dropdownLinkColor;
white-space: nowrap; white-space: nowrap;
} }
} }
@ -95,9 +95,9 @@
.dropdown-menu li > a:hover, .dropdown-menu li > a:hover,
.dropdown-menu .active > a, .dropdown-menu .active > a,
.dropdown-menu .active > a:hover { .dropdown-menu .active > a:hover {
color: @white; color: @dropdownLinkColorHover;
text-decoration: none; text-decoration: none;
background-color: @linkColor; background-color: @dropdownLinkBackgroundHover;
} }
// Open state for the dropdown // Open state for the dropdown

View File

@ -74,6 +74,7 @@
@inputDisabledBackground: @grayLighter; @inputDisabledBackground: @grayLighter;
// Dropdowns // Dropdowns
@dropdownBackground: @white;
@dropdownLinkColor: @grayDark; @dropdownLinkColor: @grayDark;
@dropdownLinkColorHover: @white; @dropdownLinkColorHover: @white;
@dropdownLinkBackgroundHover: @grayDark; @dropdownLinkBackgroundHover: @grayDark;