From 93f3335f133bbf1296f42f493fc66cc786281146 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 29 Jun 2019 00:51:58 +0000 Subject: [PATCH] Twenty Seventeen: Correct the CSS selectors intended to fix hover colors for MediaElement controls. This is a follow-up to the previous fix in [45146], which didn't work as expected. Props ryokuhi. Fixes #47543. See #40843. Built from https://develop.svn.wordpress.org/trunk@45576 git-svn-id: http://core.svn.wordpress.org/trunk@45387 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/assets/css/colors-dark.css | 4 ++-- wp-content/themes/twentyseventeen/inc/color-patterns.php | 4 ++-- wp-content/themes/twentyseventeen/style.css | 4 ++-- wp-includes/version.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index 449f0623a2..f7b977dca0 100644 --- a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css @@ -289,8 +289,8 @@ body.colors-dark, color: #bbb; } -.colors-dark button:hover:not( .mejs-container > button ), -.colors-dark button:focus, +.colors-dark :not( .mejs-button ) > button:hover, +.colors-dark :not( .mejs-button ) > button:focus, .colors-dark input[type="button"]:hover, .colors-dark input[type="button"]:focus, .colors-dark input[type="submit"]:hover, diff --git a/wp-content/themes/twentyseventeen/inc/color-patterns.php b/wp-content/themes/twentyseventeen/inc/color-patterns.php index cfd243f67a..38e4257ef2 100644 --- a/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -307,8 +307,8 @@ body.colors-custom, color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */ } -.colors-custom button:hover:not( .mejs-container > button ), -.colors-custom button:focus, +.colors-custom :not( .mejs-button ) > button:hover, +.colors-custom :not( .mejs-button ) > button:focus, .colors-custom input[type="button"]:hover, .colors-custom input[type="button"]:focus, .colors-custom input[type="submit"]:hover, diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index 7ca4f6c950..c41165947f 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -1034,8 +1034,8 @@ input[type="submit"].secondary { color: #222; } -button:hover:not( .mejs-container > button ), -button:focus, +:not( .mejs-button ) > button:hover, +:not( .mejs-button ) > button:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="submit"]:hover, diff --git a/wp-includes/version.php b/wp-includes/version.php index b4a2c81791..d0dfb13c6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45575'; +$wp_version = '5.3-alpha-45576'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.