Commit 4bb0a8db authored by Cosimo Cecchi's avatar Cosimo Cecchi

range: first pass at porting to gadgets

There's still a lot to be done, but this is functional and we'll improve
the loose ends in the next commits.
parent 10e24b8e
This diff is collapsed.
......@@ -2022,6 +2022,24 @@ scrollbar {
button { border: none; }
&.vertical {
button.down {
-gtk-icon-source: -gtk-icontheme('pan-down-symbolic');
}
button.up {
-gtk-icon-source: -gtk-icontheme('pan-up-symbolic');
}
}
&.horizontal {
button.down {
-gtk-icon-source: -gtk-icontheme('pan-right-symbolic');
}
button.up {
-gtk-icon-source: -gtk-icontheme('pan-left-symbolic');
}
}
&.overlay-indicator {
&:not(.dragging):not(.hovering) { // Overlay scrolling indicator
opacity: 0.4;
......
......@@ -2228,6 +2228,14 @@ notebook > stack:not(:only-child) {
-GtkRange-trough-under-steppers: 1; }
scrollbar button {
border: none; }
scrollbar.vertical button.down {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
scrollbar.vertical button.up {
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
scrollbar.horizontal button.down {
-gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); }
scrollbar.horizontal button.up {
-gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); }
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
opacity: 0.4;
-GtkRange-slider-width: 5px; }
......
......@@ -2238,6 +2238,14 @@ notebook > stack:not(:only-child) {
-GtkRange-trough-under-steppers: 1; }
scrollbar button {
border: none; }
scrollbar.vertical button.down {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic"); }
scrollbar.vertical button.up {
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic"); }
scrollbar.horizontal button.down {
-gtk-icon-source: -gtk-icontheme("pan-right-symbolic"); }
scrollbar.horizontal button.up {
-gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); }
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
opacity: 0.4;
-GtkRange-slider-width: 5px; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment