aboutsummaryrefslogtreecommitdiff
path: root/copyq-6.3.2/themes/menu.css
blob: 38249a15a89ee9c6ae50928a92e8a7b8bad98cbf (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
/* Remove icon border in menus. */
#TrayMenu::item:selected,
#MainWindow>QMenu::item:selected,
#menu_bar>QMenu::item:selected
{
    border:none
}

#TrayMenu::item,
#MainWindow>QMenu::item,
#menu_bar>QMenu::item
{
    ;padding: 0.2em 1em 0.2em 1em
    ;padding-left: ${scale=2}${icon_size}${scale=1}px
}

#TrayMenu::icon,
#MainWindow>QMenu::icon,
#menu_bar>QMenu::icon
{
    ;padding-left: ${scale=0.5}${icon_size}${scale=1}px
}

/* Keep default item highlighted (removing icon border resets the style). */
#TrayMenu::item:default,
#MainWindow>QMenu::item:default,
#menu_bar>QMenu::item:default
{
    font-weight:bold
}

#TrayMenu,
#MainWindow>QMenu,
#menu_bar>QMenu
{
    ${menu_css}
}

#TrayMenu::item,
#TrayMenu::separator,
#MainWindow>QMenu::item,
#MainWindow>QMenu::separator,
#menu_bar>QMenu::item,
#menu_bar>QMenu::separator
{
    ${menu_bar_css}
}

#TrayMenu::item:selected,
#MainWindow>QMenu::item:selected,
#menu_bar>QMenu::item:selected
{
    ${menu_bar_selected_css}
}

#menu_bar, #menu_bar::item{${menu_bar_css}}
#menu_bar::item:selected{${menu_bar_selected_css}}
#menu_bar::item:disabled{${menu_bar_disabled_css}}

${css:tooltip}