1159cl/css/radio.css
Mario1159 5b6b79892c
Some checks failed
Release / test (push) Failing after 51s
Release / push-docker-image (push) Has been skipped
2024 new version
2024-12-06 20:38:18 -03:00

157 lines
3.0 KiB
CSS

@import url(palette.css);
.audio-player-head,
.audio-player-bottom {
display: flex;
align-items: center;
justify-items: center;
}
.audio-player .led-off,
.audio-player .led-on {
font-family: "dseg14-regular";
font-size: 1.5rem;
overflow: hidden;
white-space: nowrap;
}
.audio-player .led-off {
position: relative;
margin: 0 auto;
color: var(--background-100);
}
.audio-player .led-on {
position: absolute;
top: 0;
width: 100%;
color: var(--primary-500);
}
.audio-spectrum {
margin: .5em 0;
}
.play-button {
width: 1.5rem;
height: 1.5rem;
padding: 0;
margin-right: 2px;
background-color: var(--accent-600);
}
.audio-spectrum {
width: 100%;
height: 5em;
}
.switch {
position: relative;
display: inline-block;
width: 3rem;
height: 1.5rem;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider:before {
position: absolute;
content: "";
height: 0.8rem;
width: 1rem;
left: 0.2em;
bottom: 0.15em;
background: url("/img/slider-thumb-overlay.avif") var(--accent-600);
background-size: cover;
border: 0.2em solid var(--accent-500);
-webkit-transition: .4s;
transition: .4s;
}
input:focus+.slider {
box-shadow: 0 0 1px var(--secondary-200);
}
input:checked+.slider:before {
-webkit-transform: translateX(1.25rem);
-ms-transform: translateX(1.25rem);
transform: translateX(1.25rem);
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: var(--secondary-100);
border: 0.2em solid var(--secondary-200);
-webkit-transition: .4s;
transition: .4s;
font-family: "cozette";
color: var(--secondary-400);
}
.slider {
text-align: center;
align-content: center;
}
.slider .text-spacing {
display: inline-block;
}
.audio-player .slider .text-spacing {
width: 0.75em;
}
.audio-player-bottom {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.volume-slider {
-webkit-appearance: none;
appearance: none;
width: 7rem;
height: .5rem;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
background: var(--secondary-100);
border: 0.15em solid var(--secondary-200);
}
.volume-slider {
display: flex;
align-items: center;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 1rem;
height: 1.5rem;
border-radius: 0%;
cursor: pointer;
background: var(--accent-600);
border: none;
}
.volume-slider::-moz-range-thumb {
width: 1rem;
height: 1.5rem;
border-radius: 0%;
cursor: pointer;
background: url("/img/slider-thumb-overlay.avif") var(--accent-600);
background-size: cover;
border: 0.15em solid var(--accent-500);
}