72 lines
1.4 KiB
CSS
72 lines
1.4 KiB
CSS
.radio-player {
|
|
margin: auto;
|
|
width: 30%;
|
|
}
|
|
.button {
|
|
vertical-align: left;
|
|
display: flex;
|
|
align-items: left;
|
|
justify-content: left;
|
|
cursor: pointer;
|
|
border: none;
|
|
/* background-color: #a514aa; */
|
|
color: #fff;
|
|
border-radius: 100%;
|
|
}
|
|
.play-pause-button {
|
|
/* width: 38px; */
|
|
/* height: 35px; */
|
|
margin-right: 30px;
|
|
}
|
|
.mute-button {
|
|
/* width: 30px; */
|
|
/* height: 30px; */
|
|
margin-right: 30px;
|
|
}
|
|
.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;
|
|
}
|
|
|