forked from Panniku/vc-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BetterSpotifyPlayer.css
168 lines (166 loc) · 5.54 KB
/
BetterSpotifyPlayer.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
/* BetterSpotifyPlayer */
/* a spotify icon snippet */
#vc-spotify-song-title::before,
#vc-spotify-song-title + div::before,
#vc-spotify-song-title + div + div::before {
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
padding: 7px;
margin-left: -17px;
margin-top: 2px;
content: '';
background-color: var(--header-primary);
/* Spotify wave thingy fix */
/*background-color: hsla(var(--spotify-vencord-text)/1);*/
position: absolute;
}
#vc-spotify-song-title + div::before,
#vc-spotify-song-title + div + div::before {
background-color: var(--header-secondary);
/* Spotify wave thingy fix */
/*background-color: hsla(var(--spotify-vencord-text)/1);*/
}
#vc-spotify-song-title::before {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-music-4'%3E%3Cpath d='M9 18V5l12-2v13'%3E%3C/path%3E%3Cpath d='m9 9 12-2'%3E%3C/path%3E%3Ccircle cx='6' cy='18' r='3'%3E%3C/circle%3E%3Ccircle cx='18' cy='16' r='3'%3E%3C/circle%3E%3C/svg%3E");
}
#vc-spotify-song-title + div::before {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-mic'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z'%3E%3C/path%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'%3E%3C/path%3E%3Cline x1='12' x2='12' y1='19' y2='22'%3E%3C/line%3E%3C/svg%3E");
}
#vc-spotify-song-title + div + div::before {
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-disc-2'%3E%3Ccircle cx='12' cy='12' r='4'%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='12' x2='12' y2='12.01'%3E%3C/line%3E%3C/svg%3E");
}
/* */
/* */
#vc-spotify-player {
height:50px;
background: transparent !important;
position: relative;
transition: height 0.0s ease-out;
padding: 7px!important;
padding-top: 8px !important;
overflow: hidden;
}
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper) {
height: 300px;
}
#vc-spotify-player:hover {
height: 115px;
}
#vc-spotify-progress-bar, .vc-spotify-button-row {
opacity: 0;
transition: opacity 0.0s ease-out;
}
#vc-spotify-player:hover #vc-spotify-progress-bar,
#vc-spotify-player:hover .vc-spotify-button-row {
opacity: 1;
}
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper) #vc-spotify-progress-bar,
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper) .vc-spotify-button-row {
opacity: 1;
}
#vc-spotify-player::before,
#vc-spotify-player::after {
z-index: -1;
content: "";
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
right: 0;
bottom: 0;
transition: all 0.0s ease-out;
}
#vc-spotify-player::before {
background: var(--vc-spotify-track-image);
background-size: cover;
background-position: center;
opacity: 0;
}
#vc-spotify-player:hover::before,
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper)::before {
opacity: 1;
filter: brightness(50%);
}
#vc-spotify-player::after {
background: var(--vc-spotify-track-image);
background-size: cover;
background-position: center;
opacity: 0.2;
filter: blur(100px);
transform: scale(20);
}
#vc-spotify-player::after {
opacity: 0;
}
#vc-spotify-player:hover::after,
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper)::after {
opacity: 0.2;
}
#vc-spotify-player:has(#vc-spotify-album-expanded-wrapper)::after {
backdrop-filter: brightness(50%);
}
#vc-spotify-progress-bar {
margin: 11px 0 7px;
}
#vc-spotify-info-wrapper > img {
height: 100%;
opacity: 1;
transition: opacity 0.4s ease-out;
}
#vc-spotify-player:not(:has(#vc-spotify-album-expanded-wrapper)):hover #vc-spotify-album-image {
opacity: 0;
}
#vc-spotify-album-image:hover {
filter: none;
}
#vc-spotify-info-wrapper #vc-spotify-titles {
margin-left: 15px;
transition: margin-left 0.4s ease-out;
}
#vc-spotify-player:hover #vc-spotify-titles {
margin-left: -42px;
}
#vc-spotify-player #vc-spotify-titles .size14_b2af01 {
font-size: 13px;
}
#vc-spotify-song-title::before, #vc-spotify-song-title + div::before, #vc-spotify-song-title + div + div::before {
background-color: var(--interactive-active);
}
#vc-spotify-player .colorStandard__5111e {
color: var(--interactive-active);
}
.vc-spotify-artist, .vc-spotify-album {
color: var(--interactive-normal)
}
#vc-spotify-player .bar_e58961 {
background-color: color-mix(in srgb, var(--white-500), transparent 75%);
}
#vc-spotify-player .barFill__30e17 {
background-color: var(--interactive-active);
}
#vc-spotify-progress-bar>[class^=slider] [class^=grabber] {
background-color: var(--interactive-active);
border-color: var(--interactive-active);
width: 12px !important;
height: 12px !important;
margin-top: 3px;
opacity: 1 !important;
}
.vc-spotify-progress-time {
top: 12px;
}
.vc-spotify-button {
color: var(--interactive-active);
}
.vc-spotify-button:hover {
background-color: color-mix(in srgb, var(--interactive-active), transparent 75%);
}
.vc-spotify-button.vc-spotify-shuffle-on {
color: var(--green-360);
}
.vc-spotify-button.vc-spotify-shuffle-on:hover {
background-color: color-mix(in srgb, var(--green-360), transparent 75%);;
}
/* */
/* adding this to force update */