browser/components/downloads/content/download.css

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     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 }

mercurial