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