Skip to content

Commit 3f0557d

Browse files
authored
Update transparent-popups.css
1 parent 488edc1 commit 3f0557d

File tree

1 file changed

+29
-16
lines changed

1 file changed

+29
-16
lines changed

Theme code/transparent-popups.css

+29-16
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@
117117
/*blur before*/
118118
.root_a28985:has(>.form__7ab21)::before,
119119
#guild-header-popout::before,
120-
.container__84c26::before,
121-
:not(aside):not(.customizationSection__0f57e)>.userProfileOuterUnthemed_e14365::after,
120+
.container__84c26::before,
122121
:not(aside):not(.customizationSection__0f57e)>div>.userProfileInner__61cc1:before,
123122
.modal__082b3::before,
124123
.submenuPaddingContainer__5a97c::before, .container__628c8::before,
@@ -299,7 +298,7 @@ border-radius: inherit;
299298
border-radius: var(--radius-popup);
300299
}
301300

302-
:not(aside):not(.customizationSection__0f57e)>div>div>.overlayBackground__2666e {
301+
:not(aside):not(.customizationSection__0f57e)>div>div>div>.overlayBackground__2666e {
303302
border-bottom-left-radius: max(var(--radius-popup) - 16px, 8px);
304303
border-bottom-right-radius: max(var(--radius-popup) - 16px, 8px);
305304
}
@@ -339,25 +338,25 @@ border-radius: inherit;
339338
}
340339

341340
/*.theme-light .defaultColor__30336,*/ .theme-light .misc__9152e,
342-
.theme-light .discriminator__9d9f2,
343-
.theme-light .userProfileModalOuter_a65559 .additionalActionsIcon__6b109,
344-
.theme-light .text-sm-normal__95a78,
341+
.theme-light>.userProfileInner__61cc1 .discriminator__9d9f2,
342+
.theme-light.userProfileModalOuter_a65559 .additionalActionsIcon__6b109,
343+
.theme-light>.userProfileInner__61cc1 .text-sm-normal__95a78,
345344
.theme-light .text-sm-medium__726be[style*="color: var(--text-muted)"],
346345
.theme-light .text-xs-normal__46d75[style*="color: var(--header-secondary)"] {
347346
color: rgba(0, 0, 0, 0.7)!important;
348347
}
349348
/*.theme-dark .defaultColor__30336,*/ .theme-dark .misc__9152e,
350-
.theme-dark .discriminator__9d9f2,
349+
.theme-dark>.userProfileInner__61cc1 .discriminator__9d9f2,
351350
.theme-dark .userProfileModalOuter_a65559 .additionalActionsIcon__6b109,
352-
.theme-dark .text-sm-normal__95a78,
351+
.theme-dark>.userProfileInner__61cc1 .text-sm-normal__95a78,
353352
.theme-dark .text-sm-medium__726be[style*="color: var(--text-muted)"],
354353
.theme-dark .text-xs-normal__46d75[style*="color: var(--header-secondary)"] {
355354
color: rgba(255, 255, 255, 0.7)!important;
356355
}
357-
.theme-light .item__48dda {
356+
.theme-light>.userProfileInner__61cc1 .item__48dda {
358357
color: rgba(0, 0, 0, 0.8);
359358
}
360-
.theme-dark .item__48dda {
359+
.theme-dark>.userProfileInner__61cc1 .item__48dda {
361360
color: rgba(255, 255, 255, 0.8);
362361
}
363362

@@ -446,21 +445,35 @@ form.form__7ab21 {
446445
transform: none!important;
447446
}
448447

449-
.scroller__8f066 {
448+
.scroller__8f066:not(.none_ff9f86) {
450449
border: var(--context-menu-border)!important;
451450
}
452451

453452
/*inner boxes*/
454-
.theme-dark .perks__63e5a,
455-
.theme-dark :not(aside):not(.customizationSection__0f57e)>div>div>.overlayBackground__2666e,
456-
.theme-light :not(aside):not(.customizationSection__0f57e)>.userProfileOuterThemed__1fbd7 >div>.overlayBackground__2666e {
453+
.theme-dark .perks__63e5a {
457454
background: rgba(0, 0, 0, var(--opacity-popup-inner))!important;
458455
}
459-
.theme-light .perks__63e5a,
460-
.theme-light :not(aside):not(.customizationSection__0f57e)>div:not(.userProfileOuterThemed__1fbd7)>div>.overlayBackground__2666e {
456+
.theme-light .perks__63e5a {
461457
background: rgba(255, 255, 255, var(--opacity-popup-inner))!important;
462458
}
463459

460+
:not(aside):not(.customizationSection__0f57e)>div>div>.overlayBackground__2666e::after {
461+
content: "";
462+
top: 0;
463+
left: 0;
464+
position: absolute;
465+
width: 100%;
466+
height: 100%;
467+
background-color: var(--profile-body-background-color);
468+
border-radius: inherit;
469+
z-index: -1;
470+
opacity: calc(var(--opacity-popup-inner) * 2.22);
471+
}
472+
.userProfileInnerThemedNonPremium_ed9022 .overlayBackground__2666e::after{
473+
opacity: calc(var(--opacity-popup-inner))!important;
474+
}
475+
476+
464477
.theme-dark .guildPopout_df13cd .footer__25bb8 {
465478
background: rgba(0, 0, 0, 0.15);
466479
}

0 commit comments

Comments
 (0)