aboutsummaryrefslogtreecommitdiff
path: root/.themes/FlatColor/gtk-3.20/widgets/menu.css
blob: f87e84670296d29b8801f81d421b6b0accd82a0a (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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*********
 * Menus *
 *********/

menubar,
.menubar {
    -GtkWidget-window-dragging: true;
    padding: 2px;
    background-color: @tooltip_bg_color;
}
menubar > menuitem,
.menubar > menuitem {
    transition: all 0.1s cubic-bezier(0, 0, 0.2, 1), color 0;
    min-height: 8px;
    padding: 2px 8px;
    color: @selected_fg_color;
}
menubar > menuitem:hover,
.menubar > menuitem:hover {
    background-color: @selected_bg_color;
    color: @selected_fg_color;
}
menubar > menuitem:disabled,
.menubar > menuitem:disabled {
    color: rgba(0, 0, 0, 0.24);
}
menu,
.menu {
    margin: 2px 0;
    padding: 2px 0;
    background-color: @tooltip_bg_color;
    border: 1px solid rgba(0, 0, 0, 0.1);
}
.csd menu,
.csd .menu {
    border: none;
    border-radius: 2px;
}
menu menuitem,
.menu menuitem {
    min-height: 10px;
    min-width: 40px;
    padding: 4px 4px;
    font: initial;
    text-shadow: none;
}
menu menuitem:hover,
.menu menuitem:hover {
    background-color: @selected_bg_color;
    color: @selected_fg_color;
}
menu menuitem:disabled,
.menu menuitem:disabled {
    color: rgba(0, 0, 0, 0.32);
}
menu menuitem arrow,
.menu menuitem arrow {
    min-height: 16px;
    min-width: 16px;
}
menu menuitem arrow:dir(ltr),
.menu menuitem arrow:dir(ltr) {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
    margin-left: 8px;
}
menu menuitem arrow:dir(rtl),
.menu menuitem arrow:dir(rtl) {
    -gtk-icon-source: -gtk-icontheme("pan-end-symbolic-rtl");
    margin-right: 8px;
}
menu > arrow,
.menu > arrow {
    min-height: 16px;
    min-width: 16px;
    padding: 4px;
    border-radius: 0;
    background-color: @tooltip_bg_color;
    color: rgba(0, 0, 0, 0.6);
}
menu > arrow.top,
.menu > arrow.top {
    margin-top: -4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
}
menu > arrow.bottom,
.menu > arrow.bottom {
    margin-bottom: -4px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
}
menu > arrow:hover,
.menu > arrow:hover {
    background-image: image(alpha(currentColor, 0.15));
    color: rgba(0, 0, 0, 0.8);
}
menu > arrow:disabled,
.menu > arrow:disabled {
    border-color: transparent;
    background-color: transparent;
    color: transparent;
}
/*menu separator,
.menu separator {
    margin: 2px 0;
	border-top: 1px solid mix(@theme_bg_color, @theme_fg_color, 0.01);
    background-color: mix(@theme_bg_color, @theme_fg_color, 0.1);
}*/
menuitem accelerator {
    color: alpha(currentColor, 0.6);
}

menu menuitem check:dir(ltr),
menu menuitem radio:dir(ltr) {
	margin-right: 10px;
    padding: 8px;
}

menu menuitem check:dir(rtl),
menu menuitem radio:dir(rtl) {
	margin-left: 10px;
    padding: 8px;
}

csd.popup {
    border-radius: 2px;
}