1 @define-color bg_color -gtk-win32-color(button, 15);
6 background-color: none;
7 background-image: -gtk-win32-theme-part(button, 1 1);
9 -GtkWidget-focus-line-width: 1;
10 -GtkWidget-focus-padding: 3;
11 -GtkButton-interior-focuse: true;
15 background-image: -gtk-win32-theme-part(button, 1 4);
19 background-image: -gtk-win32-theme-part(button, 1 5);
22 .button:prelight, .button:prelight:focused {
23 background-image: -gtk-win32-theme-part(button, 1 2);
27 .button:active, .button:active:focused, .button:active:focused:prelight {
28 background-image: -gtk-win32-theme-part(button, 1 3);
34 background-color: none;
35 background-image: -gtk-win32-theme-part(button, 3 1);
40 background-image: -gtk-win32-theme-part(button, 3 4);
44 background-image: -gtk-win32-theme-part(button, 3 2);
48 background-image: -gtk-win32-theme-part(button, 3 5);
51 .check:active:insensitive {
52 background-image: -gtk-win32-theme-part(button, 3 8);
55 .check:active:prelight {
56 background-image: -gtk-win32-theme-part(button, 3 6);
60 background-image: -gtk-win32-theme-part(button, 3 9);
63 .check:inconsistent:insensitive {
64 background-image: -gtk-win32-theme-part(button, 3 12);
67 .check:inconsistent:prelight {
68 background-image: -gtk-win32-theme-part(button, 3 10);
74 background-color: none;
75 background-image: -gtk-win32-theme-part(button, 2 1);
80 background-image: -gtk-win32-theme-part(button, 2 4);
84 background-image: -gtk-win32-theme-part(button, 2 2);
88 background-image: -gtk-win32-theme-part(button, 2 5);
91 .radio:active:insensitive {
92 background-image: -gtk-win32-theme-part(button, 2 8);
95 .radio:active:prelight {
96 background-image: -gtk-win32-theme-part(button, 2 6);
100 background-image: -gtk-win32-theme-part(button, 2 1, over (2 5, 0.3));
103 .radio:inconsistent:insensitive {
104 background-image: -gtk-win32-theme-part(button, 2 4, over (2 8, 0.3));
107 .radio:inconsistent:prelight {
108 background-image: -gtk-win32-theme-part(button, 2 4, over(2 6, 0.3));
113 /* TODO: Win32 has different concept for upper and lower trough, we
114 don't use this atm */
117 background-color: none;
118 -GtkRange-trough-border: 0;
119 -GtkRange-arrow-scaling: 0.0;
120 -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
123 .scrollbar.vertical {
124 -GtkRange-slider-width: -gtk-win32-size(scrollbar, 2);
127 .scrollbar.button.bottom {
128 background-image: -gtk-win32-theme-part(scrollbar, 1 5);
131 .scrollbar.button.bottom:prelight {
132 background-image: -gtk-win32-theme-part(scrollbar, 1 6);
135 .scrollbar.button.bottom:active,
136 .scrollbar.button.bottom:active:prelight {
137 background-image: -gtk-win32-theme-part(scrollbar, 1 7);
140 .scrollbar.button.bottom:insensitive {
141 background-image: -gtk-win32-theme-part(scrollbar, 1 8);
144 .scrollbar.button.top {
145 background-image: -gtk-win32-theme-part(scrollbar, 1 1);
148 .scrollbar.button.top:prelight {
149 background-image: -gtk-win32-theme-part(scrollbar, 1 2);
152 .scrollbar.button.top:active,
153 .scrollbar.button.top:active:prelight {
154 background-image: -gtk-win32-theme-part(scrollbar, 1 3);
157 .scrollbar.button.top:insensitive {
158 background-image: -gtk-win32-theme-part(scrollbar, 1 4);
161 .scrollbar.button.left {
162 background-image: -gtk-win32-theme-part(scrollbar, 1 9);
165 .scrollbar.button.left:prelight {
166 background-image: -gtk-win32-theme-part(scrollbar, 1 10);
169 .scrollbar.button.left:active,
170 .scrollbar.button.left:active:prelight {
171 background-image: -gtk-win32-theme-part(scrollbar, 1 11);
174 .scrollbar.button.left:insensitive {
175 background-image: -gtk-win32-theme-part(scrollbar, 1 12);
178 .scrollbar.button.right {
179 background-image: -gtk-win32-theme-part(scrollbar, 1 13);
182 .scrollbar.button.right:prelight {
183 background-image: -gtk-win32-theme-part(scrollbar, 1 14);
186 .scrollbar.button.right:active,
187 .scrollbar.button.right:active:prelight {
188 background-image: -gtk-win32-theme-part(scrollbar, 1 15);
191 .scrollbar.button.right:insensitive {
192 background-image: -gtk-win32-theme-part(scrollbar, 1 16);
197 background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (4 1));
200 .scrollbar.trough.vertical {
202 background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (6 1));
207 background-image: -gtk-win32-theme-part(scrollbar, 2 1, over (8 1));
210 .scrollbar.slider:prelight {
211 background-image: -gtk-win32-theme-part(scrollbar, 2 2, over (8 2));
214 .scrollbar.slider.vertical {
215 background-image: -gtk-win32-theme-part(scrollbar, 3 1, over (9 1));
218 .scrollbar.slider.vertical:prelight {
219 background-image: -gtk-win32-theme-part(scrollbar, 3 2, over (9 2));
224 /* TODO: For entries with set_has_frame FALSE we should use 'edit, 3 1', not
225 sure how to select for this though */
227 background-color: black;
229 background-image: -gtk-win32-theme-part(edit, 1 1);
232 background-image: -gtk-win32-theme-part(edit, 1 4);
235 background-image: -gtk-win32-theme-part(edit, 1 4);
241 .spinbutton.button:focused {
242 background-color: none;
243 border-width: 1 1 0 0;
245 background-image: -gtk-win32-theme-part(spin, 1 1);
246 color: rgba(0, 0, 0, 0);
249 .spinbutton.button:prelight,
250 .spinbutton.button:prelight:focused {
251 background-image: -gtk-win32-theme-part(spin, 1 2);
252 color: rgba(0, 0, 0, 0);
255 .spinbutton.button:active,
256 .spinbutton.button:active:prelight {
257 background-image: -gtk-win32-theme-part(spin, 1 3);
258 color: rgba(0, 0, 0, 0);
261 .spinbutton.button:insensitive {
262 background-image: -gtk-win32-theme-part(spin, 1 4);
263 color: rgba(0, 0, 0, 0);
266 .spinbutton.button.bottom,
267 .spinbutton.button.bottom:focused {
268 border-width: 0 1 1 0;
269 background-image: -gtk-win32-theme-part(spin, 2 1);
270 color: rgba(0, 0, 0, 0);
273 .spinbutton.button.bottom:prelight,
274 .spinbutton.button.bottom:prelight:focused {
275 background-image: -gtk-win32-theme-part(spin, 2 2);
276 color: rgba(0, 0, 0, 0);
279 .spinbutton.button.bottom:active,
280 .spinbutton.button.bottom:active:prelight {
281 background-image: -gtk-win32-theme-part(spin, 2 3);
282 color: rgba(0, 0, 0, 0);
285 .spinbutton.button.bottom:insensitive {
286 background-image: -gtk-win32-theme-part(spin, 2 4);
287 color: rgba(0, 0, 0, 0);
292 /* TODO: The trough is not quite right, it covers everything,
293 but in win32 the slider 'sticks out' on the sides of the
297 background-color: none;
298 -GtkScale-value-spacing: 0;
299 -GtkScale-slider-length: 9;
300 -GtkRange-slider-width: 20;
301 -GtkRange-trough-border: 0;
307 background-image: -gtk-win32-theme-part(trackbar, 1 1);
311 background-color: none;
313 color: rgba(0,0,0,0);
314 background-image: -gtk-win32-theme-part(trackbar, 3 1);
317 .scale.slider:prelight {
318 background-image: -gtk-win32-theme-part(trackbar, 3 2);
321 .scale.slider:active,
322 .scale.slider:prelight:active {
323 background-image: -gtk-win32-theme-part(trackbar, 3 3);
326 .scale.slider:focus {
327 background-image: -gtk-win32-theme-part(trackbar, 3 4);
330 .scale.slider:insensitive {
331 background-image: -gtk-win32-theme-part(trackbar, 3 5);
334 .scale.slider.vertical {
335 background-image: -gtk-win32-theme-part(trackbar, 6 1);
338 .scale.slider.vertical:prelight {
339 background-image: -gtk-win32-theme-part(trackbar, 6 2);
342 .scale.slider.vertical:active,
343 .scale.slider.vertical:prelight:active {
344 background-image: -gtk-win32-theme-part(trackbar, 6 3);
347 .scale.slider.vertical:focus {
348 background-image: -gtk-win32-theme-part(trackbar, 6 4);
351 .scale.slider.vertical:insensitive {
352 background-image: -gtk-win32-theme-part(trackbar, 6 5);
355 .scale.slider.scale-has-marks-below {
356 background-image: -gtk-win32-theme-part(trackbar, 4 1);
359 .scale.slider.scale-has-marks-below:prelight {
360 background-image: -gtk-win32-theme-part(trackbar, 4 2);
363 .scale.slider.scale-has-marks-below:active,
364 .scale.slider.scale-has-marks-below:prelight:active {
365 background-image: -gtk-win32-theme-part(trackbar, 4 3);
368 .scale.slider.scale-has-marks-below:focus {
369 background-image: -gtk-win32-theme-part(trackbar, 4 4);
372 .scale.slider.scale-has-marks-below:insensitive {
373 background-image: -gtk-win32-theme-part(trackbar, 4 5);
376 .scale.slider.scale-has-marks-below.vertical {
377 background-image: -gtk-win32-theme-part(trackbar, 8 1);
380 .scale.slider.scale-has-marks-below.vertical:prelight {
381 background-image: -gtk-win32-theme-part(trackbar, 8 2);
384 .scale.slider.scale-has-marks-below.vertical:active,
385 .scale.slider.scale-has-marks-below.vertical:prelight:active {
386 background-image: -gtk-win32-theme-part(trackbar, 8 3);
389 .scale.slider.scale-has-marks-below.vertical:focus {
390 background-image: -gtk-win32-theme-part(trackbar, 8 4);
393 .scale.slider.scale-has-marks-below.vertical:insensitive {
394 background-image: -gtk-win32-theme-part(trackbar, 8 5);
399 .scale.slider.scale-has-marks-above {
400 background-image: -gtk-win32-theme-part(trackbar, 5 1);
403 .scale.slider.scale-has-marks-above:prelight {
404 background-image: -gtk-win32-theme-part(trackbar, 5 2);
407 .scale.slider.scale-has-marks-above:active,
408 .scale.slider.scale-has-marks-above:prelight:active {
409 background-image: -gtk-win32-theme-part(trackbar, 5 3);
412 .scale.slider.scale-has-marks-above:focus {
413 background-image: -gtk-win32-theme-part(trackbar, 5 4);
416 .scale.slider.scale-has-marks-above:insensitive {
417 background-image: -gtk-win32-theme-part(trackbar, 5 5);
420 .scale.slider.scale-has-marks-above.vertical {
421 background-image: -gtk-win32-theme-part(trackbar, 7 1);
424 .scale.slider.scale-has-marks-above.vertical:prelight {
425 background-image: -gtk-win32-theme-part(trackbar, 7 2);
428 .scale.slider.scale-has-marks-above.vertical:active,
429 .scale.slider.scale-has-marks-above.vertical:prelight:active {
430 background-image: -gtk-win32-theme-part(trackbar, 7 3);
433 .scale.slider.scale-has-marks-above.vertical:focus {
434 background-image: -gtk-win32-theme-part(trackbar, 7 4);
437 .scale.slider.scale-has-marks-above.vertical:insensitive {
438 background-image: -gtk-win32-theme-part(trackbar, 7 5);
444 background-color: none;
448 GtkProgressBar.trough {
450 background-image: -gtk-win32-theme-part(progress, 1 1);
453 GtkProgressBar.progressbar,
454 GtkEntry.progressbar {
456 background-image: -gtk-win32-theme-part(progress, 5 1);
459 GtkProgressBar.progressbar.pulse,
460 GtkEntry.progressbar.pulse {
461 background-image: -gtk-win32-theme-part(progress, 8 1);
464 GtkProgressBar.trough.vertical {
465 background-image: -gtk-win32-theme-part(progress, 2 1);
468 .progressbar.vertical {
469 background-image: -gtk-win32-theme-part(progress, 6 1);
472 .progressbar.pulse.vertical {
473 background-image: -gtk-win32-theme-part(progress, 10 1);
479 background-color: none;
481 background-image: -gtk-win32-theme-part(menu, 7 1);
485 background-color: none;
487 background-image: -gtk-win32-theme-part(menu, 8 1);
490 .menubar .menuitem:prelight {
491 background-color: none;
493 background-image: -gtk-win32-theme-part(menu, 8 3);
497 background-color: none;
498 background-image: -gtk-win32-theme-part(menu, 14 2);
503 .menuitem.radio:prelight,
504 .menuitem.radio:insensitive {
505 background-color: none;
506 background-image: none;
510 .menuitem.radio:active,
511 .menuitem.radio:active:prelight {
512 background-image: -gtk-win32-theme-part(menu, 11 3);
516 .menuitem.radio:inconsistent,
517 .menuitem.radio:inconsistent:insensitive,
518 .menuitem.radio:inconsistent:prelight,
519 .menuitem.radio:inconsistent:active,
520 .menuitem.radio:inconsistent:active:prelight {
521 background-image: none; /* Fall back to default, this state is not in win32 */
525 .menuitem.radio:insensitive:active,
526 .menuitem.radio:insensitive:active:prelight {
527 background-image: -gtk-win32-theme-part(menu, 11 4);
532 .menuitem.check:prelight,
533 .menuitem.check:insensitive {
534 background-image: none;
538 .menuitem.check:active,
539 .menuitem.check:active:prelight {
540 background-image: -gtk-win32-theme-part(menu, 11 1);
544 .menuitem.check:inconsistent,
545 .menuitem.check:inconsistent:insensitive,
546 .menuitem.check:inconsistent:prelight,
547 .menuitem.check:inconsistent:active,
548 .menuitem.check:inconsistent:active:prelight {
549 background-image: none; /* Fall back to default, this state is not in win32 */
553 .menuitem.check:insensitive:active,
554 .menuitem.check:insensitive:active:prelight{
555 background-image: -gtk-win32-theme-part(menu, 11 2);
562 GtkComboBox.combobox-entry .button {
563 background-color: none;
565 background-image: -gtk-win32-theme-part(combobox, 1 1);
566 color: rgba(0, 0, 0, 0);
569 GtkComboBox.combobox-entry .button:prelight,
570 GtkComboBox.combobox-entry .button:focused,
571 GtkComboBox.combobox-entry .button:prelight:focused {
572 background-image: -gtk-win32-theme-part(combobox, 1 2);
574 GtkComboBox.combobox-entry .button:active,
575 GtkComboBox.combobox-entry .button:active:focused,
576 GtkComboBox.combobox-entry .button:active:prelight,
577 GtkComboBox.combobox-entry .button:active:focused:prelight {
578 background-image: -gtk-win32-theme-part(combobox, 1 3);
580 GtkComboBox.combobox-entry .button:insensitive {
581 background-image: -gtk-win32-theme-part(combobox, 1 4);
587 background-color: none;
589 background-image: -gtk-win32-theme-part(tab, 9 1);
590 -GtkNotebook-tab-overlap: 1;
591 -GtkNotebook-tab-curvature: 1;
595 background-color: none;
597 background-image: -gtk-win32-theme-part(tab, 1 1);
600 .notebook tab:active {
601 background-image: -gtk-win32-theme-part(tab, 1 3);
606 background-color: #ffffff;
612 background-color: none;
614 background-image: -gtk-win32-theme-part(rebar, 6 1);
618 .toolbar .button:focused {
619 background-color: none;
620 background-image: -gtk-win32-theme-part(toolbar, 1 1);
623 .toolbar .button:prelight,
624 .toolbar .button:prelight:focused {
625 background-image: -gtk-win32-theme-part(toolbar, 1 2);
628 .toolbar .button:active {
629 background-image: -gtk-win32-theme-part(toolbar, 1 3);
632 .toolbar .button:active:prelight {
633 background-image: -gtk-win32-theme-part(toolbar, 1 6);
636 .toolbar .button:insensitive {
637 background-image: -gtk-win32-theme-part(toolbar, 1 4);
642 column-header .button,
643 column-header .button:focus {
644 background-color: none;
646 background-image: -gtk-win32-theme-part(header, 1 1);
649 column-header .button:prelight,
650 column-header .button:prelight:focus {
651 background-image: -gtk-win32-theme-part(header, 1 2);
654 column-header .button:active,
655 column-header .button:active:prelight,
656 column-header .button:active:focus,
657 column-header .button:active:prelight:focus {
658 background-image: -gtk-win32-theme-part(header, 1 3);