From 8a8f55024a9461452c54b9ea3fa74a27b3eb554b Mon Sep 17 00:00:00 2001 From: Matt Thomas Date: Tue, 26 Nov 2013 22:35:38 +0000 Subject: [PATCH] Match current theme background and add theme hover state color to the highlight color in color schemes. Fixes #25967, props ryelle. git-svn-id: https://develop.svn.wordpress.org/trunk@26422 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/color-schemes/_admin.scss | 11 +++++++++++ src/wp-admin/css/theme.css | 7 +++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/css/color-schemes/_admin.scss b/src/wp-admin/css/color-schemes/_admin.scss index 4f77d7901b..4c2c8aa78a 100644 --- a/src/wp-admin/css/color-schemes/_admin.scss +++ b/src/wp-admin/css/color-schemes/_admin.scss @@ -399,6 +399,17 @@ ul#adminmenu > li.current > a.current:after { } +/* Themes */ + +.theme.active .theme-name, +.theme-browser .add-new-theme:hover:after { + background: $highlight-color; +} + +.theme-browser .add-new-theme:hover span:after { + color: $highlight-color; +} + /* jQuery UI Slider */ .wp-slider .ui-slider-handle, diff --git a/src/wp-admin/css/theme.css b/src/wp-admin/css/theme.css index 44be5f1fd0..2dea3df8c9 100644 --- a/src/wp-admin/css/theme.css +++ b/src/wp-admin/css/theme.css @@ -339,14 +339,13 @@ } .theme-browser .add-new-theme:hover span:after { background: #fff; - color: rgb(16, 116, 162); - box-shadow: 0 2px 1px rgba(0,0,0,0.3); + color: #0074a2; } .theme-browser .add-new-theme:hover:after { border-color: transparent; color: #fff; - background: rgb(16, 116, 162); + background: #0074a2; } .theme-browser .add-new-theme .theme-name { @@ -355,7 +354,7 @@ box-shadow: none; font-weight: 400; position: relative; - top: -70px; + top: -50px; } .theme-browser .add-new-theme:hover .theme-name { color: #fff;