browser/components/downloads/content/download.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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 }

mercurial