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 & > .short-name {
22 overflow: hidden;
23 text-overflow: ellipsis;
24 text-wrap: nowrap;
25 }
26 .loading-spinner {
27 width: 24px !important;
28 height: 24px !important;
29 }
30 }
31 }
32}
33
34.control-buttons {
35 display: flex;
36 flex-wrap: wrap;
37 justify-content: center;
38 gap: 1rem;
39
40 button {
41 background: none;
42 }
43}
44
45.progress-container {
46 display: flex;
47 align-items: center;
48 gap: 0.5rem;
49
50 & > .progress-bar {
51 position: relative;
52 flex: 1;
53 height: 8px;
54 background-color: #ddd;
55 cursor: pointer;
56
57 & > .buffered-fill,
58 & > .progress-fill {
59 pointer-events: none;
60 position: absolute;
61 top: 0;
62 left: 0;
63 height: 100%;
64 background-color: #0cc069;
65 }
66
67 & > .progress-fill {
68 background-color: #4a6da7;
69 z-index: 1;
70 }
71 }
72}
73
74.time-container {
75 display: flex;
76 justify-content: center;
77 gap: 0.5rem;
78}
79
80.volume-control {
81 display: flex;
82 align-items: center;
83 padding: 0.25rem 0.5rem;
84 gap: 0.5rem;
85 min-width: 0;
86 svg {
87 flex-shrink: 0;
88 }
89 input {
90 min-width: 0;
91 }
92}
93