Fix: Play buttons shown on episodes for touch devices even if target devices not available

music 3.0.2
Juraj Nyíri 3 years ago
parent 2249314fa9
commit c2f2e3e0c6

@ -21408,12 +21408,14 @@ style.textContent = css `
.interactiveArea:hover { .interactiveArea:hover {
background: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.3);
} }
button[name='playButton'].disabled,
button[name='playButton'].touchDevice { .movieElem .interactiveArea button[name='playButton'].touchDevice,
.seasonElem .interactiveArea button[name='playButton'].touchDevice,
button[name='playButton'].disabled {
display: none !important; display: none !important;
} }
.episodeElem > .interactiveArea > button[name='playButton'].touchDevice { .episodeElem .interactiveArea button[name='playButton'].touchDevice {
display: block !important; display: block;
outline: 0; outline: 0;
background: orange !important; background: orange !important;
border: 2px solid orange !important; border: 2px solid orange !important;

@ -436,12 +436,14 @@ style.textContent = css`
.interactiveArea:hover { .interactiveArea:hover {
background: rgba(0, 0, 0, 0.3); background: rgba(0, 0, 0, 0.3);
} }
button[name='playButton'].disabled,
button[name='playButton'].touchDevice { .movieElem .interactiveArea button[name='playButton'].touchDevice,
.seasonElem .interactiveArea button[name='playButton'].touchDevice,
button[name='playButton'].disabled {
display: none !important; display: none !important;
} }
.episodeElem > .interactiveArea > button[name='playButton'].touchDevice { .episodeElem .interactiveArea button[name='playButton'].touchDevice {
display: block !important; display: block;
outline: 0; outline: 0;
background: orange !important; background: orange !important;
border: 2px solid orange !important; border: 2px solid orange !important;

Loading…
Cancel
Save