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.

git-svn-id: https://develop.svn.wordpress.org/trunk@45576 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-06-29 00:50:55 +00:00
parent ed1233d05f
commit b87bdbe9ba
3 changed files with 6 additions and 6 deletions

View File

@ -289,8 +289,8 @@ body.colors-dark,
color: #bbb; color: #bbb;
} }
.colors-dark button:hover:not( .mejs-container > button ), .colors-dark :not( .mejs-button ) > button:hover,
.colors-dark button:focus, .colors-dark :not( .mejs-button ) > button:focus,
.colors-dark input[type="button"]:hover, .colors-dark input[type="button"]:hover,
.colors-dark input[type="button"]:focus, .colors-dark input[type="button"]:focus,
.colors-dark input[type="submit"]:hover, .colors-dark input[type="submit"]:hover,

View File

@ -307,8 +307,8 @@ body.colors-custom,
color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */ color: hsl( ' . $hue . ', ' . $saturation . ', 46% ); /* base: #767676; */
} }
.colors-custom button:hover:not( .mejs-container > button ), .colors-custom :not( .mejs-button ) > button:hover,
.colors-custom button:focus, .colors-custom :not( .mejs-button ) > button:focus,
.colors-custom input[type="button"]:hover, .colors-custom input[type="button"]:hover,
.colors-custom input[type="button"]:focus, .colors-custom input[type="button"]:focus,
.colors-custom input[type="submit"]:hover, .colors-custom input[type="submit"]:hover,

View File

@ -1034,8 +1034,8 @@ input[type="submit"].secondary {
color: #222; color: #222;
} }
button:hover:not( .mejs-container > button ), :not( .mejs-button ) > button:hover,
button:focus, :not( .mejs-button ) > button:focus,
input[type="button"]:hover, input[type="button"]:hover,
input[type="button"]:focus, input[type="button"]:focus,
input[type="submit"]:hover, input[type="submit"]:hover,