mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
Adwaita: treeview column header scrollbar top border
add a top border in vertical scrollbars in treeviews.
This commit is contained in:
parent
aadbabf998
commit
303fdfbe8b
@ -2069,7 +2069,7 @@ scrollbar {
|
||||
|
||||
&.overlay-indicator {
|
||||
&:not(.dragging):not(.hovering) {
|
||||
border: none;
|
||||
border-color: transparent;
|
||||
opacity: 0.4;
|
||||
background-color: transparent;
|
||||
|
||||
@ -2175,6 +2175,11 @@ scrollbar {
|
||||
}
|
||||
}
|
||||
|
||||
treeview ~ scrollbar.vertical {
|
||||
border-top: 1px solid $borders_color;
|
||||
margin-top: -1px;
|
||||
}
|
||||
|
||||
/**********
|
||||
* Switch *
|
||||
**********/
|
||||
|
@ -2178,15 +2178,11 @@ notebook > stack:not(:only-child) {
|
||||
* Scrollbars *
|
||||
**************/
|
||||
scrollbar {
|
||||
/*
|
||||
// disable steppers
|
||||
@at-root * {
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
-GtkScrollbar-has-forward-stepper: false;
|
||||
}
|
||||
*/
|
||||
background-color: #313434;
|
||||
transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
|
||||
* {
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
-GtkScrollbar-has-forward-stepper: false; }
|
||||
scrollbar.top {
|
||||
border-bottom: 1px solid #1c1f1f; }
|
||||
scrollbar.bottom {
|
||||
@ -2219,7 +2215,7 @@ scrollbar {
|
||||
min-height: 4px;
|
||||
border-width: 6px; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
border: none;
|
||||
border-color: transparent;
|
||||
opacity: 0.4;
|
||||
background-color: transparent; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
|
||||
@ -2317,6 +2313,10 @@ scrollbar {
|
||||
scrollbar.horizontal button.up {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); }
|
||||
|
||||
treeview ~ scrollbar.vertical {
|
||||
border-top: 1px solid #1c1f1f;
|
||||
margin-top: -1px; }
|
||||
|
||||
/**********
|
||||
* Switch *
|
||||
**********/
|
||||
|
@ -2188,15 +2188,11 @@ notebook > stack:not(:only-child) {
|
||||
* Scrollbars *
|
||||
**************/
|
||||
scrollbar {
|
||||
/*
|
||||
// disable steppers
|
||||
@at-root * {
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
-GtkScrollbar-has-forward-stepper: false;
|
||||
}
|
||||
*/
|
||||
background-color: #c3c4c4;
|
||||
transition: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94); }
|
||||
* {
|
||||
-GtkScrollbar-has-backward-stepper: false;
|
||||
-GtkScrollbar-has-forward-stepper: false; }
|
||||
scrollbar.top {
|
||||
border-bottom: 1px solid #9d9d99; }
|
||||
scrollbar.bottom {
|
||||
@ -2229,7 +2225,7 @@ scrollbar {
|
||||
min-height: 4px;
|
||||
border-width: 6px; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) {
|
||||
border: none;
|
||||
border-color: transparent;
|
||||
opacity: 0.4;
|
||||
background-color: transparent; }
|
||||
scrollbar.overlay-indicator:not(.dragging):not(.hovering) slider {
|
||||
@ -2327,6 +2323,10 @@ scrollbar {
|
||||
scrollbar.horizontal button.up {
|
||||
-gtk-icon-source: -gtk-icontheme("pan-left-symbolic"); }
|
||||
|
||||
treeview ~ scrollbar.vertical {
|
||||
border-top: 1px solid #9d9d99;
|
||||
margin-top: -1px; }
|
||||
|
||||
/**********
|
||||
* Switch *
|
||||
**********/
|
||||
|
Loading…
Reference in New Issue
Block a user