toolkit/themes/windows/mozapps/downloads/downloads.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

     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
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 #downloadManager {
     6   background-color: ThreeDFace;
     7 }
     9 /* Download View */
    10 @media not all and (-moz-windows-classic) {
    11   #downloadView {
    12     -moz-appearance: none;
    13     margin: 0;
    14     border-bottom: 2px solid;
    15     -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
    16   }
    17 }
    19 /* Download View Items */
    20 richlistitem[type="download"] {
    21   padding: 4px 8px 4px 4px;
    22   min-height: 46px;
    23   border-bottom: 1px solid ThreeDLightShadow;
    24 }
    26 richlistitem[type="download"][selected="true"] {
    27   background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png);
    28 }
    30 richlistitem[type="download"] .name {
    31   font-size: larger;
    32 }
    34 richlistitem[type="download"] .dateTime {
    35   font-size: smaller;
    36 }
    38 .mini-button {
    39   -moz-appearance: none;
    40   list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png);
    41   background-color: transparent;
    42   border: none;
    43   padding: 0;
    44   margin: 0;
    45   min-width: 0;
    46   min-height: 0;
    47 }
    49 .mini-button > .button-box {
    50   padding: 0 !important;
    51 }
    53 .cancel {
    54   -moz-image-region: rect(0px, 32px, 16px, 16px);
    55 }
    56 .cancel:hover {
    57   -moz-image-region: rect(16px, 32px, 32px, 16px);
    58 }
    59 .cancel:active {
    60   -moz-image-region: rect(32px, 32px, 48px, 16px);
    61 }
    62 .cancel[disabled="true"] {
    63   -moz-image-region: rect(48px, 32px, 64px, 16px);
    64 }
    65 .pause {
    66   -moz-image-region: rect(0px, 48px, 16px, 32px);
    67 }
    68 .pause:hover {
    69   -moz-image-region: rect(16px, 48px, 32px, 32px);
    70 }
    71 .pause:active {
    72   -moz-image-region: rect(32px, 48px, 48px, 32px);
    73 }
    74 .pause[disabled="true"] {
    75   -moz-image-region: rect(48px, 48px, 64px, 32px);
    76 }
    77 .resume {
    78   -moz-image-region: rect(0px, 16px, 16px, 0px);
    79 }
    80 .resume:hover {
    81   -moz-image-region: rect(16px, 16px, 32px, 0px);
    82 }
    83 .resume:active {
    84   -moz-image-region: rect(32px, 16px, 48px, 0px);
    85 }
    86 .resume[disabled="true"] {
    87   -moz-image-region: rect(48px, 16px, 64px, 0px);
    88 }
    89 .retry {
    90   -moz-image-region: rect(0px, 64px, 16px, 48px);
    91 }
    92 .retry:hover {
    93   -moz-image-region: rect(16px, 64px, 32px, 48px);
    94 }
    95 .retry:active {
    96   -moz-image-region: rect(32px, 64px, 48px, 48px);
    97 }
    98 .retry[disabled="true"] {
    99   -moz-image-region: rect(48px, 64px, 64px, 48px);
   100 }
   102 .blockedIcon {
   103   list-style-image: url(chrome://global/skin/icons/Error.png);
   104 }
   106 /* prevent flickering when changing states */
   107 .downloadTypeIcon {
   108   min-height: 32px;
   109   min-width: 32px;
   110 }
   112 #clearListButton {
   113   min-height: 0;
   114   min-width: 0;
   115   margin-top: 3px;
   116 }

mercurial