browser/themes/windows/downloads/allDownloadsViewOverlay.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.

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 file,
michael@0 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 #downloadsRichListBox {
michael@0 6 /** The default listbox appearance comes with an unwanted margin. **/
michael@0 7 -moz-appearance: none;
michael@0 8 margin: 0;
michael@0 9 }
michael@0 10
michael@0 11 #downloadsRichListBox > richlistitem.download {
michael@0 12 height: 6em;
michael@0 13 %ifndef WINDOWS_AERO
michael@0 14 padding: 5px 8px;
michael@0 15 %endif
michael@0 16 }
michael@0 17
michael@0 18 .downloadTypeIcon {
michael@0 19 -moz-margin-end: 8px;
michael@0 20 %ifdef WINDOWS_AERO
michael@0 21 -moz-margin-start: 8px;
michael@0 22 %endif
michael@0 23 /* explicitly size the icon, so size doesn't vary on hidpi systems */
michael@0 24 height: 32px;
michael@0 25 width: 32px;
michael@0 26 }
michael@0 27
michael@0 28 .blockedIcon {
michael@0 29 list-style-image: url("chrome://global/skin/icons/Error.png");
michael@0 30 }
michael@0 31
michael@0 32 .downloadTarget {
michael@0 33 margin-bottom: 3px;
michael@0 34 cursor: inherit;
michael@0 35 }
michael@0 36
michael@0 37 .downloadDetails {
michael@0 38 opacity: 0.7;
michael@0 39 font-size: 95%;
michael@0 40 cursor: inherit;
michael@0 41 }
michael@0 42
michael@0 43 .downloadButton {
michael@0 44 -moz-appearance: none;
michael@0 45 background: transparent;
michael@0 46 min-width: 0;
michael@0 47 min-height: 0;
michael@0 48 margin: 3px;
michael@0 49 border: none;
michael@0 50 padding: 5px;
michael@0 51 list-style-image: url("chrome://browser/skin/downloads/buttons.png");
michael@0 52 }
michael@0 53
michael@0 54 /*** Button icons ***/
michael@0 55
michael@0 56 .downloadButton.downloadCancel {
michael@0 57 -moz-image-region: rect(0px, 16px, 16px, 0px);
michael@0 58 }
michael@0 59
michael@0 60 richlistitem.download:hover > .downloadButton.downloadCancel {
michael@0 61 -moz-image-region: rect(0px, 32px, 16px, 16px);
michael@0 62 }
michael@0 63
michael@0 64 richlistitem.download:hover > .downloadButton.downloadCancel:hover {
michael@0 65 -moz-image-region: rect(0px, 48px, 16px, 32px);
michael@0 66 }
michael@0 67
michael@0 68 richlistitem.download:hover > .downloadButton.downloadCancel:active {
michael@0 69 -moz-image-region: rect(0px, 64px, 16px, 48px);
michael@0 70 }
michael@0 71
michael@0 72 .downloadButton.downloadShow {
michael@0 73 -moz-image-region: rect(16px, 16px, 32px, 0px);
michael@0 74 }
michael@0 75
michael@0 76 richlistitem.download:hover > .downloadButton.downloadShow {
michael@0 77 -moz-image-region: rect(16px, 32px, 32px, 16px);
michael@0 78 }
michael@0 79
michael@0 80 richlistitem.download:hover > .downloadButton.downloadShow:hover {
michael@0 81 -moz-image-region: rect(16px, 48px, 32px, 32px);
michael@0 82 }
michael@0 83
michael@0 84 richlistitem.download:hover > .downloadButton.downloadShow:active {
michael@0 85 -moz-image-region: rect(16px, 64px, 32px, 48px);
michael@0 86 }
michael@0 87
michael@0 88 .downloadButton.downloadRetry {
michael@0 89 -moz-image-region: rect(32px, 16px, 48px, 0px);
michael@0 90 }
michael@0 91
michael@0 92 richlistitem.download:hover > .downloadButton.downloadRetry {
michael@0 93 -moz-image-region: rect(32px, 32px, 48px, 16px);
michael@0 94 }
michael@0 95
michael@0 96 richlistitem.download:hover > .downloadButton.downloadRetry:hover {
michael@0 97 -moz-image-region: rect(32px, 48px, 48px, 32px);
michael@0 98 }
michael@0 99
michael@0 100 richlistitem.download:hover > .downloadButton.downloadRetry:active {
michael@0 101 -moz-image-region: rect(32px, 64px, 48px, 48px);
michael@0 102 }
michael@0 103
michael@0 104 %ifndef WINDOWS_AERO
michael@0 105 richlistitem.download[selected] > .downloadButton.downloadCancel {
michael@0 106 -moz-image-region: rect(0px, 80px, 16px, 64px);
michael@0 107 }
michael@0 108
michael@0 109 richlistitem.download[selected]:hover > .downloadButton.downloadCancel {
michael@0 110 -moz-image-region: rect(0px, 96px, 16px, 80px);
michael@0 111 }
michael@0 112
michael@0 113 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:hover {
michael@0 114 -moz-image-region: rect(0px, 112px, 16px, 96px);
michael@0 115 }
michael@0 116
michael@0 117 richlistitem.download[selected]:hover > .downloadButton.downloadCancel:active {
michael@0 118 -moz-image-region: rect(0px, 128px, 16px, 112px);
michael@0 119 }
michael@0 120
michael@0 121 richlistitem.download[selected] > .downloadButton.downloadShow {
michael@0 122 -moz-image-region: rect(16px, 80px, 32px, 64px);
michael@0 123 }
michael@0 124
michael@0 125 richlistitem.download[selected]:hover > .downloadButton.downloadShow {
michael@0 126 -moz-image-region: rect(16px, 96px, 32px, 80px);
michael@0 127 }
michael@0 128
michael@0 129 richlistitem.download[selected]:hover > .downloadButton.downloadShow:hover {
michael@0 130 -moz-image-region: rect(16px, 112px, 32px, 96px);
michael@0 131 }
michael@0 132
michael@0 133 richlistitem.download[selected]:hover > .downloadButton.downloadShow:active {
michael@0 134 -moz-image-region: rect(16px, 128px, 32px, 112px);
michael@0 135 }
michael@0 136
michael@0 137 richlistitem.download[selected] > .downloadButton.downloadRetry {
michael@0 138 -moz-image-region: rect(32px, 80px, 48px, 64px);
michael@0 139 }
michael@0 140
michael@0 141 richlistitem.download[selected]:hover > .downloadButton.downloadRetry {
michael@0 142 -moz-image-region: rect(32px, 96px, 48px, 80px);
michael@0 143 }
michael@0 144
michael@0 145 richlistitem.download[selected]:hover > .downloadButton.downloadRetry:hover {
michael@0 146 -moz-image-region: rect(32px, 112px, 48px, 96px);
michael@0 147 }
michael@0 148
michael@0 149 richlistitem.download[selected]:hover > .downloadButton.downloadRetry:active {
michael@0 150 -moz-image-region: rect(32px, 128px, 48px, 112px);
michael@0 151 }
michael@0 152 %endif

mercurial