Merge lp:~elementary-design/egtk/dark-theme into lp:~elementary-design/egtk/trunk
- dark-theme
- Merge into trunk
Status: | Merged |
---|---|
Approved by: | Cody Garver |
Approved revision: | 177 |
Merged at revision: | 168 |
Proposed branch: | lp:~elementary-design/egtk/dark-theme |
Merge into: | lp:~elementary-design/egtk/trunk |
Diff against target: |
2781 lines (+2325/-125) 12 files modified
gtk-3.0/assets/check.svg (+13/-13) gtk-3.0/granite-widgets-dark.css (+91/-0) gtk-3.0/granite-widgets.css (+1/-1) gtk-3.0/gtk-dark.css (+73/-0) gtk-3.0/gtk-widgets-dark.css (+2079/-0) gtk-3.0/gtk-widgets.css (+8/-3) gtk-3.0/gtk.css (+1/-0) metacity-1/close.svg (+4/-8) metacity-1/maximize.svg (+7/-39) metacity-1/metacity-theme-3.xml (+36/-25) metacity-1/minimize.svg (+6/-22) metacity-1/unmaximize.svg (+6/-14) |
To merge this branch: | bzr merge lp:~elementary-design/egtk/dark-theme |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Danielle Foré | Approve | ||
Cassidy James Blaede | Needs Fixing | ||
Review via email: mp+201864@code.launchpad.net |
Commit message
implement dark theming for gtk 3
Description of the change
This branch implements the long-awaited dark-theme
Danielle Foré (danrabbit) wrote : | # |
Also, :insensitive buttons aren't very sexy
Danielle Foré (danrabbit) wrote : | # |
Highlights on bottom toolbars are a bit too harsh
Danielle Foré (danrabbit) wrote : | # |
Okay, so it looks like we still have the following:
* Fix :focus styles
* Fix metacity maximized window highlight regression
* Fix borders for modal sheets
* Fix highlights on Pane handles
* Fix separators on static notebooks
Cassidy James Blaede (cassidyjames) wrote : | # |
Granite about dialogs look really janky with the dark theme. See: http://
Danielle Foré (danrabbit) wrote : | # |
Okay, I'm going to go ahead and merge this. It's not that much more broken than trunk is with Gtk 3.12. It'll be easier to continue development with this merged.
RabbitBot (rabbitbot-a) wrote : | # |
There are additional revisions which have not been approved in review. Please seek review and approval of these new revisions.
Preview Diff
1 | === modified file 'gtk-3.0/assets/check.svg' |
2 | --- gtk-3.0/assets/check.svg 2013-08-28 23:13:41 +0000 |
3 | +++ gtk-3.0/assets/check.svg 2014-02-09 08:49:06 +0000 |
4 | @@ -15,7 +15,7 @@ |
5 | height="16" |
6 | id="svg7539" |
7 | inkscape:version="0.48.4 r9939" |
8 | - sodipodi:docname="check-off.svg"> |
9 | + sodipodi:docname="check.svg"> |
10 | <sodipodi:namedview |
11 | pagecolor="#ffffff" |
12 | bordercolor="#666666" |
13 | @@ -26,14 +26,14 @@ |
14 | inkscape:pageopacity="0" |
15 | inkscape:pageshadow="2" |
16 | inkscape:window-width="1280" |
17 | - inkscape:window-height="758" |
18 | + inkscape:window-height="747" |
19 | id="namedview33" |
20 | showgrid="false" |
21 | - inkscape:zoom="16.58825" |
22 | - inkscape:cx="-0.87417935" |
23 | - inkscape:cy="8.500206" |
24 | + inkscape:zoom="33.5625" |
25 | + inkscape:cx="8" |
26 | + inkscape:cy="8" |
27 | inkscape:window-x="0" |
28 | - inkscape:window-y="22" |
29 | + inkscape:window-y="28" |
30 | inkscape:window-maximized="1" |
31 | inkscape:current-layer="svg7539" /> |
32 | <defs |
33 | @@ -86,7 +86,7 @@ |
34 | id="linearGradient3012" |
35 | xlink:href="#linearGradient4751-5-4-1-2-9-1-2-3-365-589-154-4-7-64-3-8-6-5-3-1" |
36 | gradientUnits="userSpaceOnUse" |
37 | - gradientTransform="matrix(0.8047894,0,0,0.60165743,-516.81815,-380.08054)" /> |
38 | + gradientTransform="matrix(0.74288252,0,0,0.55537609,-477.67845,-350.22801)" /> |
39 | <linearGradient |
40 | x1="257.57822" |
41 | y1="289.32889" |
42 | @@ -198,12 +198,12 @@ |
43 | </rdf:RDF> |
44 | </metadata> |
45 | <rect |
46 | - width="13" |
47 | - height="13" |
48 | - rx="2" |
49 | - ry="2" |
50 | - x="-14.499832" |
51 | - y="1.4998016" |
52 | + width="12" |
53 | + height="12" |
54 | + rx="1.5" |
55 | + ry="1.5" |
56 | + x="-14" |
57 | + y="2" |
58 | transform="scale(-1,1)" |
59 | id="rect6132-8-2-8-0-0-0-10-0-6-0-6-2-0-5-7-3-3-7-8-4-0-2-5-3-6-7-8" |
60 | style="opacity:0.98999999;color:#000000;fill:url(#linearGradient3012);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99999982;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
61 | |
62 | === added file 'gtk-3.0/granite-widgets-dark.css' |
63 | --- gtk-3.0/granite-widgets-dark.css 1970-01-01 00:00:00 +0000 |
64 | +++ gtk-3.0/granite-widgets-dark.css 2014-02-09 08:49:06 +0000 |
65 | @@ -0,0 +1,91 @@ |
66 | +/* Copyright 2011-2013 elementary LLC. |
67 | +* |
68 | +* This file is part of the elementary GTK theme. |
69 | +* |
70 | +* The elementary GTK theme is free software: you can redistribute it |
71 | +* and/or modify it under the terms of the GNU General Public License as |
72 | +* published by the Free Software Foundation, either version 3 of the |
73 | +* License, or (at your option) any later version. |
74 | +* |
75 | +* The elementary GTK theme is distributed in the hope that it will be |
76 | +* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
77 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
78 | +* Public License for more details. |
79 | +* |
80 | +* You should have received a copy of the GNU General Public License along |
81 | +* with the elementary GTK theme. If not, see http://www.gnu.org/licenses/. |
82 | +*/ |
83 | + |
84 | +/************* |
85 | + * Statusbar * |
86 | + ************/ |
87 | + GraniteWidgetsStatusBar GtkLabel, |
88 | + GraniteWidgetsStatusBar GtkImage{ |
89 | + |
90 | + color: shade (@text_color, 0.90); |
91 | + |
92 | +} |
93 | + |
94 | + |
95 | +GraniteWidgetsStatusBar { |
96 | + padding: 3px; |
97 | + |
98 | + text-shadow: 0 1px alpha (#000, 0.4); |
99 | + icon-shadow: 0 1px alpha (#000, 0.4); |
100 | + |
101 | + background-image: linear-gradient(to bottom, |
102 | + @titlebar_color, |
103 | + shade (@titlebar_color, 0.88) |
104 | + ); |
105 | + |
106 | + border-style:solid; |
107 | + border-width: 1px 0 0 0; |
108 | + border-top-color: shade (@bg_color, 0.52); |
109 | + |
110 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.1); |
111 | +} |
112 | + |
113 | +/*********** |
114 | + * Popover * |
115 | + **********/ |
116 | + |
117 | +GraniteWidgetsPopOver { |
118 | + |
119 | + -GraniteWidgetsPopOver-arrow-width: 21; |
120 | + -GraniteWidgetsPopOver-arrow-height: 10; |
121 | + -GraniteWidgetsPopOver-border-radius: 5px; |
122 | + -GraniteWidgetsPopOver-border-width: 1; |
123 | + -GraniteWidgetsPopOver-shadow-size: 12; |
124 | + |
125 | + border: 1px solid alpha (#000, 0.3); |
126 | + margin: 0; |
127 | +} |
128 | + |
129 | +.popover_bg { |
130 | + background-color: transparent; |
131 | + |
132 | + background-image: linear-gradient(to bottom, |
133 | + alpha (@titlebar_color, 0.97), |
134 | + alpha (@titlebar_color, 0.97) 80%, |
135 | + alpha (@titlebar_color, 0.97) |
136 | + ); |
137 | + |
138 | + border: 1px solid alpha (#000, 0.3); |
139 | +} |
140 | + |
141 | +GraniteWidgetsPopOver .sidebar.view, |
142 | +GraniteWidgetsPopOver * { |
143 | + background-color: transparent; |
144 | +} |
145 | + |
146 | +GraniteWidgetsPopOver .button { |
147 | + background-image: none; |
148 | + background-color: transparent; |
149 | +} |
150 | + |
151 | +GraniteWidgetsPopOver .button:active, |
152 | +GraniteWidgetsPopOver .button:hover:active { |
153 | + background-image: none; |
154 | + background-color: alpha (#000, 0.05); |
155 | + border-color: shade (@base_color, 0.74); |
156 | +} |
157 | |
158 | === modified file 'gtk-3.0/granite-widgets.css' |
159 | --- gtk-3.0/granite-widgets.css 2014-01-19 19:05:11 +0000 |
160 | +++ gtk-3.0/granite-widgets.css 2014-02-09 08:49:06 +0000 |
161 | @@ -35,7 +35,7 @@ |
162 | border-width: 1px 0 0 0; |
163 | border-top-color: shade (@bg_color, 0.52); |
164 | |
165 | - box-shadow: inset 0 1px 0 0 alpha (#fff, 0.20); |
166 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.05); |
167 | } |
168 | |
169 | /*********** |
170 | |
171 | === added file 'gtk-3.0/gtk-dark.css' |
172 | --- gtk-3.0/gtk-dark.css 1970-01-01 00:00:00 +0000 |
173 | +++ gtk-3.0/gtk-dark.css 2014-02-09 08:49:06 +0000 |
174 | @@ -0,0 +1,73 @@ |
175 | +/* Copyright 2011-2013 elementary LLC. |
176 | +* |
177 | +* This file is part of the elementary GTK theme. |
178 | +* |
179 | +* The elementary GTK theme is free software: you can redistribute it |
180 | +* and/or modify it under the terms of the GNU General Public License as |
181 | +* published by the Free Software Foundation, either version 3 of the |
182 | +* License, or (at your option) any later version. |
183 | +* |
184 | +* The elementary GTK theme is distributed in the hope that it will be |
185 | +* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
186 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
187 | +* Public License for more details. |
188 | +* |
189 | +* You should have received a copy of the GNU General Public License along |
190 | +* with the elementary GTK theme. If not, see http://www.gnu.org/licenses/. |
191 | +*/ |
192 | + |
193 | +/* Default color scheme */ |
194 | +@define-color base_color #262a2e; |
195 | +@define-color bg_color shade (@base_color, 0.96); |
196 | +@define-color fg_color #2e3436; |
197 | +@define-color insensitive_color #999; |
198 | +@define-color inset_dark_color alpha (#000, 0.06); |
199 | +@define-color inset_dark_color_backdrop alpha (#000, 0.03); |
200 | +@define-color menu_separator alpha (#000, 0.15); |
201 | +@define-color progress_row_trough_color #DEDEDE; |
202 | +@define-color selected_bg_color #3d9bda; |
203 | +@define-color selected_fg_color #FFF; |
204 | +@define-color text_color #919e9b; |
205 | +@define-color titlebar_color #262a2e; |
206 | +@define-color tooltip_bg_color #000; |
207 | +@define-color tooltip_fg_color #FFF; |
208 | + |
209 | +@define-color internal_element_color mix(@text_color, @base_color, 0.4); |
210 | +@define-color internal_element_prelight mix(@text_color, @base_color, 0.2); |
211 | +@define-color internal_element_insensitive mix(@internal_element_color, @base_color, 0.7); |
212 | + |
213 | +@define-color view_symbolic_color shade(@internal_element_color, 0.80); |
214 | + |
215 | +/* Colormap actually used by the theme, to be overridden in other css files */ |
216 | +@define-color theme_base_color @base_color; |
217 | +@define-color theme_text_color @text_color; |
218 | +@define-color theme_bg_color @bg_color; |
219 | +@define-color theme_fg_color @fg_color; |
220 | +@define-color theme_tooltip_bg_color @tooltip_bg_color; |
221 | +@define-color theme_tooltip_fg_color @tooltip_fg_color; |
222 | +@define-color theme_selected_bg_color @selected_bg_color; |
223 | +@define-color theme_selected_fg_color @selected_fg_color; |
224 | + |
225 | +@define-color link_color #08C; |
226 | +@define-color frame_color #8a9580; |
227 | +@define-color inactive_frame_color #c7ccc1; |
228 | +@define-color warning_color #f57900; |
229 | +@define-color error_color #cc0000; |
230 | +@define-color success_color #4e9a06; |
231 | +@define-color metacity_color #262a2e; |
232 | + |
233 | +@define-color info_fg_color rgb (0, 136, 204); |
234 | +@define-color info_bg_color rgb (252, 252, 189); |
235 | +@define-color warning_fg_color rgb (173, 120, 41); |
236 | +@define-color warning_bg_color rgb (250, 173, 61); |
237 | +@define-color question_fg_color rgb (97, 122, 214); |
238 | +@define-color question_bg_color rgb (138, 173, 212); |
239 | +@define-color error_fg_color rgb (166, 38, 38); |
240 | +@define-color error_bg_color rgb (237, 54, 54); |
241 | + |
242 | + |
243 | +@define-color insensitive_bg_color #f4f4f2; |
244 | +@define-color insensitive_fg_color #a7aba7; |
245 | + |
246 | +@import url("gtk-widgets.css"); |
247 | +@import url("gtk-widgets-dark.css"); |
248 | \ No newline at end of file |
249 | |
250 | === added file 'gtk-3.0/gtk-widgets-dark.css' |
251 | --- gtk-3.0/gtk-widgets-dark.css 1970-01-01 00:00:00 +0000 |
252 | +++ gtk-3.0/gtk-widgets-dark.css 2014-02-09 08:49:06 +0000 |
253 | @@ -0,0 +1,2079 @@ |
254 | + |
255 | +/* Copyright 2011-2013 elementary LLC. |
256 | +* |
257 | +* This file is part of the elementary GTK theme. |
258 | +* |
259 | +* The elementary GTK theme is free software: you can redistribute it |
260 | +* and/or modify it under the terms of the GNU General Public License as |
261 | +* published by the Free Software Foundation, either version 3 of the |
262 | +* License, or (at your option) any later version. |
263 | +* |
264 | +* The elementary GTK theme is distributed in the hope that it will be |
265 | +* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
266 | +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General |
267 | +* Public License for more details. |
268 | +* You should have received a copy of the GNU General Public License along |
269 | +* with the elementary GTK theme. If not, see http://www.gnu.org/licenses/. |
270 | +*/ |
271 | + |
272 | +/*************** |
273 | + * Base States * |
274 | + **************/ |
275 | + |
276 | +.background { |
277 | + color: @text_color; |
278 | +} |
279 | + |
280 | +*:selected, |
281 | +*:selected:focus { |
282 | + /* FIXME: We should set the bg color in each widget */ |
283 | + background-color: alpha (@selected_bg_color, 0.9); |
284 | + color: @selected_fg_color; |
285 | +} |
286 | + |
287 | +.gtkstyle-fallback { |
288 | + background-color: @bg_color; |
289 | + color: @fg_color; |
290 | +} |
291 | + |
292 | +/************ |
293 | + * Tooltips * |
294 | + ************/ |
295 | + |
296 | +/* FIXME: find out class name for granite overlay |
297 | + or have it changed to .tooltip in granite */ |
298 | +.tooltip, |
299 | +.files-overlay-bar { |
300 | + background-color: alpha (black, 0.7); |
301 | + border-radius: 3px; |
302 | + border: 0; |
303 | + padding: 3px 6px; |
304 | + margin: 3px; |
305 | + text-shadow: 0 1px 2px alpha (#000, 0.6); |
306 | +} |
307 | + |
308 | +.tooltip GtkLabel, |
309 | +.files-overlay-bar GtkLabel { |
310 | + color: white; |
311 | + text-shadow: 0 1px 2px alpha (#000, 0.6); |
312 | +} |
313 | + |
314 | +/***************** |
315 | + * Miscellaneous * |
316 | + ****************/ |
317 | + |
318 | +.view.rubberband, |
319 | +.rubberband { |
320 | + background-color: alpha (@selected_bg_color, 0.35); |
321 | + border: 1px solid @selected_bg_color; |
322 | +} |
323 | + |
324 | +.dnd { |
325 | + background-color: alpha (@selected_bg_color, 0.4); |
326 | + background-image: none; |
327 | + |
328 | + border: 1px solid @selected_bg_color; |
329 | + border-radius: 3px; |
330 | + |
331 | + margin: 3px; |
332 | +} |
333 | + |
334 | +/************** |
335 | + * Separators * |
336 | + *************/ |
337 | + |
338 | +.separator { |
339 | + color: @menu_separator; |
340 | +} |
341 | + |
342 | + |
343 | +.pane-separator, |
344 | +.pane-separator:prelight, |
345 | +.pane-separator:selected { |
346 | + border: 1px solid shade (@base_color, 0.55); |
347 | + border-width: 0 1px; |
348 | + |
349 | + background-image: url("assets/pane-handle.svg"), |
350 | + linear-gradient(to right, |
351 | + @base_color, |
352 | + shade (@base_color, 0.88) |
353 | + ); |
354 | + background-position: 50%; |
355 | + background-repeat: no-repeat; |
356 | +} |
357 | + |
358 | +.pane-separator.vertical, |
359 | +.pane-separator.vertical:prelight, |
360 | +.pane-separator.vertical:selected { |
361 | + border-width: 1px 0; |
362 | + |
363 | + background-image: url("assets/pane-handle.svg"), |
364 | + linear-gradient(to bottom, |
365 | + @base_color, |
366 | + shade (@base_color, 0.88) |
367 | + ); |
368 | +} |
369 | + |
370 | +/************* |
371 | +* Text Entry * |
372 | +*************/ |
373 | + |
374 | +.entry { |
375 | + background-image: linear-gradient(to bottom, |
376 | + shade (@titlebar_color, 0.93), |
377 | + shade (@titlebar_color, 0.97) |
378 | + ); |
379 | + |
380 | + border: 1px solid alpha (#000, 0.22); |
381 | + border-radius: 2.5px; |
382 | + |
383 | + box-shadow: inset 0 1px 0 0 alpha (@inset_dark_color, 0.7), |
384 | + inset 0 0 0 1px alpha (@inset_dark_color, 0.3), |
385 | + 0 1px 0 1px alpha (#fff, 0.01); |
386 | + |
387 | + color: @text_color; |
388 | + |
389 | + icon-shadow: 0 1px alpha (#000, 0.4); |
390 | + text-shadow: 0 1px alpha (#000, 0.4); |
391 | + |
392 | + padding: 4px; |
393 | + |
394 | + transition: all 200ms ease-out; |
395 | +} |
396 | + |
397 | + |
398 | +.header-bar .entry, |
399 | +.toolbar .entry { |
400 | + background-image: linear-gradient(to bottom, |
401 | + alpha (#000, 0.10), |
402 | + transparent 5px |
403 | + ), |
404 | + linear-gradient(to bottom, |
405 | + shade (@titlebar_color, 0.90), |
406 | + @titlebar_color |
407 | + ); |
408 | + |
409 | + border-color: alpha (#000, 0.47); |
410 | + box-shadow: inset 0 0 0 1px @inset_dark_color, |
411 | + 0 1px 0 1px alpha (#fff, 0.05); |
412 | +} |
413 | + |
414 | +.header-bar .entry:backdrop, |
415 | +.toolbar .entry:backdrop { |
416 | + background-image: linear-gradient(to bottom, |
417 | + alpha (#000, 0.05), |
418 | + transparent 5px |
419 | + ), |
420 | + linear-gradient(to bottom, |
421 | + shade (@titlebar_color, 0.93), |
422 | + shade (@titlebar_color, 0.94) |
423 | + ); |
424 | + |
425 | + border: 1px solid alpha (#000, 0.47); |
426 | + border-radius: 2.5px; |
427 | + |
428 | + box-shadow: inset 0 1px 0 0 alpha (@inset_dark_color, 0.7), |
429 | + inset 0 0 0 1px alpha (@inset_dark_color, 0.3), |
430 | + 0 1px 0 1px alpha (#fff, 0.05); |
431 | + |
432 | + color: @insensitive_fg_color; |
433 | + |
434 | + icon-shadow: 0 1px alpha (#000, 0.4); |
435 | + text-shadow: 0 1px alpha (#000, 0.4); |
436 | +} |
437 | + |
438 | +.entry:focus { |
439 | + border-color: alpha (@selected_bg_color, 0.80); |
440 | + box-shadow: inset 0 0 0 1px alpha (@selected_bg_color, 0.23), |
441 | + 0 1px 0 1px alpha (#fff, 0.05); |
442 | + |
443 | + transition: all 200ms ease-in; |
444 | +} |
445 | + |
446 | +.entry.progressbar, |
447 | +.entry.progressbar:focus { |
448 | + background-image: linear-gradient(to bottom, |
449 | + shade (@selected_bg_color, 1.23), |
450 | + shade (@selected_bg_color, 1.37) |
451 | + ); |
452 | + background-size: auto; |
453 | + |
454 | + border-color: @selected_bg_color; |
455 | + |
456 | + border-bottom-right-radius: 0; |
457 | + border-top-right-radius: 0; |
458 | +} |
459 | + |
460 | +.entry:insensitive { |
461 | + background-image: linear-gradient(to bottom, |
462 | + alpha (#000, 0.05), |
463 | + transparent 5px |
464 | + ); |
465 | +} |
466 | + |
467 | +.header-bar .entry:insensitive, |
468 | +.toolbar .entry:insensitive { |
469 | + border-color: alpha (#000, 0.25); |
470 | + box-shadow: inset 0 0 0 1px @inset_dark_color, |
471 | + 0 1px 0 1px alpha (#fff, 0.05); |
472 | +} |
473 | + |
474 | +.header-bar .entry:insensitive:backdrop, |
475 | +.toolbar .entry:insensitive:backdrop { |
476 | + border-color: alpha (#000, 0.20); |
477 | + box-shadow: inset 0 0 0 1px @inset_dark_color_backdrop, |
478 | + 0 1px 0 1px alpha (#fff, 0.05); |
479 | +} |
480 | + |
481 | + /******************* |
482 | + * Symbolic images * |
483 | + *******************/ |
484 | +.image { |
485 | + color: @internal_element_color; |
486 | +} |
487 | + |
488 | +.image:hover { |
489 | + color: @internal_element_prelight; |
490 | +} |
491 | + |
492 | +.image:selected, |
493 | +.image:selected:hover { |
494 | + color: @selected_fg_color; |
495 | +} |
496 | + |
497 | +.view.image, |
498 | +.view.image:hover { |
499 | + color: @view_symbolic_color; |
500 | +} |
501 | + |
502 | +.view.image:selected, |
503 | +.view.image:selected:hover { |
504 | + color: @selected_fg_color; |
505 | +} |
506 | + |
507 | +/**************** |
508 | + * Progress bar * |
509 | + ****************/ |
510 | + |
511 | +GtkProgressBar { |
512 | + border-radius: 12px; |
513 | + padding: 1px; |
514 | +} |
515 | + |
516 | +GtkProgressBar.progressbar { |
517 | + background-image: linear-gradient(to bottom, |
518 | + shade (@base_color, 0.88), |
519 | + @base_color |
520 | + ); |
521 | + |
522 | + border-style: none; |
523 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.1); |
524 | +} |
525 | + |
526 | +GtkProgressBar.trough { |
527 | + border: 1px solid alpha (#000, 0.35); |
528 | + |
529 | + background-image: linear-gradient(to bottom, |
530 | + alpha (#000, 0.15), |
531 | + alpha (#000, 0.07) |
532 | + ); |
533 | + |
534 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.03), |
535 | + 0 1px 0 1px alpha (#fff, 0.30); |
536 | +} |
537 | + |
538 | +/********************************** |
539 | + * Progress bar in a Tree or Cell * |
540 | + *********************************/ |
541 | + |
542 | +.progressbar row, |
543 | +.progressbar row:hover { |
544 | + color: @selected_fg_color; |
545 | + text-shadow: 0 1px alpha (#000, 0.3); |
546 | + icon-shadow: 0 1px alpha (#000, 0.3); |
547 | + |
548 | + background-image: linear-gradient(to left top, |
549 | + alpha (#fff, 0.10), |
550 | + alpha (#fff, 0.10) 25%, |
551 | + transparent 25%, |
552 | + transparent 50%, |
553 | + alpha (#fff, 0.10) 50%, |
554 | + alpha (#fff, 0.10) 75%, |
555 | + transparent 75%, |
556 | + transparent |
557 | + ), |
558 | + linear-gradient(to bottom, |
559 | + shade (@selected_bg_color, 1.30), |
560 | + shade (@selected_bg_color, 1.20) 50%, |
561 | + shade (@selected_bg_color, 1.08) 60%, |
562 | + shade (@selected_bg_color, 1.08) 70%, |
563 | + shade (@selected_bg_color, 1.30) |
564 | + ); |
565 | + |
566 | + background-size: 24px 24px, auto; |
567 | + |
568 | + border-style: solid; |
569 | + border-width: 1px; |
570 | + |
571 | + border-image: linear-gradient(to bottom, |
572 | + shade (@selected_bg_color, 1.05), |
573 | + shade (@selected_bg_color, 0.88) |
574 | + ) 1 1 1 1; |
575 | + |
576 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.50), |
577 | + inset 0 -1px 0 0 alpha (#fff, 0.25); |
578 | +} |
579 | + |
580 | +.progressbar row:backdrop, |
581 | +.progressbar row:backdrop:hover, |
582 | +.progressbar row:selected:backdrop, |
583 | +.progressbar row:selected:backdrop:hover { |
584 | + background-image: linear-gradient(to left top, |
585 | + alpha (#fff, 0.10), |
586 | + alpha (#fff, 0.10) 25%, |
587 | + transparent 25%, |
588 | + transparent 50%, |
589 | + alpha (#fff, 0.10) 50%, |
590 | + alpha (#fff, 0.10) 75%, |
591 | + transparent 75%, |
592 | + transparent |
593 | + ), |
594 | + linear-gradient(to bottom, |
595 | + @progress_row_trough_color, |
596 | + shade (@progress_row_trough_color, 0.90) 50%, |
597 | + shade (@progress_row_trough_color, 0.78) 60%, |
598 | + shade (@progress_row_trough_color, 0.78) 70%, |
599 | + @progress_row_trough_color |
600 | + ); |
601 | + |
602 | + border-image: linear-gradient(to bottom, |
603 | + shade (@progress_row_trough_color, 0.80), |
604 | + shade (@progress_row_trough_color, 0.63) |
605 | + ) 1 1 1 1; |
606 | +} |
607 | + |
608 | +.progressbar row:selected, |
609 | +.progressbar row:selected:focused { |
610 | + border-image: linear-gradient(to bottom, |
611 | + shade (@selected_bg_color, 0.87), |
612 | + shade (@selected_bg_color, 0.80) |
613 | + ) 1 1 1 1; |
614 | +} |
615 | + |
616 | +.trough row, |
617 | +.trough row:hover, |
618 | +.trough row:selected:backdrop, |
619 | +.trough row:selected:backdrop:hover { |
620 | + |
621 | + padding: 0; |
622 | + |
623 | + border-style: solid; |
624 | + border-width: 1px; |
625 | + |
626 | + background-image: linear-gradient(to bottom, |
627 | + shade (@progress_row_trough_color, 1.10), |
628 | + shade (@progress_row_trough_color, 1.05) 50%, |
629 | + shade (@progress_row_trough_color, 0.93) 60%, |
630 | + shade (@progress_row_trough_color, 0.93) 70%, |
631 | + shade (@progress_row_trough_color, 1.10) |
632 | + ); |
633 | + |
634 | + border-image: linear-gradient(to bottom, |
635 | + shade (@progress_row_trough_color, 0.78), |
636 | + shade (@progress_row_trough_color, 0.70) |
637 | + ) 1 1 1 1; |
638 | + |
639 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.20); |
640 | +} |
641 | + |
642 | +.trough row:selected, |
643 | +.trough row:selected:focused { |
644 | + color: @text_color; |
645 | + |
646 | + border-image: linear-gradient(to bottom, |
647 | + shade (@selected_bg_color, 0.87), |
648 | + shade (@selected_bg_color, 0.80) |
649 | + ) 1 1 1 1; |
650 | + |
651 | + text-shadow: 0 1px alpha (#fff, 0.4); |
652 | + icon-shadow: 0 1px alpha (#fff, 0.4); |
653 | +} |
654 | + |
655 | +/******** |
656 | +* Scale * |
657 | +********/ |
658 | + |
659 | +.scale { |
660 | + -GtkScale-slider-length: 16; |
661 | + -GtkRange-slider-width: 16; |
662 | + -GtkRange-trough-border: 0; |
663 | +} |
664 | + |
665 | +.scale.slider { |
666 | + border: 1px solid alpha (#000, 0.25); |
667 | + border-radius: 10px; |
668 | + |
669 | + background-image: linear-gradient(to bottom, |
670 | + shade (@bg_color, 1.10), |
671 | + shade (@bg_color, 0.88) |
672 | + ); |
673 | + |
674 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.01), |
675 | + inset 0 1px 0 0 alpha (#fff, 0.10), |
676 | + inset 0 -1px 0 0 alpha (#fff, 0.03), |
677 | + 0 1px 2px alpha (#000, 0.25); |
678 | +} |
679 | + |
680 | +.scale.slider:focus { |
681 | + border: 1px solid alpha (@selected_bg_color, 0.9); |
682 | + |
683 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.10), |
684 | + inset 0 1px 0 0 alpha (#fff, 0.90), |
685 | + inset 0 -1px 0 0 alpha (#fff, 0.30), |
686 | + 0 1px 2px alpha (@selected_bg_color, 0.95); |
687 | +} |
688 | + |
689 | +.scale.slider:backdrop { |
690 | + background-image: linear-gradient(to bottom, |
691 | + shade (@bg_color, 1.05), |
692 | + shade (@bg_color, 0.95) |
693 | + ); |
694 | + |
695 | + border-color: alpha (#000, 0.15); |
696 | + |
697 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.10), |
698 | + inset 0 1px 0 0 alpha (#fff, 0.90), |
699 | + inset 0 -1px 0 0 alpha (#fff, 0.30), |
700 | + 0 1px 1px alpha (#000, 0.1); |
701 | +} |
702 | + |
703 | +.header-bar .scale.slider, |
704 | +.scale.slider:insensitive { |
705 | + background-image: none; |
706 | + border: none; |
707 | + box-shadow: none; |
708 | +} |
709 | + |
710 | +.scale.trough { |
711 | + margin: 6px 0 5px 0; |
712 | + |
713 | + border: 1px solid alpha (#000, 0.35); |
714 | + border-radius: 12px; |
715 | + |
716 | + background-image: linear-gradient(to bottom, |
717 | + alpha (#000, 0.15), |
718 | + alpha (#000, 0.07) |
719 | + ); |
720 | + |
721 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.03), |
722 | + 0 1px 0 1px alpha (#fff, 0.1); |
723 | +} |
724 | + |
725 | +.header-bar .scale.trough { |
726 | + border-radius: 0 12px 12px 0; |
727 | + border-width: 1px 1px 1px 0; |
728 | +} |
729 | + |
730 | +.scale.trough:insensitive { |
731 | + background-color: shade (@theme_bg_color, 1.25); |
732 | + border-color: alpha (#000, 0.35); |
733 | + border-radius: 0 12px 12px 0; |
734 | + border-width: 1px 1px 1px 0; |
735 | +} |
736 | + |
737 | +.scale.trough.vertical { |
738 | + margin: 0 8px; |
739 | + |
740 | + background-image: linear-gradient(to right, |
741 | + alpha (#000, 0.15), |
742 | + alpha (#000, 0.07) |
743 | + ); |
744 | +} |
745 | + |
746 | +.scale.trough.vertical:insensitive { |
747 | + background-image: linear-gradient(to right, |
748 | + alpha (#000, 0.10), |
749 | + alpha (#000, 0.02) |
750 | + ); |
751 | +} |
752 | + |
753 | +.scale.mark { |
754 | + background-color: alpha (#000, 0.40); |
755 | +} |
756 | + |
757 | +.scale.highlight.left { |
758 | + border: 1px solid alpha (#000, 0.50); |
759 | + border-radius: 12px 0 0 12px; |
760 | + |
761 | + background-image: linear-gradient(to bottom, |
762 | + alpha (#000, 0.40), |
763 | + alpha (#000, 0.30) |
764 | + ); |
765 | + |
766 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05), |
767 | + 0 1px 0 1px alpha (#fff, 0.1); |
768 | +} |
769 | + |
770 | +.scale.highlight.left:insensitive { |
771 | + border: 1px solid alpha (#000, 0.40); |
772 | + |
773 | + background-image: linear-gradient(to bottom, |
774 | + alpha (#000, 0.30), |
775 | + alpha (#000, 0.20) |
776 | + ); |
777 | +} |
778 | + |
779 | +/********* |
780 | +* Frames * |
781 | +*********/ |
782 | + |
783 | +.frame { |
784 | + border: 1px solid alpha (#000, 0.30); |
785 | + color: lighter (@fg_color); |
786 | +} |
787 | + |
788 | +GtkScrolledWindow.frame { |
789 | + border: 1px solid alpha (#000, 0.30); |
790 | +} |
791 | + |
792 | +/* avoid borders when a viewport is |
793 | + * packed into a ScrolledWindow or Pane */ |
794 | +GtkScrolledWindow GtkViewport.frame, |
795 | +GtkPaned .frame { |
796 | + border: none; |
797 | +} |
798 | + |
799 | +/********** |
800 | +* Buttons * |
801 | +**********/ |
802 | + |
803 | +.button, |
804 | +.button.menuitem.menubar, |
805 | +GtkColorButton.button, |
806 | +GtkComboBox.combobox-entry .button { |
807 | + padding: 2px 3px; |
808 | +} |
809 | + |
810 | +.button { |
811 | + text-shadow: 0 1px alpha (#000, 0.4); |
812 | + icon-shadow: 0 1px alpha (#000, 0.4); |
813 | + |
814 | + background-image: linear-gradient(to bottom, |
815 | + transparent, |
816 | + transparent 50%, |
817 | + alpha (#000, 0.04) |
818 | + ); |
819 | + |
820 | + border: 1px solid alpha (#000, 0.5); |
821 | + border-radius: 2.5px; |
822 | + |
823 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.05), |
824 | + inset 0 1px 0 0 alpha (#fff, 0.1), |
825 | + inset 0 -1px 0 0 alpha (#000, 0.15), |
826 | + 0 1px 0 1px alpha (#fff, 0.1); |
827 | + |
828 | + color: @text_color; |
829 | +} |
830 | +.header-bar .button.image-button .linked, |
831 | +.header-bar .button.image-button, |
832 | +.header-bar .button, |
833 | +.toolbar .button { |
834 | + background-color: @transparent; |
835 | + background-image: linear-gradient(to bottom, |
836 | + shade (@titlebar_color, 1.1), |
837 | + shade (@titlebar_color, 0.7) |
838 | + ); |
839 | + |
840 | + box-shadow: inset 0 0 1px 1px alpha (#fff, 0.05); |
841 | + |
842 | + border: 1px solid alpha (#000, 0.22); |
843 | + padding: 3px; |
844 | +} |
845 | + |
846 | +.button:hover { |
847 | + color:@text_color; |
848 | +} |
849 | + |
850 | +.button:insensitive { |
851 | + background-image: none; |
852 | + background-color: transparent; |
853 | + border-color: alpha (#000, 0.20); |
854 | +} |
855 | + |
856 | +.toolbar .button:insensitive { |
857 | + background-image: linear-gradient(to bottom, |
858 | + alpha (#fff, 0.05), |
859 | + alpha (#000, 0.05) |
860 | + ); |
861 | + |
862 | + border-color: alpha (#000, 0.20); |
863 | +} |
864 | + |
865 | +.button:focus { |
866 | + color:@text_color; |
867 | + |
868 | + border-color: @selected_bg_color; |
869 | + |
870 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.05), |
871 | + inset 0 1px 0 0 alpha (#fff, 0.45), |
872 | + inset 0 -1px 0 0 alpha (#fff, 0.15), |
873 | + 0 1px 0 1px alpha (@selected_bg_color, 0.25); |
874 | +} |
875 | + |
876 | +.button:active, |
877 | +.button:hover:active, |
878 | +.button:focus:active { |
879 | + background-color: alpha (#000, 0.10); |
880 | + background-image: linear-gradient(to bottom, |
881 | + alpha (@titlebar_color, 0.10), |
882 | + alpha (@titlebar_color, 0.7) |
883 | + ); |
884 | + |
885 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05); |
886 | + |
887 | + border: 1px solid alpha (#000, 0.22); |
888 | + padding: 2px 3px; |
889 | +} |
890 | + |
891 | +.toolbar .button:active, |
892 | +.toolbar .button:hover:active, |
893 | +.toolbar .button:focus:active { |
894 | + background-color: alpha (#000, 0.10); |
895 | + background-image: linear-gradient(to bottom, |
896 | + alpha (@titlebar_color, 0.10), |
897 | + alpha (@titlebar_color, 0.7) |
898 | + ); |
899 | + |
900 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05); |
901 | + |
902 | + border: 1px solid alpha (#000, 0.22); |
903 | + padding: 3px; |
904 | +} |
905 | + |
906 | +.button:active:insensitive { |
907 | + background-image: linear-gradient(to bottom, |
908 | + shade (@bg_color, 0.85), |
909 | + shade (@bg_color, 0.94) 20%, |
910 | + @bg_color |
911 | + ); |
912 | + |
913 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05), |
914 | + 0 1px 0 1px alpha (#fff, 0.30); |
915 | + |
916 | +} |
917 | + |
918 | +/*************************** |
919 | +* Secondary Toolbar Button * |
920 | +***************************/ |
921 | + |
922 | +.secondary-toolbar.toolbar .button { |
923 | + padding: 0 3px 0 3px; |
924 | +} |
925 | + |
926 | +.secondary-toolbar.toolbar .button:hover { |
927 | + padding: 0 3px 0 3px; |
928 | + |
929 | + color: shade (@selected_bg_color, 0.65); |
930 | + |
931 | + border-color: transparent; |
932 | + background-image: none; |
933 | + background-color: transparent; |
934 | + box-shadow: none; |
935 | +} |
936 | + |
937 | +.secondary-toolbar.toolbar .button:active, |
938 | +.secondary-toolbar.toolbar .button:hover:active { |
939 | + background-image: none; |
940 | + background-color: alpha (#000, 0.10); |
941 | + |
942 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05), |
943 | + inset 0 1px 0 0 alpha (#000, 0.25), |
944 | + inset 0 -1px 0 0 alpha (#fff, 0.4); |
945 | + |
946 | + padding: 0 3px 0 3px; |
947 | +} |
948 | + |
949 | +/************** |
950 | +* Help Button * |
951 | +**************/ |
952 | + |
953 | +.help_button { |
954 | + border-radius: 12px; |
955 | +} |
956 | + |
957 | +/***************** |
958 | + * GtkSpinButton * |
959 | + *****************/ |
960 | + |
961 | +.spinbutton .button { |
962 | + color: @internal_element_color; |
963 | + padding: 2px 6px; |
964 | + border-width: 0; |
965 | + border-radius: 0; |
966 | + border-style: none; |
967 | + border-image: none; |
968 | + box-shadow: inset 1px 0 alpha (#000, 0.10); |
969 | + |
970 | + background-color: transparent; |
971 | + background-image: none; |
972 | +} |
973 | + |
974 | +.spinbutton .button:insensitive, |
975 | +.spinbutton .button:focus:insensitive { |
976 | + background-color: alpha (#000, 0.02); |
977 | + background-image: none; |
978 | + color: @insensitive_color; |
979 | +} |
980 | + |
981 | +.spinbutton .button:first-child { |
982 | + border-radius: 2px 0 0 2px; |
983 | + box-shadow: none; |
984 | +} |
985 | + |
986 | +.spinbutton .button:last-child { |
987 | + border-radius: 0 2px 2px 0; |
988 | +} |
989 | + |
990 | +.spinbutton .button:dir(rtl) { |
991 | + box-shadow: inset -1px 0 alpha (#000, 0.10); |
992 | +} |
993 | + |
994 | +/********* |
995 | +* Linked * |
996 | +*********/ |
997 | + |
998 | +.linked .entry { |
999 | + box-shadow: inset -1px 0 @inset_dark_color; |
1000 | +} |
1001 | + |
1002 | +.linked .entry:focus { |
1003 | + box-shadow: inset 1px 0 @inset_dark_color, |
1004 | + inset -1px 0 @inset_dark_color, |
1005 | + inset 1px 2px alpha(@selected_bg_color, 0.1), |
1006 | + inset 1px 1px alpha(@selected_bg_color, 0.1), |
1007 | + inset -1px -1px alpha(@selected_bg_color, 0.2); |
1008 | + |
1009 | +} |
1010 | + |
1011 | +.linked .entry:focus:first-child { |
1012 | + box-shadow: inset -1px 0 @inset_dark_color, |
1013 | + inset 1px 2px alpha(@selected_bg_color, 0.1), |
1014 | + inset 1px 1px alpha(@selected_bg_color, 0.1), |
1015 | + inset -1px -1px alpha(@selected_bg_color, 0.2); |
1016 | + |
1017 | +} |
1018 | + |
1019 | +.linked .entry:focus:last-child { |
1020 | + box-shadow: inset 1px 0 @inset_dark_color, |
1021 | + inset 1px 2px alpha(@selected_bg_color, 0.1), |
1022 | + inset 1px 1px alpha(@selected_bg_color, 0.1), |
1023 | + inset -1px -1px alpha(@selected_bg_color, 0.2); |
1024 | + |
1025 | +} |
1026 | + |
1027 | +/* Middle button */ |
1028 | +.linked .entry, |
1029 | +.linked .button, |
1030 | +.linked .button:active, |
1031 | +.linked .button:active:hover, |
1032 | +.linked .button:insensitive { |
1033 | + border-right-width: 0; |
1034 | + border-radius: 0; |
1035 | +} |
1036 | + |
1037 | +/* Leftmost button */ |
1038 | +.linked .entry:first-child, |
1039 | +.linked .button:first-child, |
1040 | +.linked .button:active:first-child, |
1041 | +.linked .button:active:hover:first-child, |
1042 | +.linked .button:insensitive:first-child { |
1043 | + border-bottom-right-radius: 0; |
1044 | + border-top-right-radius: 0; |
1045 | + border-bottom-left-radius: 2.5px; |
1046 | + border-top-left-radius: 2.5px; |
1047 | +} |
1048 | + |
1049 | +/* Rightmost button */ |
1050 | +.linked .entry:last-child, |
1051 | +.linked .button:last-child, |
1052 | +.linked .button:active:last-child, |
1053 | +.linked .button:active:hover:last-child, |
1054 | +.linked .button:insensitive:last-child { |
1055 | + border-right-width: 1px; |
1056 | + border-bottom-right-radius: 2.5px; |
1057 | + border-top-right-radius: 2.5px; |
1058 | + border-bottom-left-radius: 0; |
1059 | + border-top-left-radius: 0; |
1060 | +} |
1061 | + |
1062 | +/* Linked single button */ |
1063 | +.linked .entry:only-child, |
1064 | +.linked .button:only-child, |
1065 | +.linked .button:active:only-child, |
1066 | +.linked .button:active:hover:only-child, |
1067 | +.linked .button:insensitive:only-child { |
1068 | + border-right-width: 1px; |
1069 | + border-left-width: 1px; |
1070 | + border-radius: 2.5px; |
1071 | +} |
1072 | + |
1073 | +/* Middle button (vertical) */ |
1074 | +.linked.vertical .entry, |
1075 | +.linked.vertical .button, |
1076 | +.linked.vertical .button:active, |
1077 | +.linked.vertical .button:active:hover, |
1078 | +.linked.vertical .button:insensitive { |
1079 | + border-bottom-width: 0; |
1080 | + border-radius: 0; |
1081 | +} |
1082 | + |
1083 | +/* Top button (vertical) */ |
1084 | +.linked.vertical .entry:first-child, |
1085 | +.linked.vertical .button:first-child, |
1086 | +.linked.vertical .button:active:first-child, |
1087 | +.linked.vertical .button:active:hover:first-child, |
1088 | +.linked.vertical .button:insensitive:first-child { |
1089 | + border-radius: 2.5px 2.5px 0 0; |
1090 | +} |
1091 | + |
1092 | +/* Bottom button (vertical) */ |
1093 | +.linked.vertical .entry:last-child, |
1094 | +.linked.vertical .button:last-child, |
1095 | +.linked.vertical .button:active:last-child, |
1096 | +.linked.vertical .button:active:hover:last-child, |
1097 | +.linked.vertical .button:insensitive:last-child { |
1098 | + border-bottom-width: 1px; |
1099 | + border-radius: 0 0 2.5px 2.5px; |
1100 | +} |
1101 | + |
1102 | +/* Linked single button (vertical) */ |
1103 | +.linked.vertical .entry:only-child, |
1104 | +.linked.vertical .button:only-child, |
1105 | +.linked.vertical .button:active:only-child, |
1106 | +.linked.vertical .button:active:hover:only-child, |
1107 | +.linked.vertical .button:insensitive:only-child { |
1108 | + border-top-width: 1px; |
1109 | + border-bottom-width: 1px; |
1110 | + border-radius: 2.5px; |
1111 | +} |
1112 | + |
1113 | +/******************** |
1114 | +* Notebook and Tabs * |
1115 | +********************/ |
1116 | + |
1117 | +.dynamic-notebook { |
1118 | + /* FIXME: should really use border */ |
1119 | + background-image: linear-gradient(to bottom, |
1120 | + shade (@titlebar_color, 0.76), |
1121 | + shade (@titlebar_color, 0.83) 17%, |
1122 | + shade (@titlebar_color, 0.90) 93%, |
1123 | + shade (@titlebar_color, 0.10) |
1124 | + ); |
1125 | +} |
1126 | + |
1127 | +.dynamic-notebook GtkLabel:insensitive, |
1128 | +.dynamic-notebook .image:insensitive { |
1129 | + color: shade (@text_color, 0.65); |
1130 | +} |
1131 | + |
1132 | +.dynamic-notebook .notebook { |
1133 | + border-width: 0; |
1134 | + |
1135 | + -GtkNotebook-tab-overlap: 1px; |
1136 | + -GtkNotebook-initial-gap: 10px; |
1137 | +} |
1138 | + |
1139 | +.dynamic-notebook .notebook tab { |
1140 | + padding: 3px; |
1141 | + |
1142 | + border-radius: 0; |
1143 | + |
1144 | + background-image: none; |
1145 | + background-color: transparent; |
1146 | + |
1147 | + border-width: 0 1px 0 0; |
1148 | + |
1149 | + border-image: linear-gradient(to bottom, |
1150 | + transparent, |
1151 | + alpha (#000, 0.20) |
1152 | + ) 0 1 0 0; |
1153 | +} |
1154 | +.dynamic-notebook .notebook tab GtkLabel { |
1155 | + color: shade (@text_color, 0.90); |
1156 | +} |
1157 | + |
1158 | +.dynamic-notebook .notebook tab GtkImage { |
1159 | + color: shade (@text_color, 0.90); |
1160 | +} |
1161 | + |
1162 | +.dynamic-notebook .notebook tab:nth-child(first) { |
1163 | + border-width: 0 1px 0 1px; |
1164 | + border-image: linear-gradient(to bottom, |
1165 | + transparent, |
1166 | + alpha (#000, 0.20) |
1167 | + ) 0 1 0 1; |
1168 | +} |
1169 | + |
1170 | +.dynamic-notebook .notebook tab:active { |
1171 | + background-image: linear-gradient(to bottom, |
1172 | + shade (@titlebar_color, 1.04), |
1173 | + @titlebar_color |
1174 | + ); |
1175 | + |
1176 | + border-image: none; |
1177 | + border: 1px solid alpha (#000, 0.30); |
1178 | + border-radius: 4px; |
1179 | + |
1180 | + color: shade (@text_color, 0.90); |
1181 | + |
1182 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.1), |
1183 | + |
1184 | + inset 0 -1px 0 0 shade (@titlebar_color, 1); |
1185 | + |
1186 | +} |
1187 | + |
1188 | +.notebook { |
1189 | + border: 1px solid shade (@titlebar_color, 0.60); |
1190 | + |
1191 | + border-radius: 2.5px; |
1192 | + |
1193 | + -GtkNotebook-tab-overlap: 5px; |
1194 | + |
1195 | + background-clip: border-box; |
1196 | + background-color: shade (@titlebar_color, 1.06); |
1197 | + |
1198 | + text-shadow: 0 1px alpha (#000, 0.4); |
1199 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1200 | +} |
1201 | + |
1202 | +.notebook GtkViewport { |
1203 | + background-color: @base_color; |
1204 | +} |
1205 | + |
1206 | +.notebook tab { |
1207 | + background-image: linear-gradient(to bottom, |
1208 | + shade (@titlebar_color, 0.75), |
1209 | + shade (@titlebar_color, 0.80) |
1210 | + ); |
1211 | + |
1212 | + border-radius: 4px; |
1213 | + |
1214 | + padding: 2px 3px 0; |
1215 | +} |
1216 | + |
1217 | +.dynamic-notebook .notebook tab .entry { |
1218 | + border-radius: 2px; |
1219 | + padding: 1px 5px; |
1220 | +} |
1221 | + |
1222 | +.notebook tab .entry { |
1223 | + border-radius: 2px; |
1224 | + padding: 2px 5px; |
1225 | +} |
1226 | + |
1227 | +.notebook tab:active { |
1228 | + background-image: linear-gradient(to bottom, |
1229 | + shade (@titlebar_color, 1.24), |
1230 | + shade (@titlebar_color, 1.06) |
1231 | + ); |
1232 | + |
1233 | + color: @text_color; |
1234 | +} |
1235 | + |
1236 | +.dynamic-notebook .notebook tab .button, |
1237 | +.dynamic-notebook .notebook tab .button:hover, |
1238 | +.dynamic-notebook .notebook tab .button:hover:active, |
1239 | +.notebook tab .button:hover, |
1240 | +.notebook tab .button:hover:active { |
1241 | + background-image: none; |
1242 | + background-color: alpha (#000, 0.02); |
1243 | + |
1244 | + border-color: alpha (#000, 0.29); |
1245 | +} |
1246 | + |
1247 | +.dynamic-notebook .notebook tab .button:hover:active, |
1248 | +.notebook tab .button:hover:active { |
1249 | + background-color: alpha (#000, 0.10); |
1250 | +} |
1251 | + |
1252 | +/************* |
1253 | +* ComboBoxes * |
1254 | +*************/ |
1255 | + |
1256 | +GtkComboBox { |
1257 | + -GtkComboBox-arrow-scaling: 0.5; |
1258 | + -GtkComboBox-shadow-type: none; |
1259 | +} |
1260 | + |
1261 | +GtkComboBox .separator { |
1262 | + /* always disable separators */ |
1263 | + -GtkWidget-wide-separators: true; |
1264 | + -GtkWidget-horizontal-separator: 0; |
1265 | + -GtkWidget-vertical-separator: 0; |
1266 | +} |
1267 | + |
1268 | +GtkComboBox.combobox-entry .entry:first-child, |
1269 | +GtkComboBox.combobox-entry .button:first-child { |
1270 | + border-radius: 2.5px 0 0 2.5px; |
1271 | + border-right-width: 0; |
1272 | +} |
1273 | + |
1274 | +GtkComboBox.combobox-entry .entry:last-child, |
1275 | +GtkComboBox.combobox-entry .button:last-child { |
1276 | + border-radius: 0 2.5px 2.5px 0; |
1277 | + border-left-width: 0; |
1278 | +} |
1279 | + |
1280 | +GtkComboBox.combobox-entry .entry:last-child, |
1281 | +GtkComboBox.combobox-entry .button:last-child { |
1282 | + background-image: linear-gradient(to bottom, |
1283 | + shade (@base_color, 0.93), |
1284 | + shade (@base_color, 0.97) |
1285 | + ); |
1286 | + |
1287 | + box-shadow: inset 0 1px 0 0 alpha (@inset_dark_color, 0.7), |
1288 | + inset 0 0 0 1px alpha (@inset_dark_color, 0.3), |
1289 | + 0 1px 0 1px alpha (#fff, 0.05); |
1290 | +} |
1291 | + |
1292 | +.toolbar GtkComboBox.combobox-entry .entry:last-child, |
1293 | +.toolbar GtkComboBox.combobox-entry .button:last-child { |
1294 | + background-image: linear-gradient(to bottom, |
1295 | + alpha (#000, 0.10), |
1296 | + transparent 5px |
1297 | + ), |
1298 | + linear-gradient(to bottom, |
1299 | + shade (@base_color, 0.90), |
1300 | + @base_color |
1301 | + ); |
1302 | + |
1303 | + box-shadow: inset 0 0 0 1px @inset_dark_color, |
1304 | + 0 1px 0 1px alpha (#fff, 0.05); |
1305 | +} |
1306 | + |
1307 | +/************* |
1308 | +* Scrollbars * |
1309 | +*************/ |
1310 | + |
1311 | +.scrollbar.trough { |
1312 | + background-color: transparent; |
1313 | + background-image: none; |
1314 | +} |
1315 | + |
1316 | +.scrollbar.slider, |
1317 | +.scrollbar.slider:prelight, |
1318 | +.scrollbar.button { |
1319 | + border-width: 0; |
1320 | + background-color: alpha (#fff, 0.4); |
1321 | + border-radius: 10px; |
1322 | +} |
1323 | + |
1324 | +/******** |
1325 | +* Menus * |
1326 | +********/ |
1327 | + |
1328 | +GtkTreeMenu .menuitem { |
1329 | + padding: 2px; |
1330 | +} |
1331 | + |
1332 | +.content-view .menu, |
1333 | +.menu { |
1334 | + padding: 0 1px 0 1px; |
1335 | + |
1336 | + background-color: #272b2f; |
1337 | + background-image: none; |
1338 | + |
1339 | + border: 1px solid alpha (#000, 0.4); |
1340 | +} |
1341 | + |
1342 | + |
1343 | +.menu.button { |
1344 | + background-image: none; |
1345 | +} |
1346 | + |
1347 | +.menubar { |
1348 | + color: @text_color; |
1349 | + background-color: @titlebar_color; |
1350 | + -GtkWidget-window-dragging: true; |
1351 | +} |
1352 | + |
1353 | +.menubar .menuitem { |
1354 | + padding: 3px 6px; |
1355 | +} |
1356 | + |
1357 | +.menu .menuitem { |
1358 | + padding: 4px 0 4px 0; |
1359 | +} |
1360 | + |
1361 | +.menu .menuitem:active, |
1362 | +.menu .menuitem:hover { |
1363 | + background-image: linear-gradient(to bottom, |
1364 | + shade (@selected_bg_color, 1.30), |
1365 | + shade (@selected_bg_color, 0.98) |
1366 | + ); |
1367 | + |
1368 | + border-style: solid; |
1369 | + border-width: 1px 0 1px 0; |
1370 | + border-image: linear-gradient(to bottom, |
1371 | + shade (@selected_bg_color, 1.18), |
1372 | + shade (@selected_bg_color, 0.88) |
1373 | + ) 1 0 1 0; |
1374 | + |
1375 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.30), |
1376 | + inset 0 -1px 0 0 alpha (#fff, 0.06); |
1377 | +} |
1378 | + |
1379 | +.menu .menuitem:active, |
1380 | +.menu .menuitem:hover { |
1381 | + color: @selected_fg_color; |
1382 | +} |
1383 | + |
1384 | +.menu .menuitem *:insensitive { |
1385 | + color: @insensitive_color; |
1386 | +} |
1387 | + |
1388 | +.menuitem .accelerator { |
1389 | + color: alpha (@text_color, 0.4); |
1390 | +} |
1391 | + |
1392 | +.menuitem .accelerator:hover, |
1393 | +.menuitem .accelerator:active { |
1394 | + color: alpha (@fg_color, 0.3); |
1395 | +} |
1396 | + |
1397 | +GtkModelMenuItem GtkBox GtkImage { |
1398 | + padding-right: 6px; |
1399 | +} |
1400 | + |
1401 | +.menuitem.separator { |
1402 | + color: @menu_separator; |
1403 | + |
1404 | + -GtkMenuItem-horizontal-padding: 0; |
1405 | +} |
1406 | + |
1407 | +.menuitem.check, |
1408 | +.menuitem.radio, |
1409 | +.menuitem.check:hover, |
1410 | +.menuitem.radio:hover, |
1411 | +.menuitem.check:insensitive, |
1412 | +.menuitem.radio:insensitive { |
1413 | + background-image: none; |
1414 | + background-color: transparent; |
1415 | +} |
1416 | + |
1417 | +.menuitem.check:active, |
1418 | +.menuitem.radio:active { |
1419 | + background-color: transparent; |
1420 | +} |
1421 | + |
1422 | +/************************* |
1423 | + * Check and Radio items * |
1424 | + *************************/ |
1425 | + |
1426 | +.check, |
1427 | +.radio, |
1428 | +.check:insensitive, |
1429 | +.radio:insensitive { |
1430 | + background-color: transparent; |
1431 | + border-style: none; |
1432 | +} |
1433 | + |
1434 | +GtkCheckButton:hover, |
1435 | +GtkCheckButton:active:hover, |
1436 | +GtkCheckButton:selected, |
1437 | +GtkCheckButton:selected:focus { |
1438 | + background-color: transparent; |
1439 | +} |
1440 | + |
1441 | +.check { |
1442 | + background-image: url("assets/check.svg"); |
1443 | + background-repeat: no-repeat; |
1444 | + background-position: center; |
1445 | +} |
1446 | + |
1447 | +.check:focus { |
1448 | + background-image: url("assets/check-focus.svg"); |
1449 | +} |
1450 | + |
1451 | +.check:active { |
1452 | + background-image: url("assets/check-active.svg"); |
1453 | +} |
1454 | + |
1455 | +.radio { |
1456 | + background-image: url("assets/radio.svg"); |
1457 | + background-repeat: no-repeat; |
1458 | + background-position: center; |
1459 | +} |
1460 | + |
1461 | +.radio:active { |
1462 | + background-image: url("assets/radio-active.svg"); |
1463 | +} |
1464 | + |
1465 | + |
1466 | +/*********** |
1467 | +* Toolbars * |
1468 | +***********/ |
1469 | + |
1470 | +.toolbar { |
1471 | + -GtkWidget-window-dragging: true; |
1472 | + |
1473 | + padding: 0 3px 3px; |
1474 | + |
1475 | + border: 1px solid shade (@titlebar_color, 0.56); |
1476 | + border-width: 0 0 1px 0; |
1477 | + |
1478 | + box-shadow: inset 0 -1px 0 0 alpha (#fff, 0.1); |
1479 | + |
1480 | + background-image: linear-gradient(to bottom, |
1481 | + @titlebar_color, |
1482 | + @titlebar_color, |
1483 | + shade (@titlebar_color, 0.86) |
1484 | + ); |
1485 | + |
1486 | + text-shadow: 0 1px alpha (#000, 0.4); |
1487 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1488 | +} |
1489 | + |
1490 | +.toolbar .separator { |
1491 | + -GtkWidget-wide-separators: true; |
1492 | + -GtkWidget-horizontal-separator: 0; |
1493 | + -GtkWidget-vertical-separator: 0; |
1494 | +} |
1495 | + |
1496 | +/********************* |
1497 | +* Secondary Toolbars * |
1498 | +*********************/ |
1499 | +GtkBox .horizontal, |
1500 | +.secondary-toolbar.toolbar { |
1501 | + padding: 2px; |
1502 | + color: shade (@text_color, 0.90); |
1503 | + background-image: linear-gradient(to bottom, |
1504 | + shade (@titlebar_color, 0.84), |
1505 | + shade (@titlebar_color, 0.80) |
1506 | + ); |
1507 | + |
1508 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.05), |
1509 | + inset 0 -1px 0 0 alpha (#fff, 0.05); |
1510 | + |
1511 | + border-color: shade (@titlebar_color, 0.50); |
1512 | + |
1513 | + text-shadow: 0 1px alpha (#000, 0.4); |
1514 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1515 | +} |
1516 | + |
1517 | +.secondary-toolbar.toolbar .button { |
1518 | + border-color: alpha (#000, 0.3); |
1519 | + |
1520 | + text-shadow: 0 1px alpha (#000, 0.4); |
1521 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1522 | +} |
1523 | + |
1524 | + |
1525 | +/****************** |
1526 | +* Bottom Toolbars * |
1527 | +******************/ |
1528 | + |
1529 | +.bottom-toolbar.toolbar { |
1530 | + padding: 8px; |
1531 | + |
1532 | + border: 1px solid shade (@titlebar_color, 0.66); |
1533 | + border-width: 1px 0 0 0; |
1534 | + |
1535 | + background-image: linear-gradient(to bottom, |
1536 | + @titlebar_color, |
1537 | + shade (@titlebar_color, 0.88) |
1538 | + ); |
1539 | + |
1540 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.12), |
1541 | + inset 0 -1px 0 0 alpha (#fff, 0.05); |
1542 | +} |
1543 | + |
1544 | +.bottom-toolbar.toolbar .button { |
1545 | + padding: 2px 3px 2px 3px; |
1546 | +} |
1547 | + |
1548 | +/*************** |
1549 | + * Header Bars * |
1550 | + **************/ |
1551 | +.header-bar GtkLabel, |
1552 | +.header-bar GtkImage { |
1553 | + color: shade (@text_color, 0.90); |
1554 | +} |
1555 | + |
1556 | +.header-bar { |
1557 | + background-image: linear-gradient(to bottom, |
1558 | + shade (@titlebar_color, 1), |
1559 | + shade (@titlebar_color, 0.84) |
1560 | + ); |
1561 | + |
1562 | + border-color: shade (#000, 1.08); |
1563 | + border-radius: 3px 3px 0 0; |
1564 | + border-style: solid; |
1565 | + border-width: 0 0 1px; |
1566 | + |
1567 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.05), |
1568 | + inset 0 1px 0 0 alpha (#fff, 0.08); |
1569 | + |
1570 | + padding: 10px 6px 8px 6px; |
1571 | +} |
1572 | + |
1573 | +.header-bar:backdrop { |
1574 | + background-image: linear-gradient(to bottom, |
1575 | + shade (@titlebar_color, 1.10), |
1576 | + shade (@titlebar_color, 0.98) |
1577 | + ); |
1578 | + |
1579 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.05), |
1580 | + inset 0 1px 0 0 alpha (#fff, 0.08); |
1581 | + |
1582 | + -gtk-image-effect: dim; |
1583 | +} |
1584 | + |
1585 | + |
1586 | + |
1587 | + |
1588 | +.header-bar .button:active, |
1589 | +.header-bar .button:hover:active, |
1590 | +.header-bar .button:focus:active { |
1591 | + |
1592 | + background-color: alpha (#000, 0.10); |
1593 | + background-image: linear-gradient(to bottom, |
1594 | + alpha (@titlebar_color, 0.10), |
1595 | + alpha (@titlebar_color, 0.7) |
1596 | + ); |
1597 | + |
1598 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05); |
1599 | + |
1600 | + border: 1px solid alpha (#000, 0.22); |
1601 | + padding: 3px; |
1602 | +} |
1603 | + |
1604 | +.header-bar .button.image-button:active, |
1605 | +.header-bar .button.image-button:hover:active, |
1606 | +.header-bar .button.image-button:focus:active { |
1607 | + padding: 0; |
1608 | + background-color: alpha (#000, 0.10); |
1609 | + |
1610 | + box-shadow: inset 0 0 0 1px alpha (#000, 0.05); |
1611 | + |
1612 | + border: 1px solid alpha (#000, 0.22); |
1613 | + padding: 3px; |
1614 | +} |
1615 | + |
1616 | +.header-bar .separator { |
1617 | + color: transparent; |
1618 | +} |
1619 | + |
1620 | +.header-bar .title, |
1621 | +.header-bar .button.image-button GtkImage { |
1622 | + color: shade (@text_color, 0.90); |
1623 | + font: Bold 9; |
1624 | + text-shadow: 0 1px alpha (#000, 0.6); |
1625 | + icon-shadow: 0 1px alpha (#000, 0.6); |
1626 | +} |
1627 | + |
1628 | +.header-bar .title:backdrop, |
1629 | +.header-bar .button.image-button GtkImage:backdrop { |
1630 | + color: shade (@text_color, 0.80); |
1631 | + text-shadow: none; |
1632 | + icon-shadow: none; |
1633 | +} |
1634 | + |
1635 | +.header-bar .subtitle { |
1636 | + color: shade (@text_color, 0.80); |
1637 | + text-shadow: 0 1px alpha (#000, 0.4); |
1638 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1639 | +} |
1640 | + |
1641 | +.header-bar .subtitle:backdrop { |
1642 | + color: shade (@text_color, 0.75); |
1643 | + text-shadow: none; |
1644 | + icon-shadow: none; |
1645 | +} |
1646 | + |
1647 | +/****************** |
1648 | +* Inline Toolbars * |
1649 | +******************/ |
1650 | + |
1651 | +.inline-toolbar.toolbar { |
1652 | + -GtkToolbar-button-relief: normal; |
1653 | + |
1654 | + border-radius: 0; |
1655 | + border-width: 0 1px 1px 1px; |
1656 | + padding: 0; |
1657 | + |
1658 | + border-image: none; |
1659 | + border-color: shade (@titlebar_color, 0.70); |
1660 | + |
1661 | + background-image: linear-gradient(to bottom, |
1662 | + shade (@base_color, 0.92), |
1663 | + shade (@base_color, 0.98) |
1664 | + ); |
1665 | + |
1666 | + box-shadow: inset 0 1px 0 0 alpha (#000, 0.10), |
1667 | + inset 0 -1px 0 0 @inset_dark_color; |
1668 | +} |
1669 | + |
1670 | +GtkPaned .inline-toolbar.toolbar { |
1671 | + border-width: 1px 0 0 0; |
1672 | + /*FIXME: This should probably use alpha just in case */ |
1673 | + background-image: linear-gradient(to bottom, |
1674 | + shade (@titlebar_color, 0.92), |
1675 | + shade (@titlebar_color, 0.98) |
1676 | + ); |
1677 | +} |
1678 | + |
1679 | +.inline-toolbar.toolbar .button { |
1680 | + border-radius: 0; |
1681 | + border-width: 0 0 0 1px; |
1682 | + padding: 1px 2px 1px 2px; |
1683 | + background-image: none; |
1684 | + background-color: transparent; |
1685 | + box-shadow: none; |
1686 | + |
1687 | + text-shadow: 0 1px alpha (#000, 0.4); |
1688 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1689 | +} |
1690 | + |
1691 | +.inline-toolbar.toolbar .button:active, |
1692 | +.inline-toolbar.toolbar .button:active:hover { |
1693 | + background-color: alpha (#000, 0.05); |
1694 | + background-image: none; |
1695 | + |
1696 | + border-color: shade (@base_color, 0.74); |
1697 | +} |
1698 | + |
1699 | +.inline-toolbar.toolbar GtkToolButton:first-child .button, |
1700 | +.inline-toolbar.toolbar .button:first-child { |
1701 | + border-width: 0; |
1702 | +} |
1703 | + |
1704 | +.inline-toolbar.toolbar GtkToolButton:last-child .button, |
1705 | +.inline-toolbar.toolbar .button:last-child { |
1706 | + border-width: 0 1px 0 1px; |
1707 | + border-radius: 0 2px 2px 0; |
1708 | +} |
1709 | + |
1710 | +.inline-toolbar.toolbar .button *:insensitive, |
1711 | +.inline-toolbar.toolbar .button:insensitive { |
1712 | + background-image: none; |
1713 | + background-color: alpha (#000, 0.02); |
1714 | + color: @insensitive_color; |
1715 | +} |
1716 | + |
1717 | +/************************ |
1718 | +* Sidebar & Source List * |
1719 | +************************/ |
1720 | + |
1721 | +.sidebar, |
1722 | +.sidebar.view, |
1723 | +.sidebar .view, |
1724 | +.source-list, |
1725 | +.source-list.view { |
1726 | + background-color: #272b2f; |
1727 | + color: shade (@text_color, 0.90); |
1728 | +} |
1729 | + |
1730 | +.sidebar, |
1731 | +.sidebar.view, |
1732 | +.sidebar .view, |
1733 | +.sidebar.view:selected:backdrop, |
1734 | +.sidebar.view:prelight:selected:backdrop, |
1735 | +.source-list, |
1736 | +.source-list.view, |
1737 | +.source-list.view:selected:backdrop, |
1738 | +.source-list.view:prelight:selected:backdrop { |
1739 | + text-shadow: 0 1px alpha (#000, 0.4); |
1740 | + icon-shadow: 0 1px alpha (#000, 0.4); |
1741 | +} |
1742 | + |
1743 | +.sidebar, |
1744 | +.source-list { |
1745 | + -GtkTreeView-horizontal-separator: 1px; |
1746 | + -GtkTreeView-vertical-separator: 6px; |
1747 | +} |
1748 | + |
1749 | +.source-list.category-expander { |
1750 | + color: transparent; |
1751 | +} |
1752 | +.sidebar .view:prelight, |
1753 | +.sidebar.view:prelight, |
1754 | +.source-list.view:prelight { |
1755 | + background-color: shade (@titlebar_color, 1.10); |
1756 | +} |
1757 | + |
1758 | + |
1759 | +.sidebar .view:selected, |
1760 | +.sidebar .view:prelight:selected, |
1761 | +.sidebar.view:selected, |
1762 | +.sidebar.view:prelight:selected, |
1763 | +.source-list.view:selected, |
1764 | +.source-list.view:prelight:selected, |
1765 | +.source-list.view:focus:selected, |
1766 | +.source-list.category-expander:hover { |
1767 | + |
1768 | + color: shade (@text_color, 0.90); |
1769 | + border-style: solid; |
1770 | + border-width: 1px 0 1px 0; |
1771 | + |
1772 | + background-color: transparent; |
1773 | + background-image: linear-gradient(to bottom, |
1774 | + alpha (#000, 0.11), |
1775 | + alpha (#000, 0.07) |
1776 | + ); |
1777 | + |
1778 | + border-image: linear-gradient(to bottom, |
1779 | + alpha (#000, 0.25), |
1780 | + alpha (#fff, 0.05) |
1781 | + ) 1 1 1 1; |
1782 | + |
1783 | + box-shadow: inset 0 1px 0 0 alpha (#000, 0.03), |
1784 | + inset 0 -1px 0 0 alpha (#000, 0.10); |
1785 | +} |
1786 | +.sidebar .view:selected:backdrop, |
1787 | +.sidebar .view:prelight:selected:backdrop, |
1788 | +.sidebar.view:selected:backdrop, |
1789 | +.sidebar.view:prelight:selected:backdrop, |
1790 | +.source-list.view:selected:backdrop, |
1791 | +.source-list.view:prelight:selected:backdrop { |
1792 | + background-image: linear-gradient(to bottom, |
1793 | + alpha (#000, 0.08), |
1794 | + alpha (#000, 0.04) |
1795 | + ); |
1796 | + |
1797 | + border-image: linear-gradient(to bottom, |
1798 | + alpha (#000, 0.19), |
1799 | + alpha (#fff, 0.10) |
1800 | + ) 1 1 1 1; |
1801 | +} |
1802 | + |
1803 | +.sidebar-pane-separator, |
1804 | +.sidebar-pane-separator:prelight, |
1805 | +.sidebar-pane-separator:selected { |
1806 | + |
1807 | + border-width: 0; |
1808 | + -GtkPaned-handle-size: 1; |
1809 | + background-image: none; |
1810 | + background-color: shade (@titlebar_color, 0.75); |
1811 | +} |
1812 | + |
1813 | +.source-list.badge, |
1814 | +.source-list.badge:prelight, |
1815 | +.source-list.badge:selected, |
1816 | +.source-list.badge:prelight:selected { |
1817 | + background-image: none; |
1818 | + background-color: alpha (#fff, 0.4); |
1819 | + color: @titlebar_color; |
1820 | + border-radius: 10px; |
1821 | + padding: 0 6px; |
1822 | + margin: 0 3px; |
1823 | + text-shadow: 0 1px alpha (#000, 0.1); |
1824 | + icon-shadow: 0 1px alpha (#000, 0.1); |
1825 | + border-width: 0; |
1826 | +} |
1827 | + |
1828 | +.source-list.badge:selected, |
1829 | +.source-list.badge:prelight:selected { |
1830 | + color: @titlebar_color; |
1831 | +} |
1832 | + |
1833 | +.source-list.badge:selected:backdrop, |
1834 | +.source-list.badge:selected:prelight:backdrop { |
1835 | + background-image: none; |
1836 | + background-color: alpha (#000, 0.2); |
1837 | + color: shade (@titlebar_color, 0.95); |
1838 | + text-shadow: 0 1px alpha (#000, 0.1); |
1839 | + icon-shadow: 0 1px alpha (#000, 0.1); |
1840 | +} |
1841 | + |
1842 | +/************************** |
1843 | +* Suggested Action Button * |
1844 | +**************************/ |
1845 | + |
1846 | +.suggested-action.button { |
1847 | + |
1848 | + background-image: linear-gradient(to bottom, |
1849 | + shade (@selected_bg_color, 1.30), |
1850 | + @selected_bg_color |
1851 | + ); |
1852 | + |
1853 | + border-color: shade (@selected_bg_color, 0.90); |
1854 | +} |
1855 | + |
1856 | +.suggested-action.button:insensitive { |
1857 | + border-color: alpha (#000, 0.20); |
1858 | +} |
1859 | + |
1860 | +.suggested-action.button GtkLabel, |
1861 | +.suggested-action.button GtkLabel:prelight { |
1862 | + color: @selected_fg_color; |
1863 | + text-shadow: 0 1px alpha (#000, 0.3); |
1864 | + icon-shadow: 0 1px alpha (#000, 0.3); |
1865 | +} |
1866 | + |
1867 | +.suggested-action.button GtkLabel:insensitive { |
1868 | + text-shadow: 0 1px alpha (#fff, 0.3); |
1869 | + icon-shadow: 0 1px alpha (#fff, 0.3); |
1870 | +} |
1871 | + |
1872 | +.suggested-action.button:active, |
1873 | +.suggested-action.button:active:hover { |
1874 | + background-image: linear-gradient(to bottom, |
1875 | + shade (@selected_bg_color, 1.20), |
1876 | + @selected_bg_color |
1877 | + ); |
1878 | + |
1879 | + border-color: shade (@selected_bg_color, 0.85); |
1880 | +} |
1881 | + |
1882 | +/**************************** |
1883 | +* Destructive Action Button * |
1884 | +****************************/ |
1885 | + |
1886 | +/* FIXME: change hex values to variables */ |
1887 | + |
1888 | +.destructive-action.button { |
1889 | + background-image: linear-gradient(to bottom, |
1890 | + #f67564, |
1891 | + #cc3443 |
1892 | + ); |
1893 | + border-color: #a2302e; |
1894 | +} |
1895 | + |
1896 | +.destructive-action.button GtkLabel, |
1897 | +.destructive-action.button Gtklabel:prelight { |
1898 | + color: @selected_fg_color; |
1899 | + text-shadow: 0 1px alpha (#000, 0.2); |
1900 | + icon-shadow: 0 1px alpha (#000, 0.2); |
1901 | +} |
1902 | + |
1903 | +/*************** |
1904 | +* GtkAssistant * |
1905 | +***************/ |
1906 | + |
1907 | +GtkAssistant .sidebar .highlight { |
1908 | + color: @fg_color; |
1909 | + font: bold; |
1910 | +} |
1911 | + |
1912 | +GtkAssistant .sidebar { |
1913 | + background-color: shade (@bg_color, 0.97); |
1914 | + border-color: shade (@bg_color, 0.8); |
1915 | + border-style: solid; |
1916 | + border-width: 1px 1px 0 0; |
1917 | + color: mix (@fg_color, @bg_color, 0.40); |
1918 | + padding: 12px; |
1919 | + text-shadow: 0 1px shade (@bg_color, 1.04); |
1920 | +} |
1921 | + |
1922 | +/************* |
1923 | + * GtkSwitch * |
1924 | + *************/ |
1925 | + |
1926 | +GtkSwitch { |
1927 | + font: 1; |
1928 | + -GtkSwitch-slider-width: 38; |
1929 | +} |
1930 | + |
1931 | +GtkSwitch.trough { |
1932 | + background-image: url("assets/switch-off.svg"); |
1933 | + background-repeat: no-repeat; |
1934 | + background-position: 0 center; |
1935 | + |
1936 | + color: transparent; |
1937 | +} |
1938 | + |
1939 | +GtkSwitch.trough:active { |
1940 | + background-image: url("assets/switch-on.svg"); |
1941 | +} |
1942 | + |
1943 | +GtkSwitch.trough:insensitive { |
1944 | + background-image: url("assets/switch-off-disabled.svg"); |
1945 | +} |
1946 | + |
1947 | +GtkSwitch.trough:active:insensitive { |
1948 | + background-image: url("assets/switch-on-disabled.svg"); |
1949 | +} |
1950 | + |
1951 | +GtkSwitch.slider { |
1952 | + background-image: url("assets/switch-slider.svg"); |
1953 | + background-repeat: no-repeat; |
1954 | + background-position: 0 center; |
1955 | +} |
1956 | + |
1957 | +GtkSwitch.slider:focus { |
1958 | + background-image: url("assets/switch-slider-focus.svg"); |
1959 | + |
1960 | +} |
1961 | + |
1962 | +GtkSwitch.slider:insensitive { |
1963 | + background-image: none; |
1964 | + background-color: transparent; |
1965 | +} |
1966 | + |
1967 | +/********************** |
1968 | +* Tree and Icon Views * |
1969 | +**********************/ |
1970 | + |
1971 | +GtkTreeView { |
1972 | + -GtkTreeView-vertical-separator: 5px; |
1973 | + -GtkTreeView-horizontal-separator: 6px; |
1974 | + -GtkTreeView-expander-size: 8px; |
1975 | + -GtkTreeView-grid-line-pattern: "\000\000"; |
1976 | +} |
1977 | + |
1978 | +GtkTreeView row:nth-child(even) { |
1979 | + background-color: @base_color; |
1980 | +} |
1981 | + |
1982 | +GtkTreeView row:nth-child(odd) { |
1983 | + background-color: @bg_color; |
1984 | +} |
1985 | + |
1986 | +GtkTreeView .entry { |
1987 | + border-radius: 0; |
1988 | +} |
1989 | + |
1990 | +GtkIconView.view.cell:selected, |
1991 | +GtkIconView.view.cell:selected:focus { |
1992 | + background-color: alpha (#000, 0.18); |
1993 | + border-color: shade (@base_color, 0.74); |
1994 | + border-radius: 4px; |
1995 | + color: @text_color; |
1996 | + box-shadow: inset 0 0 0 1px @inset_dark_color; |
1997 | +} |
1998 | + |
1999 | +.view { |
2000 | + background-color: @base_color; |
2001 | +} |
2002 | + |
2003 | +.view:selected { |
2004 | + background-color: shade (@base_color, 0.80); |
2005 | + color: @text_color; |
2006 | +} |
2007 | + |
2008 | +.view:selected:focus { |
2009 | + background-color: @selected_bg_color; |
2010 | + color: @selected_fg_color; |
2011 | +} |
2012 | + |
2013 | +.cell { |
2014 | + color: @text_color; |
2015 | +} |
2016 | + |
2017 | +.cell:selected, |
2018 | +.cell:selected:focus { |
2019 | + background-color: @selected_bg_color; |
2020 | + color: @selected_fg_color; |
2021 | +} |
2022 | + |
2023 | +.cell { |
2024 | + border-width: 0px; |
2025 | +} |
2026 | + |
2027 | +/********************** |
2028 | + * Column Headers * |
2029 | + *********************/ |
2030 | + |
2031 | +column-header .button, |
2032 | +.content-view column-header .button { |
2033 | + border-radius: 0; |
2034 | +} |
2035 | + |
2036 | +column-header:nth-child(first) .button, |
2037 | +.content-view column-header:nth-child(first) .button { |
2038 | + border-width: 0 0 1px 0; |
2039 | +} |
2040 | + |
2041 | +column-header .button { |
2042 | + background-image: linear-gradient(to bottom, |
2043 | + shade ( @titlebar_color, 0.88), |
2044 | + @titlebar_color |
2045 | + ); |
2046 | + |
2047 | + border-image: linear-gradient(to bottom, |
2048 | + shade ( @titlebar_color, 0.88), |
2049 | + shade ( @titlebar_color, 0.70) |
2050 | + ) 0 0 1 1; |
2051 | + border-width: 0 0 1px 1px; |
2052 | + font: bold; |
2053 | + padding: 4px 2px 4px 2px; |
2054 | +} |
2055 | + |
2056 | +column-header .button:hover { |
2057 | + background-image: linear-gradient(to bottom, |
2058 | + shade ( @titlebar_color, 0.80), |
2059 | + @titlebar_color |
2060 | + ); |
2061 | +} |
2062 | + |
2063 | +/*********** |
2064 | +* Expander * |
2065 | +***********/ |
2066 | + |
2067 | +.expander { |
2068 | + color: @fg_color; |
2069 | +} |
2070 | + |
2071 | +.expander row:selected, |
2072 | +.expander row:selected:focus { |
2073 | + color: @selected_fg_color; |
2074 | +} |
2075 | + |
2076 | +/************* |
2077 | +* List Boxes * |
2078 | +*************/ |
2079 | + |
2080 | +EggListBox { |
2081 | + background-color: @base_color; |
2082 | +} |
2083 | + |
2084 | +.list { |
2085 | + background-color: @base_color; |
2086 | +} |
2087 | + |
2088 | +.list-row:selected { |
2089 | + background-color: @selected_bg_color; |
2090 | +} |
2091 | + |
2092 | +/*************** |
2093 | +* Content View * |
2094 | +***************/ |
2095 | + |
2096 | +.content-view-window { |
2097 | + background-image: none; |
2098 | + border: 1px solid alpha (#000, 0.8); |
2099 | +} |
2100 | + |
2101 | +.content-view, |
2102 | +.content-view GtkViewport { |
2103 | + background-color: @base_color; |
2104 | + |
2105 | +} |
2106 | + |
2107 | +.content-view column-header .button { |
2108 | + border-width: 0 0 1px 1px; |
2109 | + |
2110 | + background-image: linear-gradient(to bottom, |
2111 | + @bg_color, |
2112 | + shade (@bg_color, 0.94) |
2113 | + ); |
2114 | + |
2115 | + border-image: linear-gradient(to bottom, |
2116 | + shade (@base_color, 0.86), |
2117 | + shade (@base_color, 0.70) |
2118 | + ) 1 0 1 0; |
2119 | +} |
2120 | + |
2121 | +.content-view .title, |
2122 | +.content-view .option-title { |
2123 | + color: @text_color; |
2124 | + text-shadow: 0 1px alpha (#000, 0.3); |
2125 | +} |
2126 | + |
2127 | +.content-view .subtitle, |
2128 | +.content-view .option-description { |
2129 | + color: alpha (@text_color, 0.5); |
2130 | + text-shadow: 0 1px alpha (#000, 0.4); |
2131 | +} |
2132 | + |
2133 | +.content-view .toolbar { |
2134 | + padding: 1px; |
2135 | + |
2136 | + background-image: linear-gradient(to bottom, |
2137 | + alpha (#000, 0.10), |
2138 | + alpha (#000, 0.03) |
2139 | + ); |
2140 | + |
2141 | + border-color: alpha (#000, 0.05); |
2142 | +} |
2143 | + |
2144 | +/************** |
2145 | +* GtkCalendar * |
2146 | +**************/ |
2147 | + |
2148 | +GtkCalendar { |
2149 | + border-radius: 2px; |
2150 | +} |
2151 | + |
2152 | +GtkCalendar.button, |
2153 | +GtkCalendar.button:insensitive, |
2154 | +GtkCalendar.header, |
2155 | +GtkCalendar.view { |
2156 | + background-color: transparent; |
2157 | + background-image: none; |
2158 | +} |
2159 | + |
2160 | +.highlight, |
2161 | +GtkCalendar.highlight { |
2162 | + color: #777; |
2163 | +} |
2164 | + |
2165 | +/************* |
2166 | +* GtkInfoBar * |
2167 | +*************/ |
2168 | + |
2169 | +.info, |
2170 | +.question, |
2171 | +.warning, |
2172 | +.error { |
2173 | + border-style: solid; |
2174 | + border-width: 0 0 1px 0; |
2175 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.30), |
2176 | + inset 0 -1px 0 0 alpha (#fff, 0.06); |
2177 | +} |
2178 | + |
2179 | +.info { |
2180 | + box-shadow: inset 0 1px 0 0 alpha (#fff, 0.15), |
2181 | + inset 0 -1px 0 0 alpha (#fff, 0.03); |
2182 | +} |
2183 | + |
2184 | +.info GtkLabel { |
2185 | + color: @text_color; |
2186 | +} |
2187 | + |
2188 | +.question { |
2189 | + background-image: linear-gradient(to bottom, |
2190 | + #55c1ec, |
2191 | + #44a2e9 |
2192 | + ); |
2193 | + border-color: #357fb8; |
2194 | +} |
2195 | + |
2196 | +.question GtkLabel { |
2197 | + color: #004166; |
2198 | +} |
2199 | + |
2200 | +.warning { |
2201 | + background-image: linear-gradient(to bottom, |
2202 | + #fdde76, |
2203 | + #fbd058 |
2204 | + ); |
2205 | + border-color: #c09e42; |
2206 | +} |
2207 | + |
2208 | +.warning GtkLabel { |
2209 | + color: #664e00; |
2210 | +} |
2211 | + |
2212 | +.error { |
2213 | + background-image: linear-gradient(to bottom, |
2214 | + #e35d4f, |
2215 | + #d33f3d |
2216 | + ); |
2217 | + border-color: #a2302e; |
2218 | +} |
2219 | + |
2220 | +.error GtkLabel { |
2221 | + color: #660000; |
2222 | +} |
2223 | + |
2224 | +GtkInfoBar GtkLabel { |
2225 | + icon-shadow: 0 1px alpha (#fff, 0.3); |
2226 | + text-shadow: 0 1px alpha (#fff, 0.3); |
2227 | +} |
2228 | + |
2229 | +GtkInfoBar .entry, |
2230 | +GtkInfoBar .menu { |
2231 | + color: @text_color; |
2232 | +} |
2233 | + |
2234 | + |
2235 | +GtkInfoBar GtkLabel:insensitive { |
2236 | + color: @insensitive_color; |
2237 | + |
2238 | +} |
2239 | + |
2240 | +GtkInfoBar .button, |
2241 | +GtkInfoBar .button:focus, |
2242 | +.dynamic-notebook GtkInfoBar .button { |
2243 | + |
2244 | + text-shadow: none; |
2245 | + icon-shadow: none; |
2246 | + |
2247 | + background-image: none; |
2248 | + background-color: transparent; |
2249 | + |
2250 | + border: 1px solid alpha (#000, 0.3); |
2251 | + |
2252 | + box-shadow: inset 0 0 0 1px alpha (#fff, 0.05), |
2253 | + inset 0 1px 0 0 alpha (#fff, 0.45), |
2254 | + inset 0 -1px 0 0 alpha (#fff, 0.15), |
2255 | + 0 1px 0 1px alpha (#fff, 0.15); |
2256 | +} |
2257 | + |
2258 | +GtkInfoBar .button:active, |
2259 | +GtkInfoBar .button:hover:active { |
2260 | + background-image: none; |
2261 | + background-color: alpha (#000, 0.05); |
2262 | + border-color: alpha (#000, 0.35); |
2263 | +} |
2264 | + |
2265 | +GtkInfoBar .button:insensitive, |
2266 | +GtkInfoBar .button:hover:insensitive { |
2267 | + background-image: none; |
2268 | + background-color: transparent; |
2269 | + |
2270 | + border-color: alpha (#000, 0.18); |
2271 | +} |
2272 | + |
2273 | +/******* |
2274 | + * CSD * |
2275 | + ******/ |
2276 | + |
2277 | +.titlebar { |
2278 | + background-image: linear-gradient(to bottom, |
2279 | + shade (@titlebar_color, 1.1), |
2280 | + shade (@titlebar_color, 0.8) |
2281 | + ); |
2282 | + |
2283 | + text-shadow: 0 1px alpha (#000, 0.4); |
2284 | + icon-shadow: 0 1px alpha (#000, 0.4); |
2285 | +} |
2286 | + |
2287 | +.titlebar .title { |
2288 | + font: Bold 9; |
2289 | +} |
2290 | + |
2291 | + |
2292 | +.titlebar .titlebutton { |
2293 | + icon-shadow: 0px 1px alpha (#000, 0.4); |
2294 | + color: alpha (#fff, 0.50); |
2295 | + background: none; |
2296 | + padding: 3px; |
2297 | + |
2298 | + border-radius: 3px; |
2299 | + border-width: 1px 1px 2px 1px; |
2300 | + border-color: transparent; |
2301 | + border-style: solid; |
2302 | + border-image: none; |
2303 | +} |
2304 | + |
2305 | +.titlebar .titlebutton:backdrop { |
2306 | + color: alpha (#000, 0.30); |
2307 | +} |
2308 | + |
2309 | +.window-frame { |
2310 | + border-radius: 4px 4px 0 0; |
2311 | + |
2312 | + box-shadow: 0 0 0 1px alpha (#000, 0.8), |
2313 | + 0 3px 7px alpha (#000, 0.86); |
2314 | + |
2315 | + margin: 12px; |
2316 | +} |
2317 | + |
2318 | +.window-frame:backdrop { |
2319 | + box-shadow: 0 0 0 1px alpha (#000, 0.8), |
2320 | + 0 2px 5px alpha (#000, 0.58); |
2321 | +} |
2322 | + |
2323 | +/************** |
2324 | +* Text Styles * |
2325 | +**************/ |
2326 | + |
2327 | +.h1 { font: open sans bold 24; } |
2328 | +.h2 { font: open sans light 18; } |
2329 | +.h3 { font: open sans bold 12; } |
2330 | + |
2331 | +@import url("granite-widgets-dark.css"); |
2332 | +@import url("apps.css"); |
2333 | \ No newline at end of file |
2334 | |
2335 | === modified file 'gtk-3.0/gtk-widgets.css' |
2336 | --- gtk-3.0/gtk-widgets.css 2014-02-09 08:08:30 +0000 |
2337 | +++ gtk-3.0/gtk-widgets.css 2014-02-09 08:49:06 +0000 |
2338 | @@ -1169,6 +1169,7 @@ |
2339 | .scrollbar.trough { |
2340 | background-image: none; |
2341 | background-color: transparent; |
2342 | + background-image: none; |
2343 | border-width: 0; |
2344 | border-radius: 0; |
2345 | border-image: none; |
2346 | @@ -2095,10 +2096,14 @@ |
2347 | |
2348 | .info { |
2349 | background-image: linear-gradient(to bottom, |
2350 | - #fafafa, |
2351 | - #f6f6f6 |
2352 | + shade (@bg_color, 1.01), |
2353 | + shade (@bg_color, 0.97) |
2354 | ); |
2355 | - border-color: #c3c3c3; |
2356 | + |
2357 | + box-shadow: inset 0 1px 0 0 #fff, |
2358 | + inset 0 -1px 0 0 alpha (#fff, 0.4); |
2359 | + |
2360 | + border-color: shade (@bg_color, 0.8); |
2361 | } |
2362 | |
2363 | .info GtkLabel { |
2364 | |
2365 | === modified file 'gtk-3.0/gtk.css' |
2366 | --- gtk-3.0/gtk.css 2014-01-19 19:05:11 +0000 |
2367 | +++ gtk-3.0/gtk.css 2014-02-09 08:49:06 +0000 |
2368 | @@ -54,6 +54,7 @@ |
2369 | @define-color warning_color #f57900; |
2370 | @define-color error_color #cc0000; |
2371 | @define-color success_color #4e9a06; |
2372 | +@define-color metacity_color #dedede; |
2373 | |
2374 | @define-color info_fg_color rgb (0, 136, 204); |
2375 | @define-color info_bg_color rgb (252, 252, 189); |
2376 | |
2377 | === modified file 'metacity-1/close.svg' |
2378 | --- metacity-1/close.svg 2013-06-04 04:15:55 +0000 |
2379 | +++ metacity-1/close.svg 2014-02-09 08:49:06 +0000 |
2380 | @@ -14,8 +14,8 @@ |
2381 | width="18" |
2382 | height="16" |
2383 | id="svg2" |
2384 | - inkscape:version="0.48.3.1 r9886" |
2385 | - sodipodi:docname="close-normal.svg"> |
2386 | + inkscape:version="0.48.4 r9939" |
2387 | + sodipodi:docname="close.svg"> |
2388 | <sodipodi:namedview |
2389 | pagecolor="#ffffff" |
2390 | bordercolor="#666666" |
2391 | @@ -25,7 +25,7 @@ |
2392 | guidetolerance="10" |
2393 | inkscape:pageopacity="0" |
2394 | inkscape:pageshadow="2" |
2395 | - inkscape:window-width="669" |
2396 | + inkscape:window-width="677" |
2397 | inkscape:window-height="480" |
2398 | id="namedview32" |
2399 | showgrid="false" |
2400 | @@ -181,11 +181,7 @@ |
2401 | gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,-18.87868,-10.43503)" /> |
2402 | </defs> |
2403 | <path |
2404 | - d="M 8.9701822,7.555969 11.5,5 13,6.5 10.401435,8.987221 13,11.5 11.5,13 8.987221,10.401435 6.5,13 5,11.5 7.5857864,9 5,6.5 6.5,5 8.9701822,7.555969 z" |
2405 | - id="path2398" |
2406 | - style="opacity:0.6;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
2407 | - <path |
2408 | d="M 8.9701822,6.5559687 11.5,4 13,5.5 10.401435,7.987221 13,10.5 11.5,12 8.987221,9.401435 6.5,12 5,10.5 7.5857864,8 5,5.5 6.5,4 8.9701822,6.5559687 z" |
2409 | id="path2386" |
2410 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient6693-5);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
2411 | + style="opacity:1;color:#bebebe;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
2412 | </svg> |
2413 | |
2414 | === modified file 'metacity-1/maximize.svg' |
2415 | --- metacity-1/maximize.svg 2013-06-04 04:15:55 +0000 |
2416 | +++ metacity-1/maximize.svg 2014-02-09 08:49:06 +0000 |
2417 | @@ -7,7 +7,6 @@ |
2418 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
2419 | xmlns:svg="http://www.w3.org/2000/svg" |
2420 | xmlns="http://www.w3.org/2000/svg" |
2421 | - xmlns:xlink="http://www.w3.org/1999/xlink" |
2422 | xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
2423 | xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" |
2424 | version="1.0" |
2425 | @@ -15,8 +14,8 @@ |
2426 | height="16" |
2427 | id="svg2747" |
2428 | sodipodi:version="0.32" |
2429 | - inkscape:version="0.48.3.1 r9886" |
2430 | - sodipodi:docname="maximize-normal.svg" |
2431 | + inkscape:version="0.48.4 r9939" |
2432 | + sodipodi:docname="maximize.svg" |
2433 | inkscape:output_extension="org.inkscape.output.svg.inkscape"> |
2434 | <metadata |
2435 | id="metadata9"> |
2436 | @@ -31,8 +30,8 @@ |
2437 | </rdf:RDF> |
2438 | </metadata> |
2439 | <sodipodi:namedview |
2440 | - inkscape:window-height="430" |
2441 | - inkscape:window-width="669" |
2442 | + inkscape:window-height="446" |
2443 | + inkscape:window-width="677" |
2444 | inkscape:pageshadow="2" |
2445 | inkscape:pageopacity="0" |
2446 | guidetolerance="10.0" |
2447 | @@ -86,26 +85,6 @@ |
2448 | style="stop-color:#646464;stop-opacity:1" |
2449 | id="stop3591-7-4-3-0" /> |
2450 | </linearGradient> |
2451 | - <linearGradient |
2452 | - inkscape:collect="always" |
2453 | - xlink:href="#linearGradient3587-6-5-1-5" |
2454 | - id="linearGradient6693" |
2455 | - gradientUnits="userSpaceOnUse" |
2456 | - gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,-9.87868,-7.4350298)" |
2457 | - x1="19.490692" |
2458 | - y1="-4.321744" |
2459 | - x2="22.886868" |
2460 | - y2="-0.92556846" /> |
2461 | - <linearGradient |
2462 | - inkscape:collect="always" |
2463 | - xlink:href="#linearGradient3587-6-5-1-5" |
2464 | - id="linearGradient6695" |
2465 | - gradientUnits="userSpaceOnUse" |
2466 | - gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,-9.87868,-7.4350298)" |
2467 | - x1="22.863201" |
2468 | - y1="-0.94923496" |
2469 | - x2="26.23391" |
2470 | - y2="2.4214737" /> |
2471 | </defs> |
2472 | <text |
2473 | id="text4087-2-6-5" |
2474 | @@ -139,20 +118,9 @@ |
2475 | x="531" |
2476 | y="299" /></flowRegion><flowPara |
2477 | id="flowPara38704" /></flowRoot> <path |
2478 | - inkscape:connector-curvature="0" |
2479 | - style="opacity:0.6;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible" |
2480 | - d="m 9,4.0000002 1.78125,1.78125 -1.5,1.5 L 9,7.5625002 10.4375,9 l 0.28125,-0.2812498 1.5,-1.5 L 14,9 l 0,-4.9999998 -5,0 z M 4,9 4,14 9,14 7.1875,12.1875 8.40625,11 9,10.4375 7.59375,9 7,9.59375 5.8125,10.8125 4,9 z" |
2481 | - id="path2394-5" /> |
2482 | - <path |
2483 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient6693);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2484 | - d="m 9,3.0000002 1.78125,1.78125 -1.5,1.5 L 9,6.5625002 l 1.4375,1.4375 0.28125,-0.28125 1.5,-1.5 1.78125,1.78125 0,-5 -5,0 z" |
2485 | - id="path6691" |
2486 | - inkscape:connector-curvature="0" /> |
2487 | - <path |
2488 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient6695);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2489 | - d="M 4,8.0000002 4,13 9,13 7.1875,11.1875 8.40625,10 9,9.4375 7.59375,8.0000002 7,8.5937502 5.8125,9.8125 4,8.0000002 z" |
2490 | - id="path2394" |
2491 | - inkscape:connector-curvature="0" /> |
2492 | + style="opacity:1;color:#bebebe;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2493 | + d="M 9 3 L 10.78125 4.78125 L 9.28125 6.28125 L 9 6.5625 L 10.4375 8 L 10.71875 7.71875 L 12.21875 6.21875 L 14 8 L 14 3 L 9 3 z M 4 8 L 4 13 L 9 13 L 7.1875 11.1875 L 8.40625 10 L 9 9.4375 L 7.59375 8 L 7 8.59375 L 5.8125 9.8125 L 4 8 z " |
2494 | + id="path6691" /> |
2495 | <text |
2496 | id="text4087-2-6-5-1" |
2497 | y="7.7151051" |
2498 | |
2499 | === modified file 'metacity-1/metacity-theme-3.xml' |
2500 | --- metacity-1/metacity-theme-3.xml 2014-01-24 05:43:57 +0000 |
2501 | +++ metacity-1/metacity-theme-3.xml 2014-02-09 08:49:06 +0000 |
2502 | @@ -10,7 +10,9 @@ |
2503 | |
2504 | <!-- :: CONSTANTS :: --> |
2505 | |
2506 | -<constant name="C_border_focused" value="shade/#DEDEDE/0.50" /> |
2507 | +<constant name="C_border_focused" value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/0.5" /> |
2508 | +<constant name="C_highlight_color" value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1.4" /> |
2509 | +<constant name="C_text_color" value="shade/gtk:custom(text_color,gtk:bg[NORMAL])/1" /> |
2510 | |
2511 | <!-- :: GEOMETRIES :: --> |
2512 | |
2513 | @@ -77,9 +79,9 @@ |
2514 | </draw_ops> |
2515 | |
2516 | <draw_ops name="rounded_hilight"> |
2517 | - <line color="shade/#DEDEDE/1.14" x1="5" y1="1" x2="width-6" y2="1" /> |
2518 | - <arc color="shade/#DEDEDE/1.14" x="1" y="1" width="7" height="7" start_angle="270" extent_angle="90" /> |
2519 | - <arc color="shade/#DEDEDE/1.14" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" /> |
2520 | + <line color="C_highlight_color" x1="5" y1="1" x2="width-6" y2="1" /> |
2521 | + <arc color="C_highlight_color" x="1" y="1" width="7" height="7" start_angle="270" extent_angle="90" /> |
2522 | + <arc color="C_highlight_color" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" /> |
2523 | </draw_ops> |
2524 | |
2525 | |
2526 | @@ -114,49 +116,50 @@ |
2527 | <!-- ::: TITLES ::: --> |
2528 | |
2529 | <draw_ops name="title_focused"> |
2530 | - <title color="shade/#DEDEDE/1.30" x="((width - title_width) / 2) `max` 0" y="1 `max` ((height-title_height)/2)+1"/> |
2531 | + <title color="shade/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/1.30" x="((width - title_width) / 2) `max` 0" y="1 `max` ((height-title_height)/2)+1"/> |
2532 | <title color="shade/gtk:text[NORMAL]/2.00" x="((width - title_width) / 2) `max` 0" y="0 `max` ((height-title_height)/2)"/> |
2533 | </draw_ops> |
2534 | |
2535 | <draw_ops name="title_unfocused"> |
2536 | - <title color="shade/#DEDEDE/1.15" x="((width - title_width) / 2) `max` 0" y="1 `max` ((height-title_height)/2)+1"/> |
2537 | + <title color="shade/gtk:custom(theme_bg_color,gtk:bg[NORMAL])/1.15" x="((width - title_width) / 2) `max` 0" y="1 `max` ((height-title_height)/2)+1"/> |
2538 | <title color="shade/gtk:text[NORMAL]/2.50" x="((width - title_width) / 2) `max` 0" y="0 `max` ((height-title_height)/2)"/> |
2539 | </draw_ops> |
2540 | |
2541 | <!-- ::: TITLEBAR ::: --> |
2542 | |
2543 | <draw_ops name="entire_background_focused"> |
2544 | - <rectangle color="#DEDEDE" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2545 | -</draw_ops> |
2546 | + <rectangle color="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2547 | + |
2548 | +</draw_ops> |
2549 | |
2550 | <draw_ops name="entire_background_unfocused"> |
2551 | - <rectangle color="shade/#DEDEDE/1.06" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2552 | + <rectangle color="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2553 | </draw_ops> |
2554 | |
2555 | <draw_ops name="dialog_background_focused"> |
2556 | - <rectangle color="shade/#fff/0.96" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2557 | + <rectangle color="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1" x="1" y="5" width="width-2" height="height-6" filled="true" /> |
2558 | </draw_ops> |
2559 | |
2560 | <draw_ops name="titlebar_fill_focused"> |
2561 | - <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> |
2562 | - <color value="shade/#DEDEDE/1.04"/> |
2563 | - <color value="shade/#DEDEDE/1.0"/> |
2564 | + <gradient type="vertical" x="0" y="0" width="width" height="top_height"> |
2565 | + <color value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1"/> |
2566 | + <color value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1"/> |
2567 | </gradient> |
2568 | </draw_ops> |
2569 | |
2570 | <draw_ops name="dialog_titlebar_fill_focused"> |
2571 | - <rectangle color="shade/#fff/0.96" x="1" y="1" width="width-2" height="height-2" filled="true" /> |
2572 | + <rectangle color="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1" x="1" y="1" width="width-2" height="height-2" filled="true" /> |
2573 | </draw_ops> |
2574 | |
2575 | <draw_ops name="titlebar_fill_unfocused"> |
2576 | <gradient type="vertical" x="1" y="1" width="width-2" height="height-2"> |
2577 | - <color value="shade/#DEDEDE/1.10"/> |
2578 | - <color value="shade/#DEDEDE/1.06"/> |
2579 | + <color value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1"/> |
2580 | + <color value="shade/gtk:custom(metacity_color,gtk:bg[NORMAL])/1"/> |
2581 | </gradient> |
2582 | </draw_ops> |
2583 | |
2584 | <draw_ops name="hilight"> |
2585 | - <line color="shade/#DEDEDE/1.14" x1="0" y1="0" x2="width-1" y2="0" /> |
2586 | + <line color="C_highlight_color" x1="0" y1="0" x2="width-1" y2="0" /> |
2587 | </draw_ops> |
2588 | |
2589 | <draw_ops name="titlebar_focused"> |
2590 | @@ -200,7 +203,8 @@ |
2591 | x="(width - object_width) / 2" |
2592 | y="(height - object_height) / 2" |
2593 | width="object_width" |
2594 | - height="object_height"/> |
2595 | + height="object_height" |
2596 | + colorize="C_text_color" /> |
2597 | </draw_ops> |
2598 | |
2599 | <draw_ops name="close_hover"> |
2600 | @@ -219,7 +223,8 @@ |
2601 | y="(height - object_height) / 2" |
2602 | width="object_width" |
2603 | height="object_height" |
2604 | - alpha="0.6"/> |
2605 | + alpha="0.6" |
2606 | + colorize="C_text_color" /> |
2607 | </draw_ops> |
2608 | |
2609 | <draw_ops name="close_unfocused_hover"> |
2610 | @@ -239,7 +244,8 @@ |
2611 | x="(width - object_width) / 2" |
2612 | y="(height - object_height) / 2" |
2613 | width="object_width" |
2614 | - height="object_height"/> |
2615 | + height="object_height" |
2616 | + colorize="C_text_color" /> |
2617 | </draw_ops> |
2618 | |
2619 | <draw_ops name="maximize_hover"> |
2620 | @@ -258,7 +264,8 @@ |
2621 | y="(height - object_height) / 2" |
2622 | width="object_width" |
2623 | height="object_height" |
2624 | - alpha="0.6"/> |
2625 | + alpha="0.6" |
2626 | + colorize="C_text_color" /> |
2627 | </draw_ops> |
2628 | |
2629 | <draw_ops name="maximize_unfocused_hover"> |
2630 | @@ -278,7 +285,8 @@ |
2631 | x="(width - object_width) / 2" |
2632 | y="(height - object_height) / 2" |
2633 | width="object_width" |
2634 | - height="object_height"/> |
2635 | + height="object_height" |
2636 | + colorize="C_text_color" /> |
2637 | </draw_ops> |
2638 | |
2639 | <draw_ops name="unmaximize_hover"> |
2640 | @@ -297,7 +305,8 @@ |
2641 | y="(height - object_height) / 2" |
2642 | width="object_width" |
2643 | height="object_height" |
2644 | - alpha="0.6"/> |
2645 | + alpha="0.6" |
2646 | + colorize="C_text_color" /> |
2647 | </draw_ops> |
2648 | |
2649 | <draw_ops name="unmaximize_unfocused_hover"> |
2650 | @@ -317,7 +326,8 @@ |
2651 | x="(width - object_width) / 2" |
2652 | y="(height - object_height) / 2" |
2653 | width="object_width" |
2654 | - height="object_height"/> |
2655 | + height="object_height" |
2656 | + colorize="C_text_color" /> |
2657 | </draw_ops> |
2658 | |
2659 | <draw_ops name="minimize_hover"> |
2660 | @@ -336,7 +346,8 @@ |
2661 | y="(height - object_height) / 2" |
2662 | width="object_width" |
2663 | height="object_height" |
2664 | - alpha="0.6"/> |
2665 | + alpha="0.6" |
2666 | + colorize="C_text_color" /> |
2667 | </draw_ops> |
2668 | |
2669 | <draw_ops name="minimize_unfocused_hover"> |
2670 | |
2671 | === modified file 'metacity-1/minimize.svg' |
2672 | --- metacity-1/minimize.svg 2013-06-04 04:15:55 +0000 |
2673 | +++ metacity-1/minimize.svg 2014-02-09 08:49:06 +0000 |
2674 | @@ -15,8 +15,8 @@ |
2675 | height="16" |
2676 | id="svg2" |
2677 | sodipodi:version="0.32" |
2678 | - inkscape:version="0.48.3.1 r9886" |
2679 | - sodipodi:docname="minimize-normal.svg" |
2680 | + inkscape:version="0.48.4 r9939" |
2681 | + sodipodi:docname="minimize.svg" |
2682 | inkscape:output_extension="org.inkscape.output.svg.inkscape"> |
2683 | <metadata |
2684 | id="metadata11"> |
2685 | @@ -31,7 +31,7 @@ |
2686 | </rdf:RDF> |
2687 | </metadata> |
2688 | <sodipodi:namedview |
2689 | - inkscape:window-height="752" |
2690 | + inkscape:window-height="747" |
2691 | inkscape:window-width="1280" |
2692 | inkscape:pageshadow="2" |
2693 | inkscape:pageopacity="0.0" |
2694 | @@ -46,10 +46,10 @@ |
2695 | showguides="false" |
2696 | inkscape:guide-bbox="true" |
2697 | inkscape:zoom="23.714286" |
2698 | - inkscape:cx="5.364458" |
2699 | + inkscape:cx="-1.0030118" |
2700 | inkscape:cy="5.5637351" |
2701 | inkscape:window-x="0" |
2702 | - inkscape:window-y="26" |
2703 | + inkscape:window-y="28" |
2704 | inkscape:current-layer="svg2" |
2705 | inkscape:window-maximized="1"> |
2706 | <sodipodi:guide |
2707 | @@ -249,16 +249,6 @@ |
2708 | x2="22.886868" |
2709 | y2="-0.92556846" /> |
2710 | <linearGradient |
2711 | - inkscape:collect="always" |
2712 | - xlink:href="#linearGradient3587-6-5-1-5-3-6" |
2713 | - id="linearGradient3136-3" |
2714 | - gradientUnits="userSpaceOnUse" |
2715 | - gradientTransform="matrix(0.7071068,0.7071068,-0.7071068,0.7071068,-25.794343,-7.9832226)" |
2716 | - x1="31.715971" |
2717 | - y1="-17.501192" |
2718 | - x2="39.465767" |
2719 | - y2="-9.7513943" /> |
2720 | - <linearGradient |
2721 | id="linearGradient3587-6-5-1-5-3-6"> |
2722 | <stop |
2723 | id="stop3589-9-2-8-5-9-1" |
2724 | @@ -303,13 +293,7 @@ |
2725 | </defs> |
2726 | <path |
2727 | inkscape:connector-curvature="0" |
2728 | - style="opacity:0.6;color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2729 | - id="path3288-51-5" |
2730 | - d="m 7.9999995,4 0,3.9999999 -2.999999,0 L 8.1562495,12 l -3.156249,0 0,2 L 13,14 13,12 9.8437495,12 13,7.9999999 l -3.0000005,0 0,-3.9999999 z" |
2731 | - sodipodi:nodetypes="ccccccccccccc" /> |
2732 | - <path |
2733 | - inkscape:connector-curvature="0" |
2734 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient3136-3);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2735 | + style="opacity:1;color:#bebebe;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2736 | id="path3288-51" |
2737 | d="m 7.9999995,3 0,3.9999997 -2.999999,0 L 8.1562495,11 l -3.156249,0 0,2 L 13,13 13,11 9.8437495,11 13,6.9999997 l -3.0000005,0 0,-3.9999997 z" |
2738 | sodipodi:nodetypes="ccccccccccccc" /> |
2739 | |
2740 | === modified file 'metacity-1/unmaximize.svg' |
2741 | --- metacity-1/unmaximize.svg 2013-06-04 04:15:55 +0000 |
2742 | +++ metacity-1/unmaximize.svg 2014-02-09 08:49:06 +0000 |
2743 | @@ -14,8 +14,8 @@ |
2744 | width="18" |
2745 | height="16" |
2746 | id="svg2747" |
2747 | - inkscape:version="0.48.3.1 r9886" |
2748 | - sodipodi:docname="unmaximize-normal.svg"> |
2749 | + inkscape:version="0.48.4 r9939" |
2750 | + sodipodi:docname="unmaximize.svg"> |
2751 | <sodipodi:namedview |
2752 | pagecolor="#ffffff" |
2753 | bordercolor="#666666" |
2754 | @@ -25,7 +25,7 @@ |
2755 | guidetolerance="10" |
2756 | inkscape:pageopacity="0" |
2757 | inkscape:pageshadow="2" |
2758 | - inkscape:window-width="669" |
2759 | + inkscape:window-width="677" |
2760 | inkscape:window-height="480" |
2761 | id="namedview62" |
2762 | showgrid="false" |
2763 | @@ -302,15 +302,7 @@ |
2764 | id="tspan4089-7-2-9-13" /></text> |
2765 | </g> |
2766 | <path |
2767 | - d="M 9,14 9,9 4,9 5.8125,10.8125 4.59375,12 4,12.5625 5.40625,14 6,13.40625 7.1875,12.1875 9,14 z m 5,-5 -1.78125,-1.78125 1.5,-1.5 L 14,5.4375 12.5625,4 l -0.28125,0.28125 -1.5,1.5 L 9,4 9,9 14,9 z" |
2768 | - id="path2394-5-4" |
2769 | - style="opacity:0.6;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible" /> |
2770 | - <path |
2771 | - d="m 14,8 -1.78125,-1.78125 1.5,-1.5 L 14,4.4375 12.5625,3 l -0.28125,0.28125 -1.5,1.5 L 9,3 9,8 14,8 z" |
2772 | - id="path6691-1" |
2773 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient6693-5);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
2774 | - <path |
2775 | - d="M 9,13 9,8 4,8 5.8125,9.8125 4.59375,11 4,11.5625 5.40625,13 6,12.40625 7.1875,11.1875 9,13 z" |
2776 | - id="path2394-2" |
2777 | - style="opacity:0.5;color:#000000;fill:url(#linearGradient6695-0);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99829447000000004;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" /> |
2778 | + style="opacity:1;color:#bebebe;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" |
2779 | + d="M 9 3 L 9 8 L 14 8 L 12.21875 6.21875 L 13.71875 4.71875 L 14 4.4375 L 12.5625 3 L 12.28125 3.28125 L 10.78125 4.78125 L 9 3 z M 9 8 L 4 8 L 5.8125 9.8125 L 4.59375 11 L 4 11.5625 L 5.40625 13 L 6 12.40625 L 7.1875 11.1875 L 9 13 L 9 8 z " |
2780 | + id="path6691-1" /> |
2781 | </svg> |
Okay, we're getting very close!
There seems to be a regression in the metacity theme with highlights at the top of maximized windows.
In GThumb, you can see an example of a group of .linked buttons in the headerbar. I think those aren't being styled properly.
sidebar selection goes blue sometimes
At the top of modal sheets, it's white. If we want to make the change to having sheets have rounded corners like modals used to, I'm okay with that.
The highlight for the "pressed" image in metacity is too harsh. We should either edit the image or do this highlight programically
It looks like there is a very bright border around insensitive gtk scale (as seen in Totem)
I'm wondering if we want insensitive symbolic icons to be black instead of grey?
we might want to revisit some of the :focus styles