Skip to content

Commit

Permalink
Twenty Seventeen: Correct the CSS selectors intended to fix hover col…
Browse files Browse the repository at this point in the history
…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.
Built from https://develop.svn.wordpress.org/branches/5.2@45847


git-svn-id: http://core.svn.wordpress.org/branches/5.2@45658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
SergeyBiryukov committed Aug 19, 2019
1 parent cfce1bc commit bd7d21b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/twentyseventeen/assets/css/colors-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/twentyseventeen/inc/color-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions wp-content/themes/twentyseventeen/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.2.3-alpha-45846';
$wp_version = '5.2.3-alpha-45847';

/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
Expand Down

0 comments on commit bd7d21b

Please sign in to comment.