forked from greasemonkey/greasemonkey
/
addons.css
51 lines (47 loc) · 1.44 KB
/
addons.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
/*
Hide user scripts view/buttons, unless user scripts tab is open.
Hide native view/buttons, when user scripts view is open.
*/
#userscriptsBox,
#commandBarBottom #getMoreUserscripts,
#commandBarBottom #findUpdatesUserscripts,
#commandBarBottom #newUserscript,
.userscripts #extensionsBox,
.userscripts #getMore,
.userscripts #commandBarBottom button
{
display: none;
}
.userscripts #userscriptsBox,
.userscripts #commandBarBottom #getMoreUserscripts,
.userscripts #commandBarBottom #findUpdatesUserscripts,
.userscripts #commandBarBottom #newUserscript
{
display: -moz-box;
}
/* XBL Bindings */
.userscripts richlistitem[opType="needs-uninstall"] hbox.addon-optype,
.userscripts richlistitem[opType="needs-uninstall"] hbox.addon-description
{
-moz-binding: url("chrome://greasemonkey/content/addons.xml#addon-needs-uninstall");
}
.userscripts richlistitem[selected="true"] {
-moz-binding: url("chrome://greasemonkey/content/addons.xml#userscript-selected");
}
/* Appearance */
#userscriptsView {
margin: 0;
min-width: 245px;
}
#userscriptsBox {
margin: 10px 10px 0px 10px;
min-width: 1px;
}
#userscriptsView:focus > richlistitem[selected="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemEnabledFader.png");
background-color: Highlight;
color: HighlightText;
}
#userscriptsView:focus > richlistitem[selected="true"][isDisabled="true"] {
background-image: url("chrome://mozapps/skin/extensions/itemDisabledFader.png");
}