remove root

This commit is contained in:
Indiana Jone (Indi) 2025-05-22 12:01:46 -04:00
parent d3cfa6d2ea
commit e2af1ce38b

View file

@ -8,14 +8,9 @@
* @source https://github.com/KrstlSkll69/vc-snippets?tab=readme-ov-file#1st-nsfw-channel-tag-
*/
:root{
--Tag-Text: "NSFW";
}
/*--- Channel list 'NSFW' Label ---*/
[class*=linkTop_]:has([class*=iconContainer_] [d^="M18.09 1.63"]) > [class*=children_]::after {
content: var(--Tag-Text);
content: 'NSFW';
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -28,8 +23,8 @@
margin-left: 4px;
}
/*--- 'NSFW' Chat Label ---*/
[class*=iconWrapper_]:has([d^="M18.09 1.63"]) ~ [class*=titleWrapper_] h1::after {
content: var(--Tag-Text);
[class*=iconWrapper_]:has([d^="M18.09 1.63"]) ~ [class*=titleWrapper_] ::after {
content: 'NSFW';
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -44,7 +39,7 @@
/*--- 'NSFW' Message bar icon label ---*/
[class*=autocompleteRowIcon__]:has([d^="M18.09 1.63c.4-.7 1.43-.7"]) ~ [class*=autocompleteRowContentPrimary__] ::after {
content: var(--Tag-Text);
content: 'NSFW';
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);
@ -59,7 +54,7 @@
/*--- Stupid Ahh channel search icon label ---*/
[class*=searchResultChannelIcon__]:has([d^="M18.09 1.63c.4-.7 1.43-.7"]) ~ [class*=searchResultChannelCategory__]::after {
content: var(--Tag-Text);
content: 'NSFW';
background: var(--status-danger-background);
color: var(--status-danger-text);
font-family: var(--font-code);