mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
62 lines
771 B
SCSS
62 lines
771 B
SCSS
.media {
|
|
display: none;
|
|
}
|
|
|
|
#ToggleMediaContainer {
|
|
display: none;
|
|
position: relative;
|
|
|
|
&.available {
|
|
display: inline-block;
|
|
|
|
img.on {
|
|
display: none;
|
|
}
|
|
|
|
img.off {
|
|
display: block;
|
|
}
|
|
|
|
// icon switch is handled by adding/removing the .playing class
|
|
&.playing {
|
|
img.on {
|
|
display: block;
|
|
}
|
|
|
|
img.off {
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
.volume-slider {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0px;
|
|
transform: translateY(-100%);
|
|
width: 100%;
|
|
background-color: #000;
|
|
text-align: center;
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
background-color: #303030;
|
|
}
|
|
|
|
input[type="range"] {
|
|
writing-mode: vertical-lr;
|
|
direction: rtl;
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
&.show {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
} |