Merge lp:~andrewsomething/gnome-themes/new-wave-dark-menus into lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu
- new-wave-dark-menus
- Merge into gnome-themes-ubuntu
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~andrewsomething/gnome-themes/new-wave-dark-menus |
Merge into: | lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~andrewsomething/gnome-themes/new-wave-dark-menus |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt | Pending | ||
Kenneth Wimer | Pending | ||
Review via email: mp+4496@code.launchpad.net |
Commit message
Description of the change
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Hmmm... I had hoped bzr would handle that symlink differently.
dpkg handles the link. Building the source package with debuild -S -sa automatically changes the link. I can then build it in a Jaunty pbuilder, and it produces a package which works fine. I guess the link would have to be fixed by who ever builds the source package.
Is there a better way to do a symlink in a VCS?
- 9. By Andrew Starr-Bochicchio
-
Fix symlink. Use: '../../New Wave/gtk-
2.0/Images'
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
Arrg... Sorry for the spam. The link issue should fixed in Rev 9. I just had to use:
'../../New Wave/gtk-
That's what I get for making the first link through Nautilus and not the terminal.
Dilomo (ankere) wrote : | # |
I can't open the packages because the server does not allow me. I will try tomorrow.
Generally you can use the following file for dark menus and include the standard new wave one (as shoen in the attaxhment of the other bug):
#
#======
# New Wave Dark Menus Pixmap Theme
#======
#
#
# Based on: Ubuntu Human-Clearlooks
#
# Author:
# Anton Kerezov <email address hidden>
#
# Feel free to modify and share!
# Licensed under Creative Commons 3.0
#
# Major Version: 0.8
#======
# Include the normal New Wave file
include "default-gtkrc"
#======
# Modify only the menus so that they become dark |
#======
#
#======
# Menu system |
#======
style "newwave-
{
engine "pixmap"
{
image
{
function = BOX
state = PRELIGHT
file = "Images/
border = { 2, 2, 4, 2 }
stretch = TRUE
}
}
}
style "newwave-dark-menu"
{
xthickness = 1
ythickness = 3
bg[NORMAL] = "#ffffff"
#Dark scheme
fg[NORMAL] = @bg_color
fg[PRELIGHT] = @fg_color
fg[ACTIVE] = lighter(@bg_color)
fg[SELECTED] = lighter(@bg_color)
fg[INSENSITIVE] = darker("#7a7878")
bg[NORMAL] = "#7a7878"
bg[PRELIGHT] = "#7a7878"
bg[ACTIVE] = "#7a7878"
bg[SELECTED] = darker("#7a7878")
engine "pixmap"
{
image
{
}
}
}
style "newwave-
{
xthickness = 0
ythickness = 3
#Dark scheme
fg[NORMAL] = "#ffffff"
fg[PRELIGHT] = @fg_color
fg[INSENSITIVE] = darker("#696969")
bg[NORMAL] = "#696969"
bg[ACTIVE] = shade(1.
bg[SELECTED] = shade(1.
bg[INSENSITIVE] = "#696969"
engine "pixmap"
{
image
{
function = BOX
recolorable = TRUE
file = "Images/
border = { 4, 4, 4, 4 }
stretch = TRUE
}
image
{
function = ARROW
recolorable = TRUE
state = NORMAL
overlay_file = "Images/
}
image
{
function = ARROW
recolorable = TRUE
state = PRELIGHT
overlay_file = "Images/
}
image
{
function = ARROW
recolorable = TRUE
state = INSENSITIVE
overlay_file = "Images/
Andrew Starr-Bochicchio (andrewsomething) wrote : | # |
@ Dilomo
The reason you can't browse to that directory is that there is a bug in Loggerhead (the web-app for veiwing bzr branches) which causes a problem for directories with spaces in their names (Bug #336408).
If you paste the following you should be able to see the directory:
http://
- 10. By Andrew Starr-Bochicchio
-
* Update New Wave to version 0.8
- 11. By Andrew Starr-Bochicchio
-
* Merge with lp:~ubuntu-desktop/gnome-themes/gnome-themes-ubuntu
- 12. By Andrew Starr-Bochicchio
-
* Update New Wave to version 0.8.01
Preview Diff
1 | === added directory 'New Wave Dark Menus' |
2 | === added directory 'New Wave Dark Menus/gtk-2.0' |
3 | === added symlink 'New Wave Dark Menus/gtk-2.0/Images' |
4 | === target is '/home/andrew/Desktop/gnome-themes-ubuntu/New Wave/gtk-2.0/Images' |
5 | === added file 'New Wave Dark Menus/gtk-2.0/default-gtkrc' |
6 | --- New Wave Dark Menus/gtk-2.0/default-gtkrc 1970-01-01 00:00:00 +0000 |
7 | +++ New Wave Dark Menus/gtk-2.0/default-gtkrc 2009-03-14 22:23:13 +0000 |
8 | @@ -0,0 +1,4561 @@ |
9 | +# |
10 | +#========================================== |
11 | +# New Wave Pixmap Theme |
12 | +#========================================== |
13 | +# |
14 | +# |
15 | +# Based on: Ubuntu Human-Clearlooks |
16 | +# |
17 | +# Author: |
18 | +# Anton Kerezov <ankere@gmail.com> |
19 | +# |
20 | +# Former Authors: |
21 | +# Giuseppe Pennisi <giupenni78@gmail.com> |
22 | +# |
23 | +# Feel free to modify and share! |
24 | +# Licensed under Creative Commons 3.0 |
25 | +# |
26 | +# Major Version: 0.8 |
27 | + |
28 | + |
29 | +# Default color values used in Appearance Manager |
30 | +gtk_color_scheme = "fg_color: #101010\nbg_color: #E5E5E5\nbase_color: #FFFFFF\ntext_color: #1A1A1A\nselected_bg_color: #FF8F4C\nselected_fg_color: #1A1A1A\ntooltip_bg_color:#FFE6C4\ntooltip_fg_color:#330606" |
31 | +gtk-enable-animations = 1 # so that we can use pulsation on windows that need attention |
32 | +gtk-tooltip-timeout = 1000 # Tooltips appear too fast so I modify the delay to 1 sec. |
33 | + |
34 | +#========================================================= |
35 | +# The Base style |
36 | +#========================================================= |
37 | +style "newwave-default" |
38 | +{ |
39 | + xthickness = 1 |
40 | + ythickness = 1 |
41 | + |
42 | + #========================================================= |
43 | + # General Style Properties |
44 | + #========================================================= |
45 | + |
46 | + GtkButton ::child-displacement-x = 1 |
47 | + GtkButton ::child-displacement-y = 1 |
48 | + GtkButton ::default-border = { 0, 0, 0, 0 } |
49 | + |
50 | + GtkCheckButton ::indicator-size = 14 |
51 | + |
52 | + GtkPaned ::handle-size = 6 |
53 | + |
54 | + GtkRange ::trough-border = 0 |
55 | + GtkRange ::slider-width = 21 |
56 | + GtkRange ::stepper-size = 21 |
57 | + GtkRange ::stepper-spacing = 0 |
58 | + GtkRange ::activate-slider = 1 |
59 | + |
60 | + GtkScale ::slider-length = 17 |
61 | + GtkScale ::trough-side-details = 0 # @author:dilomo@ Do not change or will break consistancy |
62 | + |
63 | + GtkScrollbar ::min-slider-length = 30 |
64 | + GtkScrollbar ::slider-width = 18 |
65 | + GtkScrollbar ::stepper-size = 18 |
66 | + GtkScrollbar ::activate-slider = 1 |
67 | + GtkScrollbar ::trough-under-steppers= 1 |
68 | + # Set this (not all ofcourse) properties to '1' of you wish the stepper arrows to be visible |
69 | + GtkScrollbar ::has-backward-stepper = 0 |
70 | + GtkScrollbar ::has-forward-stepper = 0 |
71 | + GtkScrollbar ::has-secondary-backward-stepper = 0 |
72 | + GtkScrollbar ::has-secondary-forward-stepper = 0 |
73 | + |
74 | + GimpColorNotebook::tab-border = 1 |
75 | + GimpDockSeparator::height = 10 |
76 | + |
77 | + GtkMenuBar ::shadow-type = GTK_SHADOW_NONE # @author:dilomo@ Remove separator from Menubar |
78 | + GtkMenuBar ::internal-padding = 1 |
79 | + |
80 | + GtkMenu ::horizontal-padding = 3 |
81 | + GtkMenu ::vertical-padding = 1 |
82 | + GtkMenu ::horizontal-offset = -1 |
83 | + |
84 | + GtkExpander ::expander-size = 16 |
85 | + |
86 | + GtkToolbar ::internal-padding = 2 |
87 | + GtkToolbar ::shadow-type = GTK_SHADOW_NONE # @author:dilomo@ Remove separators from Toolbars |
88 | + |
89 | + GtkTreeView ::expander-size = 14 |
90 | + GtkTreeView ::vertical-separator = 0 |
91 | + GtkTreeView ::horizontal-separator = 2 |
92 | + GtkTreeView ::allow-rules = 0 # Don't use different color for odd rows |
93 | + GtkTreeView ::row-ending-details = 1 # Allow for rounded endings and transparent active rows |
94 | + |
95 | + GtkStatusbar ::shadow_type = GTK_SHADOW_NONE #@author: gp@ Remove separator from Statusbar |
96 | + |
97 | + GtkProgressBar ::shadow-type = GTK_SHADOW_NONE |
98 | + |
99 | + GtkWidget ::cursor-aspect-ratio = 0.05 |
100 | + |
101 | + # This is the pulsating rect that appears on newly launched apps |
102 | + WnckTasklist ::fade-overlay-rect = 1 |
103 | + WnckTasklist ::fade-opacity = 0.6 |
104 | + |
105 | + NautilusIconContainer::highlight_alpha= 145 # Add transparency to Nautilus selection color. |
106 | + |
107 | + |
108 | + fg[NORMAL] = @fg_color |
109 | + fg[PRELIGHT] = @fg_color |
110 | + fg[SELECTED] = @selected_fg_color |
111 | + fg[ACTIVE] = @fg_color |
112 | + fg[INSENSITIVE] = darker (@bg_color) |
113 | + |
114 | + bg[NORMAL] = @bg_color |
115 | + bg[PRELIGHT] = shade (1.02, @bg_color) |
116 | + bg[SELECTED] = mix (0.25, @fg_color, @selected_bg_color) |
117 | + bg[INSENSITIVE] = @bg_color |
118 | + bg[ACTIVE] = shade (0.9, @bg_color) |
119 | + |
120 | + base[NORMAL] = @base_color |
121 | + base[PRELIGHT] = shade (0.95, @bg_color) |
122 | + base[ACTIVE] = shade (0.90, @bg_color) |
123 | + base[SELECTED] = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color) |
124 | + base[INSENSITIVE] = @bg_color |
125 | + |
126 | + text[NORMAL] = @text_color |
127 | + text[PRELIGHT] = @text_color |
128 | + text[ACTIVE] = @selected_fg_color |
129 | + text[SELECTED] = @selected_fg_color |
130 | + text[INSENSITIVE] = darker (@bg_color) |
131 | + |
132 | + |
133 | + engine "pixmap" |
134 | + { |
135 | + |
136 | + # Shadows |
137 | + |
138 | + image |
139 | + { |
140 | + function = SHADOW |
141 | + shadow = IN |
142 | + recolorable = TRUE |
143 | + file = "Images/Shadows/shadow-in.png" |
144 | + border = { 1, 1, 2, 2} |
145 | + stretch = TRUE |
146 | + } |
147 | + image |
148 | + { |
149 | + function = SHADOW |
150 | + shadow = OUT |
151 | + recolorable = TRUE |
152 | + file = "Images/Shadows/shadow-out.png" |
153 | + border = { 1, 1, 2, 2} |
154 | + stretch = TRUE |
155 | + } |
156 | + |
157 | + image |
158 | + { |
159 | + function = SHADOW |
160 | + shadow = ETCHED_IN |
161 | + recolorable = TRUE |
162 | + file = "Images/Frame-Gap/frame-etched-out.png" |
163 | + border = { 1, 1, 1, 2} |
164 | + stretch = TRUE |
165 | + } |
166 | + image |
167 | + { |
168 | + function = SHADOW |
169 | + shadow = ETCHED_OUT |
170 | + recolorable = TRUE |
171 | + file = "Images/Shadows/shadow-etched-out.png" |
172 | + border = { 1, 1, 1, 1} |
173 | + stretch = TRUE |
174 | + } |
175 | + |
176 | + |
177 | + # Frame (Shadow in) |
178 | + image |
179 | + { |
180 | + function = SHADOW_GAP |
181 | + shadow = IN |
182 | + recolorable = TRUE |
183 | + file = "Images/Frame-Gap/frame-in.png" |
184 | + border ={ 4, 4, 4, 4} |
185 | + stretch = TRUE |
186 | + gap_start_file = "Images/Frame-Gap/frame-gapstart-in.png" |
187 | + gap_start_border = { 4, 0, 4, 0} |
188 | + gap_end_file = "Images/Frame-Gap/frame-gapend-in.png" |
189 | + gap_end_border = { 0, 4, 4, 0} |
190 | + gap_side = TOP |
191 | + } |
192 | + |
193 | + |
194 | + # Frame (Shadow out) |
195 | + image |
196 | + { |
197 | + function = SHADOW_GAP |
198 | + shadow = OUT |
199 | + recolorable = TRUE |
200 | + file = "Images/Frame-Gap/frame-out.png" |
201 | + border = { 4, 4, 4, 4} |
202 | + stretch = TRUE |
203 | + gap_start_file = "Images/Frame-Gap/frame-gapstart-out.png" |
204 | + gap_start_border = { 4, 0, 4, 0} |
205 | + gap_end_file = "Images/Frame-Gap/frame-gapend-out.png" |
206 | + gap_end_border = { 0, 4, 4, 0} |
207 | + gap_side = TOP |
208 | + } |
209 | + |
210 | + # Frame (Shadow etched in) |
211 | + image |
212 | + { |
213 | + function = SHADOW_GAP |
214 | + shadow = ETCHED_IN |
215 | + recolorable = TRUE |
216 | + file = "Images/Frame-Gap/frame-etched-in.png" |
217 | + border = { 1, 1, 4, 4} |
218 | + stretch = TRUE |
219 | + gap_start_file = "Images/Frame-Gap/frame-gapstart-ein.png" |
220 | + gap_start_border = { 2, 2, 2, 2} |
221 | + gap_end_file = "Images/Frame-Gap/frame-gapend-ein.png" |
222 | + gap_end_border = { 2, 2, 2, 2} |
223 | + gap_side = TOP |
224 | + } |
225 | + |
226 | + # Frame (Shadow etched out) |
227 | + image |
228 | + { |
229 | + function = SHADOW_GAP |
230 | + shadow = ETCHED_OUT |
231 | + recolorable = TRUE |
232 | + file = "Images/Frame-Gap/frame-etched-out.png" |
233 | + border = { 0, 0, 0, 2} |
234 | + stretch = TRUE |
235 | + gap_start_file = "Images/Frame-Gap/gap-etched-out.png" |
236 | + #gap_start_border = { 2, 2, 2, 2} |
237 | + gap_end_file = "Images/Frame-Gap/gap-etched-out.png" |
238 | + #gap_end_border = { 2, 2, 2, 2} |
239 | + gap_side = TOP |
240 | + } |
241 | + |
242 | + |
243 | + # Handles (normal, prelight and insensitive) |
244 | + image |
245 | + { |
246 | + function = HANDLE |
247 | + recolorable = TRUE |
248 | + state = NORMAL |
249 | + overlay_file = "Images/Panel/handle-h.png" |
250 | + overlay_stretch = FALSE |
251 | + orientation = HORIZONTAL |
252 | + } |
253 | + image |
254 | + { |
255 | + function = HANDLE |
256 | + recolorable = TRUE |
257 | + state = PRELIGHT |
258 | + overlay_file = "Images/Panel/handle-h-prelight.png" |
259 | + overlay_stretch = FALSE |
260 | + orientation = HORIZONTAL |
261 | + } |
262 | + image |
263 | + { |
264 | + function = HANDLE |
265 | + recolorable = TRUE |
266 | + state = ACTIVE |
267 | + overlay_file = "Images/Panel/handle-h-pressed.png" |
268 | + overlay_stretch = FALSE |
269 | + orientation = HORIZONTAL |
270 | + } |
271 | + image |
272 | + { |
273 | + function = HANDLE |
274 | + recolorable = TRUE |
275 | + state = INSENSITIVE |
276 | + overlay_file = "Images/Panel/handle-h-insens.png" |
277 | + overlay_stretch = FALSE |
278 | + orientation = HORIZONTAL |
279 | + } |
280 | + |
281 | + ## vertical handle |
282 | + image |
283 | + { |
284 | + function = HANDLE |
285 | + recolorable = TRUE |
286 | + state = NORMAL |
287 | + overlay_file = "Images/Panel/handle-v.png" |
288 | + overlay_stretch = FALSE |
289 | + orientation = VERTICAL |
290 | + } |
291 | + image |
292 | + { |
293 | + function = HANDLE |
294 | + recolorable = TRUE |
295 | + state = PRELIGHT |
296 | + overlay_file = "Images/Panel/handle-v-prelight.png" |
297 | + overlay_stretch = FALSE |
298 | + orientation = VERTICAL |
299 | + } |
300 | + image |
301 | + { |
302 | + function = HANDLE |
303 | + recolorable = TRUE |
304 | + state = ACTIVE |
305 | + overlay_file = "Images/Panel/handle-v-pressed.png" |
306 | + overlay_stretch = FALSE |
307 | + orientation = VERTICAL |
308 | + } |
309 | + image |
310 | + { |
311 | + function = HANDLE |
312 | + recolorable = TRUE |
313 | + state = INSENSITIVE |
314 | + overlay_file = "Images/Panel/handle-v-insens.png" |
315 | + overlay_stretch = FALSE |
316 | + orientation = VERTICAL |
317 | + } |
318 | + |
319 | + # Lines |
320 | + image |
321 | + { |
322 | + function = VLINE |
323 | + recolorable = TRUE |
324 | + file = "Images/Lines/line-v.png" |
325 | + #border = { 0, 1, 0, 0 } |
326 | + stretch = TRUE |
327 | + } |
328 | + |
329 | + image |
330 | + { |
331 | + function = HLINE |
332 | + recolorable = TRUE |
333 | + file = "Images/Lines/line-h.png" |
334 | + #border = { 1, 1, 0, 1 } |
335 | + stretch = TRUE |
336 | + } |
337 | + |
338 | + #@author:dilomo@ focus image used on buttons any derivatives (check box, combo and so on) Now obsolate! |
339 | + image |
340 | + { |
341 | + function = FOCUS |
342 | + recolorable = TRUE |
343 | + file = "Images/Others/focus.png" |
344 | + border = { 2, 2, 2, 2 } |
345 | + stretch = TRUE |
346 | + } |
347 | + |
348 | + # Arrows (all states) |
349 | + image |
350 | + { |
351 | + function = ARROW |
352 | + recolorable = TRUE |
353 | + state = NORMAL |
354 | + overlay_file = "Images/Arrows/arrow-up.png" |
355 | + overlay_border = { 0, 0, 0, 0 } |
356 | + overlay_stretch = FALSE |
357 | + arrow_direction = UP |
358 | + } |
359 | + |
360 | + image |
361 | + { |
362 | + function = ARROW |
363 | + state = PRELIGHT |
364 | + recolorable = TRUE |
365 | + overlay_file = "Images/Arrows/arrow-up-prelight.png" |
366 | + overlay_border = { 0, 0, 0, 0 } |
367 | + overlay_stretch = FALSE |
368 | + arrow_direction = UP |
369 | + } |
370 | + |
371 | + image |
372 | + { |
373 | + function = ARROW |
374 | + state = ACTIVE |
375 | + recolorable = TRUE |
376 | + overlay_file = "Images/Arrows/arrow-up-pressed.png" |
377 | + overlay_border = { 0, 0, 0, 0 } |
378 | + overlay_stretch = FALSE |
379 | + arrow_direction = UP |
380 | + } |
381 | + |
382 | + image |
383 | + { |
384 | + function = ARROW |
385 | + state = INSENSITIVE |
386 | + recolorable = TRUE |
387 | + overlay_file = "Images/Arrows/arrow-up-insens.png" |
388 | + overlay_border = { 0, 0, 0, 0 } |
389 | + overlay_stretch = FALSE |
390 | + arrow_direction = UP |
391 | + } |
392 | + |
393 | + image |
394 | + { |
395 | + function = ARROW |
396 | + state = NORMAL |
397 | + recolorable = TRUE |
398 | + overlay_file = "Images/Arrows/arrow-down.png" |
399 | + overlay_border = { 0, 0, 0, 0 } |
400 | + overlay_stretch = FALSE |
401 | + arrow_direction = DOWN |
402 | + } |
403 | + |
404 | + image |
405 | + { |
406 | + function = ARROW |
407 | + state = PRELIGHT |
408 | + recolorable = TRUE |
409 | + overlay_file = "Images/Arrows/arrow-down-prelight.png" |
410 | + overlay_border = { 0, 0, 0, 0 } |
411 | + overlay_stretch = FALSE |
412 | + arrow_direction = DOWN |
413 | + } |
414 | + |
415 | + image |
416 | + { |
417 | + function = ARROW |
418 | + state = ACTIVE |
419 | + recolorable = TRUE |
420 | + overlay_file = "Images/Arrows/arrow-down-pressed.png" |
421 | + overlay_border = { 0, 0, 0, 0 } |
422 | + overlay_stretch = FALSE |
423 | + arrow_direction = DOWN |
424 | + } |
425 | + |
426 | + image |
427 | + { |
428 | + function = ARROW |
429 | + state = INSENSITIVE |
430 | + recolorable = TRUE |
431 | + overlay_file = "Images/Arrows/arrow-down-insens.png" |
432 | + overlay_border = { 0, 0, 0, 0 } |
433 | + overlay_stretch = FALSE |
434 | + arrow_direction = DOWN |
435 | + } |
436 | + |
437 | + image |
438 | + { |
439 | + function = ARROW |
440 | + recolorable = TRUE |
441 | + state = NORMAL |
442 | + overlay_file = "Images/Arrows/arrow-left.png" |
443 | + overlay_border = { 0, 0, 0, 0 } |
444 | + overlay_stretch = FALSE |
445 | + arrow_direction = LEFT |
446 | + } |
447 | + |
448 | + image |
449 | + { |
450 | + function = ARROW |
451 | + recolorable = TRUE |
452 | + state = PRELIGHT |
453 | + overlay_file = "Images/Arrows/arrow-left-prelight.png" |
454 | + overlay_border = { 0, 0, 0, 0 } |
455 | + overlay_stretch = FALSE |
456 | + arrow_direction = LEFT |
457 | + } |
458 | + |
459 | + image |
460 | + { |
461 | + function = ARROW |
462 | + recolorable = TRUE |
463 | + state = ACTIVE |
464 | + overlay_file = "Images/Arrows/arrow-left-pressed.png" |
465 | + overlay_border = { 0, 0, 0, 0 } |
466 | + overlay_stretch = FALSE |
467 | + arrow_direction = LEFT |
468 | + } |
469 | + |
470 | + image |
471 | + { |
472 | + function = ARROW |
473 | + recolorable = TRUE |
474 | + state = INSENSITIVE |
475 | + overlay_file = "Images/Arrows/arrow-left-insens.png" |
476 | + overlay_border = { 0, 0, 0, 0 } |
477 | + overlay_stretch = FALSE |
478 | + arrow_direction = LEFT |
479 | + } |
480 | + |
481 | + image |
482 | + { |
483 | + function = ARROW |
484 | + recolorable = TRUE |
485 | + state = NORMAL |
486 | + overlay_file = "Images/Arrows/arrow-right.png" |
487 | + overlay_border = { 0, 0, 0, 0 } |
488 | + overlay_stretch = FALSE |
489 | + arrow_direction = RIGHT |
490 | + } |
491 | + |
492 | + image |
493 | + { |
494 | + function = ARROW |
495 | + recolorable = TRUE |
496 | + state = PRELIGHT |
497 | + overlay_file = "Images/Arrows/arrow-right-prelight.png" |
498 | + overlay_border = { 0, 0, 0, 0 } |
499 | + overlay_stretch = FALSE |
500 | + arrow_direction = RIGHT |
501 | + } |
502 | + |
503 | + image |
504 | + { |
505 | + function = ARROW |
506 | + recolorable = TRUE |
507 | + state = ACTIVE |
508 | + overlay_file = "Images/Arrows/arrow-right-pressed.png" |
509 | + overlay_border = { 0, 0, 0, 0 } |
510 | + overlay_stretch = FALSE |
511 | + arrow_direction = RIGHT |
512 | + } |
513 | + |
514 | + image |
515 | + { |
516 | + function = ARROW |
517 | + recolorable = TRUE |
518 | + state = INSENSITIVE |
519 | + overlay_file = "Images/Arrows/arrow-right-insens.png" |
520 | + overlay_border = { 0, 0, 0, 0 } |
521 | + overlay_stretch = FALSE |
522 | + arrow_direction = RIGHT |
523 | + } |
524 | + |
525 | + |
526 | + # Expander (all states) |
527 | + # |
528 | + # Collapsed |
529 | + image |
530 | + { |
531 | + function = EXPANDER |
532 | + state = NORMAL |
533 | + expander_style = COLLAPSED |
534 | + file = "Images/Expander/expander-normal-c.png" |
535 | + border = { 2, 2, 2, 2 } |
536 | + } |
537 | + |
538 | + image |
539 | + { |
540 | + function = EXPANDER |
541 | + state = PRELIGHT |
542 | + expander_style = COLLAPSED |
543 | + file = "Images/Expander/expander-prelight-c.png" |
544 | + border = { 2, 2, 2, 2 } |
545 | + } |
546 | + |
547 | + image |
548 | + { |
549 | + function = EXPANDER |
550 | + state = ACTIVE |
551 | + expander_style = COLLAPSED |
552 | + file = "Images/Expander/expander-active-c.png" |
553 | + border = { 2, 2, 2, 2 } |
554 | + } |
555 | + |
556 | + image |
557 | + { |
558 | + function = EXPANDER |
559 | + state = INSENSITIVE |
560 | + expander_style = COLLAPSED |
561 | + file = "Images/Expander/expander-insens-c.png" |
562 | + border = { 2, 2, 2, 2 } |
563 | + } |
564 | + |
565 | + # Semi-collapsed |
566 | + image |
567 | + { |
568 | + function = EXPANDER |
569 | + state = NORMAL |
570 | + expander_style = SEMI_COLLAPSED |
571 | + file = "Images/Expander/expander-normal-sc.png" |
572 | + border = { 2, 2, 2, 2 } |
573 | + } |
574 | + |
575 | + image |
576 | + { |
577 | + function = EXPANDER |
578 | + state = PRELIGHT |
579 | + expander_style = SEMI_COLLAPSED |
580 | + file = "Images/Expander/expander-prelight-sc.png" |
581 | + border = { 2, 2, 2, 2 } |
582 | + } |
583 | + |
584 | + image |
585 | + { |
586 | + function = EXPANDER |
587 | + state = ACTIVE |
588 | + expander_style = SEMI_COLLAPSED |
589 | + file = "Images/Expander/expander-active-sc.png" |
590 | + border = { 2, 2, 2, 2 } |
591 | + } |
592 | + |
593 | + #image |
594 | + #{ |
595 | + # function = EXPANDER |
596 | + # state = INSENSITIVE |
597 | + # expander_style = SEMI_COLLAPSED |
598 | + # file = "Images/Expander/expander-insens-sc.png" |
599 | + # border = { 2, 2, 2, 2 } |
600 | + #} |
601 | + |
602 | + # Semi-Expanded |
603 | + image |
604 | + { |
605 | + function = EXPANDER |
606 | + state = NORMAL |
607 | + expander_style = SEMI_EXPANDED |
608 | + file = "Images/Expander/expander-normal-se.png" |
609 | + border = { 2, 2, 2, 2 } |
610 | + } |
611 | + |
612 | + image |
613 | + { |
614 | + function = EXPANDER |
615 | + state = PRELIGHT |
616 | + expander_style = SEMI_EXPANDED |
617 | + file = "Images/Expander/expander-prelight-se.png" |
618 | + border = { 2, 2, 2, 2 } |
619 | + } |
620 | + |
621 | + image |
622 | + { |
623 | + function = EXPANDER |
624 | + state = ACTIVE |
625 | + expander_style = SEMI_EXPANDED |
626 | + file = "Images/Expander/expander-active-se.png" |
627 | + border = { 2, 2, 2, 2 } |
628 | + } |
629 | + |
630 | + #image |
631 | + #{ |
632 | + # function = EXPANDER |
633 | + # state = INSENSITIVE |
634 | + # expander_style = SEMI_EXPANDED |
635 | + # file = "Images/Expander/expander-insens-se.png" |
636 | + # border = { 2, 2, 2, 2 } |
637 | + #} |
638 | + |
639 | + # Expanded |
640 | + image |
641 | + { |
642 | + function = EXPANDER |
643 | + state = NORMAL |
644 | + expander_style = EXPANDED |
645 | + file = "Images/Expander/expander-normal-e.png" |
646 | + border = { 2, 2, 2, 2 } |
647 | + } |
648 | + |
649 | + image |
650 | + { |
651 | + function = EXPANDER |
652 | + state = PRELIGHT |
653 | + expander_style = EXPANDED |
654 | + file = "Images/Expander/expander-prelight-e.png" |
655 | + border = { 2, 2, 2, 2 } |
656 | + } |
657 | + |
658 | + image |
659 | + { |
660 | + function = EXPANDER |
661 | + state = ACTIVE |
662 | + expander_style = EXPANDED |
663 | + file = "Images/Expander/expander-active-e.png" |
664 | + border = { 2, 2, 2, 2 } |
665 | + } |
666 | + |
667 | + image |
668 | + { |
669 | + function = EXPANDER |
670 | + state = INSENSITIVE |
671 | + expander_style = EXPANDED |
672 | + file = "Images/Expander/expander-insens-e.png" |
673 | + border = { 2, 2, 2, 2 } |
674 | + } |
675 | + |
676 | + |
677 | + # Use Images from the -Menu subfolder because in most cases the controls are embedded in lists and shadows underneath are not appropriate. |
678 | + #OPTIONs themeing for widgets that are not pure optionbuttons (e.g. in lists): |
679 | + |
680 | + # Set the insensitive state for all shadows |
681 | + image |
682 | + { |
683 | + function = OPTION |
684 | + recolorable = TRUE |
685 | + state = INSENSITIVE |
686 | + shadow = OUT |
687 | + overlay_file = "Images/Check-Radio-Menu/opt-normal-insensitive.png" |
688 | + overlay_stretch = FALSE |
689 | + } |
690 | + |
691 | + image |
692 | + { |
693 | + function = OPTION |
694 | + recolorable = TRUE |
695 | + state = INSENSITIVE |
696 | + shadow = IN |
697 | + overlay_file = "Images/Check-Radio-Menu/opt-mark-insensitive.png" |
698 | + overlay_stretch = FALSE |
699 | + } |
700 | + image |
701 | + { |
702 | + function = OPTION |
703 | + recolorable = TRUE |
704 | + state = INSENSITIVE |
705 | + shadow = ETCHED_IN |
706 | + overlay_file = "Images/Check-Radio-Menu/opt-line-insensitive.png" |
707 | + overlay_stretch = FALSE |
708 | + } |
709 | + |
710 | + #Set the prelight fro all shadows |
711 | + image |
712 | + { |
713 | + function = OPTION |
714 | + recolorable = TRUE |
715 | + state = PRELIGHT |
716 | + shadow = OUT |
717 | + overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" |
718 | + overlay_stretch = FALSE |
719 | + } |
720 | + image |
721 | + { |
722 | + function = OPTION |
723 | + recolorable = TRUE |
724 | + state = PRELIGHT |
725 | + shadow = IN |
726 | + overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" |
727 | + overlay_stretch = FALSE |
728 | + } |
729 | + image |
730 | + { |
731 | + function = OPTION |
732 | + recolorable = TRUE |
733 | + state = PRELIGHT |
734 | + shadow = ETCHED_IN |
735 | + overlay_file = "Images/Check-Radio-Menu/opt-line-prelight.png" |
736 | + overlay_stretch = FALSE |
737 | + } |
738 | + |
739 | + # Theme everything else the same (NORMAL, SELECTED, ACTIVE) |
740 | + image |
741 | + { |
742 | + function = OPTION |
743 | + recolorable = TRUE |
744 | + shadow = OUT |
745 | + overlay_file = "Images/Check-Radio-Menu/opt-normal.png" |
746 | + overlay_stretch = FALSE |
747 | + } |
748 | + image |
749 | + { |
750 | + function = OPTION |
751 | + recolorable = TRUE |
752 | + shadow = IN |
753 | + overlay_file = "Images/Check-Radio-Menu/opt-mark.png" |
754 | + overlay_stretch = FALSE |
755 | + } |
756 | + image |
757 | + { |
758 | + function = OPTION |
759 | + recolorable = TRUE |
760 | + shadow = ETCHED_IN |
761 | + overlay_file = "Images/Check-Radio-Menu/opt-line.png" |
762 | + overlay_stretch = FALSE |
763 | + } |
764 | + |
765 | + # CHECKs themeing for widgets that are not pure checkbuttons (e.g. in lists): |
766 | + # Set the insensitive state for all shadows |
767 | + image |
768 | + { |
769 | + function = CHECK |
770 | + recolorable = TRUE |
771 | + state = INSENSITIVE |
772 | + shadow = OUT |
773 | + overlay_file = "Images/Check-Radio-Menu/check-normal-insensitive.png" |
774 | + overlay_stretch = FALSE |
775 | + } |
776 | + image |
777 | + { |
778 | + function = CHECK |
779 | + recolorable = TRUE |
780 | + state = INSENSITIVE |
781 | + shadow = IN |
782 | + overlay_file = "Images/Check-Radio-Menu/check-mark-insensitive.png" |
783 | + overlay_stretch = FALSE |
784 | + } |
785 | + image |
786 | + { |
787 | + function = CHECK |
788 | + recolorable = TRUE |
789 | + state = INSENSITIVE |
790 | + shadow = ETCHED_IN |
791 | + overlay_file = "Images/Check-Radio-Menu/check-line-insensitive.png" |
792 | + overlay_stretch = FALSE |
793 | + } |
794 | + #Set the prelight fro all shadows |
795 | + image |
796 | + { |
797 | + function = CHECK |
798 | + recolorable = TRUE |
799 | + state = PRELIGHT |
800 | + shadow = OUT |
801 | + overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" |
802 | + overlay_stretch = FALSE |
803 | + } |
804 | + image |
805 | + { |
806 | + function = CHECK |
807 | + recolorable = TRUE |
808 | + state = PRELIGHT |
809 | + shadow = IN |
810 | + overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" |
811 | + overlay_stretch = FALSE |
812 | + } |
813 | + image |
814 | + { |
815 | + function = CHECK |
816 | + recolorable = TRUE |
817 | + state = PRELIGHT |
818 | + shadow = ETCHED_IN |
819 | + overlay_file = "Images/Check-Radio-Menu/check-line-prelight.png" |
820 | + overlay_stretch = FALSE |
821 | + } |
822 | + |
823 | + # Set the rest |
824 | + image |
825 | + { |
826 | + function = CHECK |
827 | + recolorable = TRUE |
828 | + shadow = OUT |
829 | + overlay_file = "Images/Check-Radio-Menu/check-normal.png" |
830 | + overlay_stretch = FALSE |
831 | + } |
832 | + image |
833 | + { |
834 | + function = CHECK |
835 | + recolorable = TRUE |
836 | + shadow = IN |
837 | + overlay_file = "Images/Check-Radio-Menu/check-mark.png" |
838 | + overlay_stretch = FALSE |
839 | + } |
840 | + image |
841 | + { |
842 | + function = CHECK |
843 | + recolorable = TRUE |
844 | + shadow = ETCHED_IN |
845 | + overlay_file = "Images/Check-Radio-Menu/check-line.png" |
846 | + overlay_stretch = FALSE |
847 | + } |
848 | + } |
849 | +} |
850 | + |
851 | + |
852 | +style "newwave-wide" = "newwave-default" |
853 | +{ |
854 | + bg[SELECTED] = @selected_bg_color |
855 | + xthickness = 2 |
856 | + ythickness = 2 |
857 | +} |
858 | + |
859 | +style "newwave-wider" = "newwave-default" |
860 | +{ |
861 | + bg[SELECTED] = @selected_bg_color |
862 | + xthickness = 3 |
863 | + ythickness = 3 |
864 | +} |
865 | + |
866 | + |
867 | + |
868 | + |
869 | +#========================================================= |
870 | +#========================================================= |
871 | +# Pixmap widget styles |
872 | +#========================================================= |
873 | +#========================================================= |
874 | + |
875 | + |
876 | + |
877 | +style "newwave-frame" = "newwave-wide" |
878 | +{ |
879 | +# engine "pixmap" |
880 | +# { |
881 | +# image |
882 | +# { |
883 | +# function = FLAT_BOX |
884 | +# state = NORMAL |
885 | +# shadow = OUT |
886 | +# file = "Images/Frame-Gap/frame2.png" |
887 | +# stretch = TRUE |
888 | +# } |
889 | +# } |
890 | +} |
891 | + |
892 | +#========================================================= |
893 | +# Buttons |
894 | +#========================================================= |
895 | + |
896 | +style "newwave-button" = "newwave-wider" |
897 | +{ |
898 | + |
899 | + bg[NORMAL] = shade (0.98, @bg_color) |
900 | + bg[PRELIGHT] = shade (1.04, @bg_color) |
901 | + bg[ACTIVE] = shade (0.92, @bg_color) |
902 | + |
903 | + GtkButton::interior_focus = 1 |
904 | + |
905 | + GtkWidget::focus_padding = 0 |
906 | + GtkButton::focus_width = 1 |
907 | + GtkButton::displace_focus = 1 |
908 | + |
909 | + # Make it vertical |
910 | + GtkButton::child_displacement_x = 0 |
911 | + GtkButton::child_displacement_y = 1 |
912 | + |
913 | + # Increase because focus padding is zero |
914 | + GtkButton::inner-border = {2, 2, 2, 2} |
915 | + |
916 | + # Use to show glow around default buttons |
917 | + GtkButton::default-border = { 3, 3, 3, 3} |
918 | + GtkButton::default-outside-border = { 3, 3, 3, 3} |
919 | + |
920 | + |
921 | + engine "pixmap" |
922 | + { |
923 | + |
924 | + # Focus image |
925 | + image |
926 | + { |
927 | + function = FOCUS |
928 | + recolorable = TRUE |
929 | + detail = "button" |
930 | + file = "Images/Buttons/button-focus.png" |
931 | + border = {4, 4, 4, 4} |
932 | + stretch = TRUE |
933 | + |
934 | + } |
935 | + |
936 | + # Normal button |
937 | + image |
938 | + { |
939 | + function = BOX |
940 | + state = NORMAL |
941 | + shadow = OUT |
942 | + file = "Images/Buttons/button-normal.png" |
943 | + border ={ 4, 4, 4, 4 } |
944 | + stretch = TRUE |
945 | + } |
946 | + |
947 | + #Used for default buttons glow |
948 | + image |
949 | + { |
950 | + function = BOX |
951 | + state = NORMAL |
952 | + detail = "buttondefault" |
953 | + file = "Images/Buttons/button-default.png" |
954 | + border ={ 4, 4, 4, 4 } |
955 | + stretch = TRUE |
956 | + } |
957 | + |
958 | + # Pressed |
959 | + image |
960 | + { |
961 | + function = BOX |
962 | + state = ACTIVE |
963 | + file = "Images/Buttons/button-pressed.png" |
964 | + border = { 4, 4, 4, 4 } |
965 | + stretch = TRUE |
966 | + } |
967 | + |
968 | + |
969 | + |
970 | + #@author:dilomo@ prelight used on toggle buttons when they are pressed in |
971 | + image |
972 | + { |
973 | + function = BOX |
974 | + state = PRELIGHT |
975 | + recolorable = TRUE |
976 | + shadow = IN |
977 | + file = "Images/Buttons/button-pressed-prelight.png" |
978 | + border = { 4, 4, 4, 4 } |
979 | + stretch = TRUE |
980 | + } |
981 | + #@author:dilomo@ prelight used on normal buttons |
982 | + image |
983 | + { |
984 | + function = BOX |
985 | + state = PRELIGHT |
986 | + recolorable = TRUE |
987 | + shadow = OUT |
988 | + file = "Images/Buttons/button-prelight.png" |
989 | + border = { 4, 4, 4, 4 } |
990 | + stretch = TRUE |
991 | + } |
992 | + |
993 | + image |
994 | + { |
995 | + function = BOX |
996 | + state = INSENSITIVE |
997 | + shadow = IN |
998 | + file = "Images/Buttons/button-insensitive-in.png" |
999 | + border = { 4, 4, 4, 4 } |
1000 | + stretch = TRUE |
1001 | + } |
1002 | + |
1003 | + image |
1004 | + { |
1005 | + function = BOX |
1006 | + state = INSENSITIVE |
1007 | + shadow = OUT |
1008 | + file = "Images/Buttons/button-insensitive.png" |
1009 | + border = { 4, 4, 4, 4 } |
1010 | + stretch = TRUE |
1011 | + } |
1012 | + |
1013 | + |
1014 | + } |
1015 | +} |
1016 | + |
1017 | +#========================================================= |
1018 | +# Progressbar |
1019 | +#========================================================= |
1020 | +style "newwave-progressbar" = "newwave-default" |
1021 | +{ |
1022 | + xthickness = 1 |
1023 | + ythickness = 1 |
1024 | + |
1025 | + engine "pixmap" |
1026 | + { |
1027 | + image |
1028 | + { |
1029 | + function = BOX |
1030 | + detail = "trough" |
1031 | + file = "Images/ProgressBar/trough-progressbar-horiz.png" |
1032 | + border = { 4, 4, 4, 4 } |
1033 | + stretch = TRUE |
1034 | + overlay_file = "Images/ProgressBar/over-trough-horiz.png" |
1035 | + overlay_stretch = TRUE |
1036 | + overlay_border = { 2, 2, 2, 2 } |
1037 | + orientation = HORIZONTAL |
1038 | + } |
1039 | + |
1040 | + image |
1041 | + { |
1042 | + function = BOX |
1043 | + detail = "trough" |
1044 | + file = "Images/ProgressBar/trough-progressbar-horiz.png" |
1045 | + border = { 4, 4, 4, 4 } |
1046 | + stretch = TRUE |
1047 | +# overlay_file = "Images/ProgressBar/over-trough-horiz.png" |
1048 | +# overlay_stretch = TRUE |
1049 | +# overlay_border = { 2, 2, 2, 2 } |
1050 | + orientation = VERTICAL |
1051 | + } |
1052 | + |
1053 | + image |
1054 | + { |
1055 | + function = BOX |
1056 | + detail = "bar" |
1057 | + file = "Images/ProgressBar/progressbar-horiz.png" |
1058 | + border = { 2, 2, 2, 2 } |
1059 | + stretch = TRUE |
1060 | + overlay_file = "Images/ProgressBar/over-progressbar-horiz.png" |
1061 | + overlay_stretch = FALSE |
1062 | + overlay_border = { 2, 2, 2, 2 } |
1063 | + orientation = HORIZONTAL |
1064 | + } |
1065 | + image |
1066 | + { |
1067 | + function = BOX |
1068 | + detail = "bar" |
1069 | + file = "Images/ProgressBar/progressbar-vert.png" |
1070 | + border = { 2, 2, 2, 2 } |
1071 | + stretch = TRUE |
1072 | + overlay_file = "Images/ProgressBar/over-progressbar-horiz.png" |
1073 | + overlay_stretch = TRUE |
1074 | + overlay_border = { 2, 2, 2, 2 } |
1075 | + orientation = VERTICAL |
1076 | + } |
1077 | + } |
1078 | +} |
1079 | + |
1080 | + |
1081 | +#========================================================= |
1082 | +# Check/Radio Buttons |
1083 | +#========================================================= |
1084 | +style "newwave-checkradiobutton" = "newwave-default" |
1085 | +{ |
1086 | + GtkCheckButton::interior_focus = 1 |
1087 | + |
1088 | + engine "pixmap" { |
1089 | + image |
1090 | + { |
1091 | + function = FLAT_BOX |
1092 | + recolorable = TRUE |
1093 | + file = "Images/Others/null.png" |
1094 | + border = { 2, 5, 2, 2 } |
1095 | + stretch = TRUE |
1096 | + } |
1097 | + image |
1098 | + { |
1099 | + function = FOCUS |
1100 | + recolorable = TRUE |
1101 | + file = "Images/Check-Radio/checkfocus.png" |
1102 | + border = { 3, 3, 3, 3 } |
1103 | + stretch = TRUE |
1104 | + } |
1105 | + } |
1106 | +} |
1107 | + |
1108 | +class "GtkRadioButton" style : highest "newwave-checkradiobutton" |
1109 | +class "GtkCheckButton" style : highest "newwave-checkradiobutton" |
1110 | + |
1111 | + |
1112 | +style "newwave-radiomenubutton" = "newwave-default" |
1113 | +{ |
1114 | + engine "pixmap" |
1115 | + { |
1116 | + image |
1117 | + { |
1118 | + function = OPTION |
1119 | + recolorable = TRUE |
1120 | + state = NORMAL |
1121 | + shadow = OUT |
1122 | + overlay_file = "Images/Check-Radio-Menu/opt-normal.png" |
1123 | + overlay_stretch = FALSE |
1124 | + } |
1125 | + image |
1126 | + { |
1127 | + function = OPTION |
1128 | + recolorable = TRUE |
1129 | + state = PRELIGHT |
1130 | + shadow = OUT |
1131 | + overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" |
1132 | + overlay_stretch = FALSE |
1133 | + } |
1134 | + image |
1135 | + { |
1136 | + function = OPTION |
1137 | + recolorable = TRUE |
1138 | + state = ACTIVE |
1139 | + shadow = OUT |
1140 | + overlay_file = "Images/Check-Radio-Menu/opt-normal-prelight.png" |
1141 | + overlay_stretch = FALSE |
1142 | + } |
1143 | + image |
1144 | + { |
1145 | + function = OPTION |
1146 | + recolorable = TRUE |
1147 | + state = INSENSITIVE |
1148 | + shadow = OUT |
1149 | + overlay_file = "Images/Check-Radio-Menu/opt-normal-insensitive.png" |
1150 | + overlay_stretch = FALSE |
1151 | + } |
1152 | + image |
1153 | + { |
1154 | + function = OPTION |
1155 | + recolorable = TRUE |
1156 | + state = NORMAL |
1157 | + shadow = IN |
1158 | + overlay_file = "Images/Check-Radio-Menu/opt-mark.png" |
1159 | + overlay_stretch = FALSE |
1160 | + } |
1161 | + image |
1162 | + { |
1163 | + function = OPTION |
1164 | + recolorable = TRUE |
1165 | + state = PRELIGHT |
1166 | + shadow = IN |
1167 | + overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" |
1168 | + overlay_stretch = FALSE |
1169 | + } |
1170 | + image |
1171 | + { |
1172 | + function = OPTION |
1173 | + recolorable = TRUE |
1174 | + state = ACTIVE |
1175 | + shadow = IN |
1176 | + overlay_file = "Images/Check-Radio-Menu/opt-mark-prelight.png" |
1177 | + overlay_stretch = FALSE |
1178 | + } |
1179 | + image |
1180 | + { |
1181 | + function = OPTION |
1182 | + recolorable = TRUE |
1183 | + state = INSENSITIVE |
1184 | + shadow = IN |
1185 | + overlay_file = "Images/Check-Radio-Menu/opt-mark-insensitive.png" |
1186 | + overlay_stretch = FALSE |
1187 | + } |
1188 | + image |
1189 | + { |
1190 | + function = FLAT_BOX |
1191 | + recolorable = TRUE |
1192 | + stretch = TRUE |
1193 | + file = "Images/Others/null.png" |
1194 | + border = { 2, 2, 2, 2 } |
1195 | + } |
1196 | + } |
1197 | +} |
1198 | + |
1199 | + |
1200 | +style "newwave-radiobutton" = "newwave-default" |
1201 | +{ |
1202 | + engine "pixmap" |
1203 | + { |
1204 | + image |
1205 | + { |
1206 | + function = OPTION |
1207 | + recolorable = TRUE |
1208 | + state = NORMAL |
1209 | + shadow = OUT |
1210 | + overlay_file = "Images/Check-Radio/opt-normal.png" |
1211 | + overlay_stretch = FALSE |
1212 | + } |
1213 | + |
1214 | + image |
1215 | + { |
1216 | + function = OPTION |
1217 | + recolorable = TRUE |
1218 | + state = PRELIGHT |
1219 | + shadow = OUT |
1220 | + overlay_file = "Images/Check-Radio/opt-normal-prelight.png" |
1221 | + overlay_stretch = FALSE |
1222 | + } |
1223 | + image |
1224 | + { |
1225 | + function = OPTION |
1226 | + recolorable = TRUE |
1227 | + state = ACTIVE |
1228 | + shadow = OUT |
1229 | + overlay_file = "Images/Check-Radio/opt-normal-active.png" |
1230 | + overlay_stretch = FALSE |
1231 | + } |
1232 | + image |
1233 | + { |
1234 | + function = OPTION |
1235 | + recolorable = TRUE |
1236 | + state = INSENSITIVE |
1237 | + shadow = OUT |
1238 | + overlay_file = "Images/Check-Radio/opt-normal-insensitive.png" |
1239 | + overlay_stretch = FALSE |
1240 | + } |
1241 | + |
1242 | + image |
1243 | + { |
1244 | + function = OPTION |
1245 | + recolorable = TRUE |
1246 | + state = NORMAL |
1247 | + shadow = IN |
1248 | + overlay_file = "Images/Check-Radio/opt-mark.png" |
1249 | + overlay_stretch = FALSE |
1250 | + } |
1251 | + image |
1252 | + { |
1253 | + function = OPTION |
1254 | + recolorable = TRUE |
1255 | + state = PRELIGHT |
1256 | + shadow = IN |
1257 | + overlay_file = "Images/Check-Radio/opt-mark-prelight.png" |
1258 | + overlay_stretch = FALSE |
1259 | + } |
1260 | + image |
1261 | + { |
1262 | + function = OPTION |
1263 | + recolorable = TRUE |
1264 | + state = ACTIVE |
1265 | + shadow = IN |
1266 | + overlay_file = "Images/Check-Radio/opt-mark-active.png" |
1267 | + overlay_stretch = FALSE |
1268 | + } |
1269 | + image |
1270 | + { |
1271 | + function = OPTION |
1272 | + recolorable = TRUE |
1273 | + state = INSENSITIVE |
1274 | + shadow = IN |
1275 | + overlay_file = "Images/Check-Radio/opt-mark-insensitive.png" |
1276 | + overlay_stretch = FALSE |
1277 | + } |
1278 | + |
1279 | + image |
1280 | + { |
1281 | + function = OPTION |
1282 | + recolorable = TRUE |
1283 | + state = NORMAL |
1284 | + shadow = ETCHED_IN |
1285 | + overlay_file = "Images/Check-Radio/opt-line.png" |
1286 | + overlay_stretch = FALSE |
1287 | + } |
1288 | + image |
1289 | + { |
1290 | + function = OPTION |
1291 | + recolorable = TRUE |
1292 | + state = PRELIGHT |
1293 | + shadow = ETCHED_IN |
1294 | + overlay_file = "Images/Check-Radio/opt-line-prelight.png" |
1295 | + overlay_stretch = FALSE |
1296 | + } |
1297 | + image |
1298 | + { |
1299 | + function = OPTION |
1300 | + recolorable = TRUE |
1301 | + state = ACTIVE |
1302 | + shadow =ETCHED_IN |
1303 | + overlay_file = "Images/Check-Radio/opt-line-active.png" |
1304 | + overlay_stretch = FALSE |
1305 | + } |
1306 | + image |
1307 | + { |
1308 | + function = OPTION |
1309 | + recolorable = TRUE |
1310 | + state = INSENSITIVE |
1311 | + shadow = ETCHED_IN |
1312 | + overlay_file = "Images/Check-Radio/opt-line-insensitive.png" |
1313 | + overlay_stretch = FALSE |
1314 | + } |
1315 | + |
1316 | + |
1317 | + |
1318 | + # Overlay image |
1319 | + image |
1320 | + { |
1321 | + function = FLAT_BOX |
1322 | + recolorable = TRUE |
1323 | + stretch = TRUE |
1324 | + file = "Images/Others/null.png" |
1325 | + border = { 2, 2, 2, 2 } |
1326 | + } |
1327 | + } |
1328 | +} |
1329 | + |
1330 | +style "newwave-checkmenubutton" = "newwave-default" |
1331 | +{ |
1332 | + engine "pixmap" |
1333 | + { |
1334 | + image |
1335 | + { |
1336 | + function = CHECK |
1337 | + recolorable = TRUE |
1338 | + state = NORMAL |
1339 | + shadow = OUT |
1340 | + overlay_file = "Images/Check-Radio-Menu/check-normal.png" |
1341 | + overlay_stretch = FALSE |
1342 | + } |
1343 | + image |
1344 | + { |
1345 | + function = CHECK |
1346 | + recolorable = TRUE |
1347 | + state = PRELIGHT |
1348 | + shadow = OUT |
1349 | + overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" |
1350 | + overlay_stretch = FALSE |
1351 | + } |
1352 | + image |
1353 | + { |
1354 | + function = CHECK |
1355 | + recolorable = TRUE |
1356 | + state = ACTIVE |
1357 | + shadow = OUT |
1358 | + overlay_file = "Images/Check-Radio-Menu/check-normal-prelight.png" |
1359 | + overlay_stretch = FALSE |
1360 | + } |
1361 | + image |
1362 | + { |
1363 | + function = CHECK |
1364 | + recolorable = TRUE |
1365 | + state = INSENSITIVE |
1366 | + shadow = OUT |
1367 | + overlay_file = "Images/Check-Radio-Menu/check-normal-insensitive.png" |
1368 | + overlay_stretch = FALSE |
1369 | + } |
1370 | + image |
1371 | + { |
1372 | + function = CHECK |
1373 | + recolorable = TRUE |
1374 | + state = NORMAL |
1375 | + shadow = IN |
1376 | + overlay_file = "Images/Check-Radio-Menu/check-mark.png" |
1377 | + overlay_stretch = FALSE |
1378 | + } |
1379 | + image |
1380 | + { |
1381 | + function = CHECK |
1382 | + recolorable = TRUE |
1383 | + state = PRELIGHT |
1384 | + shadow = IN |
1385 | + overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" |
1386 | + overlay_stretch = FALSE |
1387 | + } |
1388 | + image |
1389 | + { |
1390 | + function = CHECK |
1391 | + recolorable = TRUE |
1392 | + state = ACTIVE |
1393 | + shadow = IN |
1394 | + overlay_file = "Images/Check-Radio-Menu/check-mark-prelight.png" |
1395 | + overlay_stretch = FALSE |
1396 | + } |
1397 | + image |
1398 | + { |
1399 | + function = CHECK |
1400 | + recolorable = TRUE |
1401 | + state = INSENSITIVE |
1402 | + shadow = IN |
1403 | + overlay_file = "Images/Check-Radio-Menu/check-mark-insensitive.png" |
1404 | + overlay_stretch = FALSE |
1405 | + } |
1406 | + |
1407 | + image |
1408 | + { |
1409 | + function = FLAT_BOX |
1410 | + recolorable = TRUE |
1411 | + stretch = TRUE |
1412 | + file = "Images/Others/null.png" |
1413 | + border = { 2, 2, 3, 2 } |
1414 | + } |
1415 | + |
1416 | + } |
1417 | +} |
1418 | + |
1419 | +style "newwave-checkbutton" = "newwave-default" |
1420 | +{ |
1421 | + |
1422 | + |
1423 | + engine "pixmap" |
1424 | + { |
1425 | + image |
1426 | + { |
1427 | + function = CHECK |
1428 | + recolorable = TRUE |
1429 | + state = NORMAL |
1430 | + shadow = OUT |
1431 | + overlay_file = "Images/Check-Radio/check-normal.png" |
1432 | + overlay_stretch = FALSE |
1433 | + } |
1434 | + image |
1435 | + { |
1436 | + function = CHECK |
1437 | + recolorable = TRUE |
1438 | + state = PRELIGHT |
1439 | + shadow = OUT |
1440 | + overlay_file = "Images/Check-Radio/check-normal-prelight.png" |
1441 | + overlay_stretch = FALSE |
1442 | + } |
1443 | + image |
1444 | + { |
1445 | + function = CHECK |
1446 | + recolorable = TRUE |
1447 | + state = ACTIVE |
1448 | + shadow = OUT |
1449 | + overlay_file = "Images/Check-Radio/check-normal-active.png" |
1450 | + overlay_stretch = FALSE |
1451 | + } |
1452 | + image |
1453 | + { |
1454 | + function = CHECK |
1455 | + recolorable = TRUE |
1456 | + state = INSENSITIVE |
1457 | + shadow = OUT |
1458 | + overlay_file = "Images/Check-Radio/check-normal-insensitive.png" |
1459 | + overlay_stretch = FALSE |
1460 | + } |
1461 | + |
1462 | + |
1463 | + image |
1464 | + { |
1465 | + function = CHECK |
1466 | + recolorable = TRUE |
1467 | + state = NORMAL |
1468 | + shadow = IN |
1469 | + overlay_file = "Images/Check-Radio/check-mark.png" |
1470 | + overlay_stretch = FALSE |
1471 | + } |
1472 | + image |
1473 | + { |
1474 | + function = CHECK |
1475 | + recolorable = TRUE |
1476 | + state = PRELIGHT |
1477 | + shadow = IN |
1478 | + overlay_file = "Images/Check-Radio/check-mark-prelight.png" |
1479 | + overlay_stretch = FALSE |
1480 | + } |
1481 | + image |
1482 | + { |
1483 | + function = CHECK |
1484 | + recolorable = TRUE |
1485 | + state = ACTIVE |
1486 | + shadow = IN |
1487 | + overlay_file = "Images/Check-Radio/check-mark-active.png" |
1488 | + overlay_stretch = FALSE |
1489 | + } |
1490 | + image |
1491 | + { |
1492 | + function = CHECK |
1493 | + recolorable = TRUE |
1494 | + state = INSENSITIVE |
1495 | + shadow = IN |
1496 | + overlay_file = "Images/Check-Radio/check-mark-insensitive.png" |
1497 | + overlay_stretch = FALSE |
1498 | + } |
1499 | + |
1500 | + image |
1501 | + { |
1502 | + function = CHECK |
1503 | + recolorable = TRUE |
1504 | + state = NORMAL |
1505 | + shadow = ETCHED_IN |
1506 | + overlay_file = "Images/Check-Radio/check-line.png" |
1507 | + overlay_stretch = FALSE |
1508 | + } |
1509 | + image |
1510 | + { |
1511 | + function = CHECK |
1512 | + recolorable = TRUE |
1513 | + state = PRELIGHT |
1514 | + shadow = ETCHED_IN |
1515 | + overlay_file = "Images/Check-Radio/check-line-prelight.png" |
1516 | + overlay_stretch = FALSE |
1517 | + } |
1518 | + image |
1519 | + { |
1520 | + function = CHECK |
1521 | + recolorable = TRUE |
1522 | + state = ACTIVE |
1523 | + shadow = ETCHED_IN |
1524 | + overlay_file = "Images/Check-Radio/check-line-active.png" |
1525 | + overlay_stretch = FALSE |
1526 | + } |
1527 | + image |
1528 | + { |
1529 | + function = CHECK |
1530 | + recolorable = TRUE |
1531 | + state = INSENSITIVE |
1532 | + shadow = ETCHED_IN |
1533 | + overlay_file = "Images/Check-Radio/check-line-insensitive.png" |
1534 | + overlay_stretch = FALSE |
1535 | + } |
1536 | + |
1537 | + # This is the overlay image |
1538 | + image |
1539 | + { |
1540 | + function = FLAT_BOX |
1541 | + recolorable = TRUE |
1542 | + stretch = TRUE |
1543 | + file = "Images/Others/null.png" |
1544 | + border = { 2, 2, 3, 2 } |
1545 | + } |
1546 | + } |
1547 | +} |
1548 | + |
1549 | +#========================================================= |
1550 | +# Scrollbars |
1551 | +#========================================================= |
1552 | + |
1553 | +style "newwave-scrollbar" = "newwave-default" |
1554 | +{ |
1555 | + |
1556 | + engine "pixmap" |
1557 | + { |
1558 | + |
1559 | + # Sliders background |
1560 | + #============================= |
1561 | + image |
1562 | + { |
1563 | + function = BOX |
1564 | + recolorable = TRUE |
1565 | + detail = "trough" |
1566 | + file = "Images/Scrollbars/trough-scrollbar-horiz.png" |
1567 | + border = { 3, 3, 2, 2 } |
1568 | + stretch = TRUE |
1569 | + orientation = HORIZONTAL |
1570 | + } |
1571 | + image |
1572 | + { |
1573 | + function = BOX |
1574 | + recolorable = TRUE |
1575 | + detail = "trough" |
1576 | + file = "Images/Scrollbars/trough-scrollbar-vert.png" |
1577 | + border = { 2, 2, 3, 3} |
1578 | + stretch = TRUE |
1579 | + orientation = VERTICAL |
1580 | + } |
1581 | + |
1582 | + # Sliders - horizonral |
1583 | + #============================= |
1584 | + image |
1585 | + { |
1586 | + function = SLIDER |
1587 | + recolorable = TRUE |
1588 | + state = NORMAL |
1589 | + detail = "slider" |
1590 | + file = "Images/Scrollbars/slider-horiz.png" |
1591 | + border = { 5, 5, 5, 5 } |
1592 | + stretch = TRUE |
1593 | + orientation = HORIZONTAL |
1594 | + } |
1595 | + image |
1596 | + { |
1597 | + function = SLIDER |
1598 | + recolorable = TRUE |
1599 | + state = ACTIVE |
1600 | + detail = "slider" |
1601 | + shadow = IN |
1602 | + file = "Images/Scrollbars/slider-horiz-active.png" |
1603 | + border = { 5, 5, 5, 5 } |
1604 | + stretch = TRUE |
1605 | + orientation = HORIZONTAL |
1606 | + } |
1607 | + image |
1608 | + { |
1609 | + function = SLIDER |
1610 | + recolorable = TRUE |
1611 | + state = PRELIGHT |
1612 | + detail = "slider" |
1613 | + file = "Images/Scrollbars/slider-horiz-prelight.png" |
1614 | + border = { 5, 5, 5, 5 } |
1615 | + stretch = TRUE |
1616 | + orientation = HORIZONTAL |
1617 | + } |
1618 | + image |
1619 | + { |
1620 | + function = SLIDER |
1621 | + recolorable = TRUE |
1622 | + state = INSENSITIVE |
1623 | + detail = "slider" |
1624 | + file = "Images/Scrollbars/slider-horiz-insens.png" |
1625 | + border = { 5, 5, 5, 5 } |
1626 | + stretch = TRUE |
1627 | + orientation = HORIZONTAL |
1628 | + } |
1629 | + |
1630 | + # Sliders - vertical |
1631 | + #============================= |
1632 | + image |
1633 | + { |
1634 | + function = SLIDER |
1635 | + recolorable = TRUE |
1636 | + state = NORMAL |
1637 | + detail = "slider" |
1638 | + file = "Images/Scrollbars/slider-vert.png" |
1639 | + border = { 5, 5, 5, 5 } |
1640 | + stretch = TRUE |
1641 | + orientation = VERTICAL |
1642 | + } |
1643 | + image |
1644 | + { |
1645 | + function = SLIDER |
1646 | + recolorable = TRUE |
1647 | + state = ACTIVE |
1648 | + detail = "slider" |
1649 | + shadow = IN |
1650 | + file = "Images/Scrollbars/slider-vert-active.png" |
1651 | + border = { 5, 5, 5, 5 } |
1652 | + stretch = TRUE |
1653 | + # overlay_file = "Images/Scrollbars/slider-vert-active-over.png" |
1654 | + # overlay_border = { 2, 3, 2, 2 } |
1655 | + # overlay_stretch = FALSE |
1656 | + orientation = VERTICAL |
1657 | + } |
1658 | + image |
1659 | + { |
1660 | + function = SLIDER |
1661 | + recolorable = TRUE |
1662 | + state = PRELIGHT |
1663 | + detail = "slider" |
1664 | + file = "Images/Scrollbars/slider-vert-prelight.png" |
1665 | + border = { 5, 5, 5, 5 } |
1666 | + stretch = TRUE |
1667 | + orientation = VERTICAL |
1668 | + |
1669 | + } |
1670 | + image |
1671 | + { |
1672 | + function = SLIDER |
1673 | + recolorable = TRUE |
1674 | + state = INSENSITIVE |
1675 | + detail = "slider" |
1676 | + file = "Images/Scrollbars/slider-vert-insens.png" |
1677 | + border = { 5, 5, 5, 5 } |
1678 | + stretch = TRUE |
1679 | + orientation = VERTICAL |
1680 | + |
1681 | + } |
1682 | + |
1683 | + # Steppers - up |
1684 | + #============================= |
1685 | + image |
1686 | + { |
1687 | + function = STEPPER |
1688 | + recolorable = TRUE |
1689 | + state = NORMAL |
1690 | + file = "Images/Scrollbars/stepper-up.png" |
1691 | + border = { 5, 5, 5, 5 } |
1692 | + stretch = TRUE |
1693 | + arrow_direction = UP |
1694 | + } |
1695 | + image |
1696 | + { |
1697 | + function = STEPPER |
1698 | + recolorable = TRUE |
1699 | + state = PRELIGHT |
1700 | + file = "Images/Scrollbars/stepper-up-prelight.png" |
1701 | + border = { 5, 5, 5, 5 } |
1702 | + stretch = TRUE |
1703 | + arrow_direction = UP |
1704 | + } |
1705 | + image |
1706 | + { |
1707 | + function = STEPPER |
1708 | + recolorable = TRUE |
1709 | + state = ACTIVE |
1710 | + file = "Images/Scrollbars/stepper-up-active.png" |
1711 | + border = { 5, 5, 5, 5 } |
1712 | + stretch = TRUE |
1713 | + arrow_direction = UP |
1714 | + } |
1715 | + image |
1716 | + { |
1717 | + function = STEPPER |
1718 | + recolorable = TRUE |
1719 | + state = INSENSITIVE |
1720 | + file = "Images/Scrollbars/stepper-up-insens.png" |
1721 | + stretch = TRUE |
1722 | + arrow_direction = UP |
1723 | + } |
1724 | + |
1725 | + |
1726 | + # Steppers - down |
1727 | + #============================= |
1728 | + image |
1729 | + { |
1730 | + function = STEPPER |
1731 | + recolorable = TRUE |
1732 | + state = NORMAL |
1733 | + file = "Images/Scrollbars/stepper-down.png" |
1734 | + border = { 5, 5, 5, 5 } |
1735 | + stretch = TRUE |
1736 | + arrow_direction = DOWN |
1737 | + } |
1738 | + image |
1739 | + { |
1740 | + function = STEPPER |
1741 | + recolorable = TRUE |
1742 | + state = PRELIGHT |
1743 | + file = "Images/Scrollbars/stepper-down-prelight.png" |
1744 | + border = { 5, 5, 5, 5 } |
1745 | + stretch = TRUE |
1746 | + arrow_direction = DOWN |
1747 | + } |
1748 | + image |
1749 | + { |
1750 | + function = STEPPER |
1751 | + recolorable = TRUE |
1752 | + state = ACTIVE |
1753 | + file = "Images/Scrollbars/stepper-down-active.png" |
1754 | + border = { 5, 5, 5, 5 } |
1755 | + stretch = TRUE |
1756 | + arrow_direction = DOWN |
1757 | + } |
1758 | + image |
1759 | + { |
1760 | + function = STEPPER |
1761 | + recolorable = TRUE |
1762 | + state = INSENSITIVE |
1763 | + file = "Images/Scrollbars/stepper-down-insens.png" |
1764 | + stretch = TRUE |
1765 | + arrow_direction = DOWN |
1766 | + } |
1767 | + |
1768 | + |
1769 | + # Steppers - right |
1770 | + #============================= |
1771 | + image |
1772 | + { |
1773 | + function = STEPPER |
1774 | + recolorable = TRUE |
1775 | + state = NORMAL |
1776 | + file = "Images/Scrollbars/stepper-right.png" |
1777 | + border = { 5, 5, 5, 5 } |
1778 | + stretch = TRUE |
1779 | + arrow_direction = RIGHT |
1780 | + } |
1781 | + image |
1782 | + { |
1783 | + function = STEPPER |
1784 | + recolorable = TRUE |
1785 | + state = PRELIGHT |
1786 | + file = "Images/Scrollbars/stepper-right-prelight.png" |
1787 | + border = { 5, 5, 5, 5 } |
1788 | + stretch = TRUE |
1789 | + arrow_direction = RIGHT |
1790 | + } |
1791 | + image |
1792 | + { |
1793 | + function = STEPPER |
1794 | + recolorable = TRUE |
1795 | + state = ACTIVE |
1796 | + file = "Images/Scrollbars/stepper-right-active.png" |
1797 | + border = { 5, 5, 5, 5 } |
1798 | + stretch = TRUE |
1799 | + arrow_direction = RIGHT |
1800 | + } |
1801 | + image |
1802 | + { |
1803 | + function = STEPPER |
1804 | + recolorable = TRUE |
1805 | + state = INSENSITIVE |
1806 | + file = "Images/Scrollbars/stepper-right-insens.png" |
1807 | + stretch = TRUE |
1808 | + arrow_direction = RIGHT |
1809 | + } |
1810 | + |
1811 | + |
1812 | + # Steppers - left |
1813 | + #============================= |
1814 | + image |
1815 | + { |
1816 | + function = STEPPER |
1817 | + recolorable = TRUE |
1818 | + state = NORMAL |
1819 | + file = "Images/Scrollbars/stepper-left.png" |
1820 | + border = { 5, 5, 5, 5 } |
1821 | + stretch = TRUE |
1822 | + arrow_direction = LEFT |
1823 | + } |
1824 | + image |
1825 | + { |
1826 | + function = STEPPER |
1827 | + recolorable = TRUE |
1828 | + state = PRELIGHT |
1829 | + file = "Images/Scrollbars/stepper-left-prelight.png" |
1830 | + border = { 5, 5, 5, 5 } |
1831 | + stretch = TRUE |
1832 | + arrow_direction = LEFT |
1833 | + } |
1834 | + image |
1835 | + { |
1836 | + function = STEPPER |
1837 | + recolorable = TRUE |
1838 | + state = ACTIVE |
1839 | + file = "Images/Scrollbars/stepper-left-active.png" |
1840 | + border = { 5, 5, 5, 5 } |
1841 | + stretch = TRUE |
1842 | + arrow_direction = LEFT |
1843 | + } |
1844 | + image |
1845 | + { |
1846 | + function = STEPPER |
1847 | + recolorable = TRUE |
1848 | + state = INSENSITIVE |
1849 | + file = "Images/Scrollbars/stepper-left-insens.png" |
1850 | + stretch = TRUE |
1851 | + arrow_direction = LEFT |
1852 | + } |
1853 | + } |
1854 | +} |
1855 | + |
1856 | + |
1857 | +style "newwave-scrolledwindow" = "newwave-default" |
1858 | +{ |
1859 | + GtkScrolledWindow ::scrollbars-within-bevel = 0 |
1860 | + GtkScrolledWindow ::scrollbar-spacing = 0 |
1861 | + |
1862 | + base[NORMAL] = "#ffffff" |
1863 | + bg[NORMAL] = "#ffffff" |
1864 | + |
1865 | + engine "pixmap" |
1866 | + { |
1867 | + |
1868 | + image |
1869 | + { |
1870 | + function = SHADOW |
1871 | + state = INSENSITIVE |
1872 | + file = "Images/Scrollbars/shadow-in-insens.png" |
1873 | + border = {3, 3, 3, 3} |
1874 | + detail = "scrolled_window" |
1875 | + } |
1876 | + |
1877 | + image |
1878 | + { |
1879 | + function = SHADOW |
1880 | + file ="Images/Scrollbars/shadow-in.png" |
1881 | + border = {3, 3, 3, 3} |
1882 | + detail = "scrolled_window" |
1883 | + } |
1884 | + } |
1885 | + |
1886 | +} |
1887 | + |
1888 | +class "GtkScrolledWindow" style "newwave-scrolledwindow" |
1889 | + |
1890 | + |
1891 | +#========================================================= |
1892 | +# Toolbar |
1893 | +#========================================================= |
1894 | +style "newwave-toolbar" |
1895 | +{ |
1896 | + xthickness = 2 |
1897 | + ythickness = 3 |
1898 | + |
1899 | + engine "pixmap" |
1900 | + { |
1901 | + |
1902 | + image |
1903 | + { |
1904 | + function = BOX |
1905 | + state = INSENSITIVE |
1906 | + file = "Images/Toolbar/toolbar-insens.png" |
1907 | + border = { 1, 1, 2, 2} |
1908 | + stretch = TRUE |
1909 | + } |
1910 | + |
1911 | + image |
1912 | + { |
1913 | + function = BOX |
1914 | + file = "Images/Toolbar/toolbar.png" |
1915 | + border = { 1, 1, 2, 2} |
1916 | + stretch = TRUE |
1917 | + } |
1918 | + } |
1919 | +} |
1920 | +style "newwave-toolbar-handle" |
1921 | +{ |
1922 | + xthickness = 1 |
1923 | + ythickness = 3 |
1924 | + |
1925 | + engine "pixmap" |
1926 | + { |
1927 | + image |
1928 | + { |
1929 | + function = BOX |
1930 | + file = "Images/Toolbar/toolbar-handle.png" |
1931 | + border = { 1, 1, 2, 2} |
1932 | + stretch = TRUE |
1933 | + } |
1934 | + } |
1935 | +} |
1936 | + |
1937 | +style "newwave-toolbar-noimage" |
1938 | +{ |
1939 | + xthickness = 2 |
1940 | + ythickness = 3 |
1941 | + |
1942 | + engine "pixmap" |
1943 | + { |
1944 | + image |
1945 | + { |
1946 | + function = BOX |
1947 | + state = NORMAL |
1948 | + file = "Images/Others/null.png" |
1949 | + border = { 1, 1, 4, 4} |
1950 | + stretch = TRUE |
1951 | + } |
1952 | + image |
1953 | + { |
1954 | + function = BOX |
1955 | + state = INSENSITIVE |
1956 | + file = "Images/Others/null.png" |
1957 | + border = { 1, 1, 4, 4} |
1958 | + stretch = TRUE |
1959 | + } |
1960 | + } |
1961 | +} |
1962 | + |
1963 | +#Not working for eclipse |
1964 | +style "newwave-toolbar-noimage-small" |
1965 | +{ |
1966 | + xthickness = 2 |
1967 | + ythickness = 2 |
1968 | + |
1969 | + engine "pixmap" |
1970 | + { |
1971 | + image |
1972 | + { |
1973 | + function = BOX |
1974 | + state = NORMAL |
1975 | + file = "Images/Others/null.png" |
1976 | + border = { 1, 1, 4, 4} |
1977 | + stretch = TRUE |
1978 | + } |
1979 | + image |
1980 | + { |
1981 | + function = BOX |
1982 | + state = INSENSITIVE |
1983 | + file = "Images/Others/null.png" |
1984 | + border = { 1, 1, 4, 4} |
1985 | + stretch = TRUE |
1986 | + } |
1987 | + } |
1988 | +} |
1989 | + |
1990 | + |
1991 | +widget_class "*BonoboDockItem" style "newwave-toolbar" |
1992 | +class "*BonoboDockItem" style "newwave-toolbar" |
1993 | + |
1994 | +widget_class "*HandleBox" style "newwave-toolbar" #-handle" |
1995 | +class "*HandleBox" style"newwave-toolbar" #-handle" |
1996 | + |
1997 | +widget_class "*Toolbar" style "newwave-toolbar" |
1998 | +class "*Toolbar" style "newwave-toolbar" |
1999 | + |
2000 | +#Remove images in Rythmbox toolbars besides the search textbox |
2001 | +widget "*RBSourceHeader*" style:highest "newwave-toolbar-noimage" |
2002 | +widget "*HeaderToolbar*" style:highest "newwave-toolbar-noimage" |
2003 | +widget "*FooterToolbar*" style:highest "newwave-toolbar-noimage" |
2004 | +#Fix eclipse toolbars and make them smaller |
2005 | +widget "*swt*toolbar*" style:highest "newwave-toolbar-noimage-small" |
2006 | + |
2007 | + |
2008 | +#========================================================= |
2009 | +# Toolbar buttons (not currently used) |
2010 | +#========================================================= |
2011 | + |
2012 | + |
2013 | +style "newwave-toolbuttons" = "newwave-button" |
2014 | +{ |
2015 | +engine "pixmap" { |
2016 | + |
2017 | + |
2018 | + image |
2019 | + { |
2020 | + function = FOCUS |
2021 | + recolorable = TRUE |
2022 | + detail = "button" |
2023 | + file = "Images/Toolbar/toolbutton-focus.png" |
2024 | + border = {4, 4, 4, 4} |
2025 | + stretch = TRUE |
2026 | + |
2027 | + } |
2028 | +} |
2029 | +} |
2030 | + |
2031 | +style "newwave-toolbuttons-old" = "newwave-wide" |
2032 | +{ |
2033 | + xthickness = 3 |
2034 | + ythickness = 0 |
2035 | + |
2036 | + # GtkWidget::focus_padding = 2 |
2037 | + |
2038 | + GtkButton::interior_focus = TRUE |
2039 | + |
2040 | + GtkWidget::focus_padding = 0 |
2041 | + GtkButton::focus_width = 1 |
2042 | + GtkButton::displace_focus = TRUE |
2043 | + |
2044 | + # The default is ok |
2045 | + GtkButton::child_displacement_x = 0 |
2046 | + GtkButton::child_displacement_y = 1 |
2047 | + |
2048 | + # Increase because focus padding is zero |
2049 | + GtkButton::inner-border = {2, 2, 2, 2} |
2050 | + # Use to show glow around default buttons |
2051 | + GtkButton::default-border = { 3, 3, 3, 3} |
2052 | + GtkButton::default-outside-border = { 3, 3, 3, 3} |
2053 | + |
2054 | + engine "pixmap" { |
2055 | + |
2056 | + |
2057 | + image |
2058 | + { |
2059 | + function = FOCUS |
2060 | + recolorable = TRUE |
2061 | + detail = "button" |
2062 | + file = "Images/Toolbar/toolbutton-focus.png" |
2063 | + border = {4, 4, 4, 4} |
2064 | + stretch = TRUE |
2065 | + |
2066 | + } |
2067 | + |
2068 | + image |
2069 | + { |
2070 | + function = BOX |
2071 | + recolorable = TRUE |
2072 | + state = NORMAL |
2073 | + file = "Images/Toolbar/toolbutton-normal.png" |
2074 | + border = { 4, 4, 4, 4 } |
2075 | + stretch = TRUE |
2076 | + } |
2077 | + image |
2078 | + { |
2079 | + function = BOX |
2080 | + recolorable = TRUE |
2081 | + state = PRELIGHT |
2082 | + shadow = OUT |
2083 | + file = "Images/Toolbar/toolbutton-prelight.png" |
2084 | + border = { 4, 4, 4, 4 } |
2085 | + stretch = TRUE |
2086 | + } |
2087 | + image |
2088 | + { |
2089 | + function = BOX |
2090 | + recolorable = TRUE |
2091 | + state = PRELIGHT |
2092 | + shadow = IN |
2093 | + file = "Images/Toolbar/toolbutton-pressed-prelight.png" |
2094 | + border = { 4, 4, 4, 4 } |
2095 | + stretch = TRUE |
2096 | + } |
2097 | + image |
2098 | + { |
2099 | + function = BOX |
2100 | + recolorable = TRUE |
2101 | + state = ACTIVE |
2102 | + file = "Images/Toolbar/toolbutton-pressed.png" |
2103 | + border = { 4, 4, 4, 4 } |
2104 | + stretch = TRUE |
2105 | + } |
2106 | + image |
2107 | + { |
2108 | + function = BOX |
2109 | + recolorable = TRUE |
2110 | + shadow = OUT |
2111 | + state = INSENSITIVE |
2112 | + file = "Images/Toolbar/toolbutton-insensitive.png" |
2113 | + border = { 4, 4, 4, 4 } |
2114 | + stretch = TRUE |
2115 | + } |
2116 | + image |
2117 | + { |
2118 | + function = BOX |
2119 | + recolorable = TRUE |
2120 | + shadow = IN |
2121 | + state = INSENSITIVE |
2122 | + file = "Images/Toolbar/toolbutton-pressed-insensitive.png" |
2123 | + border ={ 4, 4, 4, 4 } |
2124 | + stretch = TRUE |
2125 | + } |
2126 | + } |
2127 | +} |
2128 | + |
2129 | +#========================================================= |
2130 | +# Toolbar focus button image |
2131 | +#========================================================= |
2132 | + |
2133 | + |
2134 | + |
2135 | + |
2136 | +#========================================================= |
2137 | +# Range |
2138 | +#========================================================= |
2139 | + |
2140 | +style "newwave-range" = "newwave-wide" |
2141 | +{ |
2142 | + engine "pixmap" |
2143 | + { |
2144 | + |
2145 | + # Range - background |
2146 | + #============================= |
2147 | + image |
2148 | + { |
2149 | + function = BOX |
2150 | + file = "Images/Range/trough-horizontal.png" |
2151 | + border = { 6, 6, 7, 7 } |
2152 | + stretch = TRUE |
2153 | + orientation = HORIZONTAL |
2154 | + } |
2155 | + |
2156 | + # image |
2157 | + # { |
2158 | + # function = FOCUS |
2159 | + # file = "Images/Range/trough-horizontal-focus.png" |
2160 | + # detail = "trough" |
2161 | + # border = { 7,7,7,7 } |
2162 | + # stretch = TRUE |
2163 | + # orientation = HORIZONTAL |
2164 | + # } |
2165 | + image |
2166 | + { |
2167 | + function = BOX |
2168 | + file = "Images/Range/trough-vertical.png" |
2169 | + border = { 7,7, 6, 6 } |
2170 | + stretch = TRUE |
2171 | + orientation = VERTICAL |
2172 | + } |
2173 | + # image |
2174 | + # { |
2175 | + # function = FOCUS |
2176 | + # detail = "trough" |
2177 | + # file = "Images/Range/trough-vertical-focus.png" |
2178 | + # border = {7,7,7,7} |
2179 | + # stretch = TRUE |
2180 | + # orientation = VERTICAL |
2181 | + # } |
2182 | + |
2183 | + |
2184 | + # Range - horizonral |
2185 | + #============================= |
2186 | + image |
2187 | + { |
2188 | + function = SLIDER |
2189 | + recolorable = TRUE |
2190 | + state = NORMAL |
2191 | + file = "Images/Range/null.png" |
2192 | + border = { 0, 0, 0, 0} |
2193 | + stretch = TRUE |
2194 | + overlay_file = "Images/Range/slider-horiz.png" |
2195 | + overlay_stretch = FALSE |
2196 | + orientation = HORIZONTAL |
2197 | + |
2198 | + } |
2199 | + image |
2200 | + { |
2201 | + function = SLIDER |
2202 | + recolorable = TRUE |
2203 | + state = PRELIGHT |
2204 | + file = "Images/Range/null.png" |
2205 | + border = { 0, 0, 0, 0 } |
2206 | + stretch = TRUE |
2207 | + overlay_file = "Images/Range/slider-horiz-prelight.png" |
2208 | + overlay_stretch = FALSE |
2209 | + orientation = HORIZONTAL |
2210 | + } |
2211 | + image |
2212 | + { |
2213 | + function = SLIDER |
2214 | + recolorable = TRUE |
2215 | + state = ACTIVE |
2216 | + file = "Images/Range/null.png" |
2217 | + border = { 0, 0, 0, 0 } |
2218 | + stretch = TRUE |
2219 | + overlay_file = "Images/Range/slider-horiz-active.png" |
2220 | + overlay_stretch = FALSE |
2221 | + orientation = HORIZONTAL |
2222 | + } |
2223 | + image |
2224 | + { |
2225 | + function = SLIDER |
2226 | + recolorable = TRUE |
2227 | + state = INSENSITIVE |
2228 | + file = "Images/Range/null.png" |
2229 | + border = { 0, 0, 0, 0 } |
2230 | + stretch = TRUE |
2231 | + overlay_file = "Images/Range/slider-horiz-insens.png" |
2232 | + overlay_stretch = FALSE |
2233 | + orientation = HORIZONTAL |
2234 | + } |
2235 | + |
2236 | + |
2237 | + # Range - vertical |
2238 | + #============================= |
2239 | + image |
2240 | + { |
2241 | + function = SLIDER |
2242 | + recolorable = TRUE |
2243 | + state = NORMAL |
2244 | + file = "Images/Range/null.png" |
2245 | + border = { 0, 0, 0, 0 } |
2246 | + stretch = TRUE |
2247 | + overlay_file = "Images/Range/slider-vert.png" |
2248 | + overlay_stretch = FALSE |
2249 | + orientation = VERTICAL |
2250 | + } |
2251 | + image |
2252 | + { |
2253 | + function = SLIDER |
2254 | + recolorable = TRUE |
2255 | + state = PRELIGHT |
2256 | + file = "Images/Range/null.png" |
2257 | + border = { 0, 0, 0, 0 } |
2258 | + stretch = TRUE |
2259 | + overlay_file = "Images/Range/slider-vert-prelight.png" |
2260 | + overlay_stretch = FALSE |
2261 | + orientation = VERTICAL |
2262 | + } |
2263 | + image |
2264 | + { |
2265 | + function = SLIDER |
2266 | + recolorable = TRUE |
2267 | + state = ACTIVE |
2268 | + file = "Images/Range/null.png" |
2269 | + border = { 0, 0, 0, 0 } |
2270 | + stretch = TRUE |
2271 | + overlay_file = "Images/Range/slider-vert-active.png" |
2272 | + overlay_stretch = FALSE |
2273 | + orientation = VERTICAL |
2274 | + } |
2275 | + image |
2276 | + { |
2277 | + function = SLIDER |
2278 | + recolorable = TRUE |
2279 | + state = INSENSITIVE |
2280 | + file = "Images/Range/null.png" |
2281 | + border = { 0, 0, 0, 0 } |
2282 | + stretch = TRUE |
2283 | + overlay_file = "Images/Range/slider-vert-insens.png" |
2284 | + overlay_stretch = FALSE |
2285 | + orientation = VERTICAL |
2286 | + } |
2287 | + } |
2288 | +} |
2289 | + |
2290 | + |
2291 | +#========================================================= |
2292 | +# Spinbutton |
2293 | +#========================================================= |
2294 | +style "newwave-spinbutton" = "newwave-wider" |
2295 | +{ |
2296 | + |
2297 | + GtkSpinButton::page-size = 0 |
2298 | + GtkWidget::interior_focus = 0 |
2299 | + GtkWidget::internal-padding = 4 |
2300 | + |
2301 | + engine "pixmap" |
2302 | + { |
2303 | + |
2304 | + #@author:dilomo@ This is very important. Do not remove! |
2305 | + image |
2306 | + { |
2307 | + function = ARROW |
2308 | + } |
2309 | + |
2310 | + # Spin - up |
2311 | + #============================= |
2312 | + image |
2313 | + { |
2314 | + function = BOX |
2315 | + state = NORMAL |
2316 | + detail = "spinbutton_up" |
2317 | + recolorable = TRUE |
2318 | + file = "Images/Spin/spin-up-bg.png" |
2319 | + border = { 2, 2, 2, 2} |
2320 | + stretch = TRUE |
2321 | + overlay_file = "Images/Spin/arrow-up.png" |
2322 | + overlay_stretch = FALSE |
2323 | + } |
2324 | + image |
2325 | + { |
2326 | + function = BOX |
2327 | + state = PRELIGHT |
2328 | + detail = "spinbutton_up" |
2329 | + recolorable = TRUE |
2330 | + file = "Images/Spin/spin-up-bg-prelight.png" |
2331 | + border = { 2, 2, 2, 2} |
2332 | + stretch = TRUE |
2333 | + overlay_file = "Images/Spin/arrow-up-prelight.png" |
2334 | + overlay_stretch = FALSE |
2335 | + } |
2336 | + image |
2337 | + { |
2338 | + function = BOX |
2339 | + state = INSENSITIVE |
2340 | + detail = "spinbutton_up" |
2341 | + recolorable = TRUE |
2342 | + file = "Images/Spin/spin-up-bg.png" |
2343 | + border = { 2, 2, 2, 2} |
2344 | + stretch = TRUE |
2345 | + overlay_file = "Images/Spin/arrow-up-disable.png" |
2346 | + overlay_stretch = FALSE |
2347 | + } |
2348 | + image |
2349 | + { |
2350 | + function = BOX |
2351 | + state = ACTIVE |
2352 | + detail = "spinbutton_up" |
2353 | + recolorable = TRUE |
2354 | + file = "Images/Spin/spin-up-bg-active.png" |
2355 | + border = { 2, 2, 2, 2} |
2356 | + stretch = TRUE |
2357 | + overlay_file = "Images/Spin/arrow-up-active.png" |
2358 | + overlay_stretch = FALSE |
2359 | + } |
2360 | + |
2361 | + # Spin - down |
2362 | + #============================= |
2363 | + image |
2364 | + { |
2365 | + function = BOX |
2366 | + state = NORMAL |
2367 | + detail = "spinbutton_down" |
2368 | + recolorable = TRUE |
2369 | + file = "Images/Spin/spin-down-bg.png" |
2370 | + border = { 2, 2, 2, 2} |
2371 | + stretch = TRUE |
2372 | + overlay_file = "Images/Spin/arrow-down.png" |
2373 | + overlay_stretch = FALSE |
2374 | + } |
2375 | + image |
2376 | + { |
2377 | + function = BOX |
2378 | + state = PRELIGHT |
2379 | + detail = "spinbutton_down" |
2380 | + recolorable = TRUE |
2381 | + file = "Images/Spin/spin-down-bg-prelight.png" |
2382 | + border = { 2, 2, 2, 2} |
2383 | + stretch = TRUE |
2384 | + overlay_file = "Images/Spin/arrow-down-prelight.png" |
2385 | + overlay_stretch = FALSE |
2386 | + } |
2387 | + image |
2388 | + { |
2389 | + function = BOX |
2390 | + state = INSENSITIVE |
2391 | + detail = "spinbutton_down" |
2392 | + recolorable = TRUE |
2393 | + file = "Images/Spin/spin-down-bg.png" |
2394 | + border = { 2, 2, 2, 2} |
2395 | + stretch = TRUE |
2396 | + overlay_file = "Images/Spin/arrow-down-disable.png" |
2397 | + overlay_stretch = FALSE |
2398 | + } |
2399 | + image |
2400 | + { |
2401 | + function = BOX |
2402 | + state = ACTIVE |
2403 | + detail = "spinbutton_down" |
2404 | + recolorable = TRUE |
2405 | + file = "Images/Spin/spin-down-bg-active.png" |
2406 | + border = { 2, 2, 2, 3} |
2407 | + stretch = TRUE |
2408 | + overlay_file = "Images/Spin/arrow-down-active.png" |
2409 | + overlay_stretch = FALSE |
2410 | + } |
2411 | + |
2412 | + |
2413 | + # Spin - entry (textbox) |
2414 | + #============================= |
2415 | + image |
2416 | + { |
2417 | + function = FOCUS |
2418 | + recolorable = TRUE |
2419 | + file = "Images/Spin/text-entry-focus.png" |
2420 | + border = { 2, 2, 3, 3} |
2421 | + stretch = TRUE |
2422 | + } |
2423 | + |
2424 | + image |
2425 | + { |
2426 | + function = BOX |
2427 | + recolorable = TRUE |
2428 | + shadow = OUT |
2429 | + state = NORMAL |
2430 | + detail = "entry" |
2431 | + file = "Images/Spin/text-entry.png" |
2432 | + border = { 2 , 2 ,3 ,3 } |
2433 | + stretch = TRUE |
2434 | + } |
2435 | + |
2436 | + image |
2437 | + { |
2438 | + function = SHADOW |
2439 | + state = NORMAL |
2440 | + shadow = IN |
2441 | + recolorable = FALSE |
2442 | + detail = "entry" |
2443 | + file = "Images/Spin/text-entry.png" |
2444 | + border = { 2, 2, 2, 2} |
2445 | + stretch = TRUE |
2446 | + } |
2447 | + } |
2448 | + |
2449 | +} |
2450 | + |
2451 | + |
2452 | +#========================================================= |
2453 | +# Conmbobox entry |
2454 | +#========================================================= |
2455 | +style "newwave-comboboxentry" = "newwave-wider" |
2456 | +{ |
2457 | + # Makes the button of the combo to have interior focus |
2458 | + GtkButton::interior_focus = 0 |
2459 | + |
2460 | + engine "pixmap" |
2461 | + { |
2462 | + |
2463 | + image |
2464 | + { |
2465 | + function = FOCUS |
2466 | + recolorable = TRUE |
2467 | + detail = "entry" |
2468 | + file = "Images/Combo/combo-entry-focus.png" |
2469 | + border = {2, 2, 2, 3} |
2470 | + stretch = TRUE |
2471 | + } |
2472 | + |
2473 | + |
2474 | + image |
2475 | + { |
2476 | + function = BOX |
2477 | + recolorable = TRUE |
2478 | + state = PRELIGHT |
2479 | + file = "Images/Combo/combo-prelight.png" |
2480 | + border = { 4, 4, 4, 4} |
2481 | + stretch = TRUE |
2482 | + } |
2483 | + image |
2484 | + { |
2485 | + function = BOX |
2486 | + recolorable = TRUE |
2487 | + state = NORMAL |
2488 | + file = "Images/Combo/combo-normal.png" |
2489 | + border = { 4, 4, 4, 4} |
2490 | + stretch = TRUE |
2491 | + } |
2492 | + |
2493 | + image |
2494 | + { |
2495 | + function = BOX |
2496 | + recolorable = TRUE |
2497 | + state = ACTIVE |
2498 | + file = "Images/Combo/combo-pressed.png" |
2499 | + border = { 4, 4, 4, 4} |
2500 | + stretch = TRUE |
2501 | + } |
2502 | + |
2503 | + image |
2504 | + { |
2505 | + function = BOX |
2506 | + recolorable = TRUE |
2507 | + state = INSENSITIVE |
2508 | + file = "Images/Combo/combo-inactive.png" |
2509 | + border = { 4, 4, 4, 4} |
2510 | + stretch = TRUE |
2511 | + } |
2512 | + |
2513 | + image |
2514 | + { |
2515 | + function = SHADOW |
2516 | + detail = "entry" |
2517 | + shadow = IN |
2518 | + recolorable = FALSE |
2519 | + file = "Images/Combo/combo-entry.png" |
2520 | + border = { 2,2,2,2 } |
2521 | + stretch = TRUE |
2522 | + } |
2523 | + |
2524 | + } |
2525 | +} |
2526 | + |
2527 | + |
2528 | +style "newwave-combomenu" |
2529 | +{ |
2530 | + fg[PRELIGHT] = @bg_color |
2531 | +} |
2532 | +widget_class "*GtkComboBox*.*GtkMenu*.*" style "newwave-combomenu" |
2533 | + |
2534 | +style "newwave-list-item" |
2535 | +{ |
2536 | + fg[PRELIGHT] = @bg_color |
2537 | + engine "pixmap" |
2538 | + { |
2539 | + image |
2540 | + { |
2541 | + function = FLAT_BOX |
2542 | + #detail = "listitem" |
2543 | + state = SELECTED |
2544 | + file = "Images/Tree/selected.png" |
2545 | + border = {2,2,2,2} |
2546 | + } |
2547 | + } |
2548 | +} |
2549 | +widget_class "*<GtkListItem>*" style "newwave-list-item" |
2550 | + |
2551 | + |
2552 | +#========================================================= |
2553 | +# Combobox |
2554 | +#========================================================= |
2555 | +style "newwave-combobox" = "newwave-comboboxentry" |
2556 | +{ |
2557 | + xthickness = 3 |
2558 | + ythickness = 3 |
2559 | + |
2560 | + fg[PRELIGHT] = @bg_color |
2561 | +} |
2562 | + |
2563 | +style "newwave-combobutton" = "newwave-default" |
2564 | +{ |
2565 | + # Make it vertical |
2566 | + GtkButton::child_displacement_x = 0 |
2567 | + GtkButton::child_displacement_y = 1 |
2568 | + GtkButton::interior_focus = 1 |
2569 | + |
2570 | + engine "pixmap" |
2571 | + { |
2572 | + image |
2573 | + { |
2574 | + function = FOCUS |
2575 | + recolorable = TRUE |
2576 | + file = "Images/Combo/combo-focus.png" |
2577 | + border = {2, 2, 3, 3} |
2578 | + stretch = TRUE |
2579 | + } |
2580 | + |
2581 | + image |
2582 | + { |
2583 | + function = BOX |
2584 | + state = NORMAL |
2585 | + file = "Images/Combo/combo-normal.png" |
2586 | + border = { 0, 2, 2, 2} |
2587 | + stretch = TRUE |
2588 | + } |
2589 | + |
2590 | + image |
2591 | + { |
2592 | + function = BOX |
2593 | + recolorable = TRUE |
2594 | + state = PRELIGHT |
2595 | + shadow = OUT |
2596 | + file = "Images/Combo/combo-prelight.png" |
2597 | + border = { 0, 2, 2, 2} |
2598 | + stretch = TRUE |
2599 | + } |
2600 | + |
2601 | + image |
2602 | + { |
2603 | + function = BOX |
2604 | + recolorable = TRUE |
2605 | + state = PRELIGHT |
2606 | + shadow = IN |
2607 | + file = "Images/Combo/combo-prelight.png" |
2608 | + border = { 0, 2, 2, 2} |
2609 | + stretch = TRUE |
2610 | + } |
2611 | + |
2612 | + image |
2613 | + { |
2614 | + function = BOX |
2615 | + state = ACTIVE |
2616 | + file = "Images/Combo/combo-pressed.png" |
2617 | + border = { 0, 2, 2, 2} |
2618 | + stretch = TRUE |
2619 | + } |
2620 | + image |
2621 | + { |
2622 | + function = BOX |
2623 | + state = INSENSITIVE |
2624 | + file = "Images/Combo/combo-inactive.png" |
2625 | + border = { 0, 2, 2, 2} |
2626 | + stretch = TRUE |
2627 | + } |
2628 | +} |
2629 | +} |
2630 | + |
2631 | + |
2632 | +#========================================================= |
2633 | +# Entry (textbox) |
2634 | +#========================================================= |
2635 | +style "newwave-entry" = "newwave-wider" |
2636 | +{ |
2637 | + #@author:dilomo@ Disable outer focus glow because it look ugly in comboboxes and spins |
2638 | + GtkWidget::interior_focus = 0 |
2639 | + GtkEntry::inner-border = {2, 2, 1, 1} |
2640 | + |
2641 | + |
2642 | + |
2643 | + engine "pixmap" |
2644 | + { |
2645 | + |
2646 | + # i'm unsure about these |
2647 | + image |
2648 | + { |
2649 | + function = BOX |
2650 | + recolorable = TRUE |
2651 | + shadow = IN |
2652 | + state = NORMAL |
2653 | + file = "Images/Shadows/entry-shadow-in.png" |
2654 | + border = { 3,3,4,3 } |
2655 | + stretch = TRUE |
2656 | + } |
2657 | + image |
2658 | + { |
2659 | + function = BOX |
2660 | + recolorable = TRUE |
2661 | + shadow = OUT |
2662 | + state = NORMAL |
2663 | + file = "Images/Shadows/entry-shadow-in.png" |
2664 | + border = { 3,3,4,3 } |
2665 | + stretch = TRUE |
2666 | + } |
2667 | + image |
2668 | + { |
2669 | + function = BOX |
2670 | + recolorable = TRUE |
2671 | + shadow = OUT |
2672 | + state = ACTIVE |
2673 | + file = "Images/Shadows/entry-focus.png" |
2674 | + border = { 2,2,2,2 } |
2675 | + stretch = TRUE |
2676 | + } |
2677 | + image |
2678 | + { |
2679 | + function = BOX |
2680 | + recolorable = TRUE |
2681 | + shadow = IN |
2682 | + state = INSENSITIVE |
2683 | + file = "Images/Shadows/entry-focus.png" |
2684 | + border = { 2,2,2,2 } |
2685 | + stretch = TRUE |
2686 | + } |
2687 | + |
2688 | + |
2689 | + # Glow image when selected |
2690 | + image |
2691 | + { |
2692 | + function = FOCUS |
2693 | + recolorable = TRUE |
2694 | + detail = "entry" |
2695 | + file = "Images/Shadows/entry-focus.png" |
2696 | + border = {3, 3, 4, 3} |
2697 | + stretch = TRUE |
2698 | + } |
2699 | + |
2700 | + # the actual textbox in normal state |
2701 | + image |
2702 | + { |
2703 | + function = SHADOW |
2704 | + detail = "entry" |
2705 | + shadow = IN |
2706 | + state = NORMAL |
2707 | + recolorable = FALSE |
2708 | + file = "Images/Shadows/entry-shadow-in.png" |
2709 | + border = { 2,2,2,2 } |
2710 | + stretch = TRUE |
2711 | + } |
2712 | + } |
2713 | + |
2714 | + |
2715 | +} |
2716 | + |
2717 | +style "newwave-entry-nofocus" = "newwave-entry" |
2718 | +{ |
2719 | + GtkWidget::interior_focus = 1 |
2720 | +} |
2721 | + |
2722 | +#========================================================= |
2723 | +# Task list |
2724 | +#========================================================= |
2725 | +style "newwave-tasklist" = "newwave-wide" |
2726 | +{ |
2727 | +} |
2728 | + |
2729 | +#========================================================= |
2730 | +# Treeview |
2731 | +#========================================================= |
2732 | +style "newwave-treeview" |
2733 | +{ |
2734 | + # make unfocused items have different text color |
2735 | + text[ACTIVE] = shade(0.43, @selected_bg_color) |
2736 | + text[SELECTED] = @text_color |
2737 | + |
2738 | + bg[NORMAL] = "#EDEDED" |
2739 | + bg[SELECTED] = @selected_bg_color |
2740 | + |
2741 | + engine "pixmap" |
2742 | + { |
2743 | + |
2744 | + # Focus Images in treeviews |
2745 | + #======================================================== |
2746 | + |
2747 | + |
2748 | + # Focus for the drop item - indicator |
2749 | + image |
2750 | + { |
2751 | + function = FOCUS |
2752 | + detail = "treeview-drop-indicator-left" |
2753 | + file = "Images/Tree/dropindicator.png" |
2754 | + border = {2, 2, 2, 2} |
2755 | + stretch = TRUE |
2756 | + } |
2757 | + image |
2758 | + { |
2759 | + function = FOCUS |
2760 | + detail = "treeview-drop-indicator-middle" |
2761 | + file = "Images/Tree/dropindicator.png" |
2762 | + border = {2, 2, 2, 2} |
2763 | + stretch = TRUE |
2764 | + } |
2765 | + image |
2766 | + { |
2767 | + function = FOCUS |
2768 | + detail = "treeview-drop-indicator-right" |
2769 | + file = "Images/Tree/dropindicator.png" |
2770 | + border = {2, 2, 2, 2} |
2771 | + stretch = TRUE |
2772 | + } |
2773 | + |
2774 | + image |
2775 | + { |
2776 | + function = FOCUS |
2777 | + detail = "treeview-drop-indicator" |
2778 | + file = "Images/Tree/dropindicator.png" |
2779 | + border = {2, 2, 2, 2} |
2780 | + stretch = TRUE |
2781 | + } |
2782 | + |
2783 | + # Focus for the seleced row |
2784 | + image |
2785 | + { |
2786 | + function = FOCUS |
2787 | + detail = "treeview-left" |
2788 | + file = "Images/Tree/row-focus.png" |
2789 | + border = {3, 3, 3, 3 } |
2790 | + stretch = TRUE |
2791 | + } |
2792 | + image |
2793 | + { |
2794 | + function = FOCUS |
2795 | + detail = "treeview-middle" |
2796 | + file = "Images/Tree/row-focus.png" |
2797 | + border = {3, 3, 3, 3 } |
2798 | + stretch = TRUE |
2799 | + } |
2800 | + image |
2801 | + { |
2802 | + function = FOCUS |
2803 | + detail = "treeview-right" |
2804 | + file = "Images/Tree/row-focus.png" |
2805 | + border = {3, 3, 3, 3 } |
2806 | + stretch = TRUE |
2807 | + } |
2808 | + |
2809 | + image |
2810 | + { |
2811 | + function = FOCUS |
2812 | + detail = "treeview" |
2813 | + file = "Images/Tree/row-focus.png" |
2814 | + border = {3, 3, 3, 3 } |
2815 | + stretch = TRUE |
2816 | + } |
2817 | + |
2818 | + # Focus for the whole empty treeview |
2819 | + image |
2820 | + { |
2821 | + function = FOCUS |
2822 | + recolorable = TRUE |
2823 | + file = "Images/Tree/tree-empty-focus.png" |
2824 | + border = {3, 3, 3, 3 } |
2825 | + stretch = TRUE |
2826 | + } |
2827 | + |
2828 | + |
2829 | + # Active Rows |
2830 | + #======================================================== |
2831 | + |
2832 | + # Start Selected images |
2833 | + image |
2834 | + { |
2835 | + function = FLAT_BOX |
2836 | + state = SELECTED |
2837 | + detail = "cell_even_start" |
2838 | + border = {6, 2, 2, 2} |
2839 | + file = "Images/Tree/selected-mid.png" |
2840 | + stretch = TRUE |
2841 | + } |
2842 | + image |
2843 | + { |
2844 | + function = FLAT_BOX |
2845 | + state = SELECTED |
2846 | + detail = "cell_odd_start" |
2847 | + border = {6, 2, 2, 2} |
2848 | + file = "Images/Tree/selected-mid.png" |
2849 | + stretch = TRUE |
2850 | + } |
2851 | + image |
2852 | + { |
2853 | + function = FLAT_BOX |
2854 | + state = SELECTED |
2855 | + detail = "cell_even_sorted_start" |
2856 | + border = {6, 2, 2, 2} |
2857 | + file = "Images/Tree/selected-mid-odd-sorted.png" |
2858 | + stretch = TRUE |
2859 | + } |
2860 | + image |
2861 | + { |
2862 | + function = FLAT_BOX |
2863 | + state = SELECTED |
2864 | + detail = "cell_odd_sorted_start" |
2865 | + border = {6, 2, 2, 2} |
2866 | + file = "Images/Tree/selected-mid-odd-sorted.png" |
2867 | + stretch = TRUE |
2868 | + } |
2869 | + |
2870 | + # Middle Selected images |
2871 | + image |
2872 | + { |
2873 | + function = FLAT_BOX |
2874 | + state = SELECTED |
2875 | + detail = "cell_even_middle" |
2876 | + border = {2, 2, 2, 2} |
2877 | + file = "Images/Tree/selected-mid.png" |
2878 | + stretch = TRUE |
2879 | + } |
2880 | + image |
2881 | + { |
2882 | + function = FLAT_BOX |
2883 | + state = SELECTED |
2884 | + detail = "cell_odd_middle" |
2885 | + border = {2, 2, 2, 2} |
2886 | + file = "Images/Tree/selected-mid.png" |
2887 | + stretch = TRUE |
2888 | + } |
2889 | + image |
2890 | + { |
2891 | + function = FLAT_BOX |
2892 | + state = SELECTED |
2893 | + detail = "cell_even_sorted_middle" |
2894 | + border = {2, 2, 2, 2} |
2895 | + file = "Images/Tree/selected-mid-odd-sorted.png" |
2896 | + stretch = TRUE |
2897 | + } |
2898 | + image |
2899 | + { |
2900 | + function = FLAT_BOX |
2901 | + state = SELECTED |
2902 | + detail = "cell_odd_sorted_middle" |
2903 | + border = {2, 2, 2, 2} |
2904 | + file = "Images/Tree/selected-mid-odd-sorted.png" |
2905 | + stretch = TRUE |
2906 | + } |
2907 | + |
2908 | + # End Selected images |
2909 | + image |
2910 | + { |
2911 | + function = FLAT_BOX |
2912 | + state = SELECTED |
2913 | + detail = "cell_even_end" |
2914 | + border = {2, 6, 2, 2} |
2915 | + file = "Images/Tree/selected-end.png" |
2916 | + stretch = TRUE |
2917 | + } |
2918 | + image |
2919 | + { |
2920 | + function = FLAT_BOX |
2921 | + state = SELECTED |
2922 | + detail = "cell_odd_end" |
2923 | + border = {2, 6, 2, 2} |
2924 | + file = "Images/Tree/selected-end.png" |
2925 | + stretch = TRUE |
2926 | + } |
2927 | + image |
2928 | + { |
2929 | + function = FLAT_BOX |
2930 | + state = SELECTED |
2931 | + detail = "cell_even_sorted_end" |
2932 | + border = {2, 6, 2, 2} |
2933 | + file = "Images/Tree/selected-end-odd-sorted.png" |
2934 | + stretch = TRUE |
2935 | + } |
2936 | + image |
2937 | + { |
2938 | + function = FLAT_BOX |
2939 | + state = SELECTED |
2940 | + detail = "cell_odd_sorted_end" |
2941 | + border = {2, 6, 2, 2} |
2942 | + file = "Images/Tree/selected-end-odd-sorted.png" |
2943 | + stretch = TRUE |
2944 | + } |
2945 | + |
2946 | + |
2947 | + # This is for treeviews with only one column |
2948 | + image |
2949 | + { |
2950 | + function = FLAT_BOX |
2951 | + state = SELECTED |
2952 | + border = {6, 2, 2, 2} |
2953 | + file = "Images/Tree/selected.png" |
2954 | + stretch = TRUE |
2955 | + } |
2956 | + |
2957 | + # Normal Rows |
2958 | + #======================================================== |
2959 | + |
2960 | + # Start Normal images |
2961 | + image |
2962 | + { |
2963 | + function = FLAT_BOX |
2964 | + state = NORMAL |
2965 | + detail = "cell_even_start" |
2966 | + border = {2, 2, 2, 2} |
2967 | + file = "Images/Tree/tree-normal.png" |
2968 | + stretch = TRUE |
2969 | + } |
2970 | + image |
2971 | + { |
2972 | + function = FLAT_BOX |
2973 | + state = NORMAL |
2974 | + detail = "cell_odd_start" |
2975 | + border = {2, 2, 2, 2} |
2976 | + file = "Images/Tree/tree-normal-odd.png" |
2977 | + stretch = TRUE |
2978 | + } |
2979 | + image |
2980 | + { |
2981 | + function = FLAT_BOX |
2982 | + state = NORMAL |
2983 | + detail = "cell_even_sorted_start" |
2984 | + border = {2, 2, 2, 2} |
2985 | + file = "Images/Tree/tree-normal-sorted.png" |
2986 | + stretch = TRUE |
2987 | + } |
2988 | + image |
2989 | + { |
2990 | + function = FLAT_BOX |
2991 | + state = NORMAL |
2992 | + detail = "cell_odd_sorted_start" |
2993 | + border = {2, 2, 2, 2} |
2994 | + file = "Images/Tree/tree-normal-sorted-odd.png" |
2995 | + stretch = TRUE |
2996 | + } |
2997 | + |
2998 | + # Middle Normal images |
2999 | + image |
3000 | + { |
3001 | + function = FLAT_BOX |
3002 | + state = NORMAL |
3003 | + detail = "cell_even_middle" |
3004 | + border = {2, 2, 2, 2} |
3005 | + file = "Images/Tree/tree-normal.png" |
3006 | + stretch = TRUE |
3007 | + } |
3008 | + image |
3009 | + { |
3010 | + function = FLAT_BOX |
3011 | + state = NORMAL |
3012 | + detail = "cell_odd_middle" |
3013 | + border = {2, 2, 2, 2} |
3014 | + file = "Images/Tree/tree-normal-odd.png" |
3015 | + stretch = TRUE |
3016 | + } |
3017 | + image |
3018 | + { |
3019 | + function = FLAT_BOX |
3020 | + state = NORMAL |
3021 | + detail = "cell_even_sorted_middle" |
3022 | + border = {2, 2, 2, 2} |
3023 | + file = "Images/Tree/tree-normal-sorted.png" |
3024 | + stretch = TRUE |
3025 | + } |
3026 | + image |
3027 | + { |
3028 | + function = FLAT_BOX |
3029 | + state = NORMAL |
3030 | + detail = "cell_odd_sorted_middle" |
3031 | + border = {2, 2, 2, 2} |
3032 | + file = "Images/Tree/tree-normal-sorted-odd.png" |
3033 | + stretch = TRUE |
3034 | + } |
3035 | + # End Normal images |
3036 | + image |
3037 | + { |
3038 | + function = FLAT_BOX |
3039 | + state = NORMAL |
3040 | + detail = "cell_even_end" |
3041 | + border = {2, 2, 2, 2} |
3042 | + file = "Images/Tree/tree-normal-end.png" |
3043 | + stretch = TRUE |
3044 | + } |
3045 | + image |
3046 | + { |
3047 | + function = FLAT_BOX |
3048 | + state = NORMAL |
3049 | + detail = "cell_odd_end" |
3050 | + border = {2, 2, 2, 2} |
3051 | + file = "Images/Tree/tree-normal-odd-end.png" |
3052 | + stretch = TRUE |
3053 | + } |
3054 | + image |
3055 | + { |
3056 | + function = FLAT_BOX |
3057 | + state = NORMAL |
3058 | + detail = "cell_even_sorted_end" |
3059 | + border = {2, 2, 2, 2} |
3060 | + file = "Images/Tree/tree-normal-sorted-end.png" |
3061 | + stretch = TRUE |
3062 | + } |
3063 | + image |
3064 | + { |
3065 | + function = FLAT_BOX |
3066 | + state = NORMAL |
3067 | + detail = "cell_odd_sorted_end" |
3068 | + border = {2, 2, 2, 2} |
3069 | + file = "Images/Tree/tree-normal-sorted-odd-end.png" |
3070 | + stretch = TRUE |
3071 | + } |
3072 | + |
3073 | + |
3074 | + |
3075 | + |
3076 | + image |
3077 | + { |
3078 | + function = BOX |
3079 | + state = ACTIVE |
3080 | + border = {2,2,2,2} |
3081 | + file = "Images/Tree/selected.png" |
3082 | + stretch = TRUE |
3083 | + } |
3084 | + |
3085 | + # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info) |
3086 | + image |
3087 | + { |
3088 | + function = BOX |
3089 | + state = SELECTED |
3090 | + border = {2,2,2,2} |
3091 | + file = "Images/Tree/selected-active.png" |
3092 | + stretch = TRUE |
3093 | + } |
3094 | + } |
3095 | +} |
3096 | + |
3097 | + |
3098 | +#========================================================= |
3099 | +# Treeview in Nautilus SidePane |
3100 | +#========================================================= |
3101 | +style "newwave-treeview-nautilus-sidebar" |
3102 | +{ |
3103 | + |
3104 | + # make unfocused items have different text color but darker than in standard treeviews |
3105 | + text[ACTIVE] = shade(0.33, @selected_bg_color) |
3106 | + text[SELECTED] = @text_color |
3107 | + |
3108 | + bg[NORMAL] = "#ffffff" # Color of sorted columns |
3109 | + bg[SELECTED] = @selected_bg_color |
3110 | + |
3111 | + engine "pixmap" |
3112 | + { |
3113 | + |
3114 | + # Focus Images in treeviews |
3115 | + #======================================================== |
3116 | + |
3117 | + |
3118 | + # Focus for the drop item - indicator |
3119 | + image |
3120 | + { |
3121 | + function = FOCUS |
3122 | + detail = "treeview-drop-indicator" |
3123 | + file = "Images/Tree/dropindicator-sidebar.png" |
3124 | + border = {2, 6, 2, 2} |
3125 | + stretch = TRUE |
3126 | + } |
3127 | + |
3128 | + # Focus for the seleced row |
3129 | + image |
3130 | + { |
3131 | + function = FOCUS |
3132 | + detail = "treeview" |
3133 | + file = "Images/Tree/row-focus-sidebar.png" |
3134 | + border = {3, 6, 3, 3 } |
3135 | + stretch = TRUE |
3136 | + } |
3137 | + |
3138 | + # Focus for the whole empty treeview |
3139 | + image |
3140 | + { |
3141 | + function = FOCUS |
3142 | + recolorable = TRUE |
3143 | + file = "Images/Tree/tree-empty-focus.png" |
3144 | + border = {3, 3, 3, 3 } |
3145 | + stretch = TRUE |
3146 | + } |
3147 | + |
3148 | + |
3149 | + # This is for treeviews with only one column |
3150 | + image |
3151 | + { |
3152 | + function = FLAT_BOX |
3153 | + state = SELECTED |
3154 | + border = {2, 6, 2, 2} |
3155 | + file = "Images/Tree/selected-sidebar.png" |
3156 | + stretch = TRUE |
3157 | + } |
3158 | + |
3159 | + # this is needed for the progressbars inside treeviews (e.g. Transmission, System Info) |
3160 | + image |
3161 | + { |
3162 | + function = BOX |
3163 | + state = SELECTED |
3164 | + border = {2,2,2,2} |
3165 | + file = "Images/Tree/selected-active.png" |
3166 | + stretch = TRUE |
3167 | + } |
3168 | + } |
3169 | +} |
3170 | + |
3171 | +style "newwave-treeview-header" = "newwave-default" |
3172 | +{ |
3173 | + bg[SELECTED] = mix(0.50, shade (1.05,@selected_bg_color), @tooltip_bg_color) |
3174 | + |
3175 | + GtkButton::interior_focus = 1 |
3176 | + GtkButton::focus_padding = 0 |
3177 | + |
3178 | + # Make it vertical |
3179 | + GtkButton::child_displacement_x = 0 |
3180 | + GtkButton::child_displacement_y = 1 |
3181 | + |
3182 | + engine "pixmap" |
3183 | + { |
3184 | + |
3185 | + image |
3186 | + { |
3187 | + function = FOCUS |
3188 | + recolorable = TRUE |
3189 | + file = "Images/ListHeaders/list_header-focus.png" |
3190 | + border = { 2, 2, 2, 2 } |
3191 | + stretch = TRUE |
3192 | + } |
3193 | + |
3194 | + |
3195 | + image |
3196 | + { |
3197 | + function = BOX |
3198 | + recolorable = TRUE |
3199 | + state = NORMAL |
3200 | + file = "Images/ListHeaders/list_header.png" |
3201 | + border = { 2, 2, 2, 2 } |
3202 | + stretch = TRUE |
3203 | + } |
3204 | + |
3205 | + image |
3206 | + { |
3207 | + function = BOX |
3208 | + recolorable = TRUE |
3209 | + state = PRELIGHT |
3210 | + file = "Images/ListHeaders/list_header-prelight.png" |
3211 | + border = { 2, 2, 2, 2 } |
3212 | + stretch = TRUE |
3213 | + } |
3214 | + |
3215 | + image |
3216 | + { |
3217 | + function = BOX |
3218 | + recolorable = TRUE |
3219 | + state = INSENSITIVE |
3220 | + file = "Images/ListHeaders/list_header-insens.png" |
3221 | + border = { 2, 2, 2, 2 } |
3222 | + stretch = TRUE |
3223 | + } |
3224 | + |
3225 | + #Does this do anything? |
3226 | + |
3227 | + image |
3228 | + { |
3229 | + function = BOX |
3230 | + recolorable = TRUE |
3231 | + state = ACTIVE |
3232 | + file = "Images/ListHeaders/list_header-pressed.png" |
3233 | + border = { 2, 2, 2, 2} |
3234 | + stretch = TRUE |
3235 | + } |
3236 | + image |
3237 | + { |
3238 | + function = BOX |
3239 | + recolorable = TRUE |
3240 | + state = SELECTED |
3241 | + file = "Images/ListHeaders/list_header-prelight.png" |
3242 | + border = { 2, 2, 2, 2 } |
3243 | + stretch = TRUE |
3244 | + } |
3245 | + |
3246 | + } |
3247 | +#widget_class "*List" style "newwave-treeview-header" |
3248 | +#widget_class "*GtkTree*" style "newwave-treeview-header" |
3249 | +#widget_class "*GtkCList*" style "newwave-treeview-header" |
3250 | +#widget_class "*Tree*" style "list-header" |
3251 | +} |
3252 | + |
3253 | +#========================================================= |
3254 | +# Notebook |
3255 | +#========================================================= |
3256 | + |
3257 | +style "newwave-notebook" |
3258 | +{ |
3259 | +GtkNotebook::tab-overlap = 6 |
3260 | +GtkNotebook::tab-curvature = 3 |
3261 | + |
3262 | +xthickness = 4 |
3263 | +ythickness = 3 |
3264 | + |
3265 | +engine "pixmap" |
3266 | +{ |
3267 | + # Focus - not currently working |
3268 | + #============================= |
3269 | + image |
3270 | + { |
3271 | + function = FOCUS |
3272 | + recolorable = TRUE |
3273 | + detail = "tab" |
3274 | + file = "Images/Tabs/tab-focus.png" |
3275 | + border = { 4,4,4,4} |
3276 | + stretch = TRUE |
3277 | + } |
3278 | + |
3279 | + |
3280 | + # Tabs |
3281 | + #============================= |
3282 | + image |
3283 | + { |
3284 | + function = EXTENSION |
3285 | + recolorable = TRUE |
3286 | + state = ACTIVE |
3287 | + file = "Images/Tabs/tab-bottom.png" |
3288 | + border = { 3,3,1,3} |
3289 | + stretch = TRUE |
3290 | + gap_side = TOP |
3291 | + } |
3292 | + image |
3293 | + { |
3294 | + function = EXTENSION |
3295 | + recolorable = TRUE |
3296 | + detail = "tab" |
3297 | + state = ACTIVE |
3298 | + file = "Images/Tabs/tab-top.png" |
3299 | + border = { 3,3,3,1} |
3300 | + stretch = TRUE |
3301 | + gap_side = BOTTOM |
3302 | + } |
3303 | + image |
3304 | + { |
3305 | + function = EXTENSION |
3306 | + recolorable = TRUE |
3307 | + state = ACTIVE |
3308 | + file = "Images/Tabs/tab-left.png" |
3309 | + border = { 3,1,3,3} |
3310 | + stretch = TRUE |
3311 | + gap_side = RIGHT |
3312 | + } |
3313 | + image |
3314 | + { |
3315 | + function = EXTENSION |
3316 | + recolorable = TRUE |
3317 | + state = ACTIVE |
3318 | + file = "Images/Tabs/tab-right.png" |
3319 | + border = { 1,3,3,3} |
3320 | + stretch = TRUE |
3321 | + gap_side = LEFT |
3322 | + } |
3323 | + |
3324 | + |
3325 | + image |
3326 | + { |
3327 | + function = EXTENSION |
3328 | + recolorable = TRUE |
3329 | + detail = "tab" |
3330 | + file = "Images/Tabs/tab-top-active.png" |
3331 | + border = { 3, 3, 5, 1} |
3332 | + stretch = TRUE |
3333 | + gap_side = BOTTOM |
3334 | + } |
3335 | + image |
3336 | + { |
3337 | + function = EXTENSION |
3338 | + recolorable = TRUE |
3339 | + file = "Images/Tabs/tab-bottom-active.png" |
3340 | + detail = "tab" |
3341 | + border = { 3, 3, 1, 5} |
3342 | + stretch = TRUE |
3343 | + gap_side = TOP |
3344 | + } |
3345 | + image |
3346 | + { |
3347 | + function = EXTENSION |
3348 | + recolorable = TRUE |
3349 | + detail = "tab" |
3350 | + file = "Images/Tabs/tab-left-active.png" |
3351 | + border = { 5, 1, 3, 3} |
3352 | + stretch = TRUE |
3353 | + gap_side = RIGHT |
3354 | + } |
3355 | + image |
3356 | + { |
3357 | + function = EXTENSION |
3358 | + recolorable = TRUE |
3359 | + detail = "tab" |
3360 | + file = "Images/Tabs/tab-right-active.png" |
3361 | + border = { 1, 5, 3, 3} |
3362 | + stretch = TRUE |
3363 | + gap_side = LEFT |
3364 | + } |
3365 | + |
3366 | + # Tab containers |
3367 | + #============================= |
3368 | + image |
3369 | + { |
3370 | + function = BOX_GAP |
3371 | + recolorable = TRUE |
3372 | + file = "Images/Tabs/notebook-top.png" |
3373 | + border = { 4, 4, 4, 4 } |
3374 | + stretch = TRUE |
3375 | + gap_file = "Images/Tabs/null-top.png" |
3376 | + gap_border = { 3, 3, 2, 2 } |
3377 | + gap_start_file = "Images/Tabs/top-gap-start.png" |
3378 | + gap_start_border = { 2, 2, 3, 3 } |
3379 | + gap_end_file = "Images/Tabs/top-gap-end.png" |
3380 | + gap_end_border = { 2, 2, 3, 3 } |
3381 | + gap_side = TOP |
3382 | + } |
3383 | + image |
3384 | + { |
3385 | + function = BOX_GAP |
3386 | + recolorable = TRUE |
3387 | + file = "Images/Tabs/notebook-bottom.png" |
3388 | + border = { 4, 4, 4, 4 } |
3389 | + stretch = TRUE |
3390 | + gap_file = "Images/Tabs/null-bottom.png" |
3391 | + gap_border = { 5, 5, 5, 5 } |
3392 | + gap_start_file = "Images/Tabs/bottom-gap-start.png" |
3393 | + gap_start_border = { 2, 2, 3, 3 } |
3394 | + gap_end_file = "Images/Tabs/bottom-gap-end.png" |
3395 | + gap_end_border = { 2, 2, 3, 3 } |
3396 | + gap_side = BOTTOM |
3397 | + } |
3398 | + image |
3399 | + { |
3400 | + function = BOX_GAP |
3401 | + recolorable = TRUE |
3402 | + file = "Images/Tabs/notebook-left.png" |
3403 | + border = { 2, 4, 4, 4 } |
3404 | + stretch = TRUE |
3405 | + gap_file = "Images/Tabs/null-left.png" |
3406 | + gap_border = { 2, 2, 2, 2 } |
3407 | + gap_start_file = "Images/Tabs/left-gap-start.png" |
3408 | + gap_start_border = { 3, 2, 3, 2 } |
3409 | + gap_end_file = "Images/Tabs/left-gap-end.png" |
3410 | + gap_end_border = { 3, 2, 2, 3 } |
3411 | + gap_side = LEFT |
3412 | + } |
3413 | + image |
3414 | + { |
3415 | + function = BOX_GAP |
3416 | + recolorable = TRUE |
3417 | + file = "Images/Tabs/notebook-right.png" |
3418 | + border = { 4, 2, 4, 4 } |
3419 | + stretch = TRUE |
3420 | + gap_file = "Images/Tabs/null-right.png" |
3421 | + gap_border = { 1, 1, 3, 3 } |
3422 | + gap_start_file = "Images/Tabs/right-gap-start.png" |
3423 | + gap_start_border = { 2, 3, 3, 2 } #{ 2, 3, 2, 3 } |
3424 | + gap_end_file = "Images/Tabs/right-gap-end.png" |
3425 | + gap_end_border = { 2, 3, 2, 3 } |
3426 | + gap_side = RIGHT |
3427 | + } |
3428 | + |
3429 | + # No Tabs |
3430 | + #============================= |
3431 | + image |
3432 | + { |
3433 | + function = BOX |
3434 | + recolorable = TRUE |
3435 | + file = "Images/Tabs/notebook-top.png" |
3436 | + border = { 5, 5, 6, 5 } |
3437 | + stretch = TRUE |
3438 | + #gap_side = TOP |
3439 | + } |
3440 | +} |
3441 | +} |
3442 | + |
3443 | + |
3444 | + |
3445 | +#========================================================= |
3446 | +# Metacity title |
3447 | +#========================================================= |
3448 | +style "newwave-frame-title" |
3449 | +{ |
3450 | + fg[NORMAL] = lighter (@fg_color) |
3451 | +} |
3452 | + |
3453 | + |
3454 | +#========================================================= |
3455 | +# Tooltips |
3456 | +#========================================================= |
3457 | +style "newwave-tooltips" = "newwave-wider" |
3458 | +{ |
3459 | + |
3460 | + fg[NORMAL] = @tooltip_fg_color |
3461 | + |
3462 | + bg[NORMAL] = @tooltip_bg_color |
3463 | + bg[SELECTED] = darker(@tooltip_bg_color) |
3464 | + bg[ACTIVE] = darker(@tooltip_bg_color) |
3465 | + |
3466 | + engine "pixmap" |
3467 | + { |
3468 | + image |
3469 | + { |
3470 | + function = FLAT_BOX |
3471 | + recolorable = TRUE |
3472 | + file = "Images/Others/tooltip.png" |
3473 | + border = {3, 3, 3, 3} |
3474 | + stretch = TRUE |
3475 | + } |
3476 | + } |
3477 | +} |
3478 | + |
3479 | +#========================================================= |
3480 | +# Statusbar |
3481 | +#========================================================= |
3482 | +style "newwave-statusbar" |
3483 | +{ |
3484 | + xthickness = 0 |
3485 | + ythickness = 0 |
3486 | + |
3487 | + bg[NORMAL] = @bg_color |
3488 | + #fg[ACTIVE] = shade (0.8, @bg_color) |
3489 | + #text[NORMAL] = shade (0.8, @bg_color) |
3490 | + |
3491 | + engine "pixmap" |
3492 | + { |
3493 | + image |
3494 | + { |
3495 | + function = RESIZE_GRIP |
3496 | + recolorable = TRUE |
3497 | + detail = "statusbar" |
3498 | + overlay_file = "Images/Others/statusgrip.png" |
3499 | + overlay_border = { 0 , 0 , 0 , 0} |
3500 | + overlay_stretch = TRUE |
3501 | + } |
3502 | + } |
3503 | +} |
3504 | + |
3505 | +#========================================================= |
3506 | +# Scale |
3507 | +#========================================================= |
3508 | +style "newwave-scale" = "newwave-range" |
3509 | +{ |
3510 | + #engine "clearlooks" |
3511 | + #{ |
3512 | + # hint = "scale" |
3513 | + # style = CLASSIC |
3514 | + #} |
3515 | +} |
3516 | + |
3517 | +style "newwave-hscale" |
3518 | +{ |
3519 | + #engine "clearlooks" |
3520 | + #{ |
3521 | + # hint = "hscale" |
3522 | + #} |
3523 | +} |
3524 | + |
3525 | +style "newwave-vscale" |
3526 | +{ |
3527 | + #engine "clearlooks" |
3528 | + #{ |
3529 | + # hint = "vscale" |
3530 | + #} |
3531 | +} |
3532 | + |
3533 | +#========================================================= |
3534 | +# Menu system |
3535 | +#========================================================= |
3536 | + |
3537 | +style "newwave-menubar" = "newwave-wider" |
3538 | +{ |
3539 | + xthickness = 2 |
3540 | + ythickness = 2 |
3541 | + |
3542 | + fg[NORMAL] = @bg_color |
3543 | + fg[PRELIGHT] = lighter(@text_color) |
3544 | + fg[ACTIVE] =@text_color |
3545 | + fg[INSENSITIVE] = shade(0.32 , @bg_color) |
3546 | + |
3547 | + bg[NORMAL] = "#5D5D5D" #Replace "#696969" with smth darker to make menubar less visible when loading windows in v. 0.7.x # @author:dilomo@ old value in v0.5.6 "#5f5f5f" |
3548 | + |
3549 | + bg[PRELIGHT] = darker(@bg_color) |
3550 | + bg[ACTIVE] = darker(@bg_color) |
3551 | + # @author:gp@ Improve consistency between active-menu-item and menu-background. |
3552 | + bg[SELECTED] = shade ( 0.97, @bg_color) #(old value for shade: 0.90) |
3553 | + |
3554 | + # @author:dilomo@ We don't need this anymore as we use the better pixmap |
3555 | + # engine which could even stretch the shadow and fix several issues with VLC and thunderbird |
3556 | + #bg_pixmap[NORMAL] = "Images/MenuMenubar/MenuBar.png" |
3557 | + |
3558 | + |
3559 | + engine "pixmap" |
3560 | + { |
3561 | + image |
3562 | + { |
3563 | + function = BOX |
3564 | + state = NORMAL |
3565 | + file = "Images/MenuMenubar/MenuBarBg.png" |
3566 | + stretch = TRUE |
3567 | + border = { 1, 1, 1, 2 } |
3568 | + #overlay_file = "Images/MenuMenubar/MenuBar.png" |
3569 | + #overlay_stretch = TRUE |
3570 | + |
3571 | + } |
3572 | + |
3573 | + image |
3574 | + { |
3575 | + function = BOX |
3576 | + state = ACTIVE |
3577 | + file = "Images/MenuMenubar/MenuBarBg.png" |
3578 | + stretch = TRUE |
3579 | + border = { 1, 1, 1, 2 } |
3580 | + #overlay_file = "Images/MenuMenubar/MenuBar.png" |
3581 | + #overlay_stretch = TRUE |
3582 | + } |
3583 | + |
3584 | + |
3585 | + image |
3586 | + { |
3587 | + function = BOX |
3588 | + state = INSENSITIVE |
3589 | + file = "Images/MenuMenubar/MenuBarBg.png" |
3590 | + stretch = TRUE |
3591 | + border = { 1, 1, 1, 2 } |
3592 | + #overlay_file = "Images/MenuMenubar/MenuBar.png" |
3593 | + #overlay_stretch = TRUE |
3594 | + } |
3595 | + |
3596 | + image |
3597 | + { |
3598 | + function = BOX |
3599 | + recolorable = TRUE |
3600 | + state = PRELIGHT |
3601 | + file = "Images/MenuMenubar/menubar-item.png" |
3602 | + border = { 2, 2, 4, 2 } |
3603 | + stretch = TRUE |
3604 | + } |
3605 | + } |
3606 | +} |
3607 | + |
3608 | +style "newwave-menu" |
3609 | +{ |
3610 | + xthickness = 1 |
3611 | + ythickness = 3 |
3612 | + |
3613 | + bg[NORMAL] = "#F7F7F7" |
3614 | + |
3615 | + base[NORMAL] = "#F7F7F7" |
3616 | + |
3617 | + fg[NORMAL] = shade(0.3, "#696969") |
3618 | + fg[PRELIGHT] = @text_color |
3619 | + fg[ACTIVE] = @text_color |
3620 | + fg[SELECTED] = @text_color |
3621 | + |
3622 | + text[NORMAL] = @text_color |
3623 | + text[PRELIGHT] = @text_color |
3624 | + text[ACTIVE] = @text_color |
3625 | + text[SELECTED] = @text_color |
3626 | + text[INSENSITIVE] = "#696969" |
3627 | + |
3628 | + #Dark scheme |
3629 | + #fg[NORMAL] = @bg_color |
3630 | + #fg[PRELIGHT] = lighter(@bg_color) |
3631 | + #fg[ACTIVE] = lighter(@bg_color) |
3632 | + #fg[SELECTED] = lighter(@bg_color) |
3633 | + #fg[INSENSITIVE] = darker("#7a7878") |
3634 | + |
3635 | + #bg[NORMAL] = "#7a7878" |
3636 | + #bg[PRELIGHT] = "#7a7878" |
3637 | + #bg[ACTIVE] = "#7a7878" |
3638 | + #bg[SELECTED] = darker("#7a7878") |
3639 | + |
3640 | + |
3641 | + engine "pixmap" |
3642 | + { |
3643 | + image |
3644 | + { |
3645 | + function = BOX |
3646 | + recolorable = TRUE |
3647 | + detail = "menu" |
3648 | + shadow = OUT |
3649 | + file = "Images/MenuMenubar/combomenu.png" #used because is darker and once the original |
3650 | + border = { 1, 1, 2, 1 } |
3651 | + stretch = TRUE |
3652 | + } |
3653 | + } |
3654 | +} |
3655 | + |
3656 | +style "newwave-menu-item" |
3657 | +{ |
3658 | + xthickness = 0 |
3659 | + ythickness = 3 |
3660 | + |
3661 | + #Dark scheme |
3662 | + #fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) |
3663 | + #fg[PRELIGHT] = @fg_color |
3664 | + #fg[INSENSITIVE] = darker("#696969") |
3665 | + |
3666 | + #bg[NORMAL] = "#696969" |
3667 | + #bg[ACTIVE] = shade(1.05,"#696969") |
3668 | + #bg[SELECTED] = shade(1.05,"#696969") |
3669 | + #bg[INSENSITIVE] = "#696969" |
3670 | + |
3671 | + |
3672 | + engine "pixmap" |
3673 | + { |
3674 | + image |
3675 | + { |
3676 | + function = BOX |
3677 | + recolorable = TRUE |
3678 | + file = "Images/MenuMenubar/menuitem.png" |
3679 | + border = { 4, 4, 4, 4 } |
3680 | + stretch = TRUE |
3681 | + } |
3682 | + image |
3683 | + { |
3684 | + function = ARROW |
3685 | + recolorable = TRUE |
3686 | + state = NORMAL |
3687 | + overlay_file = "Images/Arrows/arrow-right.png" |
3688 | + overlay_stretch = FALSE |
3689 | + arrow_direction = RIGHT |
3690 | + } |
3691 | + image |
3692 | + { |
3693 | + function = ARROW |
3694 | + recolorable = TRUE |
3695 | + state = PRELIGHT |
3696 | + overlay_file = "Images/Arrows/arrow-right-prelight.png" |
3697 | + overlay_stretch = FALSE |
3698 | + arrow_direction = RIGHT |
3699 | + } |
3700 | + image |
3701 | + { |
3702 | + function = ARROW |
3703 | + recolorable = TRUE |
3704 | + state = INSENSITIVE |
3705 | + overlay_file = "Images/Arrows/arrow-right-insens.png" |
3706 | + overlay_stretch = FALSE |
3707 | + arrow_direction = RIGHT |
3708 | + } |
3709 | + |
3710 | + } |
3711 | + |
3712 | + |
3713 | +} |
3714 | + |
3715 | +style "newwave-tearoff-menu-item" = "newwave-menu-item" |
3716 | +{ |
3717 | + engine "pixmap" |
3718 | + { |
3719 | + image |
3720 | + { |
3721 | + function = ARROW |
3722 | + file = "Images/Arrows/arrow-left.png" |
3723 | + stretch = TRUE |
3724 | + arrow_direction = LEFT |
3725 | + } |
3726 | + } |
3727 | +} |
3728 | + |
3729 | +style "newwave-separator-menu-item" |
3730 | +{ |
3731 | + xthickness = 1 |
3732 | + ythickness = 2 |
3733 | + |
3734 | + engine "pixmap" |
3735 | + { |
3736 | + image |
3737 | + { |
3738 | + function = HLINE |
3739 | + recolorable = TRUE |
3740 | + file = "Images/MenuMenubar/MenuLine.png" |
3741 | + border = { 1, 1, 1, 1 } |
3742 | + stretch = TRUE |
3743 | + } |
3744 | + } |
3745 | +} |
3746 | + |
3747 | +#========================================================= |
3748 | +# Main Menu |
3749 | +#========================================================= |
3750 | +style "newwave-panelmenubar" |
3751 | +{ |
3752 | + |
3753 | + # @author:dilomo@ fix the overlay of the main menu |
3754 | + #bg_pixmap[NORMAL] = "Images/MenuMenubar/null.png" |
3755 | + |
3756 | + |
3757 | + #use anoter file for menus |
3758 | + engine "pixmap" |
3759 | + { |
3760 | + image |
3761 | + { |
3762 | + #use anoter file for menus |
3763 | + function = BOX |
3764 | + state = PRELIGHT |
3765 | + recolorable = TRUE |
3766 | + file = "Images/MenuMenubar/panel-menubar-item.png" |
3767 | + border = { 4 , 4 , 4 , 4} |
3768 | + stretch = TRUE |
3769 | + } |
3770 | + image |
3771 | + { |
3772 | + #use transparent file for bg |
3773 | + function = BOX |
3774 | + state = NORMAL |
3775 | + recolorable = TRUE |
3776 | + file = "Images/MenuMenubar/null.png" |
3777 | + border = { 0 , 0 , 0 , 0} |
3778 | + stretch = TRUE |
3779 | + } |
3780 | + image |
3781 | + { |
3782 | + #use transparent file for bg |
3783 | + function = BOX |
3784 | + state = INSENSITIVE |
3785 | + recolorable = TRUE |
3786 | + file = "Images/MenuMenubar/null.png" |
3787 | + border = { 0 , 0 , 0 , 0} |
3788 | + stretch = TRUE |
3789 | + } |
3790 | + } |
3791 | +} |
3792 | + |
3793 | +# soon a widget <main-menu-name> match will replace and solcve this |
3794 | +widget_class "*Panel*MenuBar*" style :highest "newwave-panelmenubar" |
3795 | + |
3796 | + |
3797 | +# This had to make the main menu whit white bg (not working yet but will in Ibex) |
3798 | +style "newwave-panelmenu-item" |
3799 | +{ |
3800 | + bg[NORMAL] = "#ffffff" |
3801 | + |
3802 | + base[NORMAL] = "#ffffff" |
3803 | + |
3804 | + fg[NORMAL] = shade(0.3, "#696969") |
3805 | + fg[PRELIGHT] = @text_color |
3806 | + fg[ACTIVE] = @text_color |
3807 | + fg[SELECTED] = @text_color |
3808 | + |
3809 | + text[NORMAL] = @text_color |
3810 | + text[PRELIGHT] = @text_color |
3811 | + text[ACTIVE] = @text_color |
3812 | + text[SELECTED] = @text_color |
3813 | + text[INSENSITIVE] = "#696969" |
3814 | + |
3815 | + engine "pixmap" |
3816 | + { |
3817 | + image |
3818 | + { |
3819 | + function = BOX |
3820 | + recolorable = TRUE |
3821 | + file = "Images/MenuMenubar/menuitem.png" |
3822 | + border = { 2, 2, 2, 2 } |
3823 | + stretch = TRUE |
3824 | + } |
3825 | + image |
3826 | + { |
3827 | + function = ARROW |
3828 | + recolorable = TRUE |
3829 | + state = NORMAL |
3830 | + overlay_file = "Images/Arrows/arrow-right.png" |
3831 | + overlay_stretch = FALSE |
3832 | + arrow_direction = RIGHT |
3833 | + } |
3834 | + image |
3835 | + { |
3836 | + function = ARROW |
3837 | + recolorable = TRUE |
3838 | + state = PRELIGHT |
3839 | + overlay_file = "Images/Arrows/arrow-right-prelight.png" |
3840 | + overlay_stretch = FALSE |
3841 | + arrow_direction = RIGHT |
3842 | + } |
3843 | + image |
3844 | + { |
3845 | + function = ARROW |
3846 | + recolorable = TRUE |
3847 | + state = INSENSITIVE |
3848 | + overlay_file = "Images/Arrows/arrow-right-insens.png" |
3849 | + overlay_stretch = FALSE |
3850 | + arrow_direction = RIGHT |
3851 | + } |
3852 | + } |
3853 | + |
3854 | +} |
3855 | +widget "*.gnome-panel-main-menu.*" style :highest "newwave-panelmenu-item" |
3856 | + |
3857 | +style "newwave-panelmenu" = "newwave-menu" |
3858 | +{ |
3859 | + bg[NORMAL] = "#F5F5F5" #or lighter(@bg_color) |
3860 | + |
3861 | + base[NORMAL] = "#F5F5F5" |
3862 | + |
3863 | + fg[NORMAL] = darker("#696969") |
3864 | + fg[PRELIGHT] = @text_color |
3865 | + |
3866 | + text[NORMAL] = @text_color |
3867 | + text[PRELIGHT] = @text_color |
3868 | + text[ACTIVE] = @text_color |
3869 | + text[SELECTED] = @text_color |
3870 | + text[INSENSITIVE] = "#696969" |
3871 | + |
3872 | + |
3873 | + engine "pixmap" |
3874 | + { |
3875 | + image |
3876 | + { |
3877 | + function = BOX |
3878 | + recolorable = TRUE |
3879 | + file = "Images/MenuMenubar/combomenu.png" |
3880 | + border = { 1, 1, 1, 1 } |
3881 | + stretch = TRUE |
3882 | + } |
3883 | + } |
3884 | +} |
3885 | +widget "*.gnome-panel-main-menu" style :highest "newwave-panelmenu" |
3886 | + |
3887 | + |
3888 | + |
3889 | +#========================================================= |
3890 | +# Dark panel |
3891 | +#========================================================= |
3892 | +style "panel" = "newwave-default" |
3893 | +{ |
3894 | + fg[NORMAL] = shade(0.97, @bg_color) #mix(0.70, lighter(@selected_bg_color), @bg_color) |
3895 | + fg[PRELIGHT] = @text_color # lighter(mix(0.90, lighter(@selected_bg_color), @bg_color)) |
3896 | + #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar. |
3897 | + fg[ACTIVE] = @base_color # @text_color # lighter(mix(0.50, lighter(@selected_bg_color), @bg_color)) |
3898 | + |
3899 | + # @author:dilomo@ |
3900 | + #dark color from v0.1 : "#4C4D4E" |
3901 | + #dark color from v0.1.1 : "#424242" |
3902 | + bg[NORMAL] = "#3a3a3a" #This is dark gray |
3903 | + # @author:gp@ Same color as item selected of taskbar menu. |
3904 | + bg[PRELIGHT] = shade ( 1.60, @bg_color) #shade(3.0, "#424242") |
3905 | + #@autho:gp@ Improve consistency between metacity-frame and application active in taskbar. |
3906 | + bg[ACTIVE] = shade(1.02, "#696969") #bg[ACTIVE] = shade(2.5, "#424242") |
3907 | + #@autho:gp@ Improve consistency between active-menu-item and menu-background. |
3908 | + bg[SELECTED] = shade ( 1.60, @bg_color) #bg[SELECTED] = shade(3.2, "#424242") |
3909 | + |
3910 | + bg_pixmap[NORMAL] = "Images/Panel/PanelBarLong.png" |
3911 | + |
3912 | +} |
3913 | + |
3914 | +style "panel-nopixmap" = "panel" |
3915 | +{ |
3916 | + bg_pixmap[NORMAL] = "Images/Others/null.png" |
3917 | +} |
3918 | + |
3919 | +#========================================================= |
3920 | +# Panel Buttons (task list, date picker) |
3921 | +#========================================================= |
3922 | +style "newwave-panelbuttons" |
3923 | +{ |
3924 | + |
3925 | + xthickness = 2 |
3926 | + ythickness = 1 |
3927 | + GtkWidget::focus_padding = 2 |
3928 | + |
3929 | + engine "pixmap" { |
3930 | + |
3931 | + image |
3932 | + { |
3933 | + function = BOX |
3934 | + recolorable = TRUE |
3935 | + state = NORMAL |
3936 | + file = "Images/Panel/p-normal.png" |
3937 | + border = { 4, 4, 4, 4 } |
3938 | + stretch = TRUE |
3939 | + } |
3940 | + |
3941 | + #@author:dilomo@ used for normal prelight |
3942 | + image |
3943 | + { |
3944 | + function = BOX |
3945 | + recolorable = TRUE |
3946 | + state = PRELIGHT |
3947 | + shadow = OUT |
3948 | + file = "Images/Panel/p-prelight.png" |
3949 | + border = { 4, 4, 4, 4 } |
3950 | + stretch = TRUE |
3951 | + } |
3952 | + #@author:dilomo@ used for active (pressed) buttons prelight |
3953 | + image |
3954 | + { |
3955 | + function = BOX |
3956 | + recolorable = TRUE |
3957 | + state = PRELIGHT |
3958 | + shadow = IN |
3959 | + file = "Images/Panel/p-active-prelight.png" |
3960 | + border = { 4, 4, 4, 4 } |
3961 | + stretch = TRUE |
3962 | + } |
3963 | + |
3964 | + image |
3965 | + { |
3966 | + function = BOX |
3967 | + recolorable = TRUE |
3968 | + state = ACTIVE |
3969 | + file = "Images/Panel/p-active.png" |
3970 | + border = { 4, 4, 4, 4 } |
3971 | + stretch = TRUE |
3972 | + } |
3973 | + image |
3974 | + { |
3975 | + function = BOX |
3976 | + recolorable = TRUE |
3977 | + state = INSENSITIVE |
3978 | + file = "Images/Panel/p-insens.png" |
3979 | + border = { 4, 4, 2, 2 } |
3980 | + stretch = TRUE |
3981 | + } |
3982 | + image |
3983 | + { |
3984 | + function = HANDLE |
3985 | + recolorable = TRUE |
3986 | + overlay_file = "Images/Panel/handle-v.png" |
3987 | + overlay_stretch = FALSE |
3988 | + orientation = VERTICAL |
3989 | + } |
3990 | + image |
3991 | + { |
3992 | + function = HANDLE |
3993 | + overlay_file = "Images/Panel/handle-h.png" |
3994 | + overlay_stretch = FALSE |
3995 | + orientation = HORIZONTAL |
3996 | + } |
3997 | + |
3998 | + } |
3999 | + |
4000 | +} |
4001 | + |
4002 | +#========================================================= |
4003 | +# Popup Nautilus Widget |
4004 | +#========================================================= |
4005 | +style "newwave-nautilus-location" |
4006 | +{ |
4007 | + bg[NORMAL] = "#E5D0C3" |
4008 | + bg[INSENSITIVE] ="#E5D0C3" |
4009 | + engine "pixmap" { |
4010 | + |
4011 | + image |
4012 | + { |
4013 | + function = FLAT_BOX |
4014 | + recolorable = TRUE |
4015 | + state = INSENSITIVE |
4016 | + file = "Images/Others/nautilus-popup.png" |
4017 | + border = { 3, 1, 0, 3 } |
4018 | + stretch = TRUE |
4019 | + overlay_file = "Images/Others/nautilus-popup-highlight.png" |
4020 | + overlay_border = { 0, 0, 0, 0 } |
4021 | + overlay_stretch = TRUE |
4022 | + } |
4023 | + image |
4024 | + { |
4025 | + function = FLAT_BOX |
4026 | + recolorable = TRUE |
4027 | + file = "Images/Others/nautilus-popup.png" |
4028 | + border = { 3, 1, 1, 3 } |
4029 | + stretch = TRUE |
4030 | + overlay_file = "Images/Others/nautilus-popup-highlight.png" |
4031 | + overlay_border = { 0, 0, 0, 0 } |
4032 | + overlay_stretch = TRUE |
4033 | + } |
4034 | + } |
4035 | +} |
4036 | +style "newwave-nautilus-location-text" |
4037 | +{ |
4038 | + bg[NORMAL] = mix(0.70, shade (1.05,"#696969"), @bg_color) |
4039 | + bg[INSENSITIVE] = mix(0.80, shade (1.05,"#696969"), @bg_color) |
4040 | + |
4041 | + fg[NORMAL] = "#D89C4A" |
4042 | + text[NORMAL] = "#ffffff" |
4043 | +} |
4044 | + |
4045 | + |
4046 | +#========================================================= |
4047 | +# Popup Notification Daemon |
4048 | +#========================================================= |
4049 | +style "newwave-notify-daemon" |
4050 | +{ |
4051 | + bg[NORMAL] = @text_color #mix(0.70, shade (1.05,"#696969"), @bg_color) |
4052 | + bg[SELECTED] = @bg_color |
4053 | +} |
4054 | + |
4055 | +#widget_class "*NotifyDaemon*" style :highest "newwave-notify-daemon" |
4056 | + |
4057 | +class "*notif*" style :highest "panel" #"newwave-notify-daemon" |
4058 | +class "*Notif*" style :highest "panel" #"newwave-notify-daemon" |
4059 | +widget_class "*notif*" style :highest "panel" #"newwave-notify-daemon" |
4060 | +widget_class "*Notif*" style :highest "panel" #"newwave-notify-daemon" |
4061 | + |
4062 | +#========================================================= |
4063 | +# Metacity background |
4064 | +#========================================================= |
4065 | +style "metacity-frame" |
4066 | +{ |
4067 | + bg[SELECTED] = "#696969" # @author:gp@ It must be the same color as menubar (bg[NORMAL]) |
4068 | + bg[NORMAL] = "#696969" |
4069 | +} |
4070 | + |
4071 | +# @author:dilomo@ This has to fix the Appearance manager crash |
4072 | +style "newwave-window" |
4073 | +{ |
4074 | + bg_pixmap[NORMAL] = "Images/Others/null.png" |
4075 | +} |
4076 | + |
4077 | +style "newwave-radiocheck" = "newwave-default" |
4078 | +{ |
4079 | + text[PRELIGHT] = @base_color # Text on Mouseover |
4080 | +} |
4081 | + |
4082 | + |
4083 | + |
4084 | + |
4085 | +#========================================================= |
4086 | +#========================================================= |
4087 | +# Matches |
4088 | +#========================================================= |
4089 | +#========================================================= |
4090 | + |
4091 | + |
4092 | + |
4093 | +# theme radio buttons and checkmarks |
4094 | + |
4095 | +class "GtkButton" style "newwave-button" |
4096 | + |
4097 | +class "GtkCheck*" style "newwave-checkbutton" |
4098 | +class "GtkRadio*" style "newwave-radiobutton" |
4099 | +class "GtkCheckMenuItem" style : highest "newwave-checkmenubutton" |
4100 | +class "GtkRadioMenuItem" style : highest "newwave-radiomenubutton" |
4101 | + |
4102 | +# keep proper colour for Metacity |
4103 | +class "MetaFrames" style "metacity-frame" |
4104 | +class "GtkWindow" style "newwave-window" |
4105 | + |
4106 | +# theme default style is applied to every widget |
4107 | +class "GtkWidget" style "newwave-default" |
4108 | + |
4109 | +# Increase the x/ythickness in some widgets |
4110 | +class "GtkFrame" style "newwave-frame" |
4111 | +class "GtkSeparator" style "newwave-wide" |
4112 | +class "GtkEntry" style "newwave-entry" |
4113 | +class "GtkOldEditable" style "newwave-entry" |
4114 | +class "GtkToolbar" style "newwave-toolbar" |
4115 | +class "GtkRange" style "newwave-range" |
4116 | +class "GtkSpinButton" style "newwave-spinbutton" |
4117 | +class "GtkScale" style "newwave-scale" |
4118 | +class "GtkVScale" style "newwave-vscale" |
4119 | +class "GtkHScale" style "newwave-hscale" |
4120 | +class "GtkScrollbar" style "newwave-scrollbar" |
4121 | +#class "GtkVScrollbar" style "newwave-scrollbar" |
4122 | +#class "GtkHScrollbar" style "newwave-scrollbar" |
4123 | +class "GtkProgressBar" style "newwave-progressbar" |
4124 | +class "GtkTearoffMenuItem" style "newwave-menu-item" |
4125 | +class "GtkMenuItem" style "newwave-menu-item" |
4126 | +class "GtkImageMenuItem" style "newwave-menu-item" |
4127 | +class "GtkItem" style "newwave-menu-item" |
4128 | +class "GtkOptionMenu" style "newwave-combobox" |
4129 | +class "GtkCombo*" style "newwave-combobox" |
4130 | +class "*Font*" style "newwave-combobox" |
4131 | + |
4132 | +# General matching following, the order is choosen so that the right styles override each other |
4133 | +# eg. progressbar needs to be more important then the menu match. |
4134 | + |
4135 | +# This is not perfect, it could be done better |
4136 | +# (That is modify *every* widget in the notebook, and change those back that |
4137 | +# we really don't want changed) |
4138 | +widget_class "*Nautilus*<GtkFrame>" style "newwave-default" |
4139 | +widget_class "*<GtkNotebook>*<GtkEventBox>" style "newwave-notebook" |
4140 | +widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "newwave-notebook" |
4141 | +widget_class "*<GtkNotebook>*<GtkLayout>" style "newwave-notebook" |
4142 | + |
4143 | +widget_class "*<GtkButton>" style "newwave-button" |
4144 | +widget_class "*<GtkLinkButton>" style : highest "newwave-toolbuttons" |
4145 | +widget_class "*<GtkNotebook>" style "newwave-notebook" |
4146 | +widget_class "*<GtkStatusbar>*" style "newwave-statusbar" |
4147 | + |
4148 | + |
4149 | +widget_class "*<GtkComboBoxEntry>*" style "newwave-comboboxentry" |
4150 | +widget_class "*<GtkCombo>*" style "newwave-combobox" |
4151 | +widget_class "*<GtkMenu>*" style "newwave-menu" |
4152 | + |
4153 | + |
4154 | +widget_class "*<GtkMenuBar>*" style "newwave-menubar" |
4155 | + |
4156 | +class "GtkMenuBar" style "newwave-menubar" |
4157 | +widget_class "GtkMenuBar" style "newwave-menubar" |
4158 | + |
4159 | +class "*MenuBar*" style "newwave-menubar" |
4160 | +widget_class "*MenuBar*" style "newwave-menubar" |
4161 | + |
4162 | +widget_class "*GtkToolButton*" style : highest "newwave-toolbuttons" |
4163 | +widget_class "*GtkToggleToolButton*" style : highest "newwave-toolbuttons" |
4164 | +widget_class "*GtkMenuToolButton*" style : highest "newwave-toolbuttons" |
4165 | +widget_class "*GtkToolbar*Button" style : highest "newwave-toolbuttons" |
4166 | + |
4167 | + |
4168 | + |
4169 | + |
4170 | +# @author:dilomo@ Here "*<GtkMenu>.<GtkMenuItem>*" GtkMenu is used |
4171 | +# to make menus' bg gray not like @selected_bg_color (relevant to Clearlooks) |
4172 | +widget_class "*<GtkMenu>.<GtkMenuItem>*" style "newwave-menu-item" |
4173 | +widget_class"*.GtkAccelMenuItem.*" style "newwave-menu-item" |
4174 | + |
4175 | + |
4176 | +widget_class "*<GtkSeparatorMenuItem>*" style "newwave-separator-menu-item" |
4177 | + |
4178 | +widget_class "*.<GtkFrame>.<GtkLabel>" style "newwave-frame-title" |
4179 | +widget_class "*.<GtkFrame>.*" style "newwave-frame" |
4180 | +widget_class "*.<GtkTreeView>*" style "newwave-treeview" |
4181 | +widget_class "*.GtkFrame.GtkScrolledWindow.GtkTreeView" style "newwave-treeview" |
4182 | + |
4183 | +widget_class "*<GtkProgressBar>" style "newwave-progressbar" |
4184 | + |
4185 | +widget_class "*Entry.GtkButton" style "newwave-combobutton" |
4186 | +widget_class "*GtkComboBoxEntry*Button" style "newwave-combobutton" |
4187 | +widget_class "*.GtkComboBox.GtkButton" style "newwave-combobutton" |
4188 | +widget_class "*.GtkComboBox.GtkMenu" style "newwave-combomenu" |
4189 | +widget_class "*.GtkCombo.GtkButton" style "newwave-combobutton" |
4190 | + |
4191 | + |
4192 | +widget_class "*Tool*GtkToggleButton" style "newwave-button" |
4193 | +widget_class "*Tool*GtkButton" style "newwave-button" |
4194 | + |
4195 | +# Treeview header |
4196 | +widget_class "*.<GtkTreeView>.<GtkButton>" style "newwave-treeview-header" |
4197 | +widget_class "*.<GtkCTree>.<GtkButton>" style "newwave-treeview-header" |
4198 | +widget_class "*.<GtkList>.<GtkButton>" style "newwave-treeview-header" |
4199 | +widget_class "*.<GtkCList>.<GtkButton>" style "newwave-treeview-header" |
4200 | + |
4201 | +# Workarounds for Evolution |
4202 | +widget_class "*.ETable.ECanvas" style "newwave-treeview-header" |
4203 | +widget_class "*.ETree.ECanvas" style "newwave-treeview-header" |
4204 | + |
4205 | + |
4206 | + |
4207 | +# The window of the tooltip is called "gtk-tooltip" |
4208 | +#========================================================= |
4209 | +# FIXME: |
4210 | +# This will not work if one embeds eg. a button into the tooltip. |
4211 | +# As far as I can tell right now we will need to rework the theme |
4212 | +# quite a bit to get this working correctly. |
4213 | +# (It will involve setting different priorities, etc.) |
4214 | +#========================================================= |
4215 | +widget "gtk-tooltip*" style "newwave-tooltips" |
4216 | + |
4217 | + |
4218 | +#========================================================= |
4219 | +# W O R K A R O U N D S |
4220 | +#========================================================= |
4221 | + |
4222 | +# Special case the nautilus-extra-view-widget |
4223 | +# ToDo: A more generic approach for all applications that have a widget like this. |
4224 | +widget "*.nautilus-extra-view-widget*" style : highest "newwave-nautilus-location" |
4225 | +widget "*.nautilus-extra-view-widget" style : highest "newwave-nautilus-location" |
4226 | + |
4227 | +#widget_class "MozillaGtkWidget*MenuBar" style :highest "newwave-menubar"#-mozilla" |
4228 | +#widget "MozillaGtkWidget*Menu*" style :highest "newwave-menu-item-mozilla" |
4229 | + |
4230 | +# @author: gp, Special case to set color backgroud in Nautilus Sidebar. |
4231 | +style "newwave-nautilus-sidebar" |
4232 | +{ |
4233 | + GtkTreeView::even_row_color = @bg_color |
4234 | + # Make the sep line fade out |
4235 | + engine "pixmap" |
4236 | + { |
4237 | + image |
4238 | + { |
4239 | + function = HLINE |
4240 | + recolorable = TRUE |
4241 | + file = "Images/Lines/line-h-faded.png" |
4242 | + stretch = TRUE |
4243 | + } |
4244 | + |
4245 | + # Make the handle be a vert line in order to better separate nautilus files view |
4246 | + ## vertical handle |
4247 | + image |
4248 | + { |
4249 | + function = HANDLE |
4250 | + recolorable = TRUE |
4251 | + state = NORMAL |
4252 | + overlay_file = "Images/Others/null.png" |
4253 | + overlay_stretch = FALSE |
4254 | + orientation = VERTICAL |
4255 | + } |
4256 | + image |
4257 | + { |
4258 | + function = HANDLE |
4259 | + recolorable = TRUE |
4260 | + state = PRELIGHT |
4261 | + overlay_file = "Images/Others/null.png" |
4262 | + overlay_stretch = FALSE |
4263 | + orientation = VERTICAL |
4264 | + } |
4265 | + image |
4266 | + { |
4267 | + function = HANDLE |
4268 | + recolorable = TRUE |
4269 | + state = ACTIVE |
4270 | + overlay_file = "Images/Panel/handle-v-pressed.png" |
4271 | + overlay_stretch = FALSE |
4272 | + orientation = VERTICAL |
4273 | + } |
4274 | + image |
4275 | + { |
4276 | + function = HANDLE |
4277 | + recolorable = TRUE |
4278 | + state = INSENSITIVE |
4279 | + overlay_file = "Images/Panel/handle-v-insens.png" |
4280 | + overlay_stretch = FALSE |
4281 | + orientation = VERTICAL |
4282 | + } |
4283 | + |
4284 | + } |
4285 | +} |
4286 | + |
4287 | +style "newwave-nautilus-sidebar-handles" |
4288 | +{ |
4289 | + engine "pixmap" |
4290 | + { |
4291 | + # TODO: Make the handle be a vert line in order to better separate nautilus files view |
4292 | + ## vertical handle |
4293 | + image |
4294 | + { |
4295 | + function = HANDLE |
4296 | + recolorable = TRUE |
4297 | + state = NORMAL |
4298 | + overlay_file = "Images/Others/null.png" |
4299 | + overlay_stretch = FALSE |
4300 | + orientation = VERTICAL |
4301 | + } |
4302 | + image |
4303 | + { |
4304 | + function = HANDLE |
4305 | + recolorable = TRUE |
4306 | + state = PRELIGHT |
4307 | + overlay_file = "Images/Others/null.png" |
4308 | + overlay_stretch = FALSE |
4309 | + orientation = VERTICAL |
4310 | + } |
4311 | + image |
4312 | + { |
4313 | + function = HANDLE |
4314 | + recolorable = TRUE |
4315 | + state = ACTIVE |
4316 | + overlay_file = "Images/Panel/handle-v-pressed.png" |
4317 | + overlay_stretch = FALSE |
4318 | + orientation = VERTICAL |
4319 | + } |
4320 | + image |
4321 | + { |
4322 | + function = HANDLE |
4323 | + recolorable = TRUE |
4324 | + state = INSENSITIVE |
4325 | + overlay_file = "Images/Panel/handle-v-insens.png" |
4326 | + overlay_stretch = FALSE |
4327 | + orientation = VERTICAL |
4328 | + } |
4329 | + |
4330 | + } |
4331 | +} |
4332 | + |
4333 | +widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*" style "newwave-nautilus-sidebar" |
4334 | +#widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.*" style "newwave-nautilus-sidebar-handles" |
4335 | +widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.NautilusSidePane.GtkNotebook.*Tree*" style "newwave-treeview-nautilus-sidebar" |
4336 | + |
4337 | + |
4338 | +style "newwave-nautilus-filemanager" |
4339 | +{ |
4340 | + #bg[NORMAL] = "##FFE68D" |
4341 | + #base[NORMAL] = "#FF9E9E" |
4342 | + bg_pixmap[NORMAL] = "Images/MenuMenubar/combomenu.png" |
4343 | +} |
4344 | +#widget_class "NautilusNavigationWindow.GtkTable.NautilusHorizontalSplitter.*FM*View.*" style "newwave-nautilus-filemanager" |
4345 | + |
4346 | +# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646 |
4347 | +# Note that the work around assumes that the combobox is _not_ in |
4348 | +# appears-as-list mode. |
4349 | +# Similar hack also in the menuitem style. |
4350 | +# This style does not affect GtkComboBoxEntry, it does have an effect |
4351 | +# on comboboxes in appears-as-list mode though. |
4352 | +style "newwave-combobox-text-color-workaround" |
4353 | +{ |
4354 | + text[NORMAL] = @fg_color |
4355 | + text[PRELIGHT] = @fg_color |
4356 | + text[SELECTED] = @selected_fg_color |
4357 | + text[ACTIVE] = @fg_color |
4358 | + text[INSENSITIVE] = darker (@bg_color) |
4359 | +} |
4360 | +widget_class "*.<GtkComboBox>.<GtkCellView>" style "newwave-combobox-text-color-workaround" |
4361 | + |
4362 | + |
4363 | +# This inverts the menus of comboboxes - white bg and dark text |
4364 | +# Unfortunately it does not work on the obsolete option menus that are used by some apps. |
4365 | +style "newwave-menuitem-text-is-fg-color-workaround" |
4366 | +{ |
4367 | + |
4368 | + engine "pixmap" |
4369 | + { |
4370 | + image |
4371 | + { |
4372 | + function = BOX |
4373 | + recolorable = TRUE |
4374 | + file = "Images/MenuMenubar/menuitem.png" |
4375 | + border = { 2, 2, 2, 2 } |
4376 | + stretch = TRUE |
4377 | + } |
4378 | + } |
4379 | + |
4380 | +} |
4381 | +widget "*.gtk-combobox-popup-menu.*" style :highest "newwave-menuitem-text-is-fg-color-workaround" |
4382 | + |
4383 | +style "newwave-popupmenu-workaround" |
4384 | +{ |
4385 | + fg[NORMAL] = "#696969" |
4386 | + fg[SELECTED] = @text_color |
4387 | + |
4388 | + bg[NORMAL] = "#ffffff" |
4389 | + |
4390 | + text[NORMAL] = @text_color |
4391 | + text[PRELIGHT] = @text_color |
4392 | + text[SELECTED] = @selected_fg_color |
4393 | + text[ACTIVE] = @fg_color |
4394 | + text[INSENSITIVE] = darker (@bg_color) |
4395 | + |
4396 | + engine "pixmap" |
4397 | + { |
4398 | + image |
4399 | + { |
4400 | + function = BOX |
4401 | + recolorable = TRUE |
4402 | + file = "Images/MenuMenubar/combomenu.png" |
4403 | + border = { 1, 1, 1, 1 } |
4404 | + stretch = TRUE |
4405 | + } |
4406 | + } |
4407 | +} |
4408 | + |
4409 | +widget "*.gtk-combobox-popup-menu" style :highest "newwave-popupmenu-workaround" |
4410 | + |
4411 | + |
4412 | + |
4413 | +# Work around the usage of GtkLabel inside GtkListItems to display text. |
4414 | +# This breaks because the label is shown on a background that is based on the |
4415 | +# base color set. |
4416 | +style "newwave-fg-is-text-color-workaround" |
4417 | +{ |
4418 | + fg[NORMAL] = @text_color |
4419 | + fg[PRELIGHT] = @text_color |
4420 | + fg[ACTIVE] = @selected_fg_color |
4421 | + fg[SELECTED] = @selected_fg_color |
4422 | + fg[INSENSITIVE] = darker(@bg_color) |
4423 | + |
4424 | + text[ACTIVE] = shade(0.43, @selected_bg_color) |
4425 | + text[SELECTED] = @text_color |
4426 | + |
4427 | + bg[NORMAL] = @bg_color |
4428 | + bg[SELECTED] = @selected_bg_color |
4429 | + |
4430 | + engine "pixmap" |
4431 | + { |
4432 | + image |
4433 | + { |
4434 | + function = BOX |
4435 | + state = ACTIVE |
4436 | + border = {2,2,2,2} |
4437 | + file = "Images/Tree/selected.png" |
4438 | + stretch = TRUE |
4439 | + } |
4440 | + image |
4441 | + { |
4442 | + function = BOX |
4443 | + state = SELECTED |
4444 | + border = {2,2,2,2} |
4445 | + file = "Images/Tree/selected-active.png" |
4446 | + stretch = TRUE |
4447 | + } |
4448 | + image |
4449 | + { |
4450 | + function = FLAT_BOX |
4451 | + state = SELECTED |
4452 | + border = {2,2,2,2} |
4453 | + file = "Images/Tree/selected.png" |
4454 | + stretch = TRUE |
4455 | + } |
4456 | + } |
4457 | +} |
4458 | + |
4459 | +widget_class "*<GtkListItem>*" style "newwave-fg-is-text-color-workaround" |
4460 | +# The same problem also exists for GtkCList and GtkCTree |
4461 | +# Only match GtkCList and not the parent widgets, because that would also change the headers. |
4462 | + |
4463 | +widget_class "*<GtkCList>" style "newwave-fg-is-text-color-workaround" |
4464 | + |
4465 | + |
4466 | +style "newwave-evo-new-button-workaround" |
4467 | +{ |
4468 | + xthickness = 3 |
4469 | + ythickness = 3 |
4470 | + |
4471 | + |
4472 | + engine "pixmap" |
4473 | + { |
4474 | + image |
4475 | + { |
4476 | + function = BOX |
4477 | + state = NORMAL |
4478 | + file = "Images/Toolbar/toolbar-evo.png" |
4479 | + border = { 3, 3, 3,3} |
4480 | + stretch = TRUE |
4481 | + } |
4482 | + image |
4483 | + { |
4484 | + function = BOX |
4485 | + state = ACTIVE |
4486 | + file = "Images/Toolbar/toolbar-evo.png" |
4487 | + border = { 3, 3, 3,3} |
4488 | + stretch = TRUE |
4489 | + } |
4490 | + image |
4491 | + { |
4492 | + function = BOX |
4493 | + state = INSENSITIVE |
4494 | + file = "Images/Toolbar/toolbar-evo.png" |
4495 | + border = { 3, 3, 3,3} |
4496 | + stretch = TRUE |
4497 | + } |
4498 | + } |
4499 | +} |
4500 | + |
4501 | +#This are some dirty hacks to make evolution look decent |
4502 | +# TODO: find out a better way to do that |
4503 | +# |
4504 | +# Fix the toolbar by using flat style |
4505 | +widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "newwave-evo-new-button-workaround" |
4506 | +#Fix the New button that was broken when fixing the toolbar |
4507 | +widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.InternalToolbar.BonoboUIToolbarControlItem.GtkVBox.BonoboWidget.BonoboSocket.BonoboPlug.EComboButton*" style:highest "newwave-button" |
4508 | +# Fix the menu that was broken when fixing the toolbar |
4509 | +widget_class "*EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem.GtkMenuBar*" style "newwave-menubar" |
4510 | +# Fix the double entry search box in the top right corner |
4511 | +widget_class "*EShellWindow.GtkVBox.BonoboDock.GtkVBox.GtkHPaned.GtkNotebook.BonoboWidget.BonoboSocket.BonoboPlug.EMFolderBrowser.EFilterBar.GtkHBox.GtkHBox.EIconEntry.GtkHBox.GtkEntry" style :highest "newwave-entry-nofocus" |
4512 | + |
4513 | + |
4514 | +#========================================================= |
4515 | +# Panel Matches |
4516 | +#========================================================= |
4517 | + |
4518 | + |
4519 | + |
4520 | +class "*Mail*" style "panel" |
4521 | +class "*Tray*" style "panel" |
4522 | +class "*tray*" style "panel" |
4523 | +widget_class "*Tray*" style "panel" |
4524 | +widget_class "*tray*" style "panel" |
4525 | +widget "*TrayIcon*" style "panel" |
4526 | +class "*Panel*Applet*" style "panel" |
4527 | +widget_class "*Panel*GtkToggleButton" style "panel" |
4528 | +widget_class "*Panel*GtkButton" style "panel" |
4529 | +widget_class "*.Panel*Button*GtkLabel" style "panel" |
4530 | +widget_class "*.Panel*GtkLabel" style "panel" |
4531 | +widget "*PanelWidget*" style "panel" |
4532 | +widget "*PanelApplet*" style "panel" |
4533 | +class "PanelApp*" style "panel" |
4534 | +class "PanelToplevel*" style "panel" |
4535 | +widget_class "*Mail*" style "panel" |
4536 | +widget_class "*Netstatus*" style "panel" |
4537 | +widget_class "*Tomboy*Tray*" style "panel" |
4538 | +widget "*fast-user-switch*" style "panel" |
4539 | +widget_class "*PanelToplevel*" style "panel" |
4540 | +class "Xfce*Panel*" style "panel" |
4541 | +widget_class "*Xfce*Panel*" style "panel" |
4542 | +widget_class "*PanelApplet*" style "panel" |
4543 | +widget_class "*PanelWidget*" style "panel" |
4544 | +# @author:dilomo@ cpu-frequency applet was with dark text. Fix it. |
4545 | +widget_class "*FreqApplet*" style "panel" |
4546 | + |
4547 | +#(TODO:)fixes for banshee and drawers |
4548 | +#widget_class "*DrawerApplet*" style "panel-nopixmap" |
4549 | + |
4550 | +widget_class "*Panel*GtkToggleButton" style "newwave-panelbuttons" |
4551 | +widget "*.tasklist-button" style "newwave-panelbuttons" |
4552 | +widget_class "*PanelToplevel*Button" style "newwave-panelbuttons" |
4553 | +widget_class "*Xfce*Panel*.GtkToggleButton" style "newwave-panelbuttons" |
4554 | +widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "newwave-panelbuttons" |
4555 | + |
4556 | +# Theme panel elements |
4557 | +#widget "*PanelWidget*" style "panel" |
4558 | +#widget "*PanelApplet |
4559 | +#widget "*fast-user-switch*" style "panel" |
4560 | +#class "PanelApp*" style "panel" |
4561 | +#class "PanelToplevel*" style "panel" |
4562 | +#widget_class "*Mail*" style "panel" |
4563 | +#widget_class "*notif*" style "panel" |
4564 | +#widget_class "*Notif*" style "panel" |
4565 | +# @author:dilomo@ cpu-frequency applet was with dark text. Fix it. |
4566 | +#widget_class "*FreqApplet*" style "panel" |
4567 | +#widget_class "*AllTray*" style "panel" |
4568 | +# @author:dilomo@ Only testing this as it is alpha software. |
4569 | +#widget "*.globalmenu-applet-eventbox" style : highest "panel" |
4570 | |
4571 | === added file 'New Wave Dark Menus/gtk-2.0/gtkrc' |
4572 | --- New Wave Dark Menus/gtk-2.0/gtkrc 1970-01-01 00:00:00 +0000 |
4573 | +++ New Wave Dark Menus/gtk-2.0/gtkrc 2009-03-14 22:23:13 +0000 |
4574 | @@ -0,0 +1,353 @@ |
4575 | +# |
4576 | +#================================================ |
4577 | +# New Wave Dark Menus Pixmap Theme |
4578 | +#================================================ |
4579 | +# |
4580 | +# |
4581 | +# Based on: Ubuntu Human-Clearlooks |
4582 | +# |
4583 | +# Author: |
4584 | +# Anton Kerezov <ankere@gmail.com> |
4585 | +# |
4586 | +# Feel free to modify and share! |
4587 | +# Licensed under Creative Commons 3.0 |
4588 | +# |
4589 | +# Major Version: 0.8 |
4590 | + |
4591 | +#========================================================= |
4592 | +# Include the normal New Wave file |
4593 | + |
4594 | +include "default-gtkrc" |
4595 | + |
4596 | +#========================================================= |
4597 | +# Modify only the menus so that they become dark | |
4598 | +#========================================================= |
4599 | +# |
4600 | +#========================================================= |
4601 | +# Menu system | |
4602 | +#========================================================= |
4603 | + |
4604 | +style "newwave-menubar-dark" = "newwave-menubar" |
4605 | +{ |
4606 | + |
4607 | + engine "pixmap" |
4608 | + { |
4609 | + image |
4610 | + { |
4611 | + function = BOX |
4612 | + recolorable = TRUE |
4613 | + state = PRELIGHT |
4614 | + file = "Images/MenuMenubar/mb-item-dark.png" |
4615 | + border = { 2, 2, 4, 2 } |
4616 | + stretch = TRUE |
4617 | + } |
4618 | + } |
4619 | +} |
4620 | + |
4621 | +style "newwave-dark-menu" |
4622 | +{ |
4623 | + xthickness = 1 |
4624 | + ythickness = 3 |
4625 | + |
4626 | + bg[NORMAL] = "#ffffff" |
4627 | + base[NORMAL] = "#ffffff" |
4628 | + |
4629 | + #Dark scheme |
4630 | + fg[NORMAL] = @bg_color |
4631 | + fg[PRELIGHT] = @fg_color |
4632 | + fg[ACTIVE] = lighter(@bg_color) |
4633 | + fg[SELECTED] = lighter(@bg_color) |
4634 | + fg[INSENSITIVE] = darker("#7a7878") |
4635 | + |
4636 | + bg[NORMAL] = "#7a7878" |
4637 | + bg[PRELIGHT] = "#7a7878" |
4638 | + bg[ACTIVE] = "#7a7878" |
4639 | + bg[SELECTED] = darker("#7a7878") |
4640 | + |
4641 | + engine "pixmap" |
4642 | + { |
4643 | + image |
4644 | + { |
4645 | + function = BOX |
4646 | + recolorable = TRUE |
4647 | + detail = "menu" |
4648 | + shadow = OUT |
4649 | + file = "Images/MenuMenubar/menu.png" |
4650 | + border = { 1, 1, 2, 1 } |
4651 | + stretch = TRUE |
4652 | + } |
4653 | + } |
4654 | +} |
4655 | + |
4656 | +style "newwave-dark-menu-item" |
4657 | +{ |
4658 | + xthickness = 0 |
4659 | + ythickness = 3 |
4660 | + |
4661 | + #Dark scheme |
4662 | + fg[NORMAL] = "#ffffff" |
4663 | + fg[PRELIGHT] = @fg_color |
4664 | + fg[INSENSITIVE] = darker("#696969") |
4665 | + |
4666 | + bg[NORMAL] = "#696969" |
4667 | + bg[ACTIVE] = shade(1.05,"#696969") |
4668 | + bg[SELECTED] = shade(1.05,"#696969") |
4669 | + bg[INSENSITIVE] = "#696969" |
4670 | + |
4671 | + |
4672 | + engine "pixmap" |
4673 | + { |
4674 | + image |
4675 | + { |
4676 | + function = BOX |
4677 | + recolorable = TRUE |
4678 | + file = "Images/MenuMenubar/menuitem-dark.png" |
4679 | + border = { 4, 4, 4, 4 } |
4680 | + stretch = TRUE |
4681 | + } |
4682 | + image |
4683 | + { |
4684 | + function = ARROW |
4685 | + recolorable = TRUE |
4686 | + state = NORMAL |
4687 | + overlay_file = "Images/Arrows/arrow-right.png" |
4688 | + overlay_stretch = FALSE |
4689 | + arrow_direction = RIGHT |
4690 | + } |
4691 | + image |
4692 | + { |
4693 | + function = ARROW |
4694 | + recolorable = TRUE |
4695 | + state = PRELIGHT |
4696 | + overlay_file = "Images/Arrows/arrow-right-prelight.png" |
4697 | + overlay_stretch = FALSE |
4698 | + arrow_direction = RIGHT |
4699 | + } |
4700 | + image |
4701 | + { |
4702 | + function = ARROW |
4703 | + recolorable = TRUE |
4704 | + state = INSENSITIVE |
4705 | + overlay_file = "Images/Arrows/arrow-right-insens.png" |
4706 | + overlay_stretch = FALSE |
4707 | + arrow_direction = RIGHT |
4708 | + } |
4709 | + } |
4710 | +} |
4711 | + |
4712 | +style "newwave-dark-tearoff-menu-item" = "newwave-dark-menu-item" |
4713 | +{ |
4714 | + engine "pixmap" |
4715 | + { |
4716 | + image |
4717 | + { |
4718 | + function = ARROW |
4719 | + file = "Images/Arrows/arrow-left.png" |
4720 | + stretch = TRUE |
4721 | + arrow_direction = LEFT |
4722 | + } |
4723 | + } |
4724 | +} |
4725 | + |
4726 | +#========================================================= |
4727 | +# Main Menu |
4728 | +#========================================================= |
4729 | + |
4730 | + |
4731 | +# This had to make the main menu with white bg (not working yet but will in Ibex) |
4732 | +style "newwave-dark-panelmenu-item" |
4733 | +{ |
4734 | + base[NORMAL] = "#ffffff" |
4735 | + |
4736 | + fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) |
4737 | + fg[PRELIGHT] = @fg_color |
4738 | + fg[INSENSITIVE] = darker("#696969") |
4739 | + |
4740 | + bg[NORMAL] = "#696969" |
4741 | + bg[ACTIVE] = shade(1.05,"#696969") |
4742 | + bg[SELECTED] = shade(1.05,"#696969") |
4743 | + bg[INSENSITIVE] = "#696969" |
4744 | + |
4745 | + text[NORMAL] = @text_color |
4746 | + text[PRELIGHT] = @text_color |
4747 | + text[ACTIVE] = @text_color |
4748 | + text[SELECTED] = @text_color |
4749 | + text[INSENSITIVE] = "#696969" |
4750 | + |
4751 | + engine "pixmap" |
4752 | + { |
4753 | + image |
4754 | + { |
4755 | + function = BOX |
4756 | + recolorable = TRUE |
4757 | + file = "Images/MenuMenubar/menuitem-dark.png" |
4758 | + border = { 2, 2, 2, 2 } |
4759 | + stretch = TRUE |
4760 | + } |
4761 | + image |
4762 | + { |
4763 | + function = ARROW |
4764 | + recolorable = TRUE |
4765 | + state = NORMAL |
4766 | + overlay_file = "Images/Arrows/arrow-right.png" |
4767 | + overlay_stretch = FALSE |
4768 | + arrow_direction = RIGHT |
4769 | + } |
4770 | + image |
4771 | + { |
4772 | + function = ARROW |
4773 | + recolorable = TRUE |
4774 | + state = PRELIGHT |
4775 | + overlay_file = "Images/Arrows/arrow-right-prelight.png" |
4776 | + overlay_stretch = FALSE |
4777 | + arrow_direction = RIGHT |
4778 | + } |
4779 | + image |
4780 | + { |
4781 | + function = ARROW |
4782 | + recolorable = TRUE |
4783 | + state = INSENSITIVE |
4784 | + overlay_file = "Images/Arrows/arrow-right-insens.png" |
4785 | + overlay_stretch = FALSE |
4786 | + arrow_direction = RIGHT |
4787 | + } |
4788 | + } |
4789 | + |
4790 | +} |
4791 | +widget "*.gnome-panel-main-menu.*" style :highest "newwave-dark-panelmenu-item" |
4792 | + |
4793 | +style "newwave-dark-panelmenu" = "newwave-dark-menu" |
4794 | +{ |
4795 | + base[NORMAL] = "#F5F5F5" |
4796 | + |
4797 | + |
4798 | + text[NORMAL] = @text_color |
4799 | + text[PRELIGHT] = @text_color |
4800 | + text[ACTIVE] = @text_color |
4801 | + text[SELECTED] = @text_color |
4802 | + text[INSENSITIVE] = "#696969" |
4803 | + |
4804 | + fg[NORMAL] = @bg_color |
4805 | + fg[PRELIGHT] = lighter(@bg_color) |
4806 | + fg[ACTIVE] = lighter(@bg_color) |
4807 | + fg[SELECTED] = lighter(@bg_color) |
4808 | + fg[INSENSITIVE] = darker("#7a7878") |
4809 | + |
4810 | + bg[NORMAL] = "#706E6E" |
4811 | + bg[PRELIGHT] = "#7a7878" |
4812 | + bg[ACTIVE] = "#7a7878" |
4813 | + bg[SELECTED] = darker("#7a7878") |
4814 | + |
4815 | + |
4816 | + engine "pixmap" |
4817 | + { |
4818 | + image |
4819 | + { |
4820 | + function = BOX |
4821 | + recolorable = TRUE |
4822 | + file = "Images/MenuMenubar/menu.png" |
4823 | + border = { 1, 1, 1, 1 } |
4824 | + stretch = TRUE |
4825 | + } |
4826 | + } |
4827 | +} |
4828 | +widget "*.gnome-panel-main-menu" style :highest "newwave-dark-panelmenu" |
4829 | + |
4830 | + |
4831 | +# Other fixes |
4832 | + |
4833 | + |
4834 | +style "newwave-combobox-text-color-workaround-dark" |
4835 | +{ |
4836 | + text[NORMAL] = @fg_color |
4837 | + text[PRELIGHT] = @fg_color |
4838 | + text[SELECTED] = @selected_fg_color |
4839 | + text[ACTIVE] = @fg_color |
4840 | + text[INSENSITIVE] = darker (@bg_color) |
4841 | +} |
4842 | +widget_class "*.<GtkComboBox>.<GtkCellView>" style :highest "newwave-combobox-text-color-workaround-dark" |
4843 | + |
4844 | + |
4845 | +style "newwave-menuitem-text-is-fg-color-workaround-dark" |
4846 | +{ |
4847 | + text[NORMAL] = "#ffffff" |
4848 | + text[PRELIGHT] = @fg_color |
4849 | + text[SELECTED] = lighter(@bg_color) |
4850 | + text[ACTIVE] = lighter(@bg_color) |
4851 | + text[INSENSITIVE] = darker("#7a7878") |
4852 | + |
4853 | + fg[NORMAL] = "#ffffff" #shade(1.12, @bg_color) |
4854 | + fg[PRELIGHT] = @fg_color |
4855 | + fg[INSENSITIVE] = darker("#696969") |
4856 | + |
4857 | + bg[NORMAL] = "#696969" |
4858 | + bg[ACTIVE] = shade(1.05,"#696969") |
4859 | + bg[SELECTED] = shade(1.05,"#696969") |
4860 | + bg[INSENSITIVE] = "#696969" |
4861 | + |
4862 | + engine "pixmap" |
4863 | + { |
4864 | + image |
4865 | + { |
4866 | + function = BOX |
4867 | + recolorable = TRUE |
4868 | + file = "Images/MenuMenubar/menuitem-dark.png" |
4869 | + border = { 2, 2, 2, 2 } |
4870 | + stretch = TRUE |
4871 | + } |
4872 | + } |
4873 | + |
4874 | +} |
4875 | +widget "*.gtk-combobox-popup-menu.*" style :highest "newwave-menuitem-text-is-fg-color-workaround-dark" |
4876 | + |
4877 | +style "newwave-dark-popupmenu-workaround" |
4878 | +{ |
4879 | + text[NORMAL] = @bg_color |
4880 | + text[PRELIGHT] = lighter(@bg_color) |
4881 | + text[SELECTED] = lighter(@bg_color) |
4882 | + text[ACTIVE] = lighter(@bg_color) |
4883 | + text[INSENSITIVE] = darker("#7a7878") |
4884 | + |
4885 | + fg[NORMAL] = @bg_color |
4886 | + fg[PRELIGHT] = lighter(@bg_color) |
4887 | + fg[ACTIVE] = lighter(@bg_color) |
4888 | + fg[SELECTED] = lighter(@bg_color) |
4889 | + fg[INSENSITIVE] = darker("#7a7878") |
4890 | + |
4891 | + bg[NORMAL] = "#7a7878" |
4892 | + bg[PRELIGHT] = "#7a7878" |
4893 | + bg[ACTIVE] = "#7a7878" |
4894 | + bg[SELECTED] = darker("#7a7878") |
4895 | + |
4896 | + engine "pixmap" |
4897 | + { |
4898 | + image |
4899 | + { |
4900 | + function = BOX |
4901 | + recolorable = TRUE |
4902 | + file = "Images/MenuMenubar/menu.png" |
4903 | + border = { 1, 1, 1, 1 } |
4904 | + stretch = TRUE |
4905 | + } |
4906 | + } |
4907 | +} |
4908 | + |
4909 | +widget "*.gtk-combobox-popup-menu" style :highest "newwave-dark-popupmenu-workaround" |
4910 | + |
4911 | + |
4912 | + |
4913 | +widget_class "*<GtkMenu>.<GtkMenuItem>*" style "newwave-dark-menu-item" |
4914 | +widget_class"*.GtkAccelMenuItem.*" style "newwave-dark-menu-item" |
4915 | +widget_class "*<GtkMenu>*" style "newwave-dark-menu" |
4916 | +class "GtkTearoffMenuItem" style "newwave-dark-menu-item" |
4917 | +class "GtkMenuItem" style "newwave-dark-menu-item" |
4918 | +class "GtkImageMenuItem" style "newwave-dark-menu-item" |
4919 | +class "GtkItem" style "newwave-dark-menu-item" |
4920 | + |
4921 | +widget_class "*<GtkMenuBar>*" style "newwave-menubar-dark" |
4922 | +class "GtkMenuBar" style "newwave-menubar-dark" |
4923 | +widget_class "GtkMenuBar" style "newwave-menubar-dark" |
4924 | +class "*MenuBar*" style "newwave-menubar-dark" |
4925 | +widget_class "*MenuBar*" style "newwave-menubar-dark" |
4926 | + |
4927 | + |
4928 | |
4929 | === modified file 'debian/changelog' |
4930 | --- debian/changelog 2009-03-13 18:28:53 +0000 |
4931 | +++ debian/changelog 2009-03-14 22:26:33 +0000 |
4932 | @@ -1,3 +1,17 @@ |
4933 | +gnome-themes-ubuntu (0.2) jaunty; urgency=low |
4934 | + |
4935 | + * Add "New Wave Dark Menus" from lp:anton |
4936 | + - gtk theme only, not "meta theme" |
4937 | + - create link to images in "New Wave" |
4938 | + - debian/copyright: Change "Files: NewWave/*" |
4939 | + to "Files: NewWave*/*" |
4940 | + * debian/control: |
4941 | + - Versionize Conflicts: community-themes (<= 0.13) |
4942 | + in order to allow future releases not containting |
4943 | + Dust and New Wave. |
4944 | + |
4945 | + -- Andrew Starr-Bochicchio <a.starr.b@gmail.com> Sat, 14 Mar 2009 17:43:57 -0400 |
4946 | + |
4947 | gnome-themes-ubuntu (0.1) jaunty; urgency=low |
4948 | |
4949 | * Initial release: (LP: #335888) |
4950 | |
4951 | === modified file 'debian/control' |
4952 | --- debian/control 2009-03-11 10:26:48 +0000 |
4953 | +++ debian/control 2009-03-14 22:26:33 +0000 |
4954 | @@ -9,7 +9,7 @@ |
4955 | Package: gnome-themes-ubuntu |
4956 | Architecture: all |
4957 | Depends: gtk2-engines, gtk2-engines-pixbuf |
4958 | -Conflicts: community-themes |
4959 | +Conflicts: community-themes (<= 0.13) |
4960 | Description: Ubuntu community themes |
4961 | This package contains a few nice contributed themes for the GNOME |
4962 | desktop: |
4963 | |
4964 | === modified file 'debian/copyright' |
4965 | --- debian/copyright 2009-03-13 18:28:07 +0000 |
4966 | +++ debian/copyright 2009-03-14 22:23:13 +0000 |
4967 | @@ -8,7 +8,7 @@ |
4968 | The full text of the GPL is distributed as in |
4969 | /usr/share/common-licenses/GPL-3 on Debian systems. |
4970 | |
4971 | -Files: NewWave/* |
4972 | +Files: NewWave*/* |
4973 | Copyright: Copyright 2008 Anton Kerezov |
4974 | License: CC-BY-SA 2.5 |
4975 | ---------------------------------------------------------- |
As discussed in Bug #335888, it may be possible to add the New Wave Dark Menus gtk theme to this package (not the meta theme). This branch does so by only adding the needed gtkrc files and linking the image folder to the normal New Wave image folder. I have built and tested this locally with no issues.
Additionally, I also versionize the conflicts on community-themes to <= 0.13 in order to allow a future community-themes package without New Wave or Dust. (I don't know if this is actually happening, but it was mentioned in the bug report.)