summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/downloads/content/downloads.css
blob: dcb648d6233c9985305c84cc07fb713e59409e8d (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
/* 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/. */

richlistitem[type="download"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-starting');
  -moz-box-orient: vertical;
}

richlistitem[type="download"][state="0"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-downloading');
}

richlistitem[type="download"][state="1"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-done');
}

richlistitem[type="download"][state="2"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-failed');
}

richlistitem[type="download"][state="3"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-canceled');
}

richlistitem[type="download"][state="4"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-paused');
}

richlistitem[type="download"][state="6"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-blocked-parental');
}

richlistitem[type="download"][state="7"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-scanning');
}

richlistitem[type="download"][state="8"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-dirty');
}

richlistitem[type="download"][state="9"] {
  -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-blocked-policy');
}

/* Only focus buttons in the selected item*/
richlistitem[type="download"]:not([selected="true"]) button {
  -moz-user-focus: none;
}