mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-14 22:56:19 +01:00
Twenty Nineteen: Fix hover appearance for outlined button block style.
The outlined button block style was displaying white text on a white background on hover. This update makes sure the text remains legible on hover when this button style is applied. Props rickalee, kjellr. Merges [44370] to the 5.0 branch. Fixes #45726. Built from https://develop.svn.wordpress.org/branches/5.0@44424 git-svn-id: http://core.svn.wordpress.org/branches/5.0@44254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
be6225e91b
commit
ec11149825
@ -215,6 +215,9 @@
|
||||
&.is-style-outline .wp-block-button__link:hover {
|
||||
color: white;
|
||||
border-color: $color__background-button-hover;
|
||||
&:not(.has-background) {
|
||||
color: $color__background-button-hover;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -3659,6 +3659,10 @@ body.page .main-navigation {
|
||||
border-color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-archives,
|
||||
.entry .entry-content .wp-block-categories,
|
||||
.entry .entry-content .wp-block-latest-posts {
|
||||
|
@ -3671,6 +3671,10 @@ body.page .main-navigation {
|
||||
border-color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover:not(.has-background) {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
.entry .entry-content .wp-block-archives,
|
||||
.entry .entry-content .wp-block-categories,
|
||||
.entry .entry-content .wp-block-latest-posts {
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0.3-alpha-44423';
|
||||
$wp_version = '5.0.3-alpha-44424';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user