-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquick.css
More file actions
398 lines (325 loc) · 9.84 KB
/
quick.css
File metadata and controls
398 lines (325 loc) · 9.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
:root {
--custom-font-family: Torus;
--enable-transparency: 0;
}
* {
/* osu! font */
@font-face {
src: url("https://github.com/PeeblyWeeb/DiscordCSS/raw/refs/heads/main/torus.otf") format("opentype");
font-family: "Torus";
font-weight: 400;
font-style: normal;
}
font-family: var(--custom-font-family);
/* squares are better */
border-radius: 0px !important;
/* lets get some transparency going */
--background-base-lowest: transparent !important;
--background-base-lower: transparent !important;
--background-base-low: transparent !important;
--custom-channel-members-bg: transparent !important;
--__header-bar-background: transparent !important;
--chat-background-default: transparent !important;
}
/* darken the app background now that it's transparent */
body {
/* default to black for non-transparency supporting clients (web) */
background-color: black;
/* only apply transparency if we're on a desktop client */
&:has(div[class*="winButtons"]) {
background-color: rgba(0, 0, 0, 0.5) !important;
}
}
/* nicely add some "depth" to the app by darkening the inner parts */
div[class*="sidebarList"] {
background-color: rgba(0, 0, 0, 0.2);
/* fix sidebar list behaving weirdly with transparency */
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
}
div[class*="page"] {
background-color: rgba(0, 0, 0, 0.4);
}
/* lets make the call background transparent too yk */
div[class*="wrapper"]:has(> div[class*="callContainer"]) {
--black: transparent;
--background-surface-high: rgba(0, 0, 0, 0.4) !important;
}
/* make the settings menu background work with transparency */
/*> normal version: */
div[data-mana-component="layer-modal"] {
background: rgba(0, 0, 0, 1);
}
/*> performance heavy version: */
/* div[class^="app"] {
transition: all 250ms;
}
div[class^="scrim"] {
opacity: 0 !important;
}
div[class*="notAppAsidePanel"]:has(> * > * > * > * > * > div[data-mana-component="layer-modal"]) {
div[class^="app"] {
opacity: 0;
transform: scale(0.98);
}
}
div[data-mana-component="layer-modal"] {
background: rgba(0,0,0,0.4);
} */
/* make the non-nitro user profile popout work with transparency */
div[class*="user-profile-modal-v2"] {
/* ps: this value is color picked and should be the normal default */
--background-base-lower: #070709 !important;
}
/* make vencord notifications work with transparency */
div.vc-notification {
background-color: black !important;
}
/* make the server sidebar take up all vertical space */
nav[aria-label="Servers sidebar"] {
margin-bottom: 0;
}
/*** major user area tweaks ***/
/** fix sidebar list slightly leaking into the user area **/
div[data-list-id*="private-channels"],
nav[aria-label*="(server)"] {
margin-bottom: var(--custom-app-panels-height, 0);
padding-bottom: 0px;
}
div#channels {
margin-bottom: 0;
}
section[aria-label="User status and settings"] {
/** squish the user area back into the dm list area **/
/* UI Density: Compact */
/* --server-sidebar-width: 64px; */
/* UI Density: Default */
--server-sidebar-width: 72px;
/* UI Density: Spacious */
/* --server-sidebar-width: 80px; */
background-color: rgba(0, 0, 0, 0.15);
width: calc(100% - var(--server-sidebar-width));
padding: 0px;
bottom: 0px;
left: var(--server-sidebar-width);
border-right: none;
border-bottom: none;
border-left: transparent 1px solid;
/** overlay mute and deafen buttons over the profile picture
* (this css assumes you use hotkeys for mute and deafen)
**/
/*> performance heavy */
--animation-speed: 150ms;
svg[class*="avatarDecorationContainer"] {
transition: opacity var(--animation-speed), transform var(--animation-speed);
}
/*
&:has(button[aria-checked="true"]) {
svg[class*="avatarDecorationContainer"] {
opacity: 0;
transform: scale(0.8);
}
} */
div[class*="buttons"] {
gap: 0;
button[aria-label="Input Options"],
button[aria-label="Output Options"] {
display: none;
}
button[aria-label="Mute"],
button[aria-label="Deafen"] {
pointer-events: none;
color: var(--icon-voice-muted) !important;
position: absolute;
left: 12px;
top: 12px;
transition: all var(--animation-speed);
&[aria-checked="false"] {
opacity: 0;
}
&[aria-checked="true"][aria-label="Mute"] {
backdrop-filter: brightness(30%);
}
}
button[aria-label="User Settings"] {
pointer-events: auto;
width: 56px;
height: 56px;
}
/*> performance heavy */
/* &:has(> div > button[aria-label="Deafen"][aria-checked="true"]) {
button[aria-label="Mute"] > div > div[class*="lottieIcon"] {
transform: scale(0.8);
opacity: 0;
}
} */
}
/** when in voice calls hide unused buttons **/
div[class*="actionButtons"] {
:nth-child(5) {
/* Start an activity */
display: none;
}
span {
/* HACK: "Open soundboard" is a span, for whatever reason, just delete them all!! */
display: none;
}
}
/** expand user profile in the user area **/
>div[class*="container"] {
border-left: 1px solid transparent;
padding: 0;
gap: 0;
div[class*="accountPopoutButtonWrapper"] {
-webkit-margin-start: 0;
margin-inline-start: 0;
padding: 0px;
padding-inline: 12px;
display: flex;
height: 100%;
/* width: 266px !important; */
/** hide the status icon from the user pfp **/
div[class*="avatar"] foreignObject {
mask: none;
}
g {
display: none;
}
}
}
/** make activity panel work with transparency **/
>div[class*="activityPanel"] {
--background-surface-high: transparent
}
}
/* align the text box to the bottom of the screen with the user area */
form[class*="formWithLoadedChatInput"] {
margin-top: 0px !important;
padding-inline: 0;
}
form[class*="formWithLoadedChatInput"] div[class*="channelTextArea"] {
margin-bottom: 0;
border-bottom: none;
border-inline: none;
/* move autocomplete down to follow */
> div[class*="autocomplete"] {
left: 0;
bottom: calc(100% + 1px);
box-shadow: none;
width: 100%;
}
}
ol[data-list-id*="chat-messages"] div[class*="scrollerSpacer"] {
height: 24px;
}
/* hide unwanted chat bar buttons */
div[class*="buttons"] {
div[class*="app-launcher-entrypoint"],
div:has(div[aria-label="Send a gift"]) {
display: none;
}
div[class*="expression-picker-chat-input-button"] {
&:has(div[aria-label="Add Emoji"]),
&:has(div[aria-label="Open sticker picker"]) {
display: none;
}
}
}
/* hide real usernames until hover */
span[class*="userTagUsername"]:not(:hover) {
position: relative;
visibility: hidden;
&::after {
width: 100%;
text-align: center;
top: 0px;
left: 0px;
visibility: visible;
position: absolute;
content: "...";
}
}
/* customize the discord loader */
div[style*="connecting-container"] {
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0, 0.5);
animation: fade-in 200ms forwards;
>div[class*="problems"] {
display: none;
}
>div[class*="content"] {
height: 100%;
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
animation: slidefade-from-bottom 200ms forwards ease-in-out;
}
>div[class*="content"]::before {
display: block;
content: "";
color: white;
aspect-ratio: 1/1;
height: 300px;
width: 320px;
background-size: cover;
background-image: url("https://fs.salamithecat.com/shr/public/dance.gif") !important;
}
div[class*="text"] {
display: none;
}
video {
display: none;
}
}
/* hide extra buttons in dm list */
ul[aria-label="Direct Messages"] {
>div:has(a[href="/store"]),
>li:has(a[href="/shop"]),
>div:has(a[href="/quest-home"]) {
display: none;
}
}
/* make switches square */
svg[class*="thumb_"]>rect {
/* yeah ik the ide says this is a warning, it does exist though */
rx: 0;
}
/* make profile pictures square in calls */
foreignObject[mask="url(#svg-mask-avatar-default)"] {
mask: none !important;
}
/* make servers and server folders square */
svg:has(div[data-list-item-id^="guildsnav"])>mask {
display: none;
}
svg:has(div[class*="folderButton"])>mask {
display: none;
}
/* make chat sidebar work with transparency when floating */
div[class*="chatTarget"] {
margin-top: 1px;
border-left: 1px solid var(--app-frame-border);
background-color: rgba(0, 0, 0, 0.8);
backdrop-filter: blur(16px);
box-shadow: #070709 1px 1px 20px;
}
/* make component v2 containers transparent */
div[class*="isComponentsV2"]>div[class*="container"] {
--background-surface-high: rgba(0, 0, 0, 0.35)
}
/* make hidden media attachments work with transparency */
div[class*="spoilerContainer"] {
background: rgba(0,0,0,0.2);
}
div[class*="spoilerInnerContainer"][aria-hidden="true"] {
filter: none !important;
background-color: transparent;
border: 1px solid var(--border-subtle);
box-sizing: border-box;
img {
display: none !important;
}
}