This commit is contained in:
vinceliuice
2022-10-23 09:48:45 +08:00
parent 962c2fa3ea
commit fb1dd01f08
3 changed files with 23 additions and 21 deletions

View File

@@ -1,4 +1,21 @@
%overview_scrollbar {
StBin#trough {
background-color: on($osd, divider);
}
StButton#vhandle, StButton#hhandle {
background-color: on($osd, disabled);
&:hover { background-color: on($osd, secondary); }
&:active { background-color: on($osd); }
}
}
#overview {
spacing: 24px;
StScrollBar { @extend %overview_scrollbar; }
}
.overview-controls {
padding-bottom: $base_padding * 5;
}

View File

@@ -9,21 +9,22 @@ StScrollBar {
padding: 0;
StScrollView & {
min-width: 16px;
min-height: 16px;
min-width: 12px;
min-height: 12px;
}
StBin#trough {
margin: 6px;
border-radius: $circular_radius;
background-color: $divider;
margin: 3px;
}
StButton#vhandle, StButton#hhandle {
border-radius: $circular_radius;
background-color: $text-disabled;
//border: 4px solid transparent; //would be nice to margin or at least to transparent
margin: 6px;
border: 3px solid transparent; //would be nice to margin or at least to transparent
margin: 3px;
&:hover { background-color: $text-secondary; }
&:active { background-color: $text; }
}

View File

@@ -1,17 +1 @@
%overview_scrollbar {
StBin#trough {
background-color: on($osd, divider);
}
StButton#vhandle, StButton#hhandle {
background-color: on($osd, disabled);
&:hover { background-color: on($osd, secondary); }
&:active { background-color: on($osd); }
}
}
#overview {
spacing: 24px;
StScrollBar { @extend %overview_scrollbar; }
}