1 @define-color bg_color -gtk-win32-color(button, 15);
6 background-image: -gtk-win32-theme-part(button, 1 1);
8 -GtkWidget-focus-line-width: 1;
9 -GtkWidget-focus-padding: 3;
10 -GtkButton-interior-focuse: true;
14 background-image: -gtk-win32-theme-part(button, 1 4);
18 background-image: -gtk-win32-theme-part(button, 1 5);
21 .button:prelight, .button:prelight:focused {
22 background-image: -gtk-win32-theme-part(button, 1 2);
26 .button:active, .button:active:focused, .button:active:focused:prelight {
27 background-image: -gtk-win32-theme-part(button, 1 3);
33 background-image: -gtk-win32-theme-part(button, 3 1);
38 background-image: -gtk-win32-theme-part(button, 3 4);
42 background-image: -gtk-win32-theme-part(button, 3 2);
46 background-image: -gtk-win32-theme-part(button, 3 5);
49 .check:active:insensitive {
50 background-image: -gtk-win32-theme-part(button, 3 8);
53 .check:active:prelight {
54 background-image: -gtk-win32-theme-part(button, 3 6);
58 background-image: -gtk-win32-theme-part(button, 3 9);
61 .check:inconsistent:insensitive {
62 background-image: -gtk-win32-theme-part(button, 3 12);
65 .check:inconsistent:prelight {
66 background-image: -gtk-win32-theme-part(button, 3 10);
72 background-image: -gtk-win32-theme-part(button, 2 1);
77 background-image: -gtk-win32-theme-part(button, 2 4);
81 background-image: -gtk-win32-theme-part(button, 2 2);
85 background-image: -gtk-win32-theme-part(button, 2 5);
88 .radio:active:insensitive {
89 background-image: -gtk-win32-theme-part(button, 2 8);
92 .radio:active:prelight {
93 background-image: -gtk-win32-theme-part(button, 2 6);
97 background-image: -gtk-win32-theme-part(button, 2 1, mix 2 5);
100 .radio:inconsistent:insensitive {
101 background-image: -gtk-win32-theme-part(button, 2 4, mix 2 8);
104 .radio:inconsistent:prelight {
105 background-image: -gtk-win32-theme-part(button, 2 4 , mix 2 6);
110 /* TODO: Win32 has different concept for upper and lower trough, we
111 don't use this atm */
114 -GtkRange-trough-border: 0;
115 -GtkRange-arrow-scaling: 0.0;
116 -GtkRange-slider-width: -gtk-win32-size(scrollbar, 3);
119 .scrollbar.vertical {
120 -GtkRange-slider-width: -gtk-win32-size(scrollbar, 2);
123 .scrollbar.button.bottom {
124 background-image: -gtk-win32-theme-part(scrollbar, 1 5);
127 .scrollbar.button.bottom:prelight {
128 background-image: -gtk-win32-theme-part(scrollbar, 1 6);
131 .scrollbar.button.bottom:active,
132 .scrollbar.button.bottom:active:prelight {
133 background-image: -gtk-win32-theme-part(scrollbar, 1 7);
136 .scrollbar.button.bottom:insensitive {
137 background-image: -gtk-win32-theme-part(scrollbar, 1 8);
140 .scrollbar.button.top {
141 background-image: -gtk-win32-theme-part(scrollbar, 1 1);
144 .scrollbar.button.top:prelight {
145 background-image: -gtk-win32-theme-part(scrollbar, 1 2);
148 .scrollbar.button.top:active,
149 .scrollbar.button.top:active:prelight {
150 background-image: -gtk-win32-theme-part(scrollbar, 1 3);
153 .scrollbar.button.top:insensitive {
154 background-image: -gtk-win32-theme-part(scrollbar, 1 4);
157 .scrollbar.button.left {
158 background-image: -gtk-win32-theme-part(scrollbar, 1 9);
161 .scrollbar.button.left:prelight {
162 background-image: -gtk-win32-theme-part(scrollbar, 1 10);
165 .scrollbar.button.left:active,
166 .scrollbar.button.left:active:prelight {
167 background-image: -gtk-win32-theme-part(scrollbar, 1 11);
170 .scrollbar.button.left:insensitive {
171 background-image: -gtk-win32-theme-part(scrollbar, 1 12);
174 .scrollbar.button.right {
175 background-image: -gtk-win32-theme-part(scrollbar, 1 13);
178 .scrollbar.button.right:prelight {
179 background-image: -gtk-win32-theme-part(scrollbar, 1 14);
182 .scrollbar.button.right:active,
183 .scrollbar.button.right:active:prelight {
184 background-image: -gtk-win32-theme-part(scrollbar, 1 15);
187 .scrollbar.button.right:insensitive {
188 background-image: -gtk-win32-theme-part(scrollbar, 1 16);
193 background-image: -gtk-win32-theme-part(scrollbar, 2 1, 4 1);
196 .scrollbar.trough.vertical {
198 background-image: -gtk-win32-theme-part(scrollbar, 2 1, 6 1);
203 background-image: -gtk-win32-theme-part(scrollbar, 2 1, 8 1);
206 .scrollbar.slider:prelight {
207 background-image: -gtk-win32-theme-part(scrollbar, 2 2, 8 2);
210 .scrollbar.slider.vertical {
211 background-image: -gtk-win32-theme-part(scrollbar, 3 1, 9 1);
214 .scrollbar.slider.vertical:prelight {
215 background-image: -gtk-win32-theme-part(scrollbar, 3 2, 9 2);
220 /* TODO: For entries with set_has_frame FALSE we should use 'edit, 3 1', not
221 sure how to select for this though */
224 background-image: -gtk-win32-theme-part(edit, 1 1);
227 background-image: -gtk-win32-theme-part(edit, 1 4);
230 background-image: -gtk-win32-theme-part(edit, 1 4);
236 .spinbutton.button:focused {
237 border-width: 1 1 0 0;
239 background-image: -gtk-win32-theme-part(spin, 1 1);
240 color: rgba(0, 0, 0, 0);
243 .spinbutton.button:prelight,
244 .spinbutton.button:prelight:focused {
245 background-image: -gtk-win32-theme-part(spin, 1 2);
246 color: rgba(0, 0, 0, 0);
249 .spinbutton.button:active,
250 .spinbutton.button:active:prelight {
251 background-image: -gtk-win32-theme-part(spin, 1 3);
252 color: rgba(0, 0, 0, 0);
255 .spinbutton.button:insensitive {
256 background-image: -gtk-win32-theme-part(spin, 1 4);
257 color: rgba(0, 0, 0, 0);
260 .spinbutton.button.bottom,
261 .spinbutton.button.bottom:focused {
262 border-width: 0 1 1 0;
263 background-image: -gtk-win32-theme-part(spin, 2 1);
264 color: rgba(0, 0, 0, 0);
267 .spinbutton.button.bottom:prelight,
268 .spinbutton.button.bottom:prelight:focused {
269 background-image: -gtk-win32-theme-part(spin, 2 2);
270 color: rgba(0, 0, 0, 0);
273 .spinbutton.button.bottom:active,
274 .spinbutton.button.bottom:active:prelight {
275 background-image: -gtk-win32-theme-part(spin, 2 3);
276 color: rgba(0, 0, 0, 0);
279 .spinbutton.button.bottom:insensitive {
280 background-image: -gtk-win32-theme-part(spin, 2 4);
281 color: rgba(0, 0, 0, 0);
286 /* TODO: The trough is not quite right, it covers everything,
287 but in win32 the slider 'sticks out' on the sides of the
291 -GtkScale-value-spacing: 0;
292 -GtkScale-slider-length: 9;
293 -GtkRange-slider-width: 20;
294 -GtkRange-trough-border: 0;
300 background-image: -gtk-win32-theme-part(trackbar, 1 1);
305 color: rgba(0,0,0,0);
306 background-image: -gtk-win32-theme-part(trackbar, 3 1);
309 .scale.slider:prelight {
310 background-image: -gtk-win32-theme-part(trackbar, 3 2);
313 .scale.slider:active,
314 .scale.slider:prelight:active {
315 background-image: -gtk-win32-theme-part(trackbar, 3 3);
318 .scale.slider:focus {
319 background-image: -gtk-win32-theme-part(trackbar, 3 4);
322 .scale.slider:insensitive {
323 background-image: -gtk-win32-theme-part(trackbar, 3 5);
326 .scale.slider.vertical {
327 background-image: -gtk-win32-theme-part(trackbar, 6 1);
330 .scale.slider.vertical:prelight {
331 background-image: -gtk-win32-theme-part(trackbar, 6 2);
334 .scale.slider.vertical:active,
335 .scale.slider.vertical:prelight:active {
336 background-image: -gtk-win32-theme-part(trackbar, 6 3);
339 .scale.slider.vertical:focus {
340 background-image: -gtk-win32-theme-part(trackbar, 6 4);
343 .scale.slider.vertical:insensitive {
344 background-image: -gtk-win32-theme-part(trackbar, 6 5);
347 .scale.slider.scale-has-marks-below {
348 background-image: -gtk-win32-theme-part(trackbar, 4 1);
351 .scale.slider.scale-has-marks-below:prelight {
352 background-image: -gtk-win32-theme-part(trackbar, 4 2);
355 .scale.slider.scale-has-marks-below:active,
356 .scale.slider.scale-has-marks-below:prelight:active {
357 background-image: -gtk-win32-theme-part(trackbar, 4 3);
360 .scale.slider.scale-has-marks-below:focus {
361 background-image: -gtk-win32-theme-part(trackbar, 4 4);
364 .scale.slider.scale-has-marks-below:insensitive {
365 background-image: -gtk-win32-theme-part(trackbar, 4 5);
368 .scale.slider.scale-has-marks-below.vertical {
369 background-image: -gtk-win32-theme-part(trackbar, 8 1);
372 .scale.slider.scale-has-marks-below.vertical:prelight {
373 background-image: -gtk-win32-theme-part(trackbar, 8 2);
376 .scale.slider.scale-has-marks-below.vertical:active,
377 .scale.slider.scale-has-marks-below.vertical:prelight:active {
378 background-image: -gtk-win32-theme-part(trackbar, 8 3);
381 .scale.slider.scale-has-marks-below.vertical:focus {
382 background-image: -gtk-win32-theme-part(trackbar, 8 4);
385 .scale.slider.scale-has-marks-below.vertical:insensitive {
386 background-image: -gtk-win32-theme-part(trackbar, 8 5);
391 .scale.slider.scale-has-marks-above {
392 background-image: -gtk-win32-theme-part(trackbar, 5 1);
395 .scale.slider.scale-has-marks-above:prelight {
396 background-image: -gtk-win32-theme-part(trackbar, 5 2);
399 .scale.slider.scale-has-marks-above:active,
400 .scale.slider.scale-has-marks-above:prelight:active {
401 background-image: -gtk-win32-theme-part(trackbar, 5 3);
404 .scale.slider.scale-has-marks-above:focus {
405 background-image: -gtk-win32-theme-part(trackbar, 5 4);
408 .scale.slider.scale-has-marks-above:insensitive {
409 background-image: -gtk-win32-theme-part(trackbar, 5 5);
412 .scale.slider.scale-has-marks-above.vertical {
413 background-image: -gtk-win32-theme-part(trackbar, 7 1);
416 .scale.slider.scale-has-marks-above.vertical:prelight {
417 background-image: -gtk-win32-theme-part(trackbar, 7 2);
420 .scale.slider.scale-has-marks-above.vertical:active,
421 .scale.slider.scale-has-marks-above.vertical:prelight:active {
422 background-image: -gtk-win32-theme-part(trackbar, 7 3);
425 .scale.slider.scale-has-marks-above.vertical:focus {
426 background-image: -gtk-win32-theme-part(trackbar, 7 4);
429 .scale.slider.scale-has-marks-above.vertical:insensitive {
430 background-image: -gtk-win32-theme-part(trackbar, 7 5);
439 GtkProgressBar.trough {
441 background-image: -gtk-win32-theme-part(progress, 1 1);
444 GtkProgressBar.progressbar,
445 GtkEntry.progressbar {
447 background-image: -gtk-win32-theme-part(progress, 5 1);
450 GtkProgressBar.progressbar.pulse,
451 GtkEntry.progressbar.pulse {
452 background-image: -gtk-win32-theme-part(progress, 8 1);
455 GtkProgressBar.trough.vertical {
456 background-image: -gtk-win32-theme-part(progress, 2 1);
459 .progressbar.vertical {
460 background-image: -gtk-win32-theme-part(progress, 6 1);
463 .progressbar.pulse.vertical {
464 background-image: -gtk-win32-theme-part(progress, 10 1);
471 background-image: -gtk-win32-theme-part(menu, 7 1);
476 background-image: -gtk-win32-theme-part(menu, 8 1);
479 .menubar .menuitem:prelight {
481 background-image: -gtk-win32-theme-part(menu, 8 3);
485 background-image: -gtk-win32-theme-part(menu, 14 2);
490 .menuitem.radio:prelight,
491 .menuitem.radio:insensitive {
492 background-image: none;
496 .menuitem.radio:active,
497 .menuitem.radio:active:prelight {
498 background-image: -gtk-win32-theme-part(menu, 11 3);
502 .menuitem.radio:inconsistent,
503 .menuitem.radio:inconsistent:insensitive,
504 .menuitem.radio:inconsistent:prelight,
505 .menuitem.radio:inconsistent:active,
506 .menuitem.radio:inconsistent:active:prelight {
507 background-image: none; /* Fall back to default, this state is not in win32 */
511 .menuitem.radio:insensitive:active,
512 .menuitem.radio:insensitive:active:prelight {
513 background-image: -gtk-win32-theme-part(menu, 11 4);
518 .menuitem.check:prelight,
519 .menuitem.check:insensitive {
520 background-image: none;
524 .menuitem.check:active,
525 .menuitem.check:active:prelight {
526 background-image: -gtk-win32-theme-part(menu, 11 1);
530 .menuitem.check:inconsistent,
531 .menuitem.check:inconsistent:insensitive,
532 .menuitem.check:inconsistent:prelight,
533 .menuitem.check:inconsistent:active,
534 .menuitem.check:inconsistent:active:prelight {
535 background-image: none; /* Fall back to default, this state is not in win32 */
539 .menuitem.check:insensitive:active,
540 .menuitem.check:insensitive:active:prelight{
541 background-image: -gtk-win32-theme-part(menu, 11 2);
548 GtkComboBox.combobox-entry .button {
550 background-image: -gtk-win32-theme-part(combobox, 1 1);
551 color: rgba(0, 0, 0, 0);
554 GtkComboBox.combobox-entry .button:prelight,
555 GtkComboBox.combobox-entry .button:focused,
556 GtkComboBox.combobox-entry .button:prelight:focused {
557 background-image: -gtk-win32-theme-part(combobox, 1 2);
559 GtkComboBox.combobox-entry .button:active,
560 GtkComboBox.combobox-entry .button:active:focused,
561 GtkComboBox.combobox-entry .button:active:prelight,
562 GtkComboBox.combobox-entry .button:active:focused:prelight {
563 background-image: -gtk-win32-theme-part(combobox, 1 3);
565 GtkComboBox.combobox-entry .button:insensitive {
566 background-image: -gtk-win32-theme-part(combobox, 1 4);
573 background-image: -gtk-win32-theme-part(tab, 9 1);
574 -GtkNotebook-tab-overlap: 0;
575 -GtkNotebook-tab-curvature: 20;
580 background-image: -gtk-win32-theme-part(tab, 1 1);
583 .notebook tab:active {
584 background-image: -gtk-win32-theme-part(tab, 1 3);
588 background-color: #ffffff;
595 background-image: -gtk-win32-theme-part(rebar, 6 1);
599 .toolbar .button:focused {
600 background-image: -gtk-win32-theme-part(toolbar, 1 1);
603 .toolbar .button:prelight,
604 .toolbar .button:prelight:focused {
605 background-image: -gtk-win32-theme-part(toolbar, 1 2);
608 .toolbar .button:active {
609 background-image: -gtk-win32-theme-part(toolbar, 1 3);
612 .toolbar .button:active:prelight {
613 background-image: -gtk-win32-theme-part(toolbar, 1 6);
616 .toolbar .button:insensitive {
617 background-image: -gtk-win32-theme-part(toolbar, 1 4);
622 column-header .button,
623 column-header .button:focus {
625 background-image: -gtk-win32-theme-part(header, 1 1);
628 column-header .button:prelight,
629 column-header .button:prelight:focus {
630 background-image: -gtk-win32-theme-part(header, 1 2);
633 column-header .button:active,
634 column-header .button:active:prelight,
635 column-header .button:active:focus,
636 column-header .button:active:prelight:focus {
637 background-image: -gtk-win32-theme-part(header, 1 3);