From 8119c5ed77f9c66334bfded02f43475b31aaac88 Mon Sep 17 00:00:00 2001 From: Riad Benguella Date: Mon, 6 Jul 2020 09:23:04 +0000 Subject: [PATCH] Administration: Fix link colors for admin schemes that personalize it using the $link SASS variable. The new "moderne" admin scheme color personalizes the link color using the $link SASS variable. The link color doesn't apply consistently in the admin to all links, especiall button links. Fixes #50536. git-svn-id: https://develop.svn.wordpress.org/trunk@48332 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 19 +++++++++++++++++++ src/wp-admin/css/customize-controls.css | 5 ----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 848586058c..5e3fc55a3e 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -31,6 +31,25 @@ span.wp-media-buttons-icon:before { color: currentColor; } +.wp-core-ui .button-link { + color: $link; + + &:hover, + &:active, + &:focus { + color: $link-focus; + } +} + +.wp-core-ui .button-link { + color: $link; + + &:hover, + &:active, + &:focus { + color: $link-focus; + } +} /* Forms */ diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index 215a64361c..3738f224b1 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -909,11 +909,6 @@ p.customize-section-description { text-align: right; } -.section-description-buttons button.button-link { - color: #0073aa; - text-decoration: underline; -} - .customize-control { width: 100%; float: left;