~danrabbit/egtk/progress-text

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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/* 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/.
*/

/***********
* Toolbars *
***********/

.toolbar {
    -GtkWidget-window-dragging: true;
    
    padding: 1px;
    
    border-style: solid;
	border-width: 0 0 1px 0;
	-unico-inner-stroke-width: 0 0 1px 0;

	border-color: shade (@bg_color, 0.56);
	
    background-image: -gtk-gradient (linear,
				     left top,
				     left bottom,
				     from (@bg_color),
				     to (shade (@bg_color, 0.84)));
}

.toolbar:insensitive {
    background-image: none;
    background-color: shade (@theme_bg_color, 0.97);

    border-style: solid;
    border-width: 1px;
    border-color: shade (@theme_bg_color, 0.91);
}

.toolbar .separator {
    border-width: 0;
}


/*********************
* Secondary Toolbars *
*********************/

.secondary-toolbar.toolbar {

    padding: 2px;
    -unico-inner-stroke-width: 1px 0 1px 0;

    background-image: -gtk-gradient (linear,
		     left top,
		     left bottom,
		     from (shade (@bg_color, 0.84)),
		     to (shade (@bg_color, 0.76)));
		     
    border-color: shade (@bg_color, 0.50);
}

.secondary-toolbar.toolbar .button {

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


/******************
* Bottom Toolbars *
******************/

.bottom-toolbar.toolbar {
    padding: 10px;
    border-style: solid;
    border-width: 1px 0 0 0;
    -unico-inner-stroke-width: 1px;

    border-color: shade (@bg_color, 0.66);
    background-image: -gtk-gradient (linear,
				     left top,
				     left bottom,
				     from (@bg_color),
				     to (shade (@bg_color, 0.88)));
}

.bottom-toolbar.toolbar .button {
    padding: 1px 3px 1px 3px;
}


/*******************
 * Inline toolbars *
 *******************/


.inline-toolbar.toolbar,
.inline-toolbar.toolbar .button {

    padding: 0;

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

    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@base_color, 0.92)),
                                     to (shade (@base_color, 0.98)));

}

.inline-toolbar.toolbar {
    -GtkToolbar-button-relief: normal;
    -unico-inner-stroke-width: 1px;
}

.inline-toolbar.toolbar,
.inline-toolbar.toolbar .button:nth-child(first),
.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button {
    border-width: 0 1px 1px 1px;
}

.inline-toolbar.toolbar .button:nth-child(first),
.inline-toolbar.toolbar GtkToolButton:nth-child(first) .button {
    -unico-inner-stroke-width: 1px 0 1px 1px;
}

.inline-toolbar.toolbar .button {
    border-width: 0 1px 1px 0;
    -unico-inner-stroke-width: 1px 0 1px 0;
    -unico-outer-stroke-width: 0;
    -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.2), 0.5);
    -GtkButton-inner-border: 2px 4px 2px 4px;
}

.inline-toolbar.toolbar .button *:insensitive,
.inline-toolbar.toolbar .button:insensitive {
    background-image: -gtk-gradient (linear, left top, left bottom,
                                     from (shade (@base_color, 0.86)),
                                     to (shade (@base_color, 0.92)));
}