Skip to content

Commit

Permalink
move transparency seting to media query
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkyProgrammer committed Nov 4, 2024
1 parent 9637792 commit a137eec
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@
opacity: 1;
}

:deep(.shaka-controls-container[shown='true'] > .shaka-play-button-container > .shaka-play-button) {
opacity: 0.75 !important;
}

:deep(.shaka-controls-container > .shaka-play-button-container > .shaka-play-button) {
padding: min(calc(15% / 2), 55px);
}
Expand Down Expand Up @@ -256,4 +252,11 @@
}
}

@media (prefers-reduced-transparency:no-preference) {
/* add transparency to big play button */
:deep(.shaka-controls-container[shown='true'] > .shaka-play-button-container > .shaka-play-button) {
opacity: 0.75 !important;
}
}

/* stylelint-enable liberty/use-logical-spec */

0 comments on commit a137eec

Please sign in to comment.