forked from greasemonkey/greasemonkey
/
addons4.css
51 lines (43 loc) · 1.34 KB
/
addons4.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
#category-scripts > .category-icon,
.addon[type=user-script] .icon,
#detail-view[type=user-script] #detail-icon
{
list-style-image: url(chrome://greasemonkey/skin/icon32.png);
}
.addon.addon-view[type="user-script"] .details.button-link {
display: none !important;
}
#greasemonkey-sort-bar {
display: none;
}
page.greasemonkey #greasemonkey-sort-bar {
display: -moz-box;
}
page.greasemonkey #addon-list-empty,
#user-script-list-empty
{
display: none;
}
page.greasemonkey #user-script-list-empty {
display: -moz-box;
}
/* Hide the 'restart now' link for user scripts. */
.greasemonkey #addon-list button[command=cmd_restartApp] {
display: none;
}
.addon.addon-view[type="user-script"] .details.button-link {
display: none !important;
}
/* Do not show native items when view is user scripts. */
#addonitem-popup:not([addontype="user-script"]) menuitem[type="user-script"],
#addonitem-popup:not([addontype="user-script"]) menuseparator[type="user-script"],
/* Do not show user script items when view is native. */
#addonitem-popup[addontype="user-script"] menuitem:not([type]),
#addonitem-popup[addontype="user-script"] menuseparator:not([type])
{
display: none !important;
}
/* Do show all items (even disabled ones!) when view is user scripts. */
#addonitem-popup[addontype="user-script"] *[type="user-script"] {
display: -moz-box !important;
}