Skip to content

Commit d09d709

Browse files
committed
refactor(ui): update panel CSS selectors to use attribute matching
1 parent 6a70ee3 commit d09d709

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

themes/main.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,12 +1170,12 @@ div[class="iconWrapper__6eb54"] {
11701170
--mention-foreground: color-mix(in oklab, hsl(var(--accent-hsl)) 100%, var(--theme-text-color, black) var(--theme-text-color-amount, 0%));
11711171
}
11721172
/* CHILLAX User Panel REMAKE */
1173-
.content_c48ade .panels_c48ade:hover {
1173+
.content_c48ade [class^="panels_"]:hover {
11741174
box-shadow: 0px 0px 10px hsl(var(--accent-hsl));
11751175
transition: box-shadow .5s;
11761176
}
11771177
/*floating user controls*/
1178-
.theme-dark .panels_c48ade {
1178+
.theme-dark [class^="panels_"] {
11791179
background: rgba(0, 0, 0, 0.4) !important;
11801180
box-shadow: 0 5px 8px rgba(21, 23, 26, 50%);
11811181
border-radius: var(--app-radius);
@@ -1188,7 +1188,7 @@ div[class="iconWrapper__6eb54"] {
11881188
bottom: 0;
11891189
transition: margin .15s;
11901190
}
1191-
.theme-light .panels_c48ade {
1191+
.theme-light [class^="panels_"] {
11921192
background: rgba(255, 255, 255, 0.4) !important;
11931193
box-shadow: 0 5px 8px rgba(255, 255, 255, 0.5);
11941194
border-radius: var(--app-radius);
@@ -1201,21 +1201,21 @@ div[class="iconWrapper__6eb54"] {
12011201
bottom: 0;
12021202
transition: margin .15s;
12031203
}
1204-
.container__37e49 {
1204+
[class^="panels_"] [class^="container__"] {
12051205
background: transparent !important;
12061206
}
12071207
.maximized-vv2Wr0 .cover-SwJ-ck {
12081208
border-radius: 8px 8px 0px 0px;
12091209
}
1210-
.panels_c48ade .vc-spotify-lyrics {
1210+
[class^="panels_"] .vc-spotify-lyrics {
12111211
background: none;
12121212
}
12131213
/* Avatar in bottom left */
1214-
.panels_c48ade .buttons__37e49 {
1214+
[class^="panels_"] .buttons__37e49 {
12151215
opacity: 0;
12161216
transition: .3s;
12171217
}
1218-
.panels_c48ade:hover .buttons__37e49 {
1218+
[class^="panels_"]:hover .buttons__37e49 {
12191219
opacity: 1;
12201220
transition: .3s;
12211221
}

0 commit comments

Comments
 (0)