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
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#downloadsRichListBox {
/** The default listbox appearance comes with an unwanted margin. **/
-moz-appearance: none;
margin: 0;
}
#downloadsRichListBox > richlistitem.download {
height: 6em;
border-bottom: 1px solid rgb(64,64,64);
}
.downloadTypeIcon {
margin-inline-end: 8px;
margin-inline-start: 8px;
/* explicitly size the icon, so size doesn't vary on hidpi systems */
height: 32px;
width: 32px;
}
.blockedIcon {
list-style-image: url("chrome://global/skin/icons/error-16.svg");
}
.downloadTarget,
.downloadDisplayName {
margin-bottom: 3px;
cursor: inherit;
}
.downloadDetails {
opacity: 0.7;
font-size: 95%;
cursor: inherit;
}
.downloadButton {
-moz-appearance: none;
background: transparent;
min-width: 0;
min-height: 0;
margin: 3px;
border: none;
padding: 5px;
}
/*** Button icons ***/
.downloadButton.downloadCancel {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#cancel-normal");
}
.downloadButton.downloadCancel:hover {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#cancel");
}
.downloadButton.downloadCancel:active {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#cancel-active");
}
.downloadButton.downloadShow {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#show-normal");
}
.downloadButton.downloadShow:hover {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#show");
}
.downloadButton.downloadShow:active {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#show-active");
}
.downloadButton.downloadRetry {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#retry-normal");
}
.downloadButton.downloadRetry:hover {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#retry");
}
.downloadButton.downloadRetry:active {
list-style-image: url("chrome://browser/skin/downloads/buttons.svg#retry-active");
}
#downloadsRichListBox > richlistitem.download[selected] {
color: #fff;
background-color: rgb(0,0,0);
}
/* Fixes for "Downloads Window" extension */
#downloadsWindow > #downloadsRichListBox > richlistitem.download:not([selected="true"]):nth-child(odd) {
background-color: rgb(0, 0, 0) !important;
}
#downloadsWindow > #downloadsRichListBox {
-moz-border-bottom-colors: rgb(128, 128, 128) transparent !important;
}
|