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.



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


git-svn-id: http://core.svn.wordpress.org/trunk@55628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-30 08:56:27 +00:00
parent 6a33072f68
commit c625b46d60
2 changed files with 11 additions and 1 deletions

View File

@ -157,6 +157,11 @@ p.has-drop-cap:not(:focus)::first-letter {
background-color: #55d737; 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 3.0 Blocks - Formatting
--------------------------------------------------------------*/ --------------------------------------------------------------*/
@ -268,6 +273,11 @@ p.has-drop-cap:not(:focus)::first-letter {
background-color: #55d737; 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 */ /* Separator */
.wp-block-separator { .wp-block-separator {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.3-beta2-56115'; $wp_version = '6.3-beta2-56116';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.