Skip to content

Commit ec40b8c

Browse files
authored
Updated themes/redesign
1 parent 18206b2 commit ec40b8c

File tree

1 file changed

+8
-32
lines changed

1 file changed

+8
-32
lines changed

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

+8-32
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ html {
8080

8181
&:has(> .scroller_fea3ef > button.vc-ranb-button),
8282
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]):not(:has(> .scroller_fea3ef > button.vc-ranb-button)) {
83-
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 24px));
83+
--top-margin: calc((56px + ((56px * var(--server-nav-i)) - 56px)) + (var(--space) + 20px));
8484
}
8585

8686
&:has(> .scroller_fea3ef > div[style="margin-bottom: 4px;"]) {
@@ -171,12 +171,13 @@ html {
171171

172172

173173
>div[style="margin-bottom: 4px;"] {
174-
top: calc(56px + var(--space) + 21px);
174+
top: calc(56px + var(--space) + 20px);
175175
width: 72px;
176176
height: 20px;
177177
left: 0;
178178
position: fixed;
179-
z-index: 11;
179+
z-index: 10;
180+
background: var(--background-tertiary) !important;
180181
padding: 0;
181182
margin: 0 !important;
182183
padding-top: 8px;
@@ -188,12 +189,11 @@ html {
188189
&:before {
189190
position: absolute;
190191
content: "";
191-
background: var(--background-tertiary) !important;
192192
width: calc(72px - 12px);
193-
height: 24px;
193+
height: 20px;
194194
z-index: -2;
195195
border-radius: 4px;
196-
top: 0;
196+
top: -1px;
197197
left: 5px;
198198
}
199199
}
@@ -217,32 +217,8 @@ html {
217217
left: 0;
218218
font-size: 12px;
219219
position: fixed;
220-
z-index: 10;
221-
background: var(--background-tertiary);
222-
padding: 0;
223-
margin: 0;
224-
225-
&:before {
226-
position: absolute;
227-
content: "";
228-
border: 1px solid var(--border-subtle);
229-
width: calc(72px - 12px);
230-
height: 20px;
231-
z-index: -2;
232-
border-radius: 4px;
233-
top: -1px;
234-
left: 5px;
235-
}
236-
}
237-
238-
>button:nth-child(3) {
239-
top: calc(56px + var(--space));
240-
width: 72px;
241-
height: 20px;
242-
left: 0;
243-
font-size: 12px;
244-
position: fixed;
245-
z-index: 10;
220+
z-index: 11;
221+
border-radius: 0;
246222
background: var(--background-tertiary);
247223
padding: 0;
248224
margin: 0;

0 commit comments

Comments
 (0)