1/**************************************************************************************
2This file is distributed under the GNU General Public License version 2 (a.k.a. GPL-v2)
3(c) 2019-2021 Virgil Mager - vvmager@gmail.com
4(c) 2019-2021 Information Technology Group - http://itgroup.ro
5**************************************************************************************/
6
7@define-color scrollbar_controls_hover_1 shade(@scrollbar_bg_color, 1.2);
8@define-color scrollbar_controls_hover_2 shade(@scrollbar_bg_color, 1.15);
9@define-color scrollbar_controls_hover_3 shade(@scrollbar_bg_color, 1.0);
10@define-color scrollbar_controls_border_hover shade(@scrollbar_bg_color, 0.8);
11
12@define-color scrollbar_controls_normal_1 shade(@scrollbar_bg_color, 1.12);
13@define-color scrollbar_controls_normal_2 shade(@scrollbar_bg_color, 1.05);
14@define-color scrollbar_controls_normal_3 shade(@scrollbar_bg_color, 0.95);
15@define-color scrollbar_controls_border_normal shade(@scrollbar_bg_color, 0.75);
16
17scrollbar.vertical slider, scrollbar.vertical .slider,
18scrollbar.vertical button, scrollbar.vertical .button {
19  color: @scrollbar_fg_color;
20  background-image: -gtk-gradient (linear, left top, right top, color-stop (0, @scrollbar_controls_normal_1), color-stop (0.5, @scrollbar_controls_normal_2), color-stop (1, @scrollbar_controls_normal_3));
21  border-color: @scrollbar_controls_border_normal;
22  box-shadow: -1px 0 @scrollbar_controls_border_normal, 1px 0 @scrollbar_controls_border_normal; }
23
24scrollbar.horizontal slider, scrollbar.horizontal .slider,
25scrollbar.horizontal button, scrollbar.horizontal .button {
26  color: @scrollbar_fg_color;
27  background-image: -gtk-gradient (linear, left top, left bottom, color-stop (0, @scrollbar_controls_normal_1), color-stop (0.5, @scrollbar_controls_normal_2), color-stop (1, @scrollbar_controls_normal_3));
28  border-color: @scrollbar_controls_border_normal;
29  box-shadow: 0 -1px @scrollbar_controls_border_normal, 0 1px @scrollbar_controls_border_normal; }
30
31scrollbar.vertical button.up, scrollbar.vertical .button.up {
32  box-shadow: -1px 0 @scrollbar_controls_border_normal, 1px 0 @scrollbar_controls_border_normal, -1px -1px @scrollbar_controls_border_normal, 1px -1px @scrollbar_controls_border_normal;
33  border-style: none; }
34  scrollbar.vertical button.up:not(:disabled), scrollbar.vertical .button.up:not(:disabled) {
35    border-bottom: 1px solid @scrollbar_controls_border_normal; }
36scrollbar.vertical button.down, scrollbar.vertical .button.down {
37  box-shadow: -1px 0 @scrollbar_controls_border_normal, 1px 0 @scrollbar_controls_border_normal, -1px 1px @scrollbar_controls_border_normal, 1px 1px @scrollbar_controls_border_normal;
38  border-style: none; }
39  scrollbar.vertical button.down:not(:disabled), scrollbar.vertical .button.down:not(:disabled) {
40  border-top: 1px solid @scrollbar_controls_border_normal; }
41
42scrollbar.horizontal button.up, scrollbar.horizontal .button.up {
43  box-shadow: 0 -1px @scrollbar_controls_border_normal, 0 1px @scrollbar_controls_border_normal, -1px -1px @scrollbar_controls_border_normal, -1px 1px @scrollbar_controls_border_normal;
44  border-style: none; }
45  scrollbar.horizontal button.up:not(:disabled), scrollbar.horizontal .button.up:not(:disabled) {
46    border-right: 1px solid @scrollbar_controls_border_normal; }
47scrollbar.horizontal button.down, scrollbar.horizontal .button.down {
48  box-shadow: 0 -1px @scrollbar_controls_border_normal, 0 1px @scrollbar_controls_border_normal, 1px -1px @scrollbar_controls_border_normal, 1px 1px @scrollbar_controls_border_normal;
49  border-style: none; }
50  scrollbar.horizontal button.down:not(:disabled), scrollbar.horizontal .button.down:not(:disabled) {
51    border-left: 1px solid @scrollbar_controls_border_normal; }
52
53scrollbar button:disabled, scrollbar .button:disabled {
54  color: mix(@scrollbar_bg_color, #888888, 0.9); }
55