downloads.css (3062B)
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/. */ 4 5 /* This Source Code Form is subject to the terms of the Mozilla Public 6 * License, v. 2.0. If a copy of the MPL was not distributed with this 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 8 9 #downloadManager { 10 background-color: #181411; 11 } 12 13 /* Download View */ 14 #downloadView { 15 -moz-appearance: none; 16 margin: 0; 17 border-bottom: 1px solid rgb(64,64,64); 18 background-color: #181411; 19 } 20 21 /* Download View Items */ 22 richlistitem[type="download"] { 23 padding: 4px 8px 4px 4px; 24 min-height: 46px; 25 border-bottom: 1px solid rgb(64,64,64); 26 } 27 28 richlistitem[type="download"][selected="true"] { 29 background-image: url(chrome://mozapps/skin/extensions/itemEnabledFader.png); 30 } 31 32 richlistitem[type="download"] .name { 33 font-size: larger; 34 } 35 36 richlistitem[type="download"] .dateTime { 37 font-size: smaller; 38 } 39 40 .mini-button { 41 -moz-appearance: none; 42 list-style-image: url(chrome://mozapps/skin/downloads/downloadButtons.png); 43 background-color: transparent; 44 border: none; 45 padding: 0; 46 margin: 0; 47 min-width: 0; 48 min-height: 0; 49 } 50 51 .mini-button > .button-box { 52 padding: 0 !important; 53 } 54 55 .cancel { 56 -moz-image-region: rect(0px, 32px, 16px, 16px); 57 } 58 .cancel:hover { 59 -moz-image-region: rect(16px, 32px, 32px, 16px); 60 } 61 .cancel:active { 62 -moz-image-region: rect(32px, 32px, 48px, 16px); 63 } 64 .cancel[disabled="true"] { 65 -moz-image-region: rect(48px, 32px, 64px, 16px); 66 } 67 .pause { 68 -moz-image-region: rect(0px, 48px, 16px, 32px); 69 } 70 .pause:hover { 71 -moz-image-region: rect(16px, 48px, 32px, 32px); 72 } 73 .pause:active { 74 -moz-image-region: rect(32px, 48px, 48px, 32px); 75 } 76 .pause[disabled="true"] { 77 -moz-image-region: rect(48px, 48px, 64px, 32px); 78 } 79 .resume { 80 -moz-image-region: rect(0px, 16px, 16px, 0px); 81 } 82 .resume:hover { 83 -moz-image-region: rect(16px, 16px, 32px, 0px); 84 } 85 .resume:active { 86 -moz-image-region: rect(32px, 16px, 48px, 0px); 87 } 88 .resume[disabled="true"] { 89 -moz-image-region: rect(48px, 16px, 64px, 0px); 90 } 91 .retry { 92 -moz-image-region: rect(0px, 64px, 16px, 48px); 93 } 94 .retry:hover { 95 -moz-image-region: rect(16px, 64px, 32px, 48px); 96 } 97 .retry:active { 98 -moz-image-region: rect(32px, 64px, 48px, 48px); 99 } 100 .retry[disabled="true"] { 101 -moz-image-region: rect(48px, 64px, 64px, 48px); 102 } 103 104 .blockedIcon { 105 list-style-image: url(chrome://global/skin/icons/Error.png); 106 } 107 108 /* prevent flickering when changing states */ 109 .downloadTypeIcon { 110 min-height: 32px; 111 min-width: 32px; 112 } 113 114 #clearListButton { 115 min-height: 0; 116 min-width: 0; 117 margin-top: 3px; 118 } 119 120 #downloadManager { 121 background: #181411; 122 } 123 124 windowdragbox { 125 -moz-binding: url("chrome://global/content/bindings/general.xml#windowdragbox"); 126 padding: 3px; 127 } 128 129 #clearListButton { 130 margin-inline-start: 0; 131 margin-bottom: 0; 132 } 133 134 #searchbox { 135 margin-inline-end: 0; 136 margin-bottom: 0; 137 background-color: #181411; 138 border-radius: 5px; 139 border: 1px solid rgb(64,64,64); 140 }