Skip to content
Permalink
Browse files

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.

git-svn-id: https://develop.svn.wordpress.org/branches/5.0@44424 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Jan 7, 2019
1 parent 5358fc0 commit 1574b76f4132559f3722e60879f6b764d05c7f06
@@ -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 {

0 comments on commit 1574b76

Please sign in to comment.
You can’t perform that action at this time.