From f9d480cfe50ca1d7a0f0b5a2b8bb9932962bfbe7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 17:07:22 +0200 Subject: Adding upstream version 3.38.6. Signed-off-by: Daniel Baumann --- .../gnome-shell-sass/widgets/_scrollbars.scss | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 data/theme/gnome-shell-sass/widgets/_scrollbars.scss (limited to 'data/theme/gnome-shell-sass/widgets/_scrollbars.scss') diff --git a/data/theme/gnome-shell-sass/widgets/_scrollbars.scss b/data/theme/gnome-shell-sass/widgets/_scrollbars.scss new file mode 100644 index 0000000..5d50994 --- /dev/null +++ b/data/theme/gnome-shell-sass/widgets/_scrollbars.scss @@ -0,0 +1,29 @@ +/* Scrollbars */ + +StScrollView { + &.vfade { -st-vfade-offset: 68px; } + &.hfade { -st-hfade-offset: 68px; } +} + +StScrollBar { + padding: 0; + + StScrollView & { + min-width: 14px; + min-height: 14px; + } + + StBin#trough { + border-radius: 0; + background-color: transparent; + } + + StButton#vhandle, StButton#hhandle { + border-radius: 8px; + background-color: mix($fg_color, $bg_color, 60%); + //border: 3px solid transparent; //would be nice to margin or at least to transparent + margin: 3px; + &:hover { background-color: mix($fg_color, $bg_color, 80%); } + &:active { background-color: $selected_bg_color; } + } +} \ No newline at end of file -- cgit v1.2.3