Skip to content
Permalink
Browse files

Twenty Seventeen: Correct the CSS selectors intended to fix hover col…

…ors for MediaElement controls.

This is a follow-up to the previous fix in [45146], which didn't work as expected.

Props ryokuhi.
Merges [45576] to the 5.2 branch.
Fixes #47543. See #40843.

git-svn-id: https://develop.svn.wordpress.org/branches/5.2@45847 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information...
SergeyBiryukov committed Aug 19, 2019
1 parent f606fc9 commit e4d806cada5bce431fd6db7177f32dad86a1eea2
@@ -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,
@@ -307,8 +307,8 @@ function twentyseventeen_custom_colors_css() {
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,
@@ -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,

0 comments on commit e4d806c

Please sign in to comment.
You can’t perform that action at this time.