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 Oct 29, 2024
1 parent b30992d commit ef8087e
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,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 @@ -230,4 +226,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 ef8087e

Please sign in to comment.