From a1a31fc47348a6e6164df05f5dc37e307360f4a1 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 30 Jun 2023 08:54:39 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentyfourteen/css/blocks.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentyfourteen/css/blocks.css b/src/wp-content/themes/twentyfourteen/css/blocks.css index e45818241d..67d205aa28 100644 --- a/src/wp-content/themes/twentyfourteen/css/blocks.css +++ b/src/wp-content/themes/twentyfourteen/css/blocks.css @@ -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 {