From ffba15c1306d5084eb42ff8aac4e6701f01badd3 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 16 Aug 2012 15:45:31 +0000 Subject: [PATCH] Fix typo in [21529], props toscho. Simplify the :focus styles for the Screen Options and Help toggles, see #21324 git-svn-id: https://develop.svn.wordpress.org/trunk@21534 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/colors-classic.dev.css | 21 ++++++++------------- wp-admin/css/colors-fresh.dev.css | 19 +++++++------------ 2 files changed, 15 insertions(+), 25 deletions(-) diff --git a/wp-admin/css/colors-classic.dev.css b/wp-admin/css/colors-classic.dev.css index 075ce95b22..54594b8337 100644 --- a/wp-admin/css/colors-classic.dev.css +++ b/wp-admin/css/colors-classic.dev.css @@ -1868,29 +1868,24 @@ table.diff .diff-addedline ins { background-image: linear-gradient(to top, #def1ff, #eff8ff); } -#screen-meta-links a.show-settings { +#screen-meta-links a { color: #606060; -} - -#screen-meta-links a.show-settings:hover { - color: #000; -} - -#screen-meta-links a.show-settings { - background: transparent url(../images/arrows-vs.png) no-repeat right 4px; + background: transparent url(../images/arrows.png) no-repeat right 4px; } #screen-meta-links a:focus { - background: #c7e7fd url(../images/arrows.png) no-repeat right 4px; + background-color: #c7e7fd; color: #124964; } +#screen-meta-links a:hover, #screen-meta-links a:active { - background-color: transparent url(../images/arrows.png) no-repeat right 4px; + color: #000; + background-color: transparent; } -#screen-meta-links a.show-settings.screen-meta-active { - background: transparent url(../images/arrows-vs.png) no-repeat right -31px; +#screen-meta-links a.screen-meta-active { + background-position: right -31px; } /* end screen options and help tabs */ diff --git a/wp-admin/css/colors-fresh.dev.css b/wp-admin/css/colors-fresh.dev.css index 90930e0702..c6103f2579 100644 --- a/wp-admin/css/colors-fresh.dev.css +++ b/wp-admin/css/colors-fresh.dev.css @@ -881,29 +881,24 @@ table.widefat span.spam a, background-image: linear-gradient(to top, #dfdfdf, #f1f1f1); } -#screen-meta-links a.show-settings { +#screen-meta-links a { color: #777; -} - -#screen-meta-links a.show-settings:hover { - color: #333; -} - -#screen-meta-links a.show-settings { background: transparent url(../images/arrows.png) no-repeat right 4px; } #screen-meta-links a:focus { - background: #c7e7fd url(../images/arrows.png) no-repeat right 4px; + background-color: #c7e7fd; color: #124964; } +#screen-meta-links a:hover, #screen-meta-links a:active { - background-color: transparent url(../images/arrows.png) no-repeat right 4px; + color: #333; + background-color: transparent; } -#screen-meta-links a.show-settings.screen-meta-active { - background: transparent url(../images/arrows.png) no-repeat right -31px; +#screen-meta-links a.screen-meta-active { + background-position: right -31px; } /* end screen options and help tabs */