Skip to content

Commit a80fd11

Browse files
authored
Updated themes/redesign
1 parent 7e98e78 commit a80fd11

File tree

1 file changed

+65
-3
lines changed

1 file changed

+65
-3
lines changed

Diff for: discord/themes/redesign/import.css

+65-3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ html {
8181
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 20px));
8282
}
8383

84+
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]:nth-child(2)) {
85+
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 48px));
86+
}
87+
8488
&:before,
8589
&:after {
8690
content: "";
@@ -163,6 +167,35 @@ html {
163167
z-index: 4;
164168
}
165169

170+
171+
>div[style="margin-bottom: 4px;"]:nth-child(2) {
172+
top: calc(56px + var(--space) + 21px);
173+
width: 72px;
174+
height: 20px;
175+
left: 0;
176+
position: fixed;
177+
z-index: 11;
178+
padding: 0;
179+
margin: 0 !important;
180+
padding-top: 8px;
181+
182+
>span {
183+
font-size: 10px !important;
184+
}
185+
186+
&:before {
187+
position: absolute;
188+
content: "";
189+
background: var(--background-tertiary) !important;
190+
width: calc(72px - 12px);
191+
height: 24px;
192+
z-index: -2;
193+
border-radius: 4px;
194+
top: 0;
195+
left: 5px;
196+
}
197+
}
198+
166199
>button:nth-child(2) {
167200
top: calc(56px + var(--space));
168201
width: 72px;
@@ -188,6 +221,31 @@ html {
188221
}
189222
}
190223

224+
>button:nth-child(3) {
225+
top: calc(56px + var(--space));
226+
width: 72px;
227+
height: 20px;
228+
left: 0;
229+
font-size: 12px;
230+
position: fixed;
231+
z-index: 10;
232+
background: var(--background-tertiary);
233+
padding: 0;
234+
margin: 0;
235+
236+
&:before {
237+
position: absolute;
238+
content: "";
239+
border: 1px solid var(--border-subtle);
240+
width: calc(72px - 12px);
241+
height: 20px;
242+
z-index: -2;
243+
border-radius: 4px;
244+
top: -1px;
245+
left: 5px;
246+
}
247+
}
248+
191249
>div:has([aria-label="Download Apps"]) {
192250
display: none;
193251
}
@@ -242,6 +300,10 @@ html {
242300
grid-auto-rows: 1fr;
243301
grid-auto-flow: column;
244302

303+
&:has(> :nth-last-child(5)) {
304+
grid-auto-columns: auto 0px 1fr auto;
305+
}
306+
245307
>div:nth-last-child(3):not(.chat_a7d72e, .chatLayerWrapper_d1c246, :has(> [class*="scroll_detection_"])),
246308
>div:nth-last-child(2):not(.chatLayerWrapper_d1c246) {
247309
display: none;
@@ -822,8 +884,8 @@ html {
822884
}
823885

824886
.members_cbd271 {
825-
scrollbar-width: none;
826-
887+
scrollbar-width: none;
888+
827889
h3.membersGroup_cbd271 {
828890
margin-bottom: 8px;
829891
}
@@ -939,4 +1001,4 @@ html:is(.is-mobile) {
9391001
}
9401002
}
9411003
}
942-
}
1004+
}

0 commit comments

Comments
 (0)