From 0098d5ab65b253ce7d925c6cb77392b0c3b71b06 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 27 Mar 2014 17:55:34 +0000 Subject: [PATCH] Color scheme support for the new theme installer UI. props ryelle. fixes #27522. git-svn-id: https://develop.svn.wordpress.org/trunk@27784 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 15 +++++++++++++-- src/wp-admin/css/colors/light/colors.scss | 6 ++++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 5c63afec4d..b4f298aa87 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -31,11 +31,11 @@ div.dashboard-widget-submit input:hover, /* Forms */ input[type=checkbox]:checked:before { - color: $form-checked; + color: $form-checked; } input[type=radio]:checked:before { - background: $form-checked; + background: $form-checked; } .wp-core-ui input[type="reset"]:hover, @@ -432,6 +432,17 @@ ul#adminmenu > li.current > a.current:after { background: $highlight-color; } +.theme-section.current, +.theme-filter.current { + border-bottom-color: $menu-background; +} + +body.more-filters-opened .more-filters, +body.more-filters-opened .more-filters:before { + color: $menu-highlight-text; + background-color: $menu-highlight-background; +} + /* jQuery UI Slider */ .wp-slider .ui-slider-handle, diff --git a/src/wp-admin/css/colors/light/colors.scss b/src/wp-admin/css/colors/light/colors.scss index 39d7f9505e..b12774c3a9 100644 --- a/src/wp-admin/css/colors/light/colors.scss +++ b/src/wp-admin/css/colors/light/colors.scss @@ -30,3 +30,9 @@ $menu-collapse-focus-icon: #555; #wpadminbar .ab-top-menu > li.menupop.hover > .ab-item { color: $text-color; } + +/* Override the theme filter highlight color for this scheme */ +.theme-section.current, +.theme-filter.current { + border-bottom-color: $highlight-color; +}