-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathquick.css
More file actions
415 lines (367 loc) · 10.8 KB
/
quick.css
File metadata and controls
415 lines (367 loc) · 10.8 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
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
@import url('https://fonts.googleapis.com/css2?family=Radio+Canada+Big:ital,wght@0,400..700;1,400..700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Radio+Canada+Big:ital,wght@0,400..700;1,400..700&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* config */
:root {
--server-sidebar-width: 72px;
/* compact mode value */
/* --server-sidebar-width: 64px; */
--custom-font-family: "Torus";
/* --custom-font-family: unset !important; */
}
@font-face {
font-family: "Torus";
src: url("https://corsproxy.io/?url=https://osu.ppy.sh/assets/fonts/Torus-Regular.734ed3ae.otf") format("opentype");
font-weight: normal;
font-style: normal;
}
/*** we love squares ***/
* {
border-radius: 0px !important;
font-family: var(--custom-font-family);
}
/* 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 switches square */
svg[class*="thumb_"] > rect {
/* yeah ik the ide says this is a warning, it does exist though */
rx: 0;
}
/* transparency */
body {
/* transition: background-color 500ms; */
background-color: black;
&:has(div[class*="winButtons"]) {
background-color: rgba(0, 0, 0, 0.5) !important;
}
/* &:hover {
background-color: rgba(0, 0, 0, 0.5) !important;
} */
}
nav[aria-label="Private channels"],
nav[aria-label*="(server)"] {
background: transparent !important;
--background-base-lowest: transparent !important;
}
section[aria-label*="User status and settings"] div[class*="activityPanel"] {
background-color: transparent;
}
div[class*="sidebarList"] {
background-color: rgba(0, 0, 0, 0.2);
-webkit-backdrop-filter: none !important;
backdrop-filter: none !important;
}
div[class*="page"] {
background-color: rgba(0, 0, 0, 0.4);
}
* {
--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;
/* --background-surface-high: transparent !important; */
/* scrollbar-color: transparent rbga(255, 255, 255, 0.2) !important;
scrollbar-width: thin !important;
scrollbar-arrow-color: transparent !important; */
}
div[class*="callContainer"] {
--black: transparent !important;
background: transparent !important;
/* filter: drop-shadow(0px 0px 5px black); */
}
div[class*="wrapper"]:has(div[class*="callContainer"]) {
--background-base-lowest: rgba(0, 0, 0, 0.4) !important;
}
/* transparency: user settings */
div[data-mana-component="layer-modal"] {
backdrop-filter: blur(16px);
}
/* transparency: non-nitro profile popouts */
div[class*="user-profile-modal-v2"] {
/* this value is color picked and should be the normal default */
--background-base-lower: #070709 !important;
}
/* make the server sidebar take up all vertical space */
nav[aria-label="Servers sidebar"] {
margin-bottom: 0;
}
/* 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;
}
}
nav[aria-label="Private channels"] {
>div[class*="searchBar"] {
display: none;
}
}
/* squish user area back into dm list */
section[aria-label="User status and settings"] {
width: calc(100% - var(--server-sidebar-width));
bottom: 0px;
left: var(--server-sidebar-width);
/* border-left: none; */
border-right: none;
border-bottom: none;
/* keep alignment now that the left border is gone */
/* margin-left: 1px; */
border-left: transparent 2px solid
}
div[data-list-id*="private-channels"] {
margin-bottom: var(--custom-app-panels-height, 0);
}
/* hide unused buttons from the user area */
section[aria-label="User status and settings"] 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;
}
}
/* make the profile section of the user area fill the whole container */
section[aria-label="User status and settings"]>div[class*="container"] {
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;
g {
/* status icon */
display: none;
}
div[class*="avatar"] foreignObject {
/* status mask */
mask: none;
}
}
}
/* mute and deafen buttons overlay on profile */
section[aria-label="User status and settings"] {
--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);
}
}
}
section[aria-label="User status and settings"] div[class*="buttons"] {
pointer-events: none;
gap: 0;
&:has(button[aria-label="Deafen"][aria-checked="true"]) {
button[aria-label="Mute"] div[class*="lottieIcon"] {
transform: scale(0.8);
opacity: 0;
}
}
button[aria-label="Mute"] {
&[aria-checked="true"] {
backdrop-filter: brightness(30%);
}
div[class*="lottieIcon"] {
transition: opacity var(--animation-speed), transform var(--animation-speed) ease-out;
}
}
button[aria-label="Deafen"] {
background: transparent;
}
button[aria-label="Mute"],
button[aria-label="Deafen"] {
color: var(--icon-voice-muted) !important;
position: absolute;
left: 12px;
top: 12px;
transition: all var(--animation-speed);
&[aria-checked="false"] {
opacity: 0%;
}
}
button[aria-label="Input Options"],
button[aria-label="Output Options"] {
display: none;
}
button[aria-label="User Settings"] {
pointer-events: auto;
width: 56px;
height: 56px;
}
}
/* 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"] {
bottom: calc(100% + 1px);
box-shadow: none;
width: 100%;
}
}
ol[data-list-id*="chat-messages"] div[class*="scrollerSpacer"] {
height: 24px;
}
/* fix double border at the top of the call container in dms and instead apply it to the bottom*/
div[class*="callContainer"]:has(div[class*="videoFrame"]),
div[class*="callContainer"]:has(div[class*="voiceCallWrapper"]) {
border-top: none !important;
box-shadow: var(--shadow-border), var(--shadow-high);
}
/* 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: "...";
}
}
/* status border */
/* svg:has(*[mask="url(#svg-mask-avatar-status-round-32)"]) {
g {
clip-path: polygon(
0% 0%,
0% 100%,
1px 100%,
1px 1px,
32px 1px,
32px 32px,
1px 32px,
1px 100%,
100% 100%,
100% 0%
);
}
*[mask="url(#svg-mask-avatar-status-round-32)"] {
mask: none;
}
*[mask*="url(#svg-mask-status-"] {
z-index: 0 !important;
--border-size: 1px;
mask: none;
width: calc(32px + var(--border-size));
height: calc(32px + var(--border-size));
x: 0;
y: 0;
}
} */
@keyframes fade-in {
from {
opacity: 0
}
to {
opacity: 1;
}
}
@keyframes slidefade-from-bottom {
from {
transform: translateY(25px);
opacity: 0;
}
to {
opacity: 1;
}
}
/* customize the discord loader */
div[class*="notAppAsidePanel"] {
&:has(div[style*="connecting-container"]) {
div[class*="app__"] {
opacity: 0;
}
}
div[class*="app__"] {
transition: opacity 200ms;
}
}
div[style*="connecting-container"] {
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0,0,0,0.2);
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;
}
video::after {
content: "";
position: absolute;
width:80px;
height:80px;
/* background-color: black; */
z-index: 1000;
background:url("https://example.com/replacement.gif") center/contain no-repeat !important;
}
}
div.vc-notification {
background-color: black !important;
}