-
Notifications
You must be signed in to change notification settings - Fork 0
/
dark_context_menus.css
92 lines (81 loc) · 2.03 KB
/
dark_context_menus.css
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
/* Makes context menus dark. Also affects some portions of menu popups */
/* Uses dark theme colors but does not respect dark theme variables (they wouldn't work on sidebar context menu) */
:root {
--uc-menu-bkgnd: rgb(20, 20, 20);
--uc-menu-color: rgb(230, 230, 230);
--uc-menu-dimmed: rgba(255, 255, 255, 0.1);
--uc-menu-disabled: rgb(50, 50, 50);
}
panel richlistbox,
panel tree,
panel button,
panel menulist,
panel textbox,
panel input,
menupopup,
menu,
menuitem {
-moz-appearance: none !important;
}
menulist,
menuitem,
menu {
min-height: 1.8em;
}
panel menulist {
border: 1px solid transparent;
}
panel richlistbox,
panel tree,
panel button,
panel menulist,
panel textbox,
panel input,
panel #searchbar,
menupopup:not(#BMB_bookmarksPopup),
#main-menubar > menu > menupopup,
#context-navigation {
color: var(--uc-menu-color) !important;
padding: 2px;
background-color: var(--uc-menu-bkgnd) !important;
border-color: var(--uc-menu-disabled) !important;
}
panel textbox input {
padding: 2px !important;
}
panel input {
border-width: 1px;
border-style: solid;
background-color: rgba(0, 0, 0, 0.1) !important;
}
panel #searchbar {
background-color: rgba(0, 0, 0, 0.1) !important;
padding: 0 !important;
}
panel #searchbar input {
background-color: transparent !important;
}
panel menulist:hover,
panel menulist[open] {
border-color: Highlight !important;
}
#editBMPanel_folderMenuList > menupopup > menuitem {
color: var(--uc-menu-color) !important;
}
panel treechildren::-moz-tree-row(selected),
panel button:hover,
menu:hover,
menu[_moz-menuactive],
menu[open],
menuitem:hover,
menuitem[_moz-menuactive] {
background-color: var(--uc-menu-dimmed) !important;
color: inherit !important;
}
menu[disabled='true'],
menuitem[disabled='true'] {
color: var(--uc-menu-disabled) !important;
}
menu:not(.subviewbutton) > .menu-right {
filter: invert(1);
}