Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 richlistitem.download button {
6 /* These buttons should never get focus, as that would "disable"
7 the downloads view controller (it's only used when the richlistbox
8 is focused). */
9 -moz-user-focus: none;
10 }
12 /*** Visibility of controls inside download items ***/
14 .download-state:-moz-any( [state="6"], /* Blocked (parental) */
15 [state="8"], /* Blocked (dirty) */
16 [state="9"]) /* Blocked (policy) */
17 > .downloadTypeIcon:not(.blockedIcon),
19 .download-state:not(:-moz-any([state="6"], /* Blocked (parental) */
20 [state="8"], /* Blocked (dirty) */
21 [state="9"]) /* Blocked (policy) */)
22 > .downloadTypeIcon.blockedIcon,
24 .download-state:not(:-moz-any([state="-1"],/* Starting (initial) */
25 [state="5"], /* Starting (queued) */
26 [state="0"], /* Downloading */
27 [state="4"], /* Paused */
28 [state="7"]) /* Scanning */)
29 > vbox > .downloadProgress,
31 .download-state:not(:-moz-any([state="-1"],/* Starting (initial) */
32 [state="5"], /* Starting (queued) */
33 [state="0"], /* Downloading */
34 [state="4"]) /* Paused */)
35 > .downloadCancel,
37 .download-state[state]:not(:-moz-any([state="2"], /* Failed */
38 [state="3"]) /* Canceled */)
39 > .downloadRetry,
41 .download-state:not( [state="1"] /* Finished */)
42 > .downloadShow
43 {
44 display: none;
45 }