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
This commit is contained in:
Riad Benguella 2020-07-06 09:23:04 +00:00
parent 818de7d83e
commit 8119c5ed77
2 changed files with 19 additions and 5 deletions

View File

@ -31,6 +31,25 @@ span.wp-media-buttons-icon:before {
color: currentColor; 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 */ /* Forms */

View File

@ -909,11 +909,6 @@ p.customize-section-description {
text-align: right; text-align: right;
} }
.section-description-buttons button.button-link {
color: #0073aa;
text-decoration: underline;
}
.customize-control { .customize-control {
width: 100%; width: 100%;
float: left; float: left;