-
-
Notifications
You must be signed in to change notification settings - Fork 57
Expand file tree
/
Copy path_now_playing.scss
More file actions
149 lines (121 loc) · 3.06 KB
/
Copy path_now_playing.scss
File metadata and controls
149 lines (121 loc) · 3.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
:root .Root__top-container {
// Cover-art
.main-nowPlayingWidget-nowPlaying {
height: 0;
z-index: 1;
left: var(--cover-art-left);
.main-coverSlotCollapsed-container {
bottom: var(--cover-art-bottom);
border-radius: var(--cover-art-radius);
>div button {
border-radius: var(--cover-art-radius) !important;
background: none;
}
.cover-art,
.VideoPlayer__container video {
width: var(--cover-art-width) !important;
height: var(--cover-art-height) !important;
border-radius: var(--cover-art-radius);
overflow: hidden;
object-fit: cover;
max-height: none;
max-width: none;
}
}
}
}
:root #main.Custom-Playbar-Snippet:not(.Playbar-Above-Right-Panel-Snippet) .Root__top-container {
.Root__now-playing-bar {
.main-nowPlayingBar-container {
position: relative;
border-top: none;
flex-direction: column-reverse !important;
background-clip: text;
&::before {
z-index: auto !important;
}
&:has(.main-connectBar-connectBar)::before {
height: calc(100% - 40px);
top: 40px;
}
.main-nowPlayingBar-nowPlayingBar {
margin-bottom: 12px;
// Center
.main-nowPlayingBar-center {
// Player Controls
.player-controls__buttons--new-icons {
margin-bottom: 0px !important;
}
// Playback Area
.playback-bar {
position: fixed;
display: grid;
grid-template-columns: auto auto;
grid-template-areas:
"time-left time-right"
"bar bar";
bottom: 0;
right: 0;
gap: 0;
.saber-hilt {
height: 0;
}
// Timers
&>div:not(.playback-progressbar-container) {
text-align: center;
&:first-of-type {
grid-area: time-left;
}
&:last-of-type {
grid-area: time-right;
}
}
// Progess Bar
.playback-progressbar-container {
display: contents;
}
.x-progressBar-wrapper {
grid-column: 1/3;
grid-area: bar;
height: 11px;
.x-progressBar-progressBar {
--bg-color: rgba(var(--spice-rgb-progress-bg), 0.5);
--fg-color: var(--spice-progress-fg);
--progress-bar-height: 12px;
--progress-bar-radius: 0;
.x-progressBar-foreground {
width: 107%;
background-color: transparent;
background-image: linear-gradient(90deg, var(--spice-progress-fg) 93%, transparent 100%);
}
.x-progressBar-middleground,
.x-progressBar-handle {
display: none;
}
}
}
}
}
// Right
.main-nowPlayingBar-right {
// Volume Bar
.main-nowPlayingBar-volumeBar .progress-bar {
--bg-color: rgba(var(--spice-rgb-progress-bg), 0.5);
}
// Miscolored right side button svgs
.main-nowPlayingBar-extraControls {
button:not(.main-genericButton-buttonActive) {
color: rgba(var(--spice-rgb-selected-row), 0.7);
&:hover {
color: var(--spice-text) !important;
}
}
.main-devicePicker-indicator {
display: none;
}
}
}
}
}
}
}