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 & > .track-info-toggle-container {
9 display: flex;
10 justify-content: space-between;
11 gap: 0.5rem;
12 & > .track-info {
13 display: flex;
14 gap: 1rem;
15 margin-bottom: 0.5rem;
16 margin-left: auto;
17 margin-right: auto;
18 text-align: center;
19 font-weight: bold;
20 overflow: hidden;
21 & > button > svg {
22 width: 20px;
23 height: 20px;
24 }
25
26 & > .short-name {
27 overflow: hidden;
28 text-overflow: ellipsis;
29 text-wrap: nowrap;
30 }
31 .loading-spinner {
32 width: 20px !important;
33 height: 20px !important;
34 }
35 }
36 }
37}
38
39.metadata-list {
40 display: flex;
41 flex-direction: column;
42 gap: 0.5rem;
43}
44
45.control-buttons {
46 display: flex;
47 flex-wrap: wrap;
48 justify-content: center;
49 gap: 1rem;
50
51 button {
52 background: none;
53 }
54}
55
56.progress-container {
57 display: flex;
58 align-items: center;
59 gap: 0.5rem;
60
61 & > .progress-bar {
62 position: relative;
63 flex: 1;
64 height: 8px;
65 background-color: #ddd;
66 cursor: pointer;
67
68 & > .buffered-fill,
69 & > .progress-fill {
70 pointer-events: none;
71 position: absolute;
72 top: 0;
73 left: 0;
74 height: 100%;
75 background-color: #0cc069;
76 }
77
78 & > .progress-fill {
79 background-color: #4a6da7;
80 z-index: 1;
81 }
82 }
83}
84
85.time-container {
86 display: flex;
87 justify-content: center;
88 gap: 0.5rem;
89}
90
91.volume-control {
92 display: flex;
93 align-items: center;
94 padding: 0.25rem 0.5rem;
95 gap: 0.5rem;
96 min-width: 0;
97 svg {
98 flex-shrink: 0;
99 }
100 input {
101 min-width: 0;
102 }
103}
104