Twenty Fourteen: Fix text color issue on Button block hover.

This fixes a text color issue when hovering Button blocks located on sidebars or widgets.

Props shailu25, sabernhardt, mukesh27.
Fixes #58509.




git-svn-id: https://develop.svn.wordpress.org/trunk@56116 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-06-30 08:54:39 +00:00
parent be90d79cb5
commit a1a31fc473

View File

@@ -157,6 +157,11 @@ p.has-drop-cap:not(:focus)::first-letter {
background-color: #55d737;
}
.widget .wp-block-file .wp-block-file__button,
.widget .wp-block-file .wp-block-file__button:hover {
color: #fff;
}
/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/
@@ -268,6 +273,11 @@ p.has-drop-cap:not(:focus)::first-letter {
background-color: #55d737;
}
.widget a.wp-block-button__link:not(.has-text-color),
.widget a.wp-block-button__link:not(.has-text-color):hover {
color: #fff;
}
/* Separator */
.wp-block-separator {