From e6c58c2f24086669a2a5b6323ba1c637d76079ab Mon Sep 17 00:00:00 2001 From: Saltssaumure Date: Wed, 18 Oct 2023 14:55:03 +0100 Subject: [PATCH] Update classes with ClassUpdate --- scss/main/_index.scss | 16 ++++++++-------- scss/main/_threads.scss | 16 ++++++++-------- scss/main/_titlebar.scss | 4 ++-- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/scss/main/_index.scss b/scss/main/_index.scss index 0fd2460..b82a9f4 100644 --- a/scss/main/_index.scss +++ b/scss/main/_index.scss @@ -42,7 +42,7 @@ } // Top bar (not in DMs) - .chat-9g_3Xj > .title-31SJ6t { + .chat-9g_3Xj > :is(.title-31SJ6t, .title-5wgnIa) { .toolbar-3_r2xA { // Move help icon .anchor-1X4H4q .iconWrapper-2awDjA:only-of-type { @@ -78,9 +78,9 @@ // Main chat and top bar .chat-9g_3Xj:not(.container-2IKOsH > .chat-9g_3Xj) { // Main chat - .chatContent-3KubbW { + :is(.chatContent-3KubbW, .chatContent-2O4SXb) { // Message box - .form-3gdLxP { + :is(.form-3gdLxP, .form-3qe0Ni) { // Gift nitro button .buttons-uaqb-5 > .button-ejjZWC { @include ico.makeIcon(50px, auto, ".buttonWrapper-3YFQGJ"); @@ -113,7 +113,7 @@ } // Members list - .container-2o3qEW { + :is(.container-2o3qEW, .container-2vWgD2) { @include box.startMenuList; position: fixed; @@ -123,17 +123,17 @@ max-height: calc(100vh - 400px); @include box.windowHasPseudoTitle("Members"); - .members-3WRCEx { + :is(.members-3WRCEx, .members-2y1nVj) { background: var(--xp-bg-color); // Member group - .membersGroup-2eiWxl:not(:nth-child(2)) { + :is(.membersGroup-2eiWxl, .membersGroup-2YoqY-):not(:nth-child(2)) { position: relative; @include box.startMenuDivider(7px); } // Member - .member-48YF_l, + :is(.member-48YF_l, .member-2iQhp7), .member-2gU6Ar { background: var(--xp-bg-color); @@ -152,7 +152,7 @@ } // With members list visible - &:has(.membersWrap-3NUR2t) { + &:has(:is(.membersWrap-3NUR2t, .membersWrap-3GwLFp)) { // VC video controls .bottomControls-31YuPK { width: auto; diff --git a/scss/main/_threads.scss b/scss/main/_threads.scss index bb4f4c7..d5e7fb6 100644 --- a/scss/main/_threads.scss +++ b/scss/main/_threads.scss @@ -2,11 +2,11 @@ @use "../top/boxes" as box; // Main chat with thread open -.chat-9g_3Xj.threadSidebarOpen-1LSXvU { +.chat-9g_3Xj:is(.threadSidebarOpen-1LSXvU, .threadSidebarOpen-lv7sGl) { border-radius: 0; // Message needs no indent as member list cannot be visible at once. - .chatContent-3KubbW .message-2CShn3 { + :is(.chatContent-3KubbW, .chatContent-2O4SXb) .message-2CShn3 { margin-right: 0 !important; } @@ -16,19 +16,19 @@ } } -.resizeHandle-PBRzPC { +:is(.resizeHandle-PBRzPC, .resizeHandle-2F4Beb) { background: $color-window-2; } // Floating thread panel -.floating-3M3WeH { +:is(.floating-3M3WeH, .floating-1T0kDs) { border-radius: 0; } // Threads not video chat .content-1SgpWY > { // Main chat / thread separator - .resizeHandle-PBRzPC { + :is(.resizeHandle-PBRzPC, .resizeHandle-2F4Beb) { position: relative; right: $window-right; margin: $window-top 0 $window-bottom 0; @@ -36,7 +36,7 @@ } // Thread panel - .container-3XgAHv { + :is(.container-3XgAHv, .container-3s2w-i) { position: relative; margin: $window-top 0 $window-bottom 0; right: $window-right; @@ -46,7 +46,7 @@ } // Floating thread panel for narrow screens - .chatLayerWrapper-2mgEK- { + :is(.chatLayerWrapper-2mgEK-, .chatLayerWrapper-1K7IFZ) { // margin: $window-top $window-right $window-bottom 0; top: $window-top; right: calc($window-right + 2px); @@ -55,6 +55,6 @@ } } -.chatTarget-3H6mpC { +:is(.chatTarget-3H6mpC, .chatTarget-1ROClP) { display: none; } diff --git a/scss/main/_titlebar.scss b/scss/main/_titlebar.scss index 49de84e..b3181b3 100644 --- a/scss/main/_titlebar.scss +++ b/scss/main/_titlebar.scss @@ -7,7 +7,7 @@ margin-top: 0; } -.titleBar-1it3bQ { +:is(.titleBar-1it3bQ, .titleBar-3AIemB) { position: absolute; left: $window-left; right: $window-right; @@ -37,7 +37,7 @@ } // Min / Max / Close buttons - .winButton-3UMjdg { + :is(.winButton-3UMjdg, .winButton-3SigSb) { @include bt.winButton(20px, false); &.winButtonClose-3Q8ZH5 {