From c7f2a54dc84a76f1f00d7fc42f35de43220a9145 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Sat, 12 Jul 2014 19:48:24 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/colors/_admin.scss | 14 ++++++++++---- src/wp-admin/css/themes.css | 11 ++++++----- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 984d4d8c2b..a08296f847 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -439,17 +439,23 @@ ul#adminmenu > li.current > a.current:after { border-bottom-color: $menu-background; } -body.more-filters-opened .more-filters, -body.more-filters-opened .more-filters:before { +body.more-filters-opened .more-filters { color: $menu-text; 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: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:focus:before { - background-color: $menu-highlight-background; color: $menu-highlight-text; } diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 0b4a65eeb4..3a2773da4d 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -1180,8 +1180,7 @@ body.show-upload-theme .upload-theme + .theme-navigation + .theme-browser { margin: 0 10px; padding: 4px 6px; } -body.more-filters-opened .more-filters, -body.more-filters-opened .more-filters:before { +body.more-filters-opened .more-filters { background: #777; -webkit-border-radius: 2px; border-radius: 2px; @@ -1189,10 +1188,12 @@ body.more-filters-opened .more-filters:before { color: #fff; } +body.more-filters-opened .more-filters:before { + color: #fff; +} + body.more-filters-opened .more-filters:hover, -body.more-filters-opened .more-filters:focus, -body.more-filters-opened .more-filters:hover:before, -body.more-filters-opened .more-filters:focus:before { +body.more-filters-opened .more-filters:focus { background: rgb(46, 162, 204); }