Merge lp:~cimi/light-themes/ambiance-gtk3-unico into lp:~ubuntu-art-pkg/light-themes/trunk
- ambiance-gtk3-unico
- Merge into trunk
Proposed by
Andrea Cimitan
Status: | Merged |
---|---|
Merged at revision: | 90 |
Proposed branch: | lp:~cimi/light-themes/ambiance-gtk3-unico |
Merge into: | lp:~ubuntu-art-pkg/light-themes/trunk |
Diff against target: |
615 lines (+600/-0) 3 files modified
Ambiance/gtk-3.0/gtk-widgets.css (+564/-0) Ambiance/gtk-3.0/gtk.css (+33/-0) Ambiance/gtk-3.0/settings.ini (+3/-0) |
To merge this branch: | bzr merge lp:~cimi/light-themes/ambiance-gtk3-unico |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Approve | ||
Review via email: mp+65033@code.launchpad.net |
Commit message
Description of the change
First draft of the gtk+3 theme using unico engine
To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === added directory 'Ambiance/gtk-3.0' | |||
2 | === added file 'Ambiance/gtk-3.0/gtk-widgets.css' | |||
3 | --- Ambiance/gtk-3.0/gtk-widgets.css 1970-01-01 00:00:00 +0000 | |||
4 | +++ Ambiance/gtk-3.0/gtk-widgets.css 2011-06-17 16:23:40 +0000 | |||
5 | @@ -0,0 +1,564 @@ | |||
6 | 1 | /* NOTES to contributors: use 4 spaces intends, and keep code ALIGNED and ORDERED */ | ||
7 | 2 | |||
8 | 3 | /* default */ | ||
9 | 4 | * { | ||
10 | 5 | -GtkButton-child-displacement-x: 1; | ||
11 | 6 | -GtkButton-child-displacement-y: 1; | ||
12 | 7 | -GtkButton-default-border: 0; | ||
13 | 8 | -GtkButton-image-spacing: 0; | ||
14 | 9 | -GtkButton-interior-focus: true; | ||
15 | 10 | -GtkButton-inner-border: 3; | ||
16 | 11 | -GtkCheckButton-indicator-size: 16; | ||
17 | 12 | -GtkCheckMenuItem-indicator-size: 14; | ||
18 | 13 | -GtkEntry-inner-border: 2; | ||
19 | 14 | -GtkEntry-progress-border: 0; | ||
20 | 15 | -GtkExpander-expander-size: 10; | ||
21 | 16 | -GtkHTML-link-color: @link_color; | ||
22 | 17 | -GtkIMHtml-hyperlink-color: @link_color; | ||
23 | 18 | -GtkMenu-horizontal-padding: 0; | ||
24 | 19 | -GtkMenu-vertical-padding: 3; | ||
25 | 20 | -GtkMenuBar-internal-padding: 0; | ||
26 | 21 | -GtkNotebook-tab-overlap: 0; | ||
27 | 22 | -GtkPaned-handle-size: 6; | ||
28 | 23 | -GtkProgressBar-min-horizontal-bar-height: 14; | ||
29 | 24 | -GtkProgressBar-min-vertical-bar-width: 14; | ||
30 | 25 | -GtkRange-trough-border: 0; | ||
31 | 26 | -GtkRange-slider-width: 14; | ||
32 | 27 | -GtkRange-stepper-size: 13; | ||
33 | 28 | -GtkRange-trough-under-steppers: 1; | ||
34 | 29 | -GtkRange-stepper-spacing: 0; | ||
35 | 30 | -GtkScale-trough-border: 0; | ||
36 | 31 | -GtkScale-trough-side-details: 1; | ||
37 | 32 | -GtkScrollbar-activate-slider: 1; | ||
38 | 33 | -GtkScrollbar-trough-border: 0; | ||
39 | 34 | -GtkScrollbar-slider-width: 13; | ||
40 | 35 | -GtkScrollbar-min-slider-length: 31; | ||
41 | 36 | -GtkScrolledWindow-scrollbar-spacing: 0; | ||
42 | 37 | -GtkScrolledWindow-scrollbars-within-bevel: 1; | ||
43 | 38 | -GtkSeparatorMenuItem-horizontal-padding: 0; | ||
44 | 39 | -GtkTextView-error-underline-color: @error_color; | ||
45 | 40 | -GtkToolButton-icon-spacing: 6; | ||
46 | 41 | -GtkToolItemGroup-expander-size: 11; | ||
47 | 42 | -GtkToolbar-internal-padding: 0; | ||
48 | 43 | -GtkTreeView-expander-size: 8; | ||
49 | 44 | -GtkTreeView-vertical-separator: 0; | ||
50 | 45 | -GtkWidget-wide-separators: 1; | ||
51 | 46 | -GtkWidget-separator-width: 2; | ||
52 | 47 | -GtkWidget-separator-height: 2; | ||
53 | 48 | -GtkWidget-focus-padding: 0; | ||
54 | 49 | -GtkWidget-focus-line-width: 1; | ||
55 | 50 | -GtkWidget-link-color: @link_color; | ||
56 | 51 | -GtkWidget-visited-link-color: @link_color; | ||
57 | 52 | -WnckTasklist-fade-overlay-rect: 0; | ||
58 | 53 | |||
59 | 54 | border-width: 1; | ||
60 | 55 | |||
61 | 56 | engine: unico; | ||
62 | 57 | } | ||
63 | 58 | |||
64 | 59 | *:insensitive { | ||
65 | 60 | color: shade (@theme_bg_color, 0.6); | ||
66 | 61 | text-shadow: 0 1 alpha (shade (@theme_bg_color, 1.25), 0.5); | ||
67 | 62 | } | ||
68 | 63 | |||
69 | 64 | *:active { | ||
70 | 65 | } | ||
71 | 66 | |||
72 | 67 | *:active:hover:insensitive { | ||
73 | 68 | } | ||
74 | 69 | |||
75 | 70 | *:active:insensitive { | ||
76 | 71 | } | ||
77 | 72 | |||
78 | 73 | *:hover { | ||
79 | 74 | } | ||
80 | 75 | |||
81 | 76 | *:hover:insensitive { | ||
82 | 77 | } | ||
83 | 78 | |||
84 | 79 | *:selected { | ||
85 | 80 | } | ||
86 | 81 | |||
87 | 82 | *:selected:focused { | ||
88 | 83 | } | ||
89 | 84 | |||
90 | 85 | /* border and inner stroke */ | ||
91 | 86 | .button, | ||
92 | 87 | .frame, | ||
93 | 88 | .notebook { | ||
94 | 89 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
95 | 90 | from (shade (@theme_bg_color, 0.8)), | ||
96 | 91 | to (shade (@theme_bg_color, 0.7))); | ||
97 | 92 | -unico-inner-stroke-style: custom; | ||
98 | 93 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.26), 0.2); | ||
99 | 94 | } | ||
100 | 95 | |||
101 | 96 | .button:insensitive, | ||
102 | 97 | .frame:insensitive, | ||
103 | 98 | .notebook:insensitive { | ||
104 | 99 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
105 | 100 | from (shade (@theme_bg_color, 0.8)), | ||
106 | 101 | to (shade (@theme_bg_color, 0.8))); | ||
107 | 102 | } | ||
108 | 103 | |||
109 | 104 | /* inset */ | ||
110 | 105 | .button:active, | ||
111 | 106 | .button:insensitive, | ||
112 | 107 | .check, | ||
113 | 108 | .entry, | ||
114 | 109 | .radio | ||
115 | 110 | { | ||
116 | 111 | -unico-outer-stroke-style: custom; | ||
117 | 112 | -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom, | ||
118 | 113 | from (alpha (shade (@theme_bg_color, 0.85), 0.6)), | ||
119 | 114 | to (alpha (shade (@theme_bg_color, 1.25), 0.6))); | ||
120 | 115 | } | ||
121 | 116 | |||
122 | 117 | /* shadow */ | ||
123 | 118 | .button, | ||
124 | 119 | .check:active, | ||
125 | 120 | .frame, | ||
126 | 121 | GtkProgressBar.progressbar, | ||
127 | 122 | .notebook .button, | ||
128 | 123 | .notebook, | ||
129 | 124 | .radio:active { | ||
130 | 125 | -unico-outer-stroke-style: custom; | ||
131 | 126 | -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom, | ||
132 | 127 | from (alpha (shade (@theme_bg_color, 0.05), 0.02)), | ||
133 | 128 | to (alpha (shade (@theme_bg_color, 0.05), 0.06))); | ||
134 | 129 | } | ||
135 | 130 | |||
136 | 131 | /* background */ | ||
137 | 132 | .background { | ||
138 | 133 | border-width: 0; | ||
139 | 134 | background-color: @theme_bg_color; | ||
140 | 135 | } | ||
141 | 136 | |||
142 | 137 | /* button */ | ||
143 | 138 | GtkScale.slider, | ||
144 | 139 | .button { | ||
145 | 140 | border-radius: 4; | ||
146 | 141 | text-shadow: 0 1 alpha (shade (@button_bg_color, 1.25), 0.4); | ||
147 | 142 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
148 | 143 | from (shade (@button_bg_color, 1.1)), | ||
149 | 144 | to (shade (@button_bg_color, 0.9))); | ||
150 | 145 | |||
151 | 146 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
152 | 147 | from (shade (@button_bg_color, 0.85)), | ||
153 | 148 | to (shade (@button_bg_color, 0.7))); | ||
154 | 149 | -unico-inner-stroke-style: custom; | ||
155 | 150 | -unico-inner-stroke-color: alpha (shade (@button_bg_color, 1.26), 0.2); | ||
156 | 151 | } | ||
157 | 152 | |||
158 | 153 | .button:active { | ||
159 | 154 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
160 | 155 | from (shade (@button_bg_color, 0.9)), | ||
161 | 156 | to (shade (@button_bg_color, 0.95))); | ||
162 | 157 | |||
163 | 158 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
164 | 159 | from (shade (@button_bg_color, 0.6)), | ||
165 | 160 | to (shade (@button_bg_color, 0.7))); | ||
166 | 161 | -unico-inner-stroke-style: custom; | ||
167 | 162 | -unico-inner-stroke-color: alpha (shade (@button_bg_color, 0.8), 0.5); | ||
168 | 163 | } | ||
169 | 164 | |||
170 | 165 | .button:insensitive { | ||
171 | 166 | text-shadow: 0 1 alpha (shade (@button_bg_color, 1.25), 0.4); | ||
172 | 167 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
173 | 168 | from (shade (@button_insensitive_bg_color, 1.04)), | ||
174 | 169 | to (shade (@button_insensitive_bg_color, 0.96))); | ||
175 | 170 | |||
176 | 171 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
177 | 172 | from (shade (@button_insensitive_bg_color, 0.8)), | ||
178 | 173 | to (shade (@button_insensitive_bg_color, 0.8))); | ||
179 | 174 | } | ||
180 | 175 | |||
181 | 176 | .button:insensitive:active { | ||
182 | 177 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
183 | 178 | from (shade (@button_insensitive_bg_color, 0.97)), | ||
184 | 179 | to (shade (@button_insensitive_bg_color, 1.0))); | ||
185 | 180 | |||
186 | 181 | -unico-inner-stroke-style: custom; | ||
187 | 182 | -unico-inner-stroke-color: alpha (shade (@button_insensitive_bg_color, 0.9), 0.2); | ||
188 | 183 | } | ||
189 | 184 | |||
190 | 185 | column-header .button, | ||
191 | 186 | GtkScale.slider, | ||
192 | 187 | .notebook .button, | ||
193 | 188 | .toolbar .button { | ||
194 | 189 | text-shadow: 0 1 alpha (shade (@theme_bg_color, 1.25), 0.4); | ||
195 | 190 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
196 | 191 | from (shade (@theme_bg_color, 1.1)), | ||
197 | 192 | to (shade (@theme_bg_color, 0.94))); | ||
198 | 193 | |||
199 | 194 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
200 | 195 | from (shade (@theme_bg_color, 0.84)), | ||
201 | 196 | to (shade (@theme_bg_color, 0.74))); | ||
202 | 197 | -unico-inner-stroke-style: custom; | ||
203 | 198 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.26), 0.4); | ||
204 | 199 | } | ||
205 | 200 | |||
206 | 201 | .notebook .button:active, | ||
207 | 202 | .toolbar .button:active { | ||
208 | 203 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
209 | 204 | from (shade (@theme_bg_color, 0.9)), | ||
210 | 205 | to (shade (@theme_bg_color, 0.95))); | ||
211 | 206 | |||
212 | 207 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
213 | 208 | from (shade (@theme_bg_color, 0.6)), | ||
214 | 209 | to (shade (@theme_bg_color, 0.7))); | ||
215 | 210 | -unico-inner-stroke-style: custom; | ||
216 | 211 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 0.8), 0.5); | ||
217 | 212 | } | ||
218 | 213 | |||
219 | 214 | .notebook .button:insensitive, | ||
220 | 215 | .toolbar .button:insensitive { | ||
221 | 216 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
222 | 217 | from (shade (@theme_bg_color, 1.04)), | ||
223 | 218 | to (shade (@theme_bg_color, 0.96))); | ||
224 | 219 | } | ||
225 | 220 | |||
226 | 221 | /* check and radio */ | ||
227 | 222 | .check, | ||
228 | 223 | .check row, | ||
229 | 224 | .radio, | ||
230 | 225 | .radio row { | ||
231 | 226 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
232 | 227 | from (shade (@theme_base_color, 0.96)), | ||
233 | 228 | color-stop (0.10, shade (@theme_base_color, 0.98)), | ||
234 | 229 | to (@theme_base_color)); | ||
235 | 230 | |||
236 | 231 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
237 | 232 | from (shade (@theme_bg_color, 0.68)), | ||
238 | 233 | to (shade (@theme_bg_color, 0.68))); | ||
239 | 234 | -unico-inner-stroke-style: custom; | ||
240 | 235 | -unico-inner-stroke-color: alpha (shade (@theme_base_color, 0.1), 0.02); | ||
241 | 236 | } | ||
242 | 237 | |||
243 | 238 | .check, | ||
244 | 239 | .check row { | ||
245 | 240 | border-radius: 3; | ||
246 | 241 | } | ||
247 | 242 | |||
248 | 243 | .radio, | ||
249 | 244 | .radio row { | ||
250 | 245 | border-radius: 10; | ||
251 | 246 | } | ||
252 | 247 | |||
253 | 248 | .check:active, | ||
254 | 249 | .check row:selected:active, | ||
255 | 250 | .check row:selected:focused:active, | ||
256 | 251 | .notebook .check:active, | ||
257 | 252 | .notebook .radio:active, | ||
258 | 253 | .radio:active, | ||
259 | 254 | .radio row:selected:active, | ||
260 | 255 | .radio row:selected:focused:active { | ||
261 | 256 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
262 | 257 | from (shade (@theme_selected_bg_color, 1.1)), | ||
263 | 258 | to (shade (@theme_selected_bg_color, 0.9))); | ||
264 | 259 | |||
265 | 260 | -unico-bullet-color: shade (@theme_selected_bg_color, 0.535); | ||
266 | 261 | -unico-bullet-outline-color: shade (@theme_selected_bg_color, 1.2); | ||
267 | 262 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
268 | 263 | from (shade (@theme_selected_bg_color, 0.7)), | ||
269 | 264 | to (shade (@theme_selected_bg_color, 0.7))); | ||
270 | 265 | -unico-inner-stroke-style: custom; | ||
271 | 266 | -unico-inner-stroke-color: alpha (shade (@theme_selected_bg_color, 1.26), 0.4); | ||
272 | 267 | -unico-outer-stroke-style: custom; | ||
273 | 268 | -unico-outer-stroke-gradient: -gtk-gradient (linear, left top, left bottom, | ||
274 | 269 | from (alpha (shade (@theme_bg_color, 0.05), 0.02)), | ||
275 | 270 | to (alpha (shade (@theme_bg_color, 0.05), 0.08))); | ||
276 | 271 | } | ||
277 | 272 | |||
278 | 273 | .check:insensitive, | ||
279 | 274 | .radio:insensitive { | ||
280 | 275 | background-image: none; | ||
281 | 276 | background-color: shade (@theme_bg_color, 0.96); | ||
282 | 277 | } | ||
283 | 278 | |||
284 | 279 | .check:insensitive:active, | ||
285 | 280 | .radio:insensitive:active { | ||
286 | 281 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
287 | 282 | from (shade (@theme_bg_color, 0.96)), | ||
288 | 283 | to (shade (@theme_bg_color, 0.9))); | ||
289 | 284 | |||
290 | 285 | -unico-bullet-color: shade (@theme_bg_color, 0.6); | ||
291 | 286 | -unico-bullet-outline-color: shade (@theme_bg_color, 1.0); | ||
292 | 287 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
293 | 288 | from (shade (@theme_bg_color, 0.8)), | ||
294 | 289 | to (shade (@theme_bg_color, 0.7))); | ||
295 | 290 | -unico-inner-stroke-style: custom; | ||
296 | 291 | -unico-inner-stroke-gradient: none; | ||
297 | 292 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.26), 0.2); | ||
298 | 293 | } | ||
299 | 294 | |||
300 | 295 | /* column-header */ | ||
301 | 296 | column-header .button { | ||
302 | 297 | border-radius: 0; | ||
303 | 298 | |||
304 | 299 | -unico-outer-stroke-style: none; | ||
305 | 300 | } | ||
306 | 301 | |||
307 | 302 | /* entry */ | ||
308 | 303 | .entry { | ||
309 | 304 | border-radius: 4; | ||
310 | 305 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
311 | 306 | from (shade (@theme_base_color, 0.90)), | ||
312 | 307 | color-stop (0.10, shade (@theme_base_color, 0.94)), | ||
313 | 308 | to (@theme_base_color)); | ||
314 | 309 | |||
315 | 310 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
316 | 311 | from (shade (@theme_bg_color, 0.65)), | ||
317 | 312 | to (shade (@theme_bg_color, 0.7))); | ||
318 | 313 | -unico-inner-stroke-style: custom; | ||
319 | 314 | -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom, | ||
320 | 315 | from (alpha (shade (@theme_bg_color, 0.05), 0.06)), | ||
321 | 316 | to (alpha (shade (@theme_bg_color, 0.05), 0.03))); | ||
322 | 317 | |||
323 | 318 | } | ||
324 | 319 | |||
325 | 320 | .entry:focused { | ||
326 | 321 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
327 | 322 | from (shade (@selected_bg_color, 0.75)), | ||
328 | 323 | to (shade (@selected_bg_color, 0.8))); | ||
329 | 324 | -unico-inner-stroke-style: custom; | ||
330 | 325 | -unico-inner-stroke-coloe: alpha (@selected_bg_color, 0.5); | ||
331 | 326 | -unico-inner-stroke-gradient: none; | ||
332 | 327 | } | ||
333 | 328 | |||
334 | 329 | .entry:insensitive { | ||
335 | 330 | background-image: none; | ||
336 | 331 | background-color: shade (@theme_bg_color, 0.96); | ||
337 | 332 | |||
338 | 333 | -unico-inner-stroke-style: custom; | ||
339 | 334 | -unico-inner-stroke-gradient: -gtk-gradient (linear, left top, left bottom, | ||
340 | 335 | from (alpha (shade (@theme_bg_color, 0.05), 0.04)), | ||
341 | 336 | to (alpha (shade (@theme_bg_color, 0.05), 0.02))); | ||
342 | 337 | } | ||
343 | 338 | |||
344 | 339 | /* frame */ | ||
345 | 340 | .frame { | ||
346 | 341 | border-radius: 3; | ||
347 | 342 | } | ||
348 | 343 | |||
349 | 344 | /* GtkProgressBar */ | ||
350 | 345 | GtkProgressBar { | ||
351 | 346 | padding: 0; | ||
352 | 347 | border-radius: 8; | ||
353 | 348 | |||
354 | 349 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
355 | 350 | from (shade (@theme_bg_color, 0.75)), | ||
356 | 351 | to (shade (@theme_bg_color, 1.05))); | ||
357 | 352 | } | ||
358 | 353 | |||
359 | 354 | GtkProgressBar.vertical { | ||
360 | 355 | -unico-border-gradient: -gtk-gradient (linear, left top, right top, | ||
361 | 356 | from (shade (@theme_bg_color, 0.75)), | ||
362 | 357 | to (shade (@theme_bg_color, 1.05))); | ||
363 | 358 | } | ||
364 | 359 | |||
365 | 360 | GtkProgressBar.progressbar { | ||
366 | 361 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
367 | 362 | from (shade (@theme_selected_bg_color, 1.13)), | ||
368 | 363 | to (shade (@theme_selected_bg_color, 0.9))); | ||
369 | 364 | |||
370 | 365 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
371 | 366 | from (shade (@theme_selected_bg_color, 0.75)), | ||
372 | 367 | to (shade (@theme_selected_bg_color, 0.75))); | ||
373 | 368 | -unico-inner-stroke-style: custom; | ||
374 | 369 | -unico-inner-stroke-color: alpha (shade (@theme_selected_bg_color, 1.26), 0.3); | ||
375 | 370 | } | ||
376 | 371 | |||
377 | 372 | GtkProgressBar.progressbar.vertical { | ||
378 | 373 | background-image: -gtk-gradient (linear, left top, right top, | ||
379 | 374 | from (shade (@theme_selected_bg_color, 1.13)), | ||
380 | 375 | to (shade (@theme_selected_bg_color, 0.9))); | ||
381 | 376 | |||
382 | 377 | -unico-border-gradient: -gtk-gradient (linear, left top, right top, | ||
383 | 378 | from (shade (@theme_selected_bg_color, 0.75)), | ||
384 | 379 | to (shade (@theme_selected_bg_color, 0.75))); | ||
385 | 380 | } | ||
386 | 381 | |||
387 | 382 | GtkProgressBar.trough { | ||
388 | 383 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
389 | 384 | from (shade (@theme_bg_color, 0.92)), | ||
390 | 385 | to (shade (@theme_bg_color, 0.96))); | ||
391 | 386 | |||
392 | 387 | -unico-outer-stroke-style: none; | ||
393 | 388 | } | ||
394 | 389 | |||
395 | 390 | GtkProgressBar.trough.vertical { | ||
396 | 391 | background-image: -gtk-gradient (linear, left top, right top, | ||
397 | 392 | from (shade (@theme_bg_color, 0.92)), | ||
398 | 393 | to (shade (@theme_bg_color, 0.96))); | ||
399 | 394 | } | ||
400 | 395 | |||
401 | 396 | /* GtkScale */ | ||
402 | 397 | GtkScale { | ||
403 | 398 | -GtkScale-slider-length: 10; | ||
404 | 399 | -GtkRange-slider-width: 17; | ||
405 | 400 | -GtkRange-trough-border: 1; | ||
406 | 401 | |||
407 | 402 | border-radius: 8; | ||
408 | 403 | } | ||
409 | 404 | |||
410 | 405 | /* GtkScrolledWindow */ | ||
411 | 406 | GtkScrolledWindow.frame { | ||
412 | 407 | border-radius: 0; | ||
413 | 408 | } | ||
414 | 409 | |||
415 | 410 | /* GtkSeparator */ | ||
416 | 411 | GtkSeparator { | ||
417 | 412 | border-style: solid; | ||
418 | 413 | border-color: shade (@theme_bg_color, 0.8); | ||
419 | 414 | |||
420 | 415 | -unico-border-gradient: none; | ||
421 | 416 | -unico-inner-stroke-style: custom; | ||
422 | 417 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.26), 0.6); | ||
423 | 418 | } | ||
424 | 419 | |||
425 | 420 | .button GtkSeparator { | ||
426 | 421 | border-style: solid; | ||
427 | 422 | border-color: shade (@button_bg_color, 0.8); | ||
428 | 423 | |||
429 | 424 | -unico-inner-stroke-style: custom; | ||
430 | 425 | -unico-inner-stroke-color: alpha (shade (@button_bg_color, 1.26), 0.4); | ||
431 | 426 | } | ||
432 | 427 | |||
433 | 428 | .menuitem.separator { | ||
434 | 429 | border-style: solid; | ||
435 | 430 | border-color: shade (@dark_bg_color, 0.8); | ||
436 | 431 | |||
437 | 432 | -unico-border-gradient: none; | ||
438 | 433 | -unico-inner-stroke-style: custom; | ||
439 | 434 | -unico-inner-stroke-color: alpha (shade (@dark_bg_color, 1.26), 0.5); | ||
440 | 435 | } | ||
441 | 436 | |||
442 | 437 | /* GtkSpinButton */ | ||
443 | 438 | GtkSpinButton.button { | ||
444 | 439 | -unico-outer-stroke-style: none; | ||
445 | 440 | } | ||
446 | 441 | |||
447 | 442 | GtkSpinButton.button:insensitive { | ||
448 | 443 | -unico-outer-stroke-style: none; | ||
449 | 444 | } | ||
450 | 445 | |||
451 | 446 | /* GtkStatusbar */ | ||
452 | 447 | GtkStatusbar .frame { | ||
453 | 448 | border-style: none; | ||
454 | 449 | |||
455 | 450 | -unico-outer-stroke-style: none; | ||
456 | 451 | } | ||
457 | 452 | |||
458 | 453 | /* menu */ | ||
459 | 454 | .menu { | ||
460 | 455 | padding: 0; | ||
461 | 456 | background-image: none; | ||
462 | 457 | background-color: @dark_bg_color; | ||
463 | 458 | border-color: shade (@dark_bg_color, 0.9); | ||
464 | 459 | color: @dark_fg_color; | ||
465 | 460 | } | ||
466 | 461 | |||
467 | 462 | /* menubar */ | ||
468 | 463 | .menubar { | ||
469 | 464 | -GtkWidget-window-dragging: true; | ||
470 | 465 | |||
471 | 466 | color: @dark_fg_color; | ||
472 | 467 | text-shadow: 0 -1 shade (@dark_bg_color, 0.6); | ||
473 | 468 | background-image: none; | ||
474 | 469 | background-color: @dark_bg_color; | ||
475 | 470 | |||
476 | 471 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
477 | 472 | from (shade (@dark_bg_color, 1.1)), | ||
478 | 473 | to (shade (@dark_bg_color, 0.75))); | ||
479 | 474 | } | ||
480 | 475 | |||
481 | 476 | .menubar.menuitem { | ||
482 | 477 | border-radius: 4; | ||
483 | 478 | } | ||
484 | 479 | |||
485 | 480 | .menubar.menuitem:prelight { | ||
486 | 481 | color: #ffffff; | ||
487 | 482 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
488 | 483 | from (shade (@dark_bg_color, 1.38)), | ||
489 | 484 | to (shade (@dark_bg_color, 1.11))); | ||
490 | 485 | |||
491 | 486 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
492 | 487 | from (shade (@dark_bg_color, 0.9)), | ||
493 | 488 | to (shade (@dark_bg_color, 1.0))); | ||
494 | 489 | -unico-inner-stroke-style: custom; | ||
495 | 490 | -unico-inner-stroke-color: alpha (@dark_bg_color, 0.02); | ||
496 | 491 | } | ||
497 | 492 | |||
498 | 493 | /* menuitem */ | ||
499 | 494 | .menuitem { | ||
500 | 495 | padding: 2; | ||
501 | 496 | border-width: 1; | ||
502 | 497 | border-radius: 0; | ||
503 | 498 | border-style: solid; | ||
504 | 499 | color: @dark_fg_color; | ||
505 | 500 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
506 | 501 | from (shade (@theme_selected_bg_color, 1.1)), | ||
507 | 502 | to (shade (@theme_selected_bg_color, 0.9))); | ||
508 | 503 | |||
509 | 504 | -unico-bullet-color: @dark_fg_color; | ||
510 | 505 | -unico-border-gradient: -gtk-gradient (linear, left top, left bottom, | ||
511 | 506 | from (shade (@theme_selected_bg_color, 0.7)), | ||
512 | 507 | to (shade (@theme_selected_bg_color, 0.7))); | ||
513 | 508 | -unico-inner-stroke-style: custom; | ||
514 | 509 | -unico-inner-stroke-color: alpha (shade (@theme_selected_bg_color, 1.26), 0.4); | ||
515 | 510 | } | ||
516 | 511 | |||
517 | 512 | .menuitem:prelight, | ||
518 | 513 | .menuitem *:prelight { | ||
519 | 514 | color: @selected_fg_color; | ||
520 | 515 | } | ||
521 | 516 | |||
522 | 517 | .menuitem:insensitive, | ||
523 | 518 | .menuitem *:insensitive { | ||
524 | 519 | color: mix (@dark_fg_color, @dark_bg_color, 0.5); | ||
525 | 520 | text-shadow: 0 -1 shade (@dark_bg_color, 0.6); | ||
526 | 521 | } | ||
527 | 522 | |||
528 | 523 | .menuitem.check:active, | ||
529 | 524 | .menuitem.radio:active { | ||
530 | 525 | color: @dark_fg_color; | ||
531 | 526 | |||
532 | 527 | -unico-bullet-color: @dark_fg_color; | ||
533 | 528 | } | ||
534 | 529 | |||
535 | 530 | .menuitem.check:active:prelight, | ||
536 | 531 | .menuitem.radio:active:prelight { | ||
537 | 532 | color: @selected_fg_color; | ||
538 | 533 | |||
539 | 534 | -unico-bullet-color: @selected_fg_color; | ||
540 | 535 | } | ||
541 | 536 | |||
542 | 537 | /* notebook */ | ||
543 | 538 | .notebook { | ||
544 | 539 | border-radius: 3; | ||
545 | 540 | background-image: none; | ||
546 | 541 | background-color: shade (@theme_bg_color, 1.02); | ||
547 | 542 | |||
548 | 543 | -unico-inner-stroke-style: custom; | ||
549 | 544 | -unico-inner-stroke-color: alpha (shade (@theme_bg_color, 1.26), 0.3); | ||
550 | 545 | } | ||
551 | 546 | |||
552 | 547 | .notebook tab { | ||
553 | 548 | padding: 0; | ||
554 | 549 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
555 | 550 | from (shade (@theme_bg_color, 0.97)), | ||
556 | 551 | color-stop (0.60, shade (@theme_bg_color, 0.95)), | ||
557 | 552 | to (shade (@theme_bg_color, 0.9))); | ||
558 | 553 | } | ||
559 | 554 | |||
560 | 555 | .notebook tab:active { | ||
561 | 556 | background-image: -gtk-gradient (linear, left top, left bottom, | ||
562 | 557 | from (shade (@theme_bg_color, 1.1)), | ||
563 | 558 | to (shade (@theme_bg_color, 1.02))); | ||
564 | 559 | } | ||
565 | 560 | |||
566 | 561 | /* toolbar */ | ||
567 | 562 | .toolbar { | ||
568 | 563 | border-style: none; | ||
569 | 564 | } | ||
570 | 0 | 565 | ||
571 | === added file 'Ambiance/gtk-3.0/gtk.css' | |||
572 | --- Ambiance/gtk-3.0/gtk.css 1970-01-01 00:00:00 +0000 | |||
573 | +++ Ambiance/gtk-3.0/gtk.css 2011-06-17 16:23:40 +0000 | |||
574 | @@ -0,0 +1,33 @@ | |||
575 | 1 | /* default color scheme */ | ||
576 | 2 | @define-color bg_color #f2f1f0; | ||
577 | 3 | @define-color fg_color #4c4c4c; | ||
578 | 4 | @define-color base_color #ffffff; | ||
579 | 5 | @define-color text_color #3C3C3C; | ||
580 | 6 | @define-color selected_bg_color #f07746; | ||
581 | 7 | @define-color selected_fg_color #ffffff; | ||
582 | 8 | @define-color tooltip_bg_color #000; | ||
583 | 9 | @define-color tooltip_fg_color #ffffff; | ||
584 | 10 | |||
585 | 11 | /* other color schemes could simply override these */ | ||
586 | 12 | @define-color theme_bg_color @bg_color; | ||
587 | 13 | @define-color theme_fg_color @fg_color; | ||
588 | 14 | @define-color theme_base_color @base_color; | ||
589 | 15 | @define-color theme_text_color @text_color; | ||
590 | 16 | @define-color theme_selected_bg_color @selected_bg_color; | ||
591 | 17 | @define-color theme_selected_fg_color @selected_fg_color; | ||
592 | 18 | @define-color theme_tooltip_bg_color @tooltip_bg_color; | ||
593 | 19 | @define-color theme_tooltip_fg_color @tooltip_fg_color; | ||
594 | 20 | |||
595 | 21 | /* misc colors used by gtk+ */ | ||
596 | 22 | @define-color link_color #4a90d9; | ||
597 | 23 | @define-color warning_color #f57900; | ||
598 | 24 | @define-color error_color #cc0000; | ||
599 | 25 | @define-color success_color #4e9a06; | ||
600 | 26 | |||
601 | 27 | /* theme common colors */ | ||
602 | 28 | @define-color button_bg_color #cdcdcd; | ||
603 | 29 | @define-color button_insensitive_bg_color mix (@button_bg_color, @theme_bg_color, 0.6); | ||
604 | 30 | @define-color dark_bg_color #3c3b37; | ||
605 | 31 | @define-color dark_fg_color #dfdbd2; | ||
606 | 32 | |||
607 | 33 | @import url("gtk-widgets.css"); | ||
608 | 0 | 34 | ||
609 | === added file 'Ambiance/gtk-3.0/settings.ini' | |||
610 | --- Ambiance/gtk-3.0/settings.ini 1970-01-01 00:00:00 +0000 | |||
611 | +++ Ambiance/gtk-3.0/settings.ini 2011-06-17 16:23:40 +0000 | |||
612 | @@ -0,0 +1,3 @@ | |||
613 | 1 | [Settings] | ||
614 | 2 | gtk-color-scheme = "base_color:#ffffff\nbg_color:#f2f1f0\ntooltip_bg_color:#000000\nselected_bg_color:#f07746\ntext_color:#3C3C3C\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_fg_color:#ffffff\nlink_color:#DD4814\nbg_color_dark:#3c3b37\nfg_color_dark:#dfdbd2" | ||
615 | 3 | gtk-auto-mnemonics = 1 |