]> Pileus Git - ~andy/gtk/blob - gtk/gtk-win32.css
stylecontext: Do invalidation on first resize container
[~andy/gtk] / gtk / gtk-win32.css
1 @import url("gtk-win32-base.css");
2
3 /* Menus */
4
5 .menubar {
6     background-color: transparent;
7     border-width: 0;
8     background-image: -gtk-win32-theme-part(menu, 7 1);
9 }
10
11 .menubar > .menuitem {
12     background-color: transparent;
13     border-width: 0;
14     background-image: -gtk-win32-theme-part(menu, 8 1);
15 }
16
17 .menubar > .menuitem:prelight {
18     background-image: -gtk-win32-theme-part(menu, 8 3);
19 }
20
21 .menuitem:prelight {
22     background-image: -gtk-win32-theme-part(menu, 14 2);
23 }
24
25 .menuitem:prelight:insensitive {
26     background-image: -gtk-win32-theme-part(menu, 14 4);
27 }
28
29 .menuitem.radio,
30 .menuitem.radio:prelight,
31 .menuitem.radio:insensitive {
32     background-color: transparent;
33     background-image: none;
34     border-width: 0;
35 }
36
37 .menuitem.radio:active, 
38 .menuitem.radio:active:prelight {
39     background-image: -gtk-win32-theme-part(menu, 11 3);
40     border-width: 0;
41 }
42
43 .menuitem.radio:inconsistent,
44 .menuitem.radio:inconsistent:insensitive,
45 .menuitem.radio:inconsistent:prelight,
46 .menuitem.radio:inconsistent:active,
47 .menuitem.radio:inconsistent:active:prelight {
48     background-image: none; /* Fall back to default, this state is not in win32 */
49     border-width: 0;
50 }
51
52 .menuitem.radio:insensitive:active,
53 .menuitem.radio:insensitive:active:prelight {
54     background-image: -gtk-win32-theme-part(menu, 11 4);
55     border-width: 0;
56 }
57
58 .menuitem.check,
59 .menuitem.check:prelight,
60 .menuitem.check:insensitive {
61     background-image: none;
62     border-width: 0;
63 }
64
65 .menuitem.check:active, 
66 .menuitem.check:active:prelight {
67     background-image: -gtk-win32-theme-part(menu, 11 1);
68     border-width: 0;
69 }
70
71 .menuitem.check:inconsistent,
72 .menuitem.check:inconsistent:insensitive,
73 .menuitem.check:inconsistent:prelight,
74 .menuitem.check:inconsistent:active,
75 .menuitem.check:inconsistent:active:prelight {
76     background-image: none; /* Fall back to default, this state is not in win32 */
77     border-width: 0;
78 }
79
80 .menuitem.check:insensitive:active,
81 .menuitem.check:insensitive:active:prelight{
82     background-image: -gtk-win32-theme-part(menu, 11 2);
83     border-width: 0;
84 }