From 9292802d9238cf3d1c1f39850c0ffa79e2216197 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 8 Apr 2019 23:38:51 +0000 Subject: [PATCH] Twenty Seventeeen: Fix MediaElement control hover colours in the customiser. When selecting custom colour schemes in the customiser, the hover colour is incorrectly applied to MediaElement controls. Props xkon, ianbelanger. Fixes #40843. Built from https://develop.svn.wordpress.org/trunk@45146 git-svn-id: http://core.svn.wordpress.org/trunk@44955 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/assets/css/colors-dark.css | 2 +- wp-content/themes/twentyseventeen/inc/color-patterns.php | 2 +- wp-content/themes/twentyseventeen/style.css | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index 3b85b97d96..449f0623a2 100644 --- a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css @@ -289,7 +289,7 @@ body.colors-dark, color: #bbb; } -.colors-dark button:hover, +.colors-dark button:hover:not( .mejs-container > button ), .colors-dark button:focus, .colors-dark input[type="button"]:hover, .colors-dark input[type="button"]:focus, diff --git a/wp-content/themes/twentyseventeen/inc/color-patterns.php b/wp-content/themes/twentyseventeen/inc/color-patterns.php index ddd25d089e..cfd243f67a 100644 --- a/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -307,7 +307,7 @@ body.colors-custom, color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */ } -.colors-custom button:hover, +.colors-custom button:hover:not( .mejs-container > button ), .colors-custom button:focus, .colors-custom input[type="button"]:hover, .colors-custom input[type="button"]:focus, diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index e53226145d..f8eac90680 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -1034,7 +1034,7 @@ input[type="submit"].secondary { color: #222; } -button:hover, +button:hover:not( .mejs-container > button ), button:focus, input[type="button"]:hover, input[type="button"]:focus, diff --git a/wp-includes/version.php b/wp-includes/version.php index 18978f3ad7..27e5f404ca 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-beta1-45145'; +$wp_version = '5.2-beta1-45146'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.