#Server selector from tabs v2

1 messages · Page 1 of 1 (latest)

native quartz
#

what kinda black magic did you do wtf

#

oh wait it dont work

rigid tree
#

well it is very hacky so i thought it may break

#

but idk it works for me with themes and without

native quartz
#

yeah, surprised you got it working in general even if it doesnt work for everyone lol

rigid tree
#

oh its probably because of your online indicator plugin

#

i use :nth-element() which breaks with plugins that add stuff to the sidebar

native quartz
#

oh

#

nope wasnt it

rigid tree
#

ok i replaced :nth-element() with aria-label and it should work with plugins but not other languages

native quartz
#

yup it works now

rigid tree
#

yay

native quartz
#

i wonder if you could have it hide till you hover over it

rigid tree
#

i tried but then resizing is funky

native quartz
#

ah

#

sadge

rigid tree
#

you can add

.wrapper-1_HaEi.guilds-2JjMmN {
    opacity: 0;
}
.wrapper-1_HaEi.guilds-2JjMmN:hover {
    opacity: 1;
}
#

oh well actually if its instant it sorta works

native quartz
#

i gave the opaicity a 300ms transition time and works fine

rigid tree
#

oh i didn't know you could select only opacity in transform properties

#

that's cool

native quartz
#

.wrapper-1_HaEi.guilds-2JjMmN {
    opacity: 0;
    transition: opacity linear 150ms;
}
.wrapper-1_HaEi.guilds-2JjMmN:hover {
    opacity: 1;
    transition: opacity linear 150ms;
}

I just added it in the transition tag lol

rigid tree
#
.wrapper-1_HaEi.guilds-2JjMmN {
    transition: opacity 300ms linear;
    opacity: 0;
}
.wrapper-1_HaEi.guilds-2JjMmN:hover {
    transition: opacity 300ms cubic-bezier(1,.05,.44,-0.26);
    opacity: 1;
}

this works best
i'll add it

native quartz
#

ight

nocturne tinsel
#

as a wise vending machine said,

go to about:config and set layout.css.has-selector.enabled to true

#

then you can use it on firefox

rigid tree
#

does not work i tried

nocturne tinsel
#

oh

#

it does allow you to use :has though

rigid tree
#

it updates only when you update the css

#

so it works only on startup basically

tough jacinth
rigid tree
#

not at my pc rn but if i had to guess probably because of read all plugin

tough jacinth
#

Happens every time When I switch servers

#

Better when I resize it

rigid tree
#

weird

nocturne tinsel
#

it happened to me on firefox

trim bolt
#

just removed the snippet and t this happened

nocturne tinsel
#

reload

rigid tree
#

when you resize it directly changes the element, only fix is reloading

nocturne tinsel
#

always turn off and on

#

then ask :3

rigid tree
#

it's ok

nocturne tinsel
#

ye i was kind of joking

coral wave
#

@rigid tree is there a way to make it so it collapses into an icon in the top left corner?

rigid tree
#

probably not, but i can try later

coral wave
#

oh nvm I didnt realize it disappears on when you dont hover over it

#

does it look like this for you?

rigid tree
#

yes

coral wave
#

the only thing I wish you could do was move it anywhere

rigid tree
coral wave
rigid tree
#

draggable is not possible, but you can change the position using left and top

coral wave
rigid tree
#

that functionality is from the discord client, i didn't make that

coral wave
#

Can you fix this?

rigid tree
#
#popout_25 {
    left:56px !important;
}

works(?)

coral wave
#

doesnt look like it did anything

rigid tree
#

ill make a v2 to this snippet a bit later