radio/player.css

73 lines
1.4 KiB
CSS
Raw Normal View History

2023-10-02 10:49:28 +01:00
.radio-player {
margin: auto;
width: 30%;
}
.button {
2024-02-28 19:40:01 +00:00
all: unset;
2024-02-28 18:36:23 +00:00
vertical-align: left;
2023-10-02 10:49:28 +01:00
display: flex;
2024-02-28 18:36:23 +00:00
align-items: left;
justify-content: left;
2023-10-02 10:49:28 +01:00
cursor: pointer;
border: none;
2024-02-28 18:36:23 +00:00
/* background-color: #a514aa; */
2023-10-02 10:49:28 +01:00
color: #fff;
border-radius: 100%;
}
.play-pause-button {
2024-02-28 18:36:23 +00:00
/* width: 38px; */
/* height: 35px; */
margin-right: 30px;
2023-10-02 10:49:28 +01:00
}
.mute-button {
2024-02-28 18:36:23 +00:00
/* width: 30px; */
/* height: 30px; */
margin-right: 30px;
2023-10-02 10:49:28 +01:00
}
.player-controls {
display: flex;
align-items: center;
}
.currently-playing {
display: flex;
flex-direction: column;
margin-bottom: 12px;
}
.volume-controls {
display: flex;
align-items: center;
}
.currently-playing-title {
font-size: 22px;
}
.volume {
-webkit-appearance: none;
appearance: none;
border: 1px solid #000;
border-radius: 50px;
overflow: hidden; /* This will help with styling the thumb */
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
height: 15px;
width: 15px;
cursor: ew-resize;
background: #a514aa;
box-shadow: -400px 0 0 390px #fd8afd;
border-radius: 50%;
}
input[type="range"]::-moz-range-thumb {
/* same as above */
}
input[type="range"]::-ms-thumb {
/* same as above */
}
input[type="range"]:focus {
border-radius: 50px;
box-shadow: 0 0 15px -4px #a514aa;
}
2024-02-28 18:36:23 +00:00