-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.css
261 lines (216 loc) · 6.93 KB
/
user.css
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
/*
* _______ ___ ______ _______ ___
* | || | | | | _ || |
* |_ _|| | | _ || |_| || |
* | | | | | | | || || |
* | | | | | |_| || || |___
* | | | | | || _ || |
* |___| |___| |______| |__| |__||_______|
*
* By FivePixels (Dylan Bolger)
* https://github.com/FivePixels/Tidal
* Rewrite for
* - spicetify-cli v2
* - Spotify UI Update
* Now with cool comments!
*/
/* Set the font to Nationale if the system has it installed. Otherwise, rely on Spotify's default font */
*, body, button, input {
font-family: Nationale, spotify-circular,spotify-circular-cyrillic,spotify-circular-arabic,spotify-circular-hebrew,Helvetica Neue,helvetica,arial,Hiragino Kaku Gothic Pro,Meiryo,MS Gothic,sans-serif;
}
/* Set the now playing bar to have a 96px height */
.Root__now-playing-bar {
height: 96px;
}
.os-theme-spotify>.os-scrollbar-vertical, .os-theme-spotify>.os-scrollbar-horizontal {
height: 0px;
width: 0px;
background-color: transparent;
}
/* Light grey on hover over player button */
.player-controls__buttons > button:hover {
cursor: pointer;
color: #9898A6;
}
/* Make buttons clicky (and various other small changes */
/* - Now Playing bar player buttons */
.player-controls__buttons > button {
cursor: pointer;
color: white;
background-color: transparent;
}
/* - Progress remaining time button */
.playback-bar__progress-time {
cursor: pointer;
}
/* - Queue, playing device, and full screen buttons */
.ExtraControls button {
cursor: pointer;
}
/* - Context menu buttons */
ul > li > a, ul > li > button, button > ul > li > button, li > div > a {
color: var(--spice-text);
cursor: pointer;
text-decoration: none;
}
/* - Set every instance of a button to have a pointer cursor */
button {
cursor: pointer;
}
/* Fix coloring on hover of main content */
.main-home-homeHeader {
background-color: transparent !important;
background-image: none !important;
}
/* Fix top bar coloring to match UI background */
.main-topBar-background {
background-color: var(--spice-sidebar);
opacity: 1;
}
/* Remove defined line spacing and letter spacing in headers */
h1 {
letter-spacing: unset;
padding: 0.2em 0px
}
/* Set line height in Liked Songs content box
* (unset doesn't work correctly here) */
._4927510282dae1bd4bce47f1df0bc361-scss {
/* line-height: 42px; */
}
/* Hide device playing bar */
.main-connectBar-connectBar {
display: none;
}
/* Display page name at the top bar at all times */
section > div.main-entityHeader-container > div:not([class]), section > div > div.main-entityHeader-container > div:not([class]) {
/*section:not[role="grid"] > div > div > div:not([class]), section > div > div:not([class]) { */
display: none;
}
/* Remove play button from header */
header button.main-playButton-PlayButton {
display: none;
}
/* Remove transition from header text */
.main-entityHeader-topbarTitle {
transition: unset;
}
/* Remove leftover margin space from forward button */
header button.main-topBar-forward {
margin-right: unset;
}
/* Adjust search bar for margin space removed from forward button */
.x-searchInput-searchInput {
margin-left: 16px;
}
/* Remove background gradient from artist/playlist page */
.main-actionBarBackground-background, .main-entityHeader-backgroundColor {
background-color: unset !important;
background: unset !important;
}
/* Remove playlist art box shadow */
.main-entityHeader-shadow {
-webkit-box-shadow: unset;
box-shadow: unset;
border-radius: 3px;
}
/* Add enabled effect to now playing device button */
.control-button--active {
color: var(--spice-button-active);
background-color: rgba(33, 254, 236, 0.16);
border-radius: 10px;
}
/* Add enabled effect to shuffle button and repeat button */
.main-shuffleButton-button[aria-checked="true"], .main-repeatButton-button[aria-checked="true"], .main-repeatButton-button[aria-checked="mixed"] {
color: var(--spice-button-active);
background-color: rgba(33, 254, 236, 0.16);
border-radius: 10px;
}
/* Add extra spacing between queue and devices buttons */
.ExtraControls__connect-device-picker {
padding-left: 5px;
}
/* Remove dot from queue control button */
.control-button--active-dot:after {
display: none;
}
/* Update connect a device screen active device color */
.connect-device-list-item--active, .connect-device-list-item--active .connect-device-list-item__device-subtitle, .connect-device-list-item--active .connect-device-list-item__icon .device {
color: var(--spice-button-active);
}
/* Remove connect a device header image */
.connect-header {
display: none;
}
/* Roundify the now playing cover image and add styling */
.cover-art .cover-art-image {
border-radius: 4px;
border: 2px solid #2a2a2a;
box-shadow: rgba(0, 0, 0, 0.24) 0px -6px 24px;
}
/* Correct the active like button color */
.main-addButton-button {
color: var(--spice-button-active);
}
/* Style slider knob */
.progress-bar__slider {
right: 5px;
width: 4px;
height: 12px;
border-radius: 50px;
box-shadow: 1px 1px 3px 1px rgba(0,0,0,.4);
transition: opacity .15s ease;
margin-left: -2px;
}
/* Style extra slider area to be clicky */
.progress-bar__fg_wrapper {
cursor: pointer;
}
/* Style volume button to be blue when not muted */
.volume-bar__icon-button[title="Mute"] {
color: var(--spice-button-active);
}
/* Remove dot from shuffle button and repeat button */
.main-repeatButton-button.main-repeatButton-on:after, .main-shuffleButton-button.main-shuffleButton-on:after {
display: none;
}
/* Color user button in all states */
button._3e75c7f07bdce28b37b45a5cd74ff371-scss:hover, button._3e75c7f07bdce28b37b45a5cd74ff371-scss {
background-color: #242528;
color: white;
}
/* Set big play button colors */
.main-playButton-PlayButton {
color: black;
}
/* Set profile picture edit radius */
.main-editImageButton-image {
border-radius: unset;
}
/* Set minimum left side bar width */
.main-navBar-navBar {
min-width: 240px;
}
/* Set the minimum height to fix cover icon in navigation bar */
.main-coverSlotExpanded-container {
min-height: 240px;
}
/* Set the equalizer GIF to a custom image with corrected color */
.main-trackList-playingIcon {
content: url("https://user-images.githubusercontent.com/37427166/118517517-e4b4cc80-b6fc-11eb-9c6a-2ea1d5ae0a5c.gif");
}
/* Set the following button to be blue when user is following */
.show-followButton-isFollowing, .show-followButton-button:hover {
color: #00ffff;
border: 1px solid #00ffff;
}
/* Set the artist page ranking colors */
.artist-artistAbout-rank {
background-color: white;
}
.artist-artistAbout-rank div {
color: black;
}
/* Adjust the top sorting bar on playlists and albums to fit the width */
.main-trackList-trackListHeader .main-trackList-trackListHeaderStuck {
margin: 0 -34px 16px;
}