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