From 60dc387ce9669247373f9a4cf260211eb6446592 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 22 Jul 2020 12:17:58 +0000 Subject: [PATCH] Accessibility: Themes: Consistently use an underline for "Enable auto-updates" link and theme author link in theme overlay. Props chetan200891, sabernhardt, afercia. Fixes #50697. git-svn-id: https://develop.svn.wordpress.org/trunk@48564 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/themes.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index ee7d21b765..7cd302c7df 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -249,7 +249,6 @@ body.js .theme-browser.search-loading { .theme-browser .theme.display-author .theme-author a { color: inherit; - text-decoration: none; } /** @@ -679,11 +678,6 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { line-height: inherit; } -.theme-overlay .theme-author a, -.theme-overlay .theme-autoupdate a { - text-decoration: none; -} - .theme-overlay .toggle-auto-update { /* Better align spin icon and text. */ display: inline-flex; @@ -693,6 +687,14 @@ body.folded .theme-browser ~ .theme-overlay .theme-wrap { vertical-align: top; } +.theme-overlay .theme-autoupdate .toggle-auto-update { + text-decoration: none; +} + +.theme-overlay .theme-autoupdate .toggle-auto-update .label { + text-decoration: underline; +} + .theme-overlay .theme-description { color: #555; font-size: 15px;