#Status based Activity Status Icon

1 messages · Page 1 of 1 (latest)

sonic frost
#

wouldn't it be better to use :has(>div>[aria-label])

solid vale
#

maybe

sonic frost
#

ok it does still work like that

solid vale
#

fixed ok?

neon wind
#

peak

polar parcel
#

does this work

#

not really working

solid vale
narrow rose
solid vale
# narrow rose weird

works for me
can you open devtools and show me what the 'd' attribute looks like

shy phoenix
#

If you wanted this to be language-proof, you could use masks instead of aria-labels

polar parcel
solid vale
#

are y'all using different languages?

polar parcel
#

uh

#

no

solid vale
#

thats wonky

polar parcel
#

yea

solid vale
#

will have to see how to use masks

shy phoenix
near breach
#

not working in german

brittle zinc
#

affects only english language and memberlist only, doesnt seem to work on dm list

sonic frost
#

you can change the aria labels to the German translation

polar parcel
#

huhhh

#

but i am using english and im on member list

sonic frost
void yacht
#

how do you even apply this? is there an import url? or where does this code stuff even paste into?

shy phoenix
near breach
#

broken with the new ui refresh

void yacht
#

dang 😭 hopefully a fix is thrown out soon :3

solid vale
#

soon™️

onyx stirrup
#

Update for visual refresh. (last updated: <t:1744635240:R>)

/* status based activity icon */
[class^=memberInner]:has(> div > [aria-label*="Online"]) [class^=subText] svg>path[fill="#40a258"] {
    fill: #43b581;
}

[class^=memberInner]:has(> div > [aria-label*="Idle"]) [class^=subText] svg>path[fill="#40a258"] {
    fill: #f0b232;
}

[class^=memberInner]:has(> div > [aria-label*="Do Not Disturb"]) [class^=subText] svg>path[fill="#40a258"] {
    fill: #f23f43;
}

[class^=memberInner]:has(> div > [aria-label*=Streaming]) [class^=subText] svg>path[fill="#40a258"] {
    fill: #643da7;
}
narrow rose
#

hmm maybe not working for me

near breach
narrow rose
#

ok nvm now working!

merry sleet
#

any way to get this to work in the DM list?

errant chasm
#

not working in the friends list

solid vale
#

not bothering to fix it

errant chasm
near breach
#

seems to be broken again

#

fixed it myself. here's the updated css but in german so u gotta replace the german stuff with ur own language 🇩🇪

/* status based activity icon */
[class^=memberInner]:has(> div > [aria-label*="Online"]) [class^=subText] svg>path[fill="#43a25a"] {
    fill: #43b581;
}

[class^=memberInner]:has(> div > [aria-label*="Abwesend"]) [class^=subText] svg>path[fill="#43a25a"] {
    fill: #f0b232;
}

[class^=memberInner]:has(> div > [aria-label*="Bitte nicht stören"]) [class^=subText] svg>path[fill="#43a25a"] {
    fill: #f23f43;
}

[class^=memberInner]:has(> div > [aria-label*=Streamt]) [class^=subText] svg>path[fill="#43a25a"] {
    fill: #643da7;
}
violet dagger
#

still doesn't work for me

violet dagger
glad fern
#

Is there a new version?

cloud jetty
#

hi this dont work for me, need some help

solid vale
#

cant bother to fix, make it yourself

cloud jetty
glad fern
#

what?

solid vale
#

exactly what i said
i cannot bother fixing it
so if you want it, make it yourself

near breach
#

it still works wdym

near breach
#

I fixed it a couple months ago

#

@glad fern

glad fern
near breach
glad fern
#

no

near breach
#

smh

glad fern
#

i use quick css

near breach
#

reading instructions challenge = impossible

#

u need to change the strings in there to your language

#

i didnt bother to change it to english bc I dont give a fuck

glad fern
#

uh?

#

oh~ i know it

near breach
#

u dunno what a string is?

glad fern
#

tks

glad fern
near breach
celest hull
#

I changed it to Korean and am using it well >.0
I have a question but does the icon appear purple when streaming?

solid vale
celest hull
celest hull
solid vale
#

beside status

celest hull
solid vale
#

ah

coarse nova
#

now works with dms list, friends list and the +1/+2 when you have more than 1 activity. i thinks dont have enough friends online to really check anything

/* ============================================
      Status based Activity Status Icon
============================================ */

/* ======================
        ONLINE
====================== */

[class^=memberInner_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Online"]) svg path[fill="#43a25a"] {
    fill: #43b581 !important; /* or any color or #43a25a if you wanna match discord status */
}

[class^=memberInner_]:has([aria-label*="Online"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Online"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Online"]) [class*="activityCounter_"] {
    color: #43b581 !important; /* or #43a25a */
}

/* ======================
         IDLE
====================== */

[class^=memberInner_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"] {
    fill: #f0b232 !important; /* or #ca9654 */
}

[class^=memberInner_]:has([aria-label*="Idle"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Idle"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) [class*="activityCounter_"] {
    color: #f0b232 !important; /* or #ca9654 */
}

#
/* ======================
     DO NOT DISTURB
====================== */

[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"] {
    fill: #f23f43 !important; /* or #d83a42 */
}

[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"] {
    color: #f23f43 !important; /* or #d83a42 */
}

/* ======================
      STREAMING
====================== */

[class^=memberInner_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"] {
    fill: #643da7 !important; /* or #9147ff */
}

[class^=memberInner_]:has([aria-label*="Streaming"]) [class*="activityCounter_"],
[class^=channel_]:has([aria-label*="Streaming"]) [class*="activityCounter_"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) [class*="activityCounter_"] {
    color: #643da7 !important; /* or #9147ff */
}

/* ============================================
      End Status based Activity Status Icon
============================================ */
#

if you want the colors to match w status:
online: #43a25a
idle: #ca9654
dnd: #d83a42
streaming: #9147ff

solid vale
#

but i dont know the color exactly

coarse nova
#

hmm leaving the color alone for now i dont think streaming is working? just tested by try streaming in my personal server 🤔 but toasts fix also show it as green instead of purple there so its probably a different streaming thing?

#

oh wait purple and streaming. its twitch isnt it. well i cant really test if it works then but it probably does

#

eh nvm just saw a twitch streamer in this server. it works fine and the color to match discords status is #9147ff

coarse nova
#

saw another thing that slightly bother me so this is a version that doesnt change the color of "+1/+2" if its not next to the status icon

/* ============================================
      Status based Activity Status Icon
============================================ */

/* ======================
        ONLINE
====================== */

[class^=memberInner_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Online"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Online"]) svg path[fill="#43a25a"] {
    fill: #43b581 !important; /* or any color or #43a25a if you wanna match discord status */
}

[class^=memberInner_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Online"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
    color: #43b581 !important; /* or #43a25a */
}

/* ======================
         IDLE
====================== */

[class^=memberInner_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) svg path[fill="#43a25a"] {
    fill: #f0b232 !important; /* or #ca9654 */
}

[class^=memberInner_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Idle"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
    color: #f0b232 !important; /* or #ca9654 */
}
#
/* ======================
     DO NOT DISTURB
====================== */

[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) svg path[fill="#43a25a"] {
    fill: #f23f43 !important; /* or #d83a42 */
}

[class^=memberInner_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Do Not Disturb"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
    color: #f23f43 !important; /* or #d83a42 */
}

/* ======================
      STREAMING
====================== */

[class^=memberInner_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=channel_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) svg path[fill="#43a25a"] {
    fill: #643da7 !important; /* or #9147ff */
}

[class^=memberInner_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=channel_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"],
[class^=peopleListItem_]:has([aria-label*="Streaming"]) [class*="activityCounter_"][style*="var(--status-positive)"] {
    color: #643da7 !important; /* or #9147ff */
}

/* ============================================
      End Status based Activity Status Icon
============================================ */
coarse nova
drifting kayak
#

For do not disturb i used #D13746 and for idle i used #C69756, if anyone wants a different color. Maybe they're more accurate.

coarse nova
#

update timeee. this one doesnt have an online part bc im using discords colors (add it yourself if you want to change things, shouldnt be too hard) also should fix that bug when someone is streaming to you or in a same server and their status icons turn purple despite not streaming on twitch

/*Idle*/

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Idle"]
) svg path[fill="#43a25a"] {
  fill: #ca9654 !important;
}

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Idle"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: #ca9654 !important;
}

/*DND*/

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Do Not Disturb"]
) svg path[fill="#43a25a"] {
  fill: #d83A42 !important;
}

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Do Not Disturb"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: #d83A42 !important;
}

/*Streaming*/

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Streaming"]
) svg path[fill="#43a25a"] {
  fill: #643da7 !important;
}

[class*="memberInner"]:has(
  > [class*="avatar"] [aria-label*="Streaming"]
) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: #643da7 !important;
}
#

dont have any friends online so i cant check and update dms list and friends list yet

coarse nova
#

alr this should work for all the lists now

:root {
  --idle-color: #ffc04e;
  --dnd-color: #da3e44;
  --streaming-color: #9147ff;
}

/*Idle*/

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Idle"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Idle"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Idle"]) svg path[fill="#45a366"] {
  fill: var(--idle-color) !important;
}

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Idle"]) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: var(--idle-color) !important;
}
#
/*DND*/

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Do Not Disturb"]) svg path[fill="#45a366"] {
  fill: var(--dnd-color) !important;
}

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Do Not Disturb"]) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: var(--dnd-color) !important;
}
#

/*Streaming*/

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Streaming"]) svg path[fill="#45a366"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Streaming"]) svg path[fill="#45a366"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Streaming"]) svg path[fill="#45a366"] {
  fill: var(--streaming-color) !important;
}

[class*="memberInner"]:has([class*="avatar"] [aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="channel"]:has([class*="avatar"] [aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"],
[class*="peopleListItem"]:has([class*="avatar"][aria-label*="Streaming"]) [class*="activityCounter"][style*="var(--status-positive)"] {
  color: var(--streaming-color) !important;
}
#

or just use

@import url(https://raw.githubusercontent.com/its-mik/VC-stuff/refs/heads/main/StatusBasedActivity.css);

if you dont wanna change anything