PlayerControls.css
⎇
Raw
1.player-controls {
2 padding: 1rem;
3 border-top: 1px solid var(--color-c);
4 display: flex;
5 flex-direction: column;
6 gap: 0.5rem;
7}
8
9.control-buttons {
10 display: flex;
11 flex-wrap: wrap;
12 justify-content: center;
13 gap: 1rem;
14
15 button {
16 background: none;
17 }
18}
19
20.progress-container {
21 display: flex;
22 align-items: center;
23 gap: 0.5rem;
24}
25
26.time-container {
27 display: flex;
28 justify-content: center;
29 gap: 0.5rem;
30}
31.track-info {
32 margin-bottom: 0.5rem;
33 text-align: center;
34 font-weight: bold;
35}
36
37.progress-bar {
38 position: relative;
39 flex: 1;
40 height: 8px;
41 background-color: #ddd;
42 border-radius: 4px;
43 cursor: pointer;
44}
45
46.buffered-fill,
47.progress-fill {
48 position: absolute;
49 top: 0;
50 left: 0;
51 height: 100%;
52 border-radius: 4px;
53 cursor: pointer;
54 background-color: #0cc069;
55}
56
57.progress-fill {
58 background-color: #4a6da7;
59 z-index: 1;
60}
61
62.volume-control {
63 display: flex;
64 align-items: center;
65 padding: 0.25rem 0.5rem;
66 gap: 0.5rem;
67 min-width: 0;
68 svg{
69 flex-shrink: 0;
70 }
71 input {
72 min-width: 0;
73 }
74
75}
76