summaryrefslogtreecommitdiffstats
path: root/toolkit/themes/windows/mozapps/downloads/downloads.css
blob: 202ec016feceffc579b3d5a79a2532732e4481d9 (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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
/* 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/. */

#downloadManager {
  background-color: ThreeDFace;
}

/* Download View */
@media not all and (-moz-windows-classic) {
  #downloadView {
    -moz-appearance: none;
    margin: 0;
    border-bottom: 2px solid;
    -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
  }
}

/* Download View Items */
richlistitem[type="download"] {
  padding: 4px 8px 4px 4px;
  min-height: 46px;
  border-bottom: 1px solid ThreeDLightShadow;
}

richlistitem[type="download"] .name {
  font-size: larger;
}

richlistitem[type="download"] .dateTime {
  font-size: smaller;
}

.mini-button {
  -moz-appearance: none;
  list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
  background-color: transparent;
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
}

.mini-button > .button-box {
  padding: 0 !important;
}

.cancel {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
}
.cancel:hover {
  -moz-image-region: rect(16px, 32px, 32px, 16px);
}
.cancel:active {
  -moz-image-region: rect(32px, 32px, 48px, 16px);
}
.cancel[disabled="true"] {
  -moz-image-region: rect(48px, 32px, 64px, 16px);
}
.pause {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}
.pause:hover {
  -moz-image-region: rect(16px, 48px, 32px, 32px);
}
.pause:active {
  -moz-image-region: rect(32px, 48px, 48px, 32px);
}
.pause[disabled="true"] {
  -moz-image-region: rect(48px, 48px, 64px, 32px);
}
.resume {
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}
.resume:hover {
  -moz-image-region: rect(16px, 16px, 32px, 0px);
}
.resume:active {
  -moz-image-region: rect(32px, 16px, 48px, 0px);
}
.resume[disabled="true"] {
  -moz-image-region: rect(48px, 16px, 64px, 0px);
}
.retry {
  -moz-image-region: rect(0px, 64px, 16px, 48px);
}
.retry:hover {
  -moz-image-region: rect(16px, 64px, 32px, 48px);
}
.retry:active {
  -moz-image-region: rect(32px, 64px, 48px, 48px);
}
.retry[disabled="true"] {
  -moz-image-region: rect(48px, 64px, 64px, 48px);
}

.blockedIcon {
  list-style-image: url(chrome://global/skin/icons/Error.png);
}

/* prevent flickering when changing states */
.downloadTypeIcon {
  min-height: 32px;
  min-width: 32px;
}

#clearListButton {
  min-height: 0;
  min-width: 0;
  margin-top: 3px;
}

@media (-moz-windows-compositor) {
  #downloadManager {
    -moz-appearance: -moz-win-glass;
    background: transparent;
  }

  #downloadView {
    /* Clamp glass bounds to the rich list so our glass haze stays constant. */
    -moz-appearance: -moz-win-exclude-glass;
    border: none;
  }

  windowdragbox {
    -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox");
  }

  #clearListButton {
    margin-inline-start: 0;
    margin-bottom: 0;
  }

  #searchbox {
    margin-inline-end: 0;
    margin-bottom: 0;
  }
}