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 background-color: #ddd;
65 cursor: pointer;
66
67 & > .buffered-fill,
68 & > .progress-fill {
69 pointer-events: none;
70 position: absolute;
71 top: 0;
72 left: 0;
73 height: 100%;
74 background-color: #0cc069;
75 }
76
77 & > .progress-fill {
78 background-color: #4a6da7;
79 z-index: 1;
80 }
81 }
82}
83
84.time-container {
85 display: flex;
86 justify-content: center;
87 gap: 0.5rem;
88}
89
90.volume-control {
91 display: flex;
92 align-items: center;
93 padding: 0.25rem 0.5rem;
94 gap: 0.5rem;
95 min-width: 0;
96 svg {
97 flex-shrink: 0;
98 }
99 input {
100 min-width: 0;
101 }
102}
103