-
Notifications
You must be signed in to change notification settings - Fork 0
/
user.css
820 lines (690 loc) · 22.1 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
:root {
--spice-main-elevated: var(--spice-main);
--spice-highlight: var(--spice-main-secondary);
--spice-highlight-elevated: var(--spice-main-secondary);
--spice-rgb-selected-row: var(--spice-text);
--text-bright-accent: var(--spice-text-bright-accent);
--background-highlight: var(--spice-text-bright-accent);
}
/* fix equalizer */
.x-settings-equalizerPanelInput {
background-color: transparent !important;
}
/* remove sticky from sticky header */
.main-home-filterChipsContainer {
position: unset !important;
}
/* hide orange thing when removing sticky header */
.mjZrvVI3CxfHJXu7y0Lg {
opacity: 0 !important;
}
/* remove sticky from marketplace sticy header */
.marketplace-header {
position: unset !important;
}
/* overall tweaks */
.encore-dark-theme,.encore-dark-theme .encore-base-set {
--text-bright-accent: var(--spice-text-bright-accent);
--text-positive: var(--spice-text-bright-accent);
}
/* i dont remember what this does, probablly has something to do with sidebar icons */
.TypeElement-type-ballad-textBrightAccent {
color: var(--spice-text-bright-accent);
}
/* edit song highlight in playlist/album */
.main-trackList-active .main-trackList-rowSectionVariable a,
.main-trackList-active .main-trackList-rowSectionVariable span,
.main-trackList-active .main-trackList-rowDuration {
color: var(--text-bright-accent) !important;
}
/* name of podcast currently playing */
.T9iBYqbERZHdwDl0U2tC.DS4BYgmEO7Wy5RutUt60 .N2Fkohxhgu1_QAWUDc4O {
color: var(--spice-text-bright-accent);
}
/* fix sidebar icon color */
.Svg-img-icon-xsmall-textBrightAccent {
fill: var(--spice-text-bright-accent);
}
/* remove sidebar gap */
.main-navBar-mainNav {
gap: 0;
}
/* fix distance between elements around gap */
.main-yourLibraryX-navItems {
padding: 8px 12px 6px;
margin: 0 0 -12px 0;
}
/* fix spacing of marketplace icon in sidebar */
.main-yourLibraryX-entryPoints #spicetify-show-list,
.main-yourLibraryX-entryPoints #spicetify-hidden-list {
margin: 0 0 10px 0;
}
/* fix color of Marketplace icon in sidebar */
svg.Svg-sc-ytk21e-0.Svg-img-icon-medium {
color: var(--spice-nav-active-text);
}
/* adjust Your Library indentation to match Marketplace in sidebar */
.Wrapper-medium-leading {
margin-inline-end: 20px;
}
/* fix color of icons like playlist play button (maybe outdated) */
.Svg-img-icon-medium {
fill: var(--spice-nav-active-text);
}
/* color of playlist play button */
.Button-buttonPrimary-useBrowserDefaultFocusStyle-data-is-icon-only .ButtonInner-sc-14ud5tc-0 {
background-color: var(--spice-button-active);
}
/* color of playlist play button on hover */
.Button-buttonPrimary-useBrowserDefaultFocusStyle-data-is-icon-only:hover .ButtonInner-sc-14ud5tc-0 {
background-color: var(--spice-button);
}
/* fix volume bar fg color */
.progress-bar {
--fg-color: var(--spice-playback-bar);
}
/*
-------------
TOPBAR
-------------
*/
/* unset colors of history buttons */
.main-topBar-historyButtons .main-topBar-button {
background-color: unset;
}
/* change appearance of icons on search tab input */
.x-searchInput-searchInputSearchIcon svg {
color: var(--spice-text);
height: 17px;
}
.x-searchInput-searchInputClearButton svg {
color: var(--spice-text);
height: 17px;
}
/* topbar navigation items*/
.main-topBar-topbarContentWrapper a {
transition-duration: 0.3s;
border-radius: 8px;
}
/* smooth topbar background colour */
.main-topBar-background {
background-image: linear-gradient(var(--spice-sidebar) 5%, 75%, transparent);
background-color: unset !important;
}
.main-topBar-overlay {
background-color: var(--spice-main);
}
/* simplify profile menu */
.main-userWidget-displayName,
.main-userWidget-notificationIndicator {
display: none;
}
.main-avatar-userIcon {
color: white;
}
.main-userWidget-box {
color: var(--spice-subtext);
background-color: transparent !important;
}
.main-userWidget-chevron {
display: none;
}
/*
-------------
NAVBAR
-------------
*/
/* remove divider gradient */
.main-rootlist-rootlistDividerGradient {
display: none;
}
/* change color of divider */
.main-rootlist-rootlistDivider {
background-color: var(--spice-sidebar);
}
/* add gradient to navbar */
.Root__nav-bar {
background-image: linear-gradient(to bottom left, var(--spice-sidebar) 0%, var(--spice-player) 100%) !important;
}
/* change color of navbar playing icon */
[aria-label="Playing"] {
color: var(--spice-text);
}
.main-navBar-entryPoints [data-id="/add"] {
margin-top: 20px;
}
.main-createPlaylistButton-button {
color: var(--spice-text);
}
.main-createPlaylistButton-createPlaylistIcon {
background-color: var(--spice-text);
}
/* change color of navbar icons */
.main-likedSongsButton-likedSongsIcon {
background: var(--spice-subtext);
color: var(--spice-sidebar);
}
.main-yourEpisodesButton-yourEpisodesIcon {
background: var(--spice-subtext);
}
.main-yourEpisodesButton-yourEpisodesIcon path {
fill: var(--spice-sidebar);
}
/* remove opacity of navbar buttons */
.main-collectionLinkButton-collectionLinkButton .main-collectionLinkButton-icon,
.main-collectionLinkButton-collectionLinkButton .main-collectionLinkButton-collectionLinkText,
.main-createPlaylistButton-button {
opacity: unset;
}
.main-collectionLinkButton-collectionLinkButton {
color: var(--spice-subtext);
}
/* change colors of active tab */
.main-yourLibraryX-navLink {
border-radius: 8px;
margin: 6px 0;
padding: 0 10px;
}
.main-yourLibraryX-navItem {
padding: 0;
}
.main-navBar-navBarLinkActive,
.main-navBar-navBarLinkActive:focus,
.main-navBar-navBarLinkActive:hover,
.main-collectionLinkButton-selected,
.main-collectionLinkButton-selected svg,
.main-yourLibraryX-navLinkActive,
.main-yourLibraryX-navLinkActive .home-active-icon,
.main-yourLibraryX-navLinkActive .search-active-icon {
color: var(--spice-nav-active-text) !important;
background-color: var(--spice-nav-active);
}
/* color of navbar icons */
.collection-icon,
.premiumSpotifyIcon,
.search-icon {
color: var(--spice-subtext);
}
.main-navBar-navBarLink {
transition: none;
}
.main-navBar-navBarLink:not(.main-navBar-navBarLinkActive):hover svg {
color: var(--spice-text);
}
.main-yourLibraryX-entryPoints {
background-color: var(--spice-sidebar);
}
.main-yourLibraryX-isScrolled {
-webkit-box-shadow: 0 20px 10px -10px var(--spice-sidebar);
box-shadow: 0 20px 10px -10px var(--spice-sidebar);
}
/* traclists and playlists loading placeholder */
.main-trackList-placeholder,
.Pns6F5g4OEwEpdmOWTLg,
.eldivguzYznZgQoShJbe {
background-color: var(--background-base);
background-blend-mode: color-dodge;
}
/*
---------------
PLAYBACK BAR
---------------
*/
/* playback progress bar moves smoothly */
.x-progressBar-fillColor {
transition: transform 1s linear;
}
.progress-bar__slider {
transition: left 1s linear;
}
.progress-bar--isDragging .x-progressBar-fillColor, .progress-bar--isDragging .progress-bar__slider {
transition: none;
}
/* round cover art when collapsed */
.main-coverSlotCollapsed-container .cover-art-image {
border-radius: 8px;
transition-duration: 0.15s;
}
.main-coverSlotExpandedCollapseButton-collapseButton {
right: 10px !important;
top: 10px !important;
}
/* hide and move progress time location */
.playback-bar__progress-time-elapsed {
opacity: 0;
position: absolute;
bottom: 13px;
left: 0;
transition-duration: 0.3s;
background-color: rgba(var(--spice-rgb-sidebar),.5);
box-shadow: 0 0 20px 20px rgba(var(--spice-rgb-sidebar),.5);
border-radius: 8px;
z-index: -1;
}
.main-playbackBarRemainingTime-container {
opacity: 0;
position: absolute;
bottom: 13px;
right: 0;
z-index: -1;
}
/* show time on hover & better visibility */
.playback-bar:hover .playback-bar__progress-time-elapsed,
.playback-bar:hover .main-playbackBarRemainingTime-container {
opacity: 1;
}
/* move progress bar */
html:not(.fullscreen) .playback-bar {
width: 100%;
bottom: 83px;
position: absolute;
left: 0px;
}
.main-nowPlayingBar-nowPlayingBar:nth-last-child(2) .playback-bar {
bottom: 107px;
}
.player-controls__buttons {
transform: translateY(3px);
align-items: center;
}
/* change progress bar color */
.playback-bar .x-progressBar-fillColor {
background-color: var(--spice-playback-bar);
}
/* change appearance of play-button */
.main-playPauseButton-button {
background-color: inherit;
color: var(--spice-play-button);
transition-duration: 0.3s !important;
}
.main-playPauseButton-button svg {
height: 19px;
width: 19px;
}
html.fullscreen .main-playPauseButton-button svg {
height: 32px;
width: 32px;
}
.main-playPauseButton-button:focus,
.main-playPauseButton-button:hover {
transform: none !important;
}
/* change progress bar slider color */
.progress-bar__slider {
background-color: var(--spice-subtext);
}
.x-progressBar-progressBarBg {
background-color: var(--spice-button-disabled);
border-radius: 0px;
}
/* matching button colors */
.main-nowPlayingBar-extraControls button {
color: rgba(var(--spice-rgb-selected-row),.7);
}
/*
---------------
BUDDY FEED
---------------
*/
/* change text color */
.main-buddyFeed-activityMetadata .main-buddyFeed-artistAndTrackName a,
.main-buddyFeed-activityMetadata .main-buddyFeed-username a,
.main-buddyFeed-activityMetadata .main-buddyFeed-playbackContextLink,
p.main-buddyFeed-timestamp.main-type-finale,
.main-buddyFeed-findFriendsButton .main-buddyFeed-findFriendsIcon {
color: var(--spice-subtext);
}
.spotify__os--is-windows .main-buddyFeed-header {
padding-left: 0;
padding-right: 5px;
}
/* add gradient */
.main-buddyFeed-friendsFeedContainer {
background-image: linear-gradient(to bottom left, var(--spice-sidebar) 0%, var(--spice-player) 100%) !important;
}
/* hide buddyfeed scrollbar */
.main-buddyFeed-scrollableArea > .os-scrollbar {
display: none;
}
.main-avatar-avatar.BzunmwrVMyWGpopPJRt2:after {
background: var(--spice-button);
}
/*
---------------
MAIN VIEW
---------------
*/
/* hide banner ads */
.main-leaderboardComponent-container {
display: none;
}
.WiPggcPDzbwGxoxwLWFf.contentSpacing {
display: none;
}
.desktoproutes-homepage-takeover-ad-hptoComponent-parentContainer,
.desktoproutes-homepage-takeover-ad-hptoComponent-container {
display: none !important;
}
/* hide upgrade button */
.main-topBar-UpgradeButton {
display: none;
}
/* change input box appearance */
input {
background-color: var(--spice-main-secondary) !important;
border-radius: 8px !important;
padding: 6px 10px 6px 48px;
color: var(--spice-text) !important;
}
::placeholder {
color: var(--spice-subtext) !important;
}
/* remove background color from main headers */
.main-home-homeHeader,
.x-441-entityHeader-overlay,
.main-actionBarBackground-background,
.main-entityHeader-overlay,
.main-entityHeader-backgroundColor {
background-color: unset !important;
background-image: unset !important;
}
/* change playlist image shadow */
.main-entityHeader-shadow {
box-shadow: 0 5px 10px rgba(var(--spice-rgb-shadow), 0.5) !important;
}
/* change playlist image border-radius */
.main-entityHeader-image {
border-radius: 8px;
}
/* change playing icon from gif to svg */
.main-trackList-playingIcon {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg id='playing-icon' xmlns='https://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cdefs%3E%3Cstyle%3E %23playing-icon %7B fill: %2320BC54; %7D @keyframes play %7B 0%25 %7Btransform: scaleY(1);%7D 3.3%25 %7Btransform: scaleY(0.9583);%7D 6.6%25 %7Btransform: scaleY(0.9166);%7D 9.9%25 %7Btransform: scaleY(0.8333);%7D 13.3%25 %7Btransform: scaleY(0.7083);%7D 16.6%25 %7Btransform: scaleY(0.5416);%7D 19.9%25 %7Btransform: scaleY(0.4166);%7D 23.3%25 %7Btransform: scaleY(0.25);%7D 26.6%25 %7Btransform: scaleY(0.1666);%7D 29.9%25 %7Btransform: scaleY(0.125);%7D 33.3%25 %7Btransform: scaleY(0.125);%7D 36.6%25 %7Btransform: scaleY(0.1666);%7D 39.9%25 %7Btransform: scaleY(0.1666);%7D 43.3%25 %7Btransform: scaleY(0.2083);%7D 46.6%25 %7Btransform: scaleY(0.2916);%7D 49.9%25 %7Btransform: scaleY(0.375);%7D 53.3%25 %7Btransform: scaleY(0.5);%7D 56.6%25 %7Btransform: scaleY(0.5833);%7D 59.9%25 %7Btransform: scaleY(0.625);%7D 63.3%25 %7Btransform: scaleY(0.6666);%7D 66.6%25 %7Btransform: scaleY(0.6666);%7D 69.9%25 %7Btransform: scaleY(0.6666);%7D 73.3%25 %7Btransform: scaleY(0.6666);%7D 76.6%25 %7Btransform: scaleY(0.7083);%7D 79.9%25 %7Btransform: scaleY(0.75);%7D 83.3%25 %7Btransform: scaleY(0.8333);%7D 86.6%25 %7Btransform: scaleY(0.875);%7D 89.9%25 %7Btransform: scaleY(0.9166);%7D 93.3%25 %7Btransform: scaleY(0.9583);%7D 96.6%25 %7Btransform: scaleY(1);%7D %7D %23bar1 %7B transform-origin: bottom; animation: play 0.9s -0.51s infinite; %7D %23bar2 %7B transform-origin: bottom; animation: play 0.9s infinite; %7D %23bar3 %7B transform-origin: bottom; animation: play 0.9s -0.15s infinite; %7D %23bar4 %7B transform-origin: bottom; animation: play 0.9s -0.75s infinite; %7D %3C/style%3E%3C/defs%3E%3Ctitle%3Eplaying-icon%3C/title%3E%3Crect id='bar1' class='cls-1' width='4' height='24'/%3E%3Crect id='bar2' class='cls-1' x='6' width='4' height='24'/%3E%3Crect id='bar3' class='cls-1' x='12' width='4' height='24'/%3E%3Crect id='bar4' class='cls-1' x='18' width='4' height='24'/%3E%3C/svg%3E");
background: var(--spice-button);
content-visibility: hidden;
-webkit-mask-repeat: no-repeat;
}
/* recolor animated liked or heart button on click */
#_R_G *:not([fill="none"]) {
fill: var(--spice-button-active) !important;
}
#_R_G *:not([stroke="none"]) {
stroke: var(--spice-button-active);
}
/* change appearance of 'playlist' tag */
.main-entityHeader-subtitle.main-entityHeader-small.main-entityHeader-uppercase.main-entityHeader-bold {
border: 2px var(--spice-subtext) solid;
border-radius: 8px;
width: fit-content;
display: inline;
text-align: center;
padding: 3px 7px;
}
/* change appearance of 'follow' button */
.artist-artistOverview-overview .main-actionBar-ActionBarRow > button:first-of-type {
border-radius: 8px;
border: 2px solid var(--spice-button);
}
/* change scrollbar appearance */
.os-theme-spotify.os-host-transition > .os-scrollbar-vertical > .os-scrollbar-track > .os-scrollbar-handle {
border-radius: 4px;
width: 6px;
background-color: var(--spice-button-disabled);
}
.os-theme-spotify.os-host-transition > .os-scrollbar-vertical > .os-scrollbar-track {
width: 6px;
}
/* add smooth shadow under headers */
.main-trackList-trackListHeaderStuck.main-trackList-trackListHeader,
.artist-artistDiscography-topBar.artist-artistDiscography-topBarScrolled {
background-color: var(--spice-main);
border-bottom: none;
-webkit-box-shadow: 0 0 50px 50px var(--spice-main);
box-shadow: 0 0 50px 50px var(--spice-main);
transition: box-shadow 0.2s;
}
.search-searchCategory-SearchCategory {
-webkit-box-shadow: 0 0 20px 20px var(--spice-main);
box-shadow: 0 0 20px 20px var(--spice-main);
z-index: 3;
}
/* play button */
.main-home-home .main-playButton-PlayButton > button > span {
inline-size: 42px;
block-size: 42px;
min-block-size: auto;
}
.main-home-home .main-playButton-PlayButton svg {
width: 24px;
height: 24px;
}
.main-home-home .main-playButton-PlayButton > button > span > span {
position: initial;
height: 24px;
}
.main-actionBar-ActionBar .main-playButton-PlayButton svg {
width: 30px;
height: 30px;
}
.main-actionBar-ActionBar .main-playButton-PlayButton > button > span > span {
position: initial;
height: 30px;
}
/* change text color on category cards in 'search' tab */
a.x-categoryCard-CategoryCard,
a.x-heroCategoryCard-HeroCategoryCard {
color: var(--spice-subtext);
}
/* recolor sub-buttons */
.main-moreButton-button {
color: var(--spice-button-secondary);
}
.x-downloadButton-button,
.x-contributorButton-button svg,
.main-actionBar-ActionBarRow .main-addButton-button {
color: var(--spice-button-secondary) !important;
}
.main-entityHeader-metaDataText,
.x-filterBox-searchIconContainer {
color: var(--spice-subtext);
}
.main-entityHeader-metaDataText span {
color: var(--spice-subtext);
}
.x-sortBox-sortDropdown {
background-color: var(--spice-main-secondary) !important;
border-radius: 8px;
}
[dir="ltr"] .main-actionBar-ActionBarRow > :first-child {
margin-right: 40px;
}
.x-filterBox-expandButton:focus,
.x-filterBox-expandButton:hover {
background-color: var(--spice-main-secondary) !important;
border-radius: 8px;
}
.x-sortBox-sortDropdown,
.x-filterBox-expandButton {
color: var(--spice-text) !important;
}
/* change background color of 'home' tab shortcut items */
.view-homeShortcutsGrid-shortcut {
background-color: rgba(var(--spice-rgb-main-secondary), 0.5) !important;
}
.view-homeShortcutsGrid-shortcut:focus-within,
.view-homeShortcutsGrid-shortcut:hover,
.view-homeShortcutsGrid-shortcut[data-context-menu-open="true"] {
background-color: var(--spice-main-secondary) !important;
}
.main-card-card {
background-color: rgba(var(--spice-rgb-main-secondary), 0.5) !important;
}
.main-card-card:focus-within,
.main-card-card:hover {
background-color: var(--spice-main-secondary) !important;
}
/* card background color for editing playlist details */
.main-playlistEditDetailsModal-descriptionTextarea {
background: var(--spice-main-secondary);
}
.main-playlistEditDetailsModal-textElementLabel {
display: none;
}
/* change appearance of playlist description */
.playlist-playlist-playlistDescription {
font-size: 13pt;
}
/* change color of search icon for new playlists */
.playlist-inlineSearchBox-searchIcon {
fill: var(--spice-text) !important;
}
/* change appearance of verified artist badge */
.main-entityHeader-headerText > span:first-child {
width: fit-content;
text-align: left;
vertical-align: bottom;
font-size: 14pt;
font-weight: bold;
--font-family: CircularSp,CircularSp-Arab,CircularSp-Hebr,CircularSp-Cyrl,CircularSp-Grek,CircularSp-Deva,var(--fallback-fonts,sans-serif),sans-serif;
}
.main-entityHeader-headerText > span:first-child > span {
font-weight: bold;
text-transform: uppercase;
font-size: 0.75rem;
}
.main-entityHeader-headerText > span:first-child svg,
.main-entityHeader-headerText > span:first-child div {
display: none;
}
/* change text color of hero card on 'library' tab */
.main-heroCard-card,
.collection-collectionEntityHeroCard-descriptionContainer {
color: var(--spice-subtext) !important;
}
/*
--------------
CONTEXT MENU
--------------
*/
/* change hover color when selecting in context menu */
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):focus,
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):hover {
background-color: rgba(0, 0, 0, 0.2) !important;
}
.main-contextMenu-menuItemButton[aria-expanded="true"] {
background-color: rgba(0, 0, 0, 0.2) !important;
}
/* disabled options */
.main-contextMenu-disabled > span {
color: rgba(var(--spice-button-disabled), 0.5);
}
/* dividers between option subgroups */
.main-contextMenu-menuItem:not(:first-child) > .main-contextMenu-dividerBefore:before {
border-bottom: 1px solid var(--spice-button-disabled);
}
/*
-------------
TRACKS GRID
-------------
*/
/* change color of track titles */
.main-trackList-rowTitle {
color: var(--spice-subtext);
}
/* change color of 'explicit' badge */
.main-tag-container {
background-color: var(--spice-subtext);
}
/* change background color of selected row */
.main-trackList-trackListRow.main-trackList-selected,
.main-trackList-trackListRow.main-trackList-selected:hover {
background-color: var(--spice-main-secondary) !important;
}
.main-trackList-trackListRow:focus-within,
.main-trackList-trackListRow:hover {
background-color: rgba(var(--spice-rgb-main-secondary), 0.5);
}
/* When song is currently playing */
.main-trackList-active .main-type-mesto,
.main-trackList-active .main-trackList-rowSubTitle,
.main-trackList-active .main-trackList-rowSubTitle a,
.main-trackList-active .main-trackList-rowSectionVariable {
color: var(--spice-button) !important;
}
.main-trackList-active .main-tag-container {
background-color: var(--spice-text-bright-accent);
}
/* When song is hovered/selected */
.main-trackList-trackListRow.main-trackList-selected:not(.main-trackList-active) .main-tag-container,
.main-trackList-trackListRow:hover:not(.main-trackList-disabled):not(.main-trackList-active) .main-tag-container {
background-color: var(--spice-text);
}
.main-trackList-trackListRow:hover:not(.main-trackList-disabled) .main-addButton-button,
.main-trackList-trackListRow:focus-within:not(.main-trackList-disabled) .main-addButton-button {
color: var(--spice-text);
}
.main-trackList-trackListRow.main-trackList-selected:not(.main-trackList-active) .main-trackList-rowTitle,
.main-trackList-trackListRow:hover:not(.main-trackList-disabled):not(.main-trackList-active) .main-trackList-rowTitle {
color: var(--spice-text);
}
.main-trackList-trackListRow.main-trackList-selected:not(.main-trackList-active) .main-trackList-rowSubTitle,
.main-trackList-trackListRow:hover:not(.main-trackList-disabled):not(.main-trackList-active) .main-trackList-rowSubTitle {
color: var(--spice-text) !important;
}
/* color of selected row infos */
.main-trackList-rowSectionVariable span,
.main-trackList-rowSectionEnd div {
color: inherit;
}
/*
---------------
NEW HOME LAYOUT
---------------
*/
.main-topBar-navLinks a {
border-radius: 8px;
color: var(--spice-text);
background-color: var(--spice-main-secondary);
}
.main-topBar-navLinks a:hover {
color: var(--spice-button-active);
background-color: var(--spice-main-secondary);
}
.main-topBar-navLinks a.main-topBar-buttonActive {
background-color: var(--spice-button-active);
color: var(--spice-main);
}
.nav-alt .x-searchInput-searchInputInput:focus {
box-shadow: none;
}
/*
-------
TOGGLE
-------
*/
.x-toggle-indicatorWrapper {
background-color: transparent;
height: 20px;
width: 40px;
box-shadow: 0 0 0 1px var(--spice-subtext);
}
input:hover:not([disabled], :active) ~ .x-toggle-indicatorWrapper {
background-color: var(--spice-main-secondary);
}
input:checked ~ .x-toggle-indicatorWrapper {
background-color: var(--spice-button);
box-shadow: none;
}
.x-toggle-indicator {
background-color: var(--spice-subtext);
height: 12px;
width: 12px;
top: 4px;
left: 3px;
}
input:not([disabled]) ~ .x-toggle-indicatorWrapper:hover .x-toggle-indicator {
transform: scale(1.2);
}
input:checked ~ .x-toggle-indicatorWrapper .x-toggle-indicator {
background-color: var(--spice-main);
right: 4px;
}