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