Spaces:
Sleeping
Sleeping
.volume-slider { | |
margin-bottom: 16px; | |
} | |
.volume-slider-header { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
margin-bottom: 8px; | |
} | |
.volume-slider-label { | |
font-size: 14px; | |
font-weight: 500; | |
color: #ffffff; | |
} | |
.volume-slider-value { | |
font-size: 12px; | |
color: #cccccc; | |
font-weight: 400; | |
min-width: 35px; | |
text-align: right; | |
} | |
.volume-slider-input { | |
width: 100%; | |
height: 6px; | |
border-radius: 3px; | |
background: #333333; | |
outline: none; | |
opacity: 0.7; | |
transition: opacity 0.2s; | |
cursor: pointer; | |
} | |
.volume-slider-input:hover { | |
opacity: 1; | |
} | |
.volume-slider-input::-webkit-slider-thumb { | |
appearance: none; | |
width: 18px; | |
height: 18px; | |
border-radius: 50%; | |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
cursor: pointer; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
transition: transform 0.2s ease; | |
} | |
.volume-slider-input::-webkit-slider-thumb:hover { | |
transform: scale(1.1); | |
} | |
.volume-slider-input::-moz-range-thumb { | |
width: 18px; | |
height: 18px; | |
border-radius: 50%; | |
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
cursor: pointer; | |
border: none; | |
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); | |
transition: transform 0.2s ease; | |
} | |
.volume-slider-input::-moz-range-thumb:hover { | |
transform: scale(1.1); | |
} | |
.volume-slider-input::-webkit-slider-track { | |
width: 100%; | |
height: 6px; | |
cursor: pointer; | |
background: #333333; | |
border-radius: 3px; | |
} | |
.volume-slider-input::-moz-range-track { | |
width: 100%; | |
height: 6px; | |
cursor: pointer; | |
background: #333333; | |
border-radius: 3px; | |
border: none; | |
} | |
/* Progress fill effect */ | |
.volume-slider-input { | |
background: linear-gradient(to right, | |
#667eea 0%, | |
#764ba2 var(--progress, 0%), | |
#333333 var(--progress, 0%), | |
#333333 100%); | |
} |