#40843 closed defect (bug) (fixed)
Twenty Seventeen: broken MediaElement.js player icons on hover
Reported by: | celloexpressions | Owned by: | pento |
---|---|---|---|
Milestone: | 5.2 | Priority: | normal |
Severity: | normal | Version: | 4.7 |
Component: | Bundled Theme | Keywords: | has-screenshots has-patch commit |
Focuses: | ui | Cc: |
Description
Color schemes seem to cause issues with MediaElement.js audio and video player icons, erasing the icons on hover. Likely also related to button styling.
Attachments (6)
Change History (25)
#1
@
7 years ago
- Keywords reporter-feedback added
Hi @celloexpressions,
I am not able to reproduce this with the various color schemes of the theme - light, dark and custom. I have attached gifs for the same. Can you give some more pointers that could help me reproduce this defect?
#2
@
7 years ago
- Milestone 4.8.1 deleted
- Resolution set to worksforme
- Status changed from new to closed
Hi @celloexpressions – thanks for creating this issue!
Like @menakas, I wasn't able to reproduce this issue. I tried on all color types, light, dark and custom. Everything worked as normal for me. I also double checked hover styles against Twenty Sixteen.
I'm going to close this. If I missed something, let me know, and we can reopen it and fix.
#3
@
7 years ago
- Keywords reporter-feedback removed
- Milestone set to Future Release
- Resolution worksforme deleted
- Status changed from closed to reopened
This is an issue with custom color schemes, not light/dark, and only in the customize preview. Looks like the cascade is broken here with .colors-custom button:hover
.
#4
@
7 years ago
- Keywords has-patch added; needs-patch removed
40843.diff skips the me-js
buttons from applying the custom background colors.
Further information: As the button background is .svg based, by adding a custom color through an extra .css or Customizr was resulting on overwriting the .svg element. That being said there's no way to target the me-js
specific .svg as installations are different on every WordPress. This patch uses a simple trick with :not()
to 'skip' the me-js
buttons while selecting new colors.
It works fine on my tests but further tests on different spec pcs are always welcome.
Concerning browser support on not()
: https://www.w3schools.com/cssref/sel_not.asp
This ticket was mentioned in Slack in #design by xkon. View the logs.
7 years ago
#6
@
6 years ago
- Keywords commit added
I can confirm this issue still exists in Twenty Seventeen and the patch still applies and fixes it. I am recommending this gets committed
#8
@
6 years ago
I see similar styles in all of the bundled themes, is it only Twenty Seventeen that has this issue?
#9
@
6 years ago
That's a great question @SergeyBiryukov, I will look into the other themes today and create separate tickets, if needed.
#10
@
6 years ago
It appears that this is an issue in only Twenty Seventeen. 2010 - 2016 do not have the Custom Color
option and 2019 does have the Custom Color
option, but does not have this issue.
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
6 years ago
#14
@
6 years ago
- Keywords commit added; needs-refresh removed
40843.3.diff is just a simple refresh, applies fine now without need of auto-correcting lines.
@SergeyBiryukov yes I can confirm as @ianbelanger said as well this issue was only for 2017 :) .
Marking this for commit.
Hover state on play/pause icon, normal on audio/mute button.