1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.volume-rail {
display: flex;
align-items: center;
gap: 12px;
width: 220px;
padding: 10px 14px;
border-radius: 10px;
background: #232323;
border: 1px solid #333;
}
.volume-rail__mute {
display: flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border: none;
border-radius: 6px;
background: transparent;
color: #d8d8d8;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
}
.volume-rail__mute:hover {
background: #333;
color: #ffffff;
}
.volume-rail__icon {
width: 18px;
height: 18px;
}
.volume-rail__wave {
opacity: 0.9;
transition: opacity 0.2s ease;
}
.volume-rail__mute.is-muted .volume-rail__wave {
opacity: 0;
}
.volume-rail__slider {
flex: 1;
appearance: none;
height: 4px;
border-radius: 999px;
background: linear-gradient(to right, #9c9c9c 60%, #444 60%);
outline: none;
}
.volume-rail__slider::-webkit-slider-thumb {
appearance: none;
width: 14px;
height: 14px;
border-radius: 50%;
background: #f2f2f2;
border: 2px solid #9c9c9c;
cursor: pointer;
transition: transform 0.15s ease;
}
.volume-rail__slider::-webkit-slider-thumb:hover {
transform: scale(1.15);
}
.volume-rail__slider::-moz-range-thumb {
width: 14px;
height: 14px;
border-radius: 50%;
background: #f2f2f2;
border: 2px solid #9c9c9c;
cursor: pointer;
}