Themes: Don't set background color for the filter icon.

fixes #28860.


git-svn-id: https://develop.svn.wordpress.org/trunk@29124 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2014-07-12 19:48:24 +00:00
parent c52f02cc3f
commit c7f2a54dc8
2 changed files with 16 additions and 9 deletions

View File

@ -439,17 +439,23 @@ ul#adminmenu > li.current > a.current:after {
border-bottom-color: $menu-background; border-bottom-color: $menu-background;
} }
body.more-filters-opened .more-filters, body.more-filters-opened .more-filters {
body.more-filters-opened .more-filters:before {
color: $menu-text; color: $menu-text;
background-color: $menu-background; background-color: $menu-background;
} }
body.more-filters-opened .more-filters:before {
color: $menu-text;
}
body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus, body.more-filters-opened .more-filters:focus {
background-color: $menu-highlight-background;
color: $menu-highlight-text;
}
body.more-filters-opened .more-filters:hover:before, body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before { body.more-filters-opened .more-filters:focus:before {
background-color: $menu-highlight-background;
color: $menu-highlight-text; color: $menu-highlight-text;
} }

View File

@ -1180,8 +1180,7 @@ body.show-upload-theme .upload-theme + .theme-navigation + .theme-browser {
margin: 0 10px; margin: 0 10px;
padding: 4px 6px; padding: 4px 6px;
} }
body.more-filters-opened .more-filters, body.more-filters-opened .more-filters {
body.more-filters-opened .more-filters:before {
background: #777; background: #777;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
@ -1189,10 +1188,12 @@ body.more-filters-opened .more-filters:before {
color: #fff; color: #fff;
} }
body.more-filters-opened .more-filters:before {
color: #fff;
}
body.more-filters-opened .more-filters:hover, body.more-filters-opened .more-filters:hover,
body.more-filters-opened .more-filters:focus, body.more-filters-opened .more-filters:focus {
body.more-filters-opened .more-filters:hover:before,
body.more-filters-opened .more-filters:focus:before {
background: rgb(46, 162, 204); background: rgb(46, 162, 204);
} }