~danrabbit/egtk/bottom-toolbar

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* Copyright 2011-2012 elementary
*
* This file is part of the elementary GTK theme.
*
* The elementary GTK theme is free software: you can redistribute it
* and/or modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* The elementary GTK theme is distributed in the hope that it will be
* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with the elementary GTK theme. If not, see http://www.gnu.org/licenses/.
*/

/************
 * GtkScale *
 ************/
.scale {
    -GtkScale-slider-length: 20;
    -GtkRange-slider-width: 20;
    -GtkRange-trough-border: 0;
}


.scale.slider {
    background-image: url("assets/scale-slider.svg");
}

.scale.slider:insensitive {
    background-image: url("assets/scale-slider-insensitive.svg");
}


.scale.scale-has-marks-below.slider.horizontal {
}

.scale.scale-has-marks-below.slider.vertical {
}

.scale.scale-has-marks-above.slider.horizontal {
}

.scale.scale-has-marks-above.slider.vertical {
}

.scale.trough {
    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                     left top, left bottom,
                     from (alpha (#fff, 0.00)),
                     color-stop (0.50, alpha (#fff, 0.00)),
                     to (alpha (#fff, 0.40)));
}

.scale.trough:insensitive {
    background-color: shade (@theme_bg_color, 1.20);
    border-color: shade (@inactive_frame_color, 0.845);
}

.scale.trough.horizontal {
}

.scale.trough.vertical {
    background-image: -gtk-gradient (linear,
				     left top,
				     right top,
				     from (shade (@bg_color, 0.75)),
				     to (shade (@bg_color, 0.90)));

    -unico-border-gradient: -gtk-gradient (linear,
                     left top,
                     right top,
                     from (alpha (#000, 0.40)),
                     to (alpha (#000, 0.30)));

    -unico-inner-stroke-gradient: -gtk-gradient (linear,
                    left top,
                    right top,
                    from (alpha (#000, 0.12)),
                    to (alpha (#000, 0.06)));

    -unico-outer-stroke-gradient: -gtk-gradient (linear,
                     left top,
                     right top,
                     from (alpha (#fff, 0.00)),
                     color-stop (0.50, alpha (#fff, 0.00)),
                     to (alpha (#fff, 0.40)));
}

.scale.trough.vertical:insensitive {

    background-image: -gtk-gradient (linear,
				     left top,
				     right top,
				     from (shade (@bg_color, 0.95)),
				     to (shade (@bg_color, 1.10)));

    -unico-border-gradient: -gtk-gradient (linear,
                     left top,
                     right top,
                     from (shade (@bg_color, 0.66)),
                     to (shade (@bg_color, 0.78)));
}

.scale.progressbar {
}

.scale.mark {
    background-color: shade (@bg_color, 0.56);
}

.frame {
    color: lighter (@theme_fg_color);
    border-style: none;
    border-width: 0;
}

.scale.highlight.left {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@bg_color, 0.55)),
                                     to (shade (@bg_color, 0.70)));

    -unico-border-gradient: -gtk-gradient (linear, left top, left bottom,
                                           from (shade (@bg_color, 0.40)),
                                           to (shade (@bg_color, 0.40)));
}