Skip to content

Commit

Permalink
Update classes
Browse files Browse the repository at this point in the history
Thanks to @XYZenix for diff
  • Loading branch information
Saltssaumure committed Oct 16, 2023
1 parent 18cde7d commit dca59c5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions scss/main/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@
z-index: 0;
}

.content-1jQy2l::before {
.content-18rAwf::before {
z-index: 0;
}

// Top bar (not in DMs)
.chat-2ZfjoI > .title-31SJ6t {
.chat-9g_3Xj > .title-31SJ6t {
.toolbar-3_r2xA {
// Move help icon
.anchor-1X4H4q .iconWrapper-2awDjA:only-of-type {
Expand All @@ -66,7 +66,7 @@
// Buy nitro page
.applicationStore-2nk7Lo,
// Main chat
.chat-2ZfjoI:not(.container-2IKOsH > .chat-2ZfjoI) {
.chat-9g_3Xj:not(.container-2IKOsH > .chat-9g_3Xj) {
@include box.mainWindow;
}

Expand All @@ -76,7 +76,7 @@
}

// Main chat and top bar
.chat-2ZfjoI:not(.container-2IKOsH > .chat-2ZfjoI) {
.chat-9g_3Xj:not(.container-2IKOsH > .chat-9g_3Xj) {
// Main chat
.chatContent-3KubbW {
// Message box
Expand Down
20 changes: 10 additions & 10 deletions scss/main/_taskbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@
z-index: 2;
}

&:has(.activityPanel-9icbyU, .container-1zzFcN) {
&:has(.activityPanel-9icbyU, .container-2NLBJg) {
border-radius: 8px 8px 0 0;
}

// Now playing game/activity
.panel-2ZFCRb {
.panel-ufc1-o {
background: transparent;
border-bottom: 0;

Expand All @@ -114,35 +114,35 @@
}

// Voice chat controls
.container-1zzFcN {
.container-2NLBJg {
background: inherit;
border-bottom: 0;

// Video stream buttons
.button-1EGGcP {
.button-2gNyE9 {
@include bt.button($ISBEIGE: true);

&.buttonActive-Uc1jHx {
&.buttonActive-1YQBrb {
background: $color-tooltip-2;
@include shd.boxShadow($ISINSET: true);
}
}
}

// User and settings
.container-YkUktl {
.container-1CH86i {
height: var(--server-container);
flex-direction: row-reverse;
background: transparent;

// Self info
.avatarWrapper-1B9FTW {
.avatarWrapper-12uuu4 {
margin: 0 0 0 6px;
padding: 0 4px 0 0;
flex-direction: row-reverse;

// Username
.nameTag-sc-gpq {
.nameTag-2Q56-H {
text-shadow: 0 1px 1px $black;

.title-338goq {
Expand All @@ -158,8 +158,8 @@
color: $white-overlay;
}

.withTagAsButton-OsgQ9L:hover,
.withTagless-10ooWt:hover,
.withTagAsButton-2_JkHX:hover,
.withTagless-Lx3LMo:hover,
.button-12Fmur.enabled-9OeuTA:hover {
background: linear-gradient(to bottom, $color-taskbar-3, $color-taskbar-1);
}
Expand Down
2 changes: 1 addition & 1 deletion scss/main/_threads.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use "../top/boxes" as box;

// Main chat with thread open
.chat-2ZfjoI.threadSidebarOpen-1LSXvU {
.chat-9g_3Xj.threadSidebarOpen-1LSXvU {
border-radius: 0;

// Message needs no indent as member list cannot be visible at once.
Expand Down

0 comments on commit dca59c5

Please sign in to comment.