#Another version but on Channel list with

1 messages · Page 1 of 1 (latest)

raven turret
#

i cant click the settings icon

#

halp

#

ok i got rid of it by accessing settings menu via dms list

young knoll
#

hmmm,.

young knoll
raven turret
#

i think

#

its the custom css

#

for makin the 4 buttons

young knoll
#

ooh,. looks like when joining in vc..

young knoll
#

done, let me know if you like the changes.

raven turret
#

@young knoll any chance u can also show people in vc

young knoll
#

@raven turret done.. try

raven turret
#

well i cant click the settings button again

#

ill try later when im less busy

solemn pewter
#

two things. looks nice. and functions mostly correctly. but i also have the clicking setup does nothing.
also i'm trying to modify it to be on hover. but it's not staying hovered when i go over my status stuff or the spotify now playing bar. could you help me with that?
btw no rush do what you gotta do.

young knoll
# raven turret well i cant click the settings button again

i think it because of how i set the focus-within to be in nav.

<sidebar>
    <nav aria-label="(server)">
    </nav>
    <section aria-label="User Panel"></section>
</sidebar>

if nav has been focused, then the sidebar width will set with the variable width.

so, the problem here is the sidebar:has(nav:focus-within). because :focus-within is in nav and not the section.

that's why whenever you click "User Panel". the sidebar will go back because nav isn't focused.

obtuse rover
#

cant access discord settings with this

young knoll
young knoll
#

done. it's working now.

eternal shale
young knoll
# eternal shale bro can you guide a lil bit abt how to use it?
@import url("https://lazuee.github.io/css-snippets/discord/member-list/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/channel-list/import.css");
@import url("https://lazuee.github.io/css-snippets/discord/sidebar-dm/import.css");
eternal shale
young knoll
#

... search it on Google,..

nimble abyss
#

@young knoll is there a version you could make where each will open on hover? im finding it a bit tedious to click on each part every time for them to open

young knoll
nimble abyss
#

remember (im guessing i have to make a fork of it right?)

young knoll
#

it's up to you.

frozen epochBOT
tranquil vector
#

No colon on that focus-within.

frozen epochBOT
young knoll
#

@tranquil vector done,. thanks for informing me :)
reload the css imports..

young knoll
#

new update: new variables

Variables

Default state

  • --sidebar-channel-type : specifies the type of the channel list, either hover or focus.
  • --sidebar-channel-width: sets the default width of the channel list.
  • --sidebar-channel-transition: defines the default transition duration for the channel list.
  • --sidebar-channel-icon-size: sets the default size of the channel icon.

Active state

  • --sidebar-channel-active-width: sets the width of the channel list when it is active.
  • --sidebar-channel-active-transition: defines the transition duration for the channel list when it is active.
@import url("https://lazuee.github.io/css-snippets/discord/channel-list/import.css");
:root {
    --sidebar-channel-type: "focus"; /* --sidebar-channel-type: "hover"; */
    --sidebar-channel-width: 68px;
    --sidebar-channel-transition: 200ms;
    --sidebar-channel-icon-size: 22px;
    --sidebar-channel-active-width: 245px;
    --sidebar-channel-active-transition: 800ms;
}
nimble abyss
#

YEAH!1!!!!!

tranquil vector
#

This updated version doesn't seem to work for me. I can drop back to the previous version before the update with the --sidebar-channel-type variable and it works fine, but this version doesn't do anything on my end. I've tried with both focus and hover, and with not setting a variable at all and just going with what's in the script, but none of it helps.

#

Hard to debug because I can't open the element inspector without crashing.

#

I do use OpenAsar in addition to Vencord, so I wonder if something in that interferes?

nimble abyss
#

maybe... ive had some bugginess with the member sidebar, with the member sidebar opening out further and further per (im assuming) member in the member list

young knoll
young knoll
#
@container style supported browser version

Mozilla Firefox: Firefox version 68 and later.
Google Chrome: Chrome version 69 and later.
Safari: Safari version 14 and later.
Microsoft Edge: Edge version 79 and later.
frozen epochBOT
young knoll
#

--sidebar-channel-active-width is the normal width of the channel list, and I didn't use !important because it's bad.

frozen epochBOT
young knoll
#

Hold ctrl then press R, to re-cache the css..

tranquil vector
young knoll
lost elbow
#

is this only for discord web?

young knoll
young knoll
#

@lost elbow instead of discord app (with vencord patch).
Use Vesktop because it uses chrome 118..