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 cursor: pointer;
43}
44
45.buffered-fill,
46.progress-fill {
47 position: absolute;
48 top: 0;
49 left: 0;
50 height: 100%;
51 cursor: pointer;
52 background-color: #0cc069;
53}
54
55.progress-fill {
56 background-color: #4a6da7;
57 z-index: 1;
58}
59
60.volume-control {
61 display: flex;
62 align-items: center;
63 padding: 0.25rem 0.5rem;
64 gap: 0.5rem;
65 min-width: 0;
66 svg{
67 flex-shrink: 0;
68 }
69 input {
70 min-width: 0;
71 }
72
73}
74