Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to make slider trough small and then big on hover #3813

Open
heeeeeeeeeeh opened this issue Dec 6, 2024 · 0 comments
Open

Comments

@heeeeeeeeeeh
Copy link

I have it set so that when i hover over trough it get bigger, but when i click it makes the slider move to where the mouse is which makes the trough small because mouse is no longer hovered over it. Is there a way to make it so that when mouse hovers over slider trough get bigger?

here's my current config:
#backlight-slider {
color: @main-fg;
background: @main-bg;
opacity: 1;
margin: 6px 0px 6px 0px;
padding-left: 6px;
padding-right: 6px;
}

#backlight-slider slider {
min-height: 21px;
min-width: 21px;
color: @wb-color;
}

#backlight-slider trough {
min-width: 15px;
min-height: 21px;
border-radius: 5px;
background-color: @wb-act-bg;
}

#backlight-slider trough:hover {
min-width: 215px;
min-height: 21px;
border-radius: 5px;
background-color: @wb-act-bg;
}

#backlight-slider highlight {
color: @wb-color;
border-radius: 5px;
background-color: @wb-act-fg;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant