From 30679d4c83af2cfe381fb2196470e4f798d9b047 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Mon, 8 Apr 2019 23:37:42 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@45146 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/colors-dark.css | 2 +- src/wp-content/themes/twentyseventeen/inc/color-patterns.php | 2 +- src/wp-content/themes/twentyseventeen/style.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index 3b85b97d96..449f0623a2 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/src/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/src/wp-content/themes/twentyseventeen/inc/color-patterns.php b/src/wp-content/themes/twentyseventeen/inc/color-patterns.php index ddd25d089e..cfd243f67a 100644 --- a/src/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/src/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/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index e53226145d..f8eac90680 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/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,