Skip to content

Commit

Permalink
Further fixes
Browse files Browse the repository at this point in the history
- Server discovery bg
- Student hubs
- Whole window except servers list position
  • Loading branch information
Saltssaumure committed Oct 17, 2023
1 parent 32cce2e commit 5ede0b4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 35 deletions.
2 changes: 1 addition & 1 deletion scss/main/_headerbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
:is(
.container-2cd8Mz .container-ZMc96U,
.container-2_BXG- .container-ZMc96U,
.pageWrapper-2PwDoS .scroller-3j5xK2,
:is(.pageWrapper-2PwDoS, .pageWrapper-eg3-6i) .scroller-3j5xK2,
.scroller-RfJjkV .viewWrapper-oqUsis,
.applicationStore-2nk7Lo .homeWrapper-L4ors0,
:is(.container-3XgAHv, .container-3s2w-i):not(:is(.floating-3M3WeH, .floating-1T0kDs))
Expand Down
11 changes: 2 additions & 9 deletions scss/main/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
// Put notice banners below main window
.base-2jDfDU {
flex-direction: column-reverse;
height: calc(100% - var(--server-container));

#bd-notices {
z-index: 102;
Expand All @@ -54,7 +55,7 @@
// Main DM and friend list view
.container-2cd8Mz,
// Explore servers view
.pageWrapper-2PwDoS,
:is(.pageWrapper-2PwDoS, .pageWrapper-eg3-6i),
// Student hub
.scroller-RfJjkV,
// Buy Nitro page
Expand All @@ -65,11 +66,3 @@
:is(.chat-2ZfjoI, .chat-9g_3Xj):not(.container-2IKOsH > :is(.chat-2ZfjoI, .chat-9g_3Xj)) {
@include boxes.mainWindow();
}

// Student hub
.scroller-RfJjkV {
height: auto;
&::before {
display: none;
}
}
37 changes: 12 additions & 25 deletions scss/main/_publicservers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
}

// Main page
.appMount-2yBXZl .pageWrapper-2PwDoS {
.appMount-2yBXZl :is(.pageWrapper-2PwDoS, .pageWrapper-eg3-6i) {
background: $grey;

.scroller-3j5xK2 {
Expand Down Expand Up @@ -176,31 +176,18 @@
}
}

// Student hubs
.sidebar-1tnWFu + .scroller-RfJjkV {
padding: 32px 8px 8px !important;
// Student hubs / custom guild directory
.pageContainer-36uo3F {
@include boxes.inset;

.viewWrapper-oqUsis {
margin-top: 0 !important;
}

.guildListSection-27K5In {
@include boxes.inset;
width: auto;
padding: 16px;

:is(.card-2TuZPZ, .container-1wv6C6) {
@include boxes.clickable;
&:hover {
transform: none;
}
.addButton-Jt0onL {
color: $black;
}
}
.card-3N2v9t {
@include boxes.box;
}
}
.scroller-1ox3I2:has(.itemInner-3k3Sn6) {
min-height: 200px;

.divider-3jU7zr {
display: none;
.itemInner-3k3Sn6 {
margin-left: 0;
}
}
}

0 comments on commit 5ede0b4

Please sign in to comment.