-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCSSSnippets.theme.css
More file actions
446 lines (393 loc) · 10.9 KB
/
Copy pathCSSSnippets.theme.css
File metadata and controls
446 lines (393 loc) · 10.9 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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
/**
* @name CSS Snippets
* @author NIL
* @version 0.0.0
* @description A bunch of stuff taken from Vencord's CSS Snippets channel. I do not own anything!
* @source https://github.com/NSPC911/vc-themes
*/
/* Show icons in Discord Settings */
@import url("https://gold-me.github.io/DiscordIcons/main.css");
/* User Gradient
From: https://canary.discord.com/channels/1015060230222131221/1028106818368589824/1298575279169605693
Heavily modified by me
:root {
--gDM-online: 67, 181, 129;
--gDM-offline: 99, 107, 117;
--gDM-dnd: 240, 71, 71;
--gDM-idle: 250, 166, 26;
--gDM-streaming: 100, 61, 167;
--gDM-border-radius: 50px;
--gDM-opacity: 0.5;
}
#app-mount .mentioned__5126c:before {
background-color: transparent !important;
width: 0px;
border: none;
}
[class*="interactiveSelected"] {
background: transparent !important;
}
[class*="member"][class*="selected"] > div {
background: transparent !important;
}
[class^="memberInner"] {
border-radius: var(--gDM-border-radius);
transition: background 1s ease-in-out;
padding: 5px !important;
}
[class*="interactive"] {
transform: translateX(3px);
[class^="layout"] {
transform: translateX(-3px);
}
}
.clickable__91a9d:hover .childContainer__91a9d,
.interactive__972a0:hover {
background-color: transparent !important;
cursor: pointer;
}
[class*="interactive"] [class^="link_"],
[class*="member"][class*="container"] [class^="memberInner"] {
background: linear-gradient(
to right,
rgba(var(--gDM-offline), var(--gDM-opacity)),
transparent
);
border-radius: var(--gDM-border-radius) 0 0 var(--gDM-border-radius);
width: -webkit-fill-available;
transition: background 0.5s ease;
> [class^="childContainer"] {
padding: 0;
}
&:has(> div > [aria-label$="Online"]),
&:has(> div > div > [aria-label$="Online"]) {
background: linear-gradient(
to right,
rgba(var(--gDM-online), var(--gDM-opacity)),
transparent
) !important;
}
&:has(> div > [aria-label*="Do Not Disturb"]),
&:has(> div > div > [aria-label*="Do Not Disturb"]) {
background: linear-gradient(
to right,
rgba(var(--gDM-dnd), var(--gDM-opacity)),
transparent
) !important;
}
&:has(> div > [aria-label*="Idle"]),
&:has(> div > div > [aria-label*="Idle"]) {
background: linear-gradient(
to right,
rgba(var(--gDM-idle), var(--gDM-opacity)),
transparent
) !important;
}
&:has(> div > [aria-label*="Streaming"]),
&:has(> div > div > [aria-label*="Streaming"]) {
background: linear-gradient(
to right,
rgba(var(--gDM-streaming), var(--gDM-opacity)),
transparent
) !important;
}
}
*/
/* Gradient Reply/Mention messages
From: https://canary.discord.com/channels/1015060230222131221/1134844326933954622/1294823473390030890
[class*="messageListItem_"] {
margin-left: 5px;
}
div[class*="cozy_"][class*="wrapper_"] {
border-radius: 8px;
}
li[id^="chat-messages"]:has(> [class*="mentioned_"]),
li[id^="chat-messages"]:has(> [class*="replying_"]) {
position: relative;
border-radius: 8px;
&::before {
content: "";
position: absolute;
display: block;
top: -5px;
bottom: -5px;
left: 0;
right: 0;
pointer-events: none;
border-radius: 8px;
width: 100%;
pointer-events: none;
}
&:hover::before {
opacity: 0.5;
}
}
li[id^="chat-messages"]:has(> [class*="mentioned_"])::before {
background: linear-gradient(
to right,
var(--background-mentioned),
transparent
) !important;
border-left: 0px solid var(--info-warning-foreground);
}
li[id^="chat-messages"]:has(> [class*="replying_"])::before {
background: linear-gradient(
to right,
var(--background-message-highlight),
transparent
);
border-left: 0px solid var(--brand-500);
}
li[id^="chat-messages"] [class^="message"] {
background: none !important;
}
div[class*="repliedMessageSpine_"] {
transition: none;
}
*/
/* Make the App Launcher disappear among a sea of butterflies */
.app-launcher-entrypoint {
display: none !important;
}
/* Let the User Area elements breathe */
.panels__5e434 > .container__37e49 {
height: unset !important;
align-items: unset !important;
padding: 6px 8px !important;
flex-direction: column-reverse !important;
gap: 2px !important;
}
.avatarWrapper__37e49 {
margin-right: unset !important;
margin-left: unset !important;
padding-left: 4px !important;
}
_37e49614b9f110a9-avatarWrapper > [class*="buttons"] {
justify-content: space-evenly !important;
}
/* space out the vc buttons */
.visual-refresh #app-mount [class*="voiceButtonsContainer"] {
flex-direction: column;
margin-left: var(--gap);
margin-right: var(--gap);
> button {
margin: 0;
width: fit-content;
height: fit-content;
}
}
/* fix vc buttons area */
.align-chat-input .rtcConnectionStatus__06d62,
.align-chat-input .connection_e131a9 {
max-height: unset !important;
}
.ping__06d62 {
display: none !important;
}
/* Hide chatbox when no access */
.channelTextAreaDisabled__74017 {
display: none !important;
opacity: 0 !important;
position: absolute !important;
height: 0px !important;
width: 0px !important;
z-index: 0 !important;
}
/* Fix long ass profiles */
[class*="userPopoutOverlayBackground"] {
max-height: 60vh;
}
/* Blurred Background while loading */
.container_a2f514.fixClipping_efbae7 {
background: 0 0 !important;
backdrop-filter: blur(5px) !important;
}
/* Remove stickers and gifting */
.container_c0c49a:has(>[aria-label="Send a gift"]),
.buttons__74017
> div:has(
> div[aria-label="Open GIF picker"],
> div[aria-label="Open sticker picker"]
) {
display: none;
}
/* Hide recent activity */
.membersGroup_c8ffbb:has(> [role="button"]) {
display: none;
& + div:not([class]),
& + div:not([class]) + div:not([class]),
& + div:not([class]) + div:not([class]) + div:not([class]) {
display: none;
}
}
/* Hide typing dots in chat bar */
.ellipsis_b88801 {
display: none !important;
& + span {
margin-left: 5px !important;
}
}
.searchResultsWrap_a98f3b > .scroller_a98f3b {
padding-left: 8px !important;
padding-top: 0 !important;
padding-bottom: 0 !important;
padding-right: 0 !important;
> #search-results {
padding: 0 16px;
}
}
.searchResultsWrap_a98f3b {
max-width: 50%;
}
/* turn every text white on hover *\
\* not really sure why i like this, but idk */
*:hover {
color: white !important;
}
/* Memberlist Hover Visual Refresh
.container_c8ffbb,
[class*="membersWrap_"] {
justify-content: unset;
min-width: unset !important;
width: calc(60px - var(--gap) - var(--gap));
right: 0;
}
.container_c8ffbb {
overflow: visible !important;
}
[class*="member_"] {
right: 3px;
}
.memberInner__5d473,
.content__91a9d,
.membersGroup_c8ffbb {
margin-left: 3px;
}
.memberInner__5d473 {
margin-left: -6px;
}
[class*="membersWrap_"] [class*="members_"] {
background-color: transparent;
border-radius: var(--radius-lg);
}
[class*="membersWrap_"]:hover [class*="members_"] {
transform: translateX(-196px);
backdrop-filter: blur(2px);
}
[class*="membersWrap_"]:hover [class*="membersGroup_"] {
overflow: visible;
}
[class*="membersWrap_"] [class*="membersGroup_"] {
cursor: default;
overflow: hidden;
} */
/* Smaller banner */
.notice__6e2b9 {
z-index: 102;
height: fit-content;
}
/* I prefer my font */
.visual-refresh #app-mount :is(pre, code, [class$="codeLine"]) {
font-family: "CaskaydiaCove NF" !important;
}
/* Collapsed message buttons *\
\* From: https://discord.com/channels/1015060230222131221/1028106818368589824/1329057978850086962 */
.textArea__74017 {
margin-right: 32px;
+.buttons__74017 {
position: absolute;
right: 0;
background-color: color-mix(in oklab, var(--chat-background-default) 0%, transparent);
backdrop-filter: blur(3px);
border-radius: 8px 0 0 8px;
&:not(:hover) > :not(:last-child) { display: none }
}
}
/* RAINBOW THREAD *\
NOT MINE! I SIMPLY UPDATED IT WITH THE CLASSES!
\* From: https://discord.com/channels/1015060230222131221/1134844326933954622/1452611600585461874 */
.content_d125d2 > li.container__5b40b > ul[role="group"] {
> .spineBorder__5b40b {
--step: calc(var(--channels-name-line-height) + 10px);
background: var(--thread-muted, repeating-linear-gradient(
#824e62 calc(var(--step) * 0),
#824e62 calc(var(--step) * 1),
#866251 calc(var(--step) * 1),
#866251 calc(var(--step) * 2),
#857a65 calc(var(--step) * 2),
#857a65 calc(var(--step) * 3),
#5c7a5e calc(var(--step) * 3),
#5c7a5e calc(var(--step) * 4),
#4d638b calc(var(--step) * 4),
#4d638b calc(var(--step) * 5),
#6e5c89 calc(var(--step) * 5),
#6e5c89 calc(var(--step) * 6))
)
}
> li {
--interactive-hover: var(--thread-core, #f38ba8);
--interactive-active: var(--thread-core, #f38ba8);
& > svg {
color: var(--interactive-muted);
}
}
> li:nth-of-type(6n + 1) {
--channels-default: var(--thread-default, rgba(243, 139, 168, 0.7));
--text-primary: var(--thread-core, #f38ba8);
--interactive-muted: var(--thread-muted, #824e62);
}
> li:nth-of-type(6n + 2) {
--channels-default: var(--thread-default, rgba(250, 179, 135, 0.7));
--text-primary: var(--thread-core, #fab387);
--interactive-muted: var(--thread-muted, #866251);
}
> li:nth-of-type(6n + 3) {
--channels-default: var(--thread-default, rgba(249, 226, 175, 0.7));
--text-primary: var(--thread-core, #f9e2af);
--interactive-muted: var(--thread-muted, #857a65);
}
> li:nth-of-type(6n + 4) {
--channels-default: var(--thread-default, rgba(166, 227, 161, 0.7));
--text-primary: var(--thread-core, #a6e3a1);
--interactive-muted: var(--thread-muted, #5c7a5e);
}
> li:nth-of-type(6n + 5) {
--channels-default: var(--thread-default, rgba(137, 180, 250, 0.7));
--text-primary: var(--thread-core, #89b4fa);
--interactive-muted: var(--thread-muted, #4d638b);
}
> li:nth-of-type(6n + 6) {
--channels-default: var(--thread-default, rgba(203, 166, 247, 0.7));
--text-primary: var(--thread-core, #cba6f7);
--interactive-muted: var(--thread-muted, #6e5c89);
}
li:only-of-type {
--channels-default: var(--thread-default, rgba(245, 194, 231, 0.7));
--text-primary: var(--thread-core, #f5c2e7);
--interactive-muted: var(--thread-muted, #836a81);
}
}
/* Fix folder icons */
.folderHeaderSmall__48112 {
--custom-folder-preview-padding: 4px;
}
.folderPreviewGuildIcon__48112 {
border-radius: 50% !important;
font-size: 6px !important;
line-height: 16px;
}
/* fix gone timestamps */
span.timestampInline_c19a55 time {
font-size: 0px;
}
h3 > .timestamp_c19a55 > span.hiddenVisually_b18fe2 {
clip: unset;
clip-path: unset;
overflow: hidden;
height: fit-content;
position: relative;
}
/* hide back forward button */
.backForwardButtons__63abb {
display: none !important;
}