Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | richlistitem.download button { |
michael@0 | 6 | /* These buttons should never get focus, as that would "disable" |
michael@0 | 7 | the downloads view controller (it's only used when the richlistbox |
michael@0 | 8 | is focused). */ |
michael@0 | 9 | -moz-user-focus: none; |
michael@0 | 10 | } |
michael@0 | 11 | |
michael@0 | 12 | /*** Visibility of controls inside download items ***/ |
michael@0 | 13 | |
michael@0 | 14 | .download-state:-moz-any( [state="6"], /* Blocked (parental) */ |
michael@0 | 15 | [state="8"], /* Blocked (dirty) */ |
michael@0 | 16 | [state="9"]) /* Blocked (policy) */ |
michael@0 | 17 | > .downloadTypeIcon:not(.blockedIcon), |
michael@0 | 18 | |
michael@0 | 19 | .download-state:not(:-moz-any([state="6"], /* Blocked (parental) */ |
michael@0 | 20 | [state="8"], /* Blocked (dirty) */ |
michael@0 | 21 | [state="9"]) /* Blocked (policy) */) |
michael@0 | 22 | > .downloadTypeIcon.blockedIcon, |
michael@0 | 23 | |
michael@0 | 24 | .download-state:not(:-moz-any([state="-1"],/* Starting (initial) */ |
michael@0 | 25 | [state="5"], /* Starting (queued) */ |
michael@0 | 26 | [state="0"], /* Downloading */ |
michael@0 | 27 | [state="4"], /* Paused */ |
michael@0 | 28 | [state="7"]) /* Scanning */) |
michael@0 | 29 | > vbox > .downloadProgress, |
michael@0 | 30 | |
michael@0 | 31 | .download-state:not(:-moz-any([state="-1"],/* Starting (initial) */ |
michael@0 | 32 | [state="5"], /* Starting (queued) */ |
michael@0 | 33 | [state="0"], /* Downloading */ |
michael@0 | 34 | [state="4"]) /* Paused */) |
michael@0 | 35 | > .downloadCancel, |
michael@0 | 36 | |
michael@0 | 37 | .download-state[state]:not(:-moz-any([state="2"], /* Failed */ |
michael@0 | 38 | [state="3"]) /* Canceled */) |
michael@0 | 39 | > .downloadRetry, |
michael@0 | 40 | |
michael@0 | 41 | .download-state:not( [state="1"] /* Finished */) |
michael@0 | 42 | > .downloadShow |
michael@0 | 43 | { |
michael@0 | 44 | display: none; |
michael@0 | 45 | } |