toolkit/themes/osx/mozapps/downloads/downloads.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 %include ../../global/shared.inc
     7 #downloadView {
     8   -moz-appearance: none;
     9   margin: 0;
    10   padding: 0;
    11   border-width: 0;
    12 }
    14 /* Download View Items */
    15 richlistitem[type="download"] {
    16   padding: 5px;
    17   min-height: 44px !important;
    18   border: 1px solid transparent;
    19 }
    21 richlistitem[type="download"]:not([selected="true"]):nth-child(odd) {
    22   background-color: -moz-oddtreerow;
    23 }
    25 richlistitem[type="download"] .dateTime,
    26 richlistitem[type="download"] .status {
    27   font-size: smaller;
    28   color: #555;
    29 }
    31 richlistitem[selected="true"][type="download"] {
    32   outline: none;
    33 }
    35 richlistbox:focus > richlistitem[selected="true"][type="download"] .dateTime,
    36 richlistbox:focus > richlistitem[selected="true"][type="download"] .status {
    37   color: highlighttext;
    38 }
    41 richlistitem[type="download"] button {
    42   -moz-appearance: none;
    43   min-height: 16px;
    44   min-width: 16px;
    45   max-height: 16px;
    46   max-width: 16px;
    47   padding: 0;
    48   margin: 0 1px 0 1px;
    49 }
    51 /**
    52  * Images for buttons in the interface
    53  */
    54 richlistitem[type="download"] button {
    55   list-style-image: url(chrome://mozapps/skin/downloads/buttons.png);
    56 }
    57 .cancel {
    58   -moz-image-region: rect(0px, 16px, 16px, 0px);
    59 }
    60 .cancel:hover {
    61   -moz-image-region: rect(0px, 32px, 16px, 16px);
    62 }
    63 .cancel:hover:active {
    64   -moz-image-region: rect(0px, 48px, 16px, 32px);
    65 }
    67 .pause {
    68   -moz-image-region: rect(48px, 16px, 64px, 0px);
    69 }
    70 .pause:hover {
    71   -moz-image-region: rect(48px, 32px, 64px, 16px);
    72 }
    73 .pause:not([disabled="true"]):hover:active {
    74   -moz-image-region: rect(48px, 48px, 64px, 32px);
    75 }
    76 .pause[disabled="true"] {
    77   -moz-image-region: rect(48px, 16px, 64px, 0px);
    78 }
    80 .resume {
    81   -moz-image-region: rect(16px, 16px, 32px, 0px);
    82 }
    83 .resume:hover {
    84   -moz-image-region: rect(16px, 32px, 32px, 16px);
    85 }
    86 .resume:hover:active {
    87   -moz-image-region: rect(16px, 48px, 32px, 32px);
    88 }
    90 .retry {
    91   -moz-image-region: rect(32px, 16px, 48px, 0px);
    92 }
    93 .retry:hover {
    94   -moz-image-region: rect(32px, 32px, 48px, 16px);
    95 }
    96 .retry:hover:active {
    97   -moz-image-region: rect(32px, 48px, 48px, 32px);
    98 }
   100 .blockedIcon {
   101   list-style-image: url(chrome://global/skin/icons/Error.png);
   102 }
   104 /* prevent flickering when changing states */
   105 .downloadTypeIcon {
   106   height: 32px;
   107   width: 32px;
   108   -moz-padding-end: 2px;
   109 }
   111 #search {
   112   -moz-box-pack: end;
   113   -moz-padding-end: 4px;
   114   -moz-appearance: statusbar;
   115 }
   117 #clearListButton {
   118   -moz-appearance: toolbarbutton;
   119   min-height: 18px;
   120   min-width: 0;
   121   margin: 0 6px;
   122   text-shadow: @loweredShadow@;
   123 }

mercurial