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