summaryrefslogtreecommitdiff
path: root/gtk/gtk-win32.css
blob: f8d774fcce0aedd330dafc94e5fa38c693ec7cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@import url("gtk-win32-base.css");

/* Menus */

.menubar {
    background-color: transparent;
    border-width: 0;
    background-image: -gtk-win32-theme-part(menu, 7 1);
}

.menubar > .menuitem {
    background-color: transparent;
    border-width: 0;
    background-image: -gtk-win32-theme-part(menu, 8 1);
}

.menubar > .menuitem:prelight {
    background-image: -gtk-win32-theme-part(menu, 8 3);
}

.menuitem:prelight {
    background-image: -gtk-win32-theme-part(menu, 14 2);
}

.menuitem:prelight:insensitive {
    background-image: -gtk-win32-theme-part(menu, 14 4);
}

.menuitem.radio,
.menuitem.radio:prelight,
.menuitem.radio:insensitive {
    background-color: transparent;
    background-image: none;
    border-width: 0;
}

.menuitem.radio:active, 
.menuitem.radio:active:prelight {
    background-image: -gtk-win32-theme-part(menu, 11 3);
    border-width: 0;
}

.menuitem.radio:inconsistent,
.menuitem.radio:inconsistent:insensitive,
.menuitem.radio:inconsistent:prelight,
.menuitem.radio:inconsistent:active,
.menuitem.radio:inconsistent:active:prelight {
    background-image: none; /* Fall back to default, this state is not in win32 */
    border-width: 0;
}

.menuitem.radio:insensitive:active,
.menuitem.radio:insensitive:active:prelight {
    background-image: -gtk-win32-theme-part(menu, 11 4);
    border-width: 0;
}

.menuitem.check,
.menuitem.check:prelight,
.menuitem.check:insensitive {
    background-image: none;
    border-width: 0;
}

.menuitem.check:active, 
.menuitem.check:active:prelight {
    background-image: -gtk-win32-theme-part(menu, 11 1);
    border-width: 0;
}

.menuitem.check:inconsistent,
.menuitem.check:inconsistent:insensitive,
.menuitem.check:inconsistent:prelight,
.menuitem.check:inconsistent:active,
.menuitem.check:inconsistent:active:prelight {
    background-image: none; /* Fall back to default, this state is not in win32 */
    border-width: 0;
}

.menuitem.check:insensitive:active,
.menuitem.check:insensitive:active:prelight{
    background-image: -gtk-win32-theme-part(menu, 11 2);
    border-width: 0;
}