From aa0f308425142e9c36c2b87c97fe9934f67f4a3f Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 1 Mar 2016 22:19:32 +0100 Subject: Clean up (disabled) scrollbar button logic Thanks to raveit65 for this suggestion, it is proven to work in my own theme and will be enabled here if I can get those 4 svg files uploaded --- .../BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'desktop-themes/BlackMATE') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css index 117ecd5c..196a8a02 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css @@ -426,3 +426,27 @@ notebook tab.left:active { notebook tab.right:active { border-image: url("assets/tab-right-active-border.svg") 3 3 3 0 / 3px 3px 3px 0px stretch; } + +/********************* + * Scrollbar buttons * + *********************/ + +/* cannot add these yet to the GIT repo, but they are needed to fix wrong arrow orientation + caused by BUG in gtk3.19 */ + +scrollbar.vertical button:first-child { + -gtk-icon-source: -gtk-scaled(url("assets/scrollbar-arrow-up.svg")); +} + +scrollbar.vertical button:last-child { + -gtk-icon-source: -gtk-scaled(url("assets/scrollbar-arrow-down.svg")); +} + +scrollbar.horizontal button:first-child { + -gtk-icon-source: -gtk-scaled(url("assets/scrollbar-arrow-left.svg")); +} + +scrollbar.horizontal button:last-child { + -gtk-icon-source: -gtk-scaled(url("assets/scrollbar-arrow-right.svg")); +} + -- cgit v1.2.1