]> Pileus Git - ~andy/gtk/blob - gtk/gtk-win32-base.css
d9a8e6e0a09665485ce030f4370e48b8d9fbeda0
[~andy/gtk] / gtk / gtk-win32-base.css
1 @define-color bg_color -gtk-win32-color(button, 15);\r
2 @define-color text_color -gtk-win32-color(button, 18);\r
3 @define-color base_color #fff;\r
4 @define-color selected_bg_color -gtk-win32-color(button, 13);\r
5 @define-color selected_fg_color -gtk-win32-color(button, 14);\r
6 @define-color info_fg_color rgb (181, 171, 156);\r
7 @define-color info_bg_color rgb (252, 252, 189);\r
8 @define-color warning_fg_color rgb (173, 120, 41);\r
9 @define-color warning_bg_color rgb (250, 173, 61);\r
10 @define-color question_fg_color rgb (97, 122, 214);\r
11 @define-color question_bg_color rgb (138, 173, 212);\r
12 @define-color error_fg_color rgb (166, 38, 38);\r
13 @define-color error_bg_color rgb (237, 54, 54);\r
14 \r
15 GtkWindow,\r
16 GtkViewport {\r
17     background-color: @bg_color;\r
18 }\r
19 \r
20 * {\r
21     color: -gtk-win32-color(button, 18);\r
22     -GtkWidget-link-color: -gtk-win32-color(button, 26);\r
23     -GtkWidget-visited-link-color: -gtk-win32-color(button, 26);\r
24     border-color: shade (@bg_color, 0.6);\r
25 }\r
26 \r
27 GtkFrame {\r
28     border-width: 2px;\r
29     border-style: solid;\r
30     background-color: transparent;\r
31     border-image: -gtk-win32-theme-part(button, 4 1) 2 2 2 2 stretch;\r
32 }\r
33 \r
34 *:insensitive {\r
35     color: -gtk-win32-color(button, 17);\r
36 }\r
37 \r
38 *:selected,\r
39 *:selected:focus {\r
40     background-color: @selected_bg_color;\r
41     color: @selected_fg_color;\r
42 }\r
43 \r
44 .info {\r
45     background-color: @info_bg_color;\r
46     color: @info_fg_color;\r
47 }\r
48 \r
49 .warning {\r
50     background-color: @warning_bg_color;\r
51     color: @warning_fg_color;\r
52 }\r
53 \r
54 .question {\r
55     background-color: @question_bg_color;\r
56     color: @question_fg_color;\r
57 }\r
58 \r
59 .error {\r
60     background-color: @error_bg_color;\r
61     color: @error_fg_color;\r
62 }\r
63 \r
64 .highlight {\r
65     background-color: @selected_bg_color;\r
66     color: @selected_fg_color;\r
67 }\r
68 \r
69 .light-area-focus {\r
70     color: #000;\r
71 }\r
72 \r
73 .dark-area-focus {\r
74     color: #fff;\r
75 }\r
76 \r
77 .view {\r
78   border-width: 0;\r
79   border-radius: 0;\r
80   background-color: @base_color;\r
81   color: @text_color;\r
82 }\r
83 \r
84 .view:selected {\r
85   background-color: shade (@bg_color, 0.9);\r
86   color: @fg_color;\r
87 }\r
88 \r
89 .view:selected:focused {\r
90   background-color: @selected_bg_color;\r
91   color: @selected_fg_color;\r
92 }\r
93 \r
94 .tooltip {\r
95     background-color: -gtk-win32-color(button, 24);\r
96     color: -gtk-win32-color(button, 23);\r
97     border-width: 1px;\r
98     border-style: solid;\r
99 }\r
100 \r
101 .tooltip * {\r
102     color: -gtk-win32-color(button, 23);\r
103 }\r
104 \r
105 GtkAssistant .sidebar .highlight {\r
106     font: bold;\r
107     color:  -gtk-win32-color(button, 9);\r
108 }\r
109 \r
110 /* Buttons */\r
111 \r
112 .button {\r
113     color: -gtk-win32-color(button, 18);\r
114     background-color: transparent;\r
115     background-image: -gtk-win32-theme-part(button, 1 1);\r
116     border-width: 0;\r
117     -GtkWidget-focus-line-width: 1;\r
118     -GtkWidget-focus-padding: 3;\r
119     -GtkButton-interior-focuse: true;\r
120     padding: 3px;\r
121 }\r
122 \r
123 .button:insensitive {\r
124     background-image: -gtk-win32-theme-part(button, 1 4);\r
125 }\r
126 \r
127 .button:focused {\r
128     background-image: -gtk-win32-theme-part(button, 1 5);\r
129 }\r
130 \r
131 .button:prelight, .button:prelight:focused {\r
132     background-image: -gtk-win32-theme-part(button, 1 2);\r
133     color: #000000;\r
134 }\r
135 \r
136 .button:active, .button:active:focused, .button:active:focused:prelight {\r
137     background-image: -gtk-win32-theme-part(button, 1 3);\r
138 }\r
139 \r
140 /* Check buttons */\r
141 \r
142 .check {\r
143     background-color: transparent;\r
144     background-image: -gtk-win32-theme-part(button, 3 1);\r
145     border-width: 0;\r
146 }\r
147 \r
148 .check:insensitive {\r
149     background-image: -gtk-win32-theme-part(button, 3 4);\r
150 }\r
151 \r
152 .check:prelight {\r
153     background-image: -gtk-win32-theme-part(button, 3 2);\r
154 }\r
155 \r
156 .check:active {\r
157     background-image: -gtk-win32-theme-part(button, 3 5);\r
158 }\r
159 \r
160 .check:active:insensitive {\r
161     background-image: -gtk-win32-theme-part(button, 3 8);\r
162 }\r
163 \r
164 .check:active:prelight {\r
165     background-image: -gtk-win32-theme-part(button, 3 6);\r
166 }\r
167 \r
168 .check:inconsistent {\r
169     background-image: -gtk-win32-theme-part(button, 3 9);\r
170 }\r
171 \r
172 .check:inconsistent:insensitive {\r
173     background-image: -gtk-win32-theme-part(button, 3 12);\r
174 }\r
175 \r
176 .check:inconsistent:prelight {\r
177     background-image: -gtk-win32-theme-part(button, 3 10);\r
178 }\r
179 \r
180 /* Radio buttons */\r
181 \r
182 .radio {\r
183     background-color: transparent;\r
184     background-image: -gtk-win32-theme-part(button, 2 1);\r
185     border-width: 0;\r
186 }\r
187 \r
188 .radio:insensitive {\r
189     background-image: -gtk-win32-theme-part(button, 2 4);\r
190 }\r
191 \r
192 .radio:prelight {\r
193     background-image: -gtk-win32-theme-part(button, 2 2);\r
194 }\r
195 \r
196 .radio:active {\r
197     background-image: -gtk-win32-theme-part(button, 2 5);\r
198 }\r
199 \r
200 .radio:active:insensitive {\r
201     background-image: -gtk-win32-theme-part(button, 2 8);\r
202 }\r
203 \r
204 .radio:active:prelight {\r
205     background-image: -gtk-win32-theme-part(button, 2 6);\r
206 }\r
207 \r
208 .radio:inconsistent {\r
209     background-image: -gtk-win32-theme-part(button, 2 1, over (2 5, 0.3));\r
210 }\r
211 \r
212 .radio:inconsistent:insensitive {\r
213     background-image: -gtk-win32-theme-part(button, 2 4, over (2 8, 0.3));\r
214 }\r
215 \r
216 .radio:inconsistent:prelight {\r
217     background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3));\r
218 }\r
219 \r
220 /* Scrollbars */\r
221 \r
222 /* TODO: Win32 has different concept for upper and lower trough, we\r
223    don't use this atm */\r
224 \r
225 .scrollbar {\r
226     background-color: transparent;\r
227     -GtkRange-trough-border: 0;\r
228     -GtkRange-arrow-scaling: 0.0;\r
229     -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);\r
230 }\r
231 \r
232 .scrollbar.vertical {\r
233     -GtkRange-slider-width: -gtk-win32-size(scrollbar, 2);\r
234 }\r
235 \r
236 .scrollbar.button.bottom {\r
237     background-image: -gtk-win32-theme-part(scrollbar, 1 5);\r
238 }\r
239 \r
240 .scrollbar.button.bottom:prelight {\r
241     background-image: -gtk-win32-theme-part(scrollbar, 1 6);\r
242 }\r
243 \r
244 .scrollbar.button.bottom:active,\r
245 .scrollbar.button.bottom:active:prelight {\r
246     background-image: -gtk-win32-theme-part(scrollbar, 1 7);\r
247 }\r
248 \r
249 .scrollbar.button.bottom:insensitive {\r
250     background-image: -gtk-win32-theme-part(scrollbar, 1 8);\r
251 }\r
252 \r
253 .scrollbar.button.top {\r
254     background-image: -gtk-win32-theme-part(scrollbar, 1 1);\r
255 }\r
256 \r
257 .scrollbar.button.top:prelight {\r
258     background-image: -gtk-win32-theme-part(scrollbar, 1 2);\r
259 }\r
260 \r
261 .scrollbar.button.top:active,\r
262 .scrollbar.button.top:active:prelight {\r
263     background-image: -gtk-win32-theme-part(scrollbar, 1 3);\r
264 }\r
265 \r
266 .scrollbar.button.top:insensitive {\r
267     background-image: -gtk-win32-theme-part(scrollbar, 1 4);\r
268 }\r
269 \r
270 .scrollbar.button.left {\r
271     background-image: -gtk-win32-theme-part(scrollbar, 1 9);\r
272 }\r
273 \r
274 .scrollbar.button.left:prelight {\r
275     background-image: -gtk-win32-theme-part(scrollbar, 1 10);\r
276 }\r
277 \r
278 .scrollbar.button.left:active,\r
279 .scrollbar.button.left:active:prelight {\r
280     background-image: -gtk-win32-theme-part(scrollbar, 1 11);\r
281 }\r
282 \r
283 .scrollbar.button.left:insensitive {\r
284     background-image: -gtk-win32-theme-part(scrollbar, 1 12);\r
285 }\r
286 \r
287 .scrollbar.button.right {\r
288     background-image: -gtk-win32-theme-part(scrollbar, 1 13);\r
289 }\r
290 \r
291 .scrollbar.button.right:prelight {\r
292     background-image: -gtk-win32-theme-part(scrollbar, 1 14);\r
293 }\r
294 \r
295 .scrollbar.button.right:active,\r
296 .scrollbar.button.right:active:prelight {\r
297     background-image: -gtk-win32-theme-part(scrollbar, 1 15);\r
298 }\r
299 \r
300 .scrollbar.button.right:insensitive {\r
301     background-image: -gtk-win32-theme-part(scrollbar, 1 16);\r
302 }\r
303 \r
304 .scrollbar.trough {\r
305     border-width: 0;\r
306     background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (4 1));\r
307 }\r
308 \r
309 .scrollbar.trough.vertical {\r
310     border-width: 0;\r
311     background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (6 1));\r
312 }\r
313 \r
314 .scrollbar.slider {\r
315     border-width: 0;\r
316     background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (8 1));\r
317 }\r
318 \r
319 .scrollbar.slider:prelight {\r
320     background-image: -gtk-win32-theme-part(scrollbar, 2 2, over (8 2));\r
321 }\r
322 \r
323 .scrollbar.slider.vertical {\r
324     background-image: -gtk-win32-theme-part(scrollbar, 3 1, over (9 1));\r
325 }\r
326 \r
327 .scrollbar.slider.vertical:prelight {\r
328     background-image: -gtk-win32-theme-part(scrollbar, 3 2, over (9 2));\r
329 }\r
330 \r
331 /* Entry */\r
332 \r
333 /* TODO: For entries with set_has_frame FALSE we should use 'edit, 3 1', not \r
334    sure how to select for this though */\r
335 .entry {\r
336     background-color: black;\r
337     border-width: 0;\r
338     background-image: -gtk-win32-theme-part(edit, 1 1);\r
339     padding: 3px;\r
340 }\r
341 .entry:insensitive {\r
342     background-image: -gtk-win32-theme-part(edit, 1 4);\r
343 }\r
344 .entry:prelight {\r
345     background-image: -gtk-win32-theme-part(edit, 1 4);\r
346 }\r
347 \r
348 /* Spinbuttons */\r
349 \r
350 .spinbutton.button,\r
351 .spinbutton.button:focused {\r
352     background-color: transparent;\r
353     border-width: 1px 1px 0 0;\r
354     border-style: none;\r
355     background-image: -gtk-win32-theme-part(spin, 1 1);\r
356     color: rgba(0, 0, 0, 0);\r
357 }\r
358 \r
359 .spinbutton.button:prelight,\r
360 .spinbutton.button:prelight:focused {\r
361     background-image: -gtk-win32-theme-part(spin, 1 2);\r
362     color: rgba(0, 0, 0, 0);\r
363 }\r
364 \r
365 .spinbutton.button:active,\r
366 .spinbutton.button:active:prelight {\r
367     background-image: -gtk-win32-theme-part(spin, 1 3);\r
368     color: rgba(0, 0, 0, 0);\r
369 }\r
370 \r
371 .spinbutton.button:insensitive {\r
372     background-image: -gtk-win32-theme-part(spin, 1 4);\r
373     color: rgba(0, 0, 0, 0);\r
374 }\r
375 \r
376 .spinbutton.button.bottom,\r
377 .spinbutton.button.bottom:focused {\r
378     border-width: 0 1px 1px 0;\r
379     background-image: -gtk-win32-theme-part(spin, 2 1);\r
380     color: rgba(0, 0, 0, 0);\r
381 }\r
382 \r
383 .spinbutton.button.bottom:prelight,\r
384 .spinbutton.button.bottom:prelight:focused {\r
385     background-image: -gtk-win32-theme-part(spin, 2 2);\r
386     color: rgba(0, 0, 0, 0);\r
387 }\r
388 \r
389 .spinbutton.button.bottom:active,\r
390 .spinbutton.button.bottom:active:prelight {\r
391     background-image: -gtk-win32-theme-part(spin, 2 3);\r
392     color: rgba(0, 0, 0, 0);\r
393 }\r
394 \r
395 .spinbutton.button.bottom:insensitive {\r
396     background-image: -gtk-win32-theme-part(spin, 2 4);\r
397     color: rgba(0, 0, 0, 0);\r
398 }\r
399 \r
400 /* Ranges */\r
401 \r
402 /* TODO: The trough is not quite right, it covers everything,\r
403    but in win32 the slider 'sticks out' on the sides of the\r
404    trough */\r
405 \r
406 .scale {\r
407     background-color: transparent;\r
408     -GtkScale-value-spacing: 0;\r
409     -GtkScale-slider-length: 9;\r
410     -GtkRange-slider-width: 20;\r
411     -GtkRange-trough-border: 0;\r
412 }\r
413 \r
414 .scale.trough {\r
415     border-style: none;\r
416     border-width: 0;\r
417     background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (2 0 2 0));\r
418 }\r
419 \r
420 .scale.trough.vertical {\r
421     background-image: -gtk-win32-theme-part(trackbar, 1 1, margins (0 2 0 2));\r
422 }\r
423 \r
424 .scale.slider {\r
425     background-color: transparent;\r
426     border-width: 0;\r
427     color: rgba(0,0,0,0);\r
428     background-image: -gtk-win32-theme-part(trackbar, 3 1);\r
429 }\r
430 \r
431 .scale.slider:prelight {\r
432     background-image: -gtk-win32-theme-part(trackbar, 3 2);\r
433 }\r
434 \r
435 .scale.slider:active,\r
436 .scale.slider:prelight:active {\r
437     background-image: -gtk-win32-theme-part(trackbar, 3 3);\r
438 }\r
439 \r
440 .scale.slider:focus {\r
441     background-image: -gtk-win32-theme-part(trackbar, 3 4);\r
442 }\r
443 \r
444 .scale.slider:insensitive {\r
445     background-image: -gtk-win32-theme-part(trackbar, 3 5);\r
446 }\r
447 \r
448 .scale.slider.vertical {\r
449     background-image: -gtk-win32-theme-part(trackbar, 6 1);\r
450 }\r
451 \r
452 .scale.slider.vertical:prelight {\r
453     background-image: -gtk-win32-theme-part(trackbar, 6 2);\r
454 }\r
455 \r
456 .scale.slider.vertical:active,\r
457 .scale.slider.vertical:prelight:active {\r
458     background-image: -gtk-win32-theme-part(trackbar, 6 3);\r
459 }\r
460 \r
461 .scale.slider.vertical:focus {\r
462     background-image: -gtk-win32-theme-part(trackbar, 6 4);\r
463 }\r
464 \r
465 .scale.slider.vertical:insensitive {\r
466     background-image: -gtk-win32-theme-part(trackbar, 6 5);\r
467 }\r
468 \r
469 .scale.slider.scale-has-marks-below {\r
470     background-image: -gtk-win32-theme-part(trackbar, 4 1);\r
471 }\r
472 \r
473 .scale.slider.scale-has-marks-below:prelight {\r
474     background-image: -gtk-win32-theme-part(trackbar, 4 2);\r
475 }\r
476 \r
477 .scale.slider.scale-has-marks-below:active,\r
478 .scale.slider.scale-has-marks-below:prelight:active {\r
479     background-image: -gtk-win32-theme-part(trackbar, 4 3);\r
480 }\r
481 \r
482 .scale.slider.scale-has-marks-below:focus {\r
483     background-image: -gtk-win32-theme-part(trackbar, 4 4);\r
484 }\r
485 \r
486 .scale.slider.scale-has-marks-below:insensitive {\r
487     background-image: -gtk-win32-theme-part(trackbar, 4 5);\r
488 }\r
489 \r
490 .scale.slider.scale-has-marks-below.vertical {\r
491     background-image: -gtk-win32-theme-part(trackbar, 8 1);\r
492 }\r
493 \r
494 .scale.slider.scale-has-marks-below.vertical:prelight {\r
495     background-image: -gtk-win32-theme-part(trackbar, 8 2);\r
496 }\r
497 \r
498 .scale.slider.scale-has-marks-below.vertical:active,\r
499 .scale.slider.scale-has-marks-below.vertical:prelight:active {\r
500     background-image: -gtk-win32-theme-part(trackbar, 8 3);\r
501 }\r
502 \r
503 .scale.slider.scale-has-marks-below.vertical:focus {\r
504     background-image: -gtk-win32-theme-part(trackbar, 8 4);\r
505 }\r
506 \r
507 .scale.slider.scale-has-marks-below.vertical:insensitive {\r
508     background-image: -gtk-win32-theme-part(trackbar, 8 5);\r
509 }\r
510 \r
511 \r
512 \r
513 .scale.slider.scale-has-marks-above {\r
514     background-image: -gtk-win32-theme-part(trackbar, 5 1);\r
515 }\r
516 \r
517 .scale.slider.scale-has-marks-above:prelight {\r
518     background-image: -gtk-win32-theme-part(trackbar, 5 2);\r
519 }\r
520 \r
521 .scale.slider.scale-has-marks-above:active,\r
522 .scale.slider.scale-has-marks-above:prelight:active {\r
523     background-image: -gtk-win32-theme-part(trackbar, 5 3);\r
524 }\r
525 \r
526 .scale.slider.scale-has-marks-above:focus {\r
527     background-image: -gtk-win32-theme-part(trackbar, 5 4);\r
528 }\r
529 \r
530 .scale.slider.scale-has-marks-above:insensitive {\r
531     background-image: -gtk-win32-theme-part(trackbar, 5 5);\r
532 }\r
533 \r
534 .scale.slider.scale-has-marks-above.vertical {\r
535     background-image: -gtk-win32-theme-part(trackbar, 7 1);\r
536 }\r
537 \r
538 .scale.slider.scale-has-marks-above.vertical:prelight {\r
539     background-image: -gtk-win32-theme-part(trackbar, 7 2);\r
540 }\r
541 \r
542 .scale.slider.scale-has-marks-above.vertical:active,\r
543 .scale.slider.scale-has-marks-above.vertical:prelight:active {\r
544     background-image: -gtk-win32-theme-part(trackbar, 7 3);\r
545 }\r
546 \r
547 .scale.slider.scale-has-marks-above.vertical:focus {\r
548     background-image: -gtk-win32-theme-part(trackbar, 7 4);\r
549 }\r
550 \r
551 .scale.slider.scale-has-marks-above.vertical:insensitive {\r
552     background-image: -gtk-win32-theme-part(trackbar, 7 5);\r
553 }\r
554 \r
555 /* Progress bars */\r
556 \r
557 GtkProgressBar {\r
558     background-color: transparent;\r
559     padding: 0;\r
560 }\r
561 \r
562 GtkProgressBar.trough {\r
563     border-width: 0;\r
564     background-image: -gtk-win32-theme-part(progress, 1 1);\r
565 }\r
566 \r
567 GtkProgressBar.progressbar,\r
568 GtkEntry.progressbar {\r
569     border-width: 0;\r
570     background-image: -gtk-win32-theme-part(progress, 5 1);\r
571 }\r
572 \r
573 GtkProgressBar.progressbar.pulse,\r
574 GtkEntry.progressbar.pulse {\r
575     background-color: transparent;\r
576     background-image: -gtk-win32-theme-part(progress, 8 1);\r
577 }\r
578 \r
579 GtkProgressBar.trough.vertical {\r
580     background-image: -gtk-win32-theme-part(progress, 2 1);\r
581 }\r
582 \r
583 .progressbar.vertical {\r
584     background-image: -gtk-win32-theme-part(progress, 6 1);\r
585 }\r
586 \r
587 .progressbar.pulse.vertical {\r
588     background-image: -gtk-win32-theme-part(progress, 10 1);\r
589 }\r
590 \r
591 /* Combobox */\r
592 \r
593 \r
594 GtkComboBox.combobox-entry .button {\r
595     background-color: transparent;\r
596     border-width: 0;\r
597     background-image: -gtk-win32-theme-part(combobox, 1 1);\r
598     color: rgba(0, 0, 0, 0);\r
599 }\r
600 \r
601 GtkComboBox.combobox-entry .button:prelight,\r
602 GtkComboBox.combobox-entry .button:focused,\r
603 GtkComboBox.combobox-entry .button:prelight:focused {\r
604     background-image: -gtk-win32-theme-part(combobox, 1 2);\r
605 }\r
606 GtkComboBox.combobox-entry .button:active,\r
607 GtkComboBox.combobox-entry .button:active:focused,\r
608 GtkComboBox.combobox-entry .button:active:prelight,\r
609 GtkComboBox.combobox-entry .button:active:focused:prelight {\r
610     background-image: -gtk-win32-theme-part(combobox, 1 3);\r
611 }\r
612 GtkComboBox.combobox-entry .button:insensitive {\r
613     background-image: -gtk-win32-theme-part(combobox, 1 4);\r
614 }\r
615 \r
616 /* Notebook */\r
617 \r
618 .notebook {\r
619     background-color: #ffffff;\r
620     border-width: 1px 1px 1px 1px;\r
621     border-style: solid;\r
622     background-origin: padding-box;\r
623     background-clip: border-box;\r
624     background-image: -gtk-win32-theme-part(tab, 9 1, margins(-1 -3 -2 -1));\r
625     border-image: -gtk-win32-theme-part(tab, 9 1, margins(0 -2 -1 0)) 1 1 1 1 repeat;\r
626     -GtkNotebook-tab-overlap: 1;\r
627     -GtkNotebook-tab-curvature: 0;\r
628 }\r
629 \r
630 .notebook tab {\r
631     border-width: 0;\r
632     background-image: -gtk-win32-theme-part(tab, 1 1);\r
633     padding: 0px 4px 0px 4px;\r
634 }\r
635 \r
636 .notebook tab.left, .notebook tab.right {\r
637     padding: 4px 0px 4px 0px;\r
638 }\r
639 \r
640 .notebook tab:active {\r
641     background-image: -gtk-win32-theme-part(tab, 1 3, margins(0 0 -1 0));\r
642 }\r
643 .notebook tab:active.top {\r
644     padding: 0px 4px 2px 4px;\r
645 }\r
646 \r
647 .notebook tab:active.bottom {\r
648     padding: 0px 4px 2px 4px;\r
649 }\r
650 \r
651 .notebook tab:active.right {\r
652     padding: 4px 0px 4px 2px;\r
653 }\r
654 \r
655 .notebook tab:active.left {\r
656     padding: 4px 2px 4px 0px;\r
657 }\r
658 \r
659 /* Toolbar */\r
660 \r
661 .toolbar {\r
662     background-color: transparent;\r
663     border-width: 0;\r
664     background-image: -gtk-win32-theme-part(rebar, 6 1);\r
665 }\r
666 \r
667 .toolbar .button,\r
668 .toolbar .button:focused {\r
669     background-color: transparent;\r
670     background-image: -gtk-win32-theme-part(toolbar, 1 1);\r
671 }\r
672 \r
673 .toolbar .button:prelight,\r
674 .toolbar .button:prelight:focused {\r
675     background-image: -gtk-win32-theme-part(toolbar, 1 2);\r
676 }\r
677 \r
678 .toolbar .button:active {\r
679     background-image: -gtk-win32-theme-part(toolbar, 1 3);\r
680 }\r
681 \r
682 .toolbar .button:active:prelight {\r
683     background-image: -gtk-win32-theme-part(toolbar, 1 6);\r
684 }\r
685 \r
686 .toolbar .button:insensitive {\r
687     background-image: -gtk-win32-theme-part(toolbar, 1 4);\r
688 }\r
689 \r
690 /* Column headers */\r
691 \r
692 column-header .button,\r
693 column-header .button:focus {\r
694     background-color: transparent;\r
695     border-width: 0;\r
696     background-image: -gtk-win32-theme-part(header, 1 1);\r
697 }\r
698 \r
699 column-header .button:prelight,\r
700 column-header .button:prelight:focus {\r
701     background-image: -gtk-win32-theme-part(header, 1 2);\r
702 }\r
703 \r
704 column-header .button:active,\r
705 column-header .button:active:prelight,\r
706 column-header .button:active:focus,\r
707 column-header .button:active:prelight:focus {\r
708     background-image: -gtk-win32-theme-part(header, 1 3);\r
709 }\r
710 \r
711 GtkSwitch {\r
712     font: bold condensed 10;\r
713     color: -gtk-win32-color(button, 18);\r
714 }\r
715 \r
716 GtkSwitch.slider {\r
717     padding: 4px;\r
718     background-color: transparent;\r
719     background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (8 1));\r
720     border-width: 0;\r
721 }\r
722 \r
723 GtkSwitch.trough:insensitive {\r
724     background-image: -gtk-win32-theme-part(button, 1 4);\r
725 }\r
726 \r
727 GtkSwitch.trough {\r
728     background-image: -gtk-win32-theme-part(button, 1 1);\r
729 }\r
730 \r
731 GtkSwitch.trough:active {\r
732     background-image: -gtk-win32-theme-part(button, 1 2);\r
733 }