forked from KrstlSkll69/vc-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNSFWtag.css
51 lines (47 loc) · 1.57 KB
/
NSFWtag.css
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
/**
* @name NSFWtag
* @author ryan.0324, krystalskullofficial
* @description A tag for 'NSFW' channels so they are easier to see/notice. Also recolors the small triangle too be red,
* @version 6.0.0
* @authorId 929208515883569182
* @website https://krstlskll69.github.io/
* @source https://github.com/KrstlSkll69/vc-snippets?tab=readme-ov-file#1st-nsfw-channel-tag-
*/
/*--- Channel list 'NSFW' Label ---*/
[class*=linkTop_]:has([class*=iconContainer_] [d^="M18.09 1.63"]) > [class*=children_]::after {
content: "NSFW";
background: var(--status-danger-background);
color: var(--status-danger-text);
padding: 0 6px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
letter-spacing: .02em;
line-height: 16px;
margin-left: 4px;
}
/*--- 'NSFW' Chat Label ---*/
[class*=iconWrapper_]:has([d^="M18.09 1.63"]) ~ [class*=titleWrapper_] h1::after {
content: "NSFW";
background: var(--status-danger-background);
color: var(--status-danger-text);
padding: 0 6px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
letter-spacing: .02em;
line-height: 16px;
margin-left: 7px;
}
/*--- Channel list Icon Recolor ---*/
/*--- Chat Icon Recolor ---*/
/*--- 'NSFW' Message Bar Icon Recolor ---*/
[class^=icon__] path[d^="M18.09 1.63"] {
fill: var(--status-danger-background) !important;
border: 1px solid rebeccapurple !important;
}
/*--------------*/
/*--- Ping Warning ---*/
.ping__06d62 path[d^="M18.09 14.63c.4-.7"] {
fill: var(--status-danger-background) !important;
}