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.
Fixes #45726.


Built from https://develop.svn.wordpress.org/trunk@44370


git-svn-id: http://core.svn.wordpress.org/trunk@44200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
laurelfulford 2018-12-28 20:15:49 +00:00
parent 3a155f3683
commit dd37acabea
4 changed files with 12 additions and 1 deletions

View File

@ -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;
}
}
}

View File

@ -3664,6 +3664,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 {

View File

@ -3676,6 +3676,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 {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-alpha-44369';
$wp_version = '5.1-alpha-44370';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.