Repository navigation
Replies: 1 comment 1 reply
|
Try this: Scrollbar almost similar to gtk4 scrollbar {
trough {
padding-left: 30px; /* hack to make the scrollbar expand when the mouse is almost close */
min-width: 3px;
slider {
min-width: 4px;
border-radius: 999999px;
transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
background-color: $blue_gray;
}
}
&:hover trough slider {
min-width: 8px;
background-color: $blue_gray;
}
button {
margin-left: 30px; /* hack to make the scrollbar buttons expand when the mouse is almost close */
min-width: 3px;
min-height: 6px;
border-radius: 999999px;
transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
background-color: $blue_gray;
-gtk-icon-source: none;
&.up {
margin-bottom: 3px;
}
&.down {
margin-top: 3px;
}
}
&:hover {
button.up {
background-color: transparent;
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}
button.down {
background-color: transparent;
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}
}
} |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Scroll widget can show a scrollbar??
All reactions