From 0202d65e3a906b05064ecd0e71e6d68202e8d4f4 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Mon, 6 Jun 2016 14:31:22 +0200 Subject: update to 47.0rc1 --- .../browser/downloads/allDownloadsViewOverlay.css | 94 +++++++++++++--------- 1 file changed, 58 insertions(+), 36 deletions(-) (limited to 'arc-firefox-theme/chrome/browser/downloads/allDownloadsViewOverlay.css') diff --git a/arc-firefox-theme/chrome/browser/downloads/allDownloadsViewOverlay.css b/arc-firefox-theme/chrome/browser/downloads/allDownloadsViewOverlay.css index 473e401..9935e0f 100644 --- a/arc-firefox-theme/chrome/browser/downloads/allDownloadsViewOverlay.css +++ b/arc-firefox-theme/chrome/browser/downloads/allDownloadsViewOverlay.css @@ -1,6 +1,14 @@ /* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this file, - * You can obtain one at http://mozilla.org/MPL/2.0/. */ + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + + + +/*** View and outer controls ***/ #downloadsRichListBox { /** The default listbox appearance comes with an unwanted margin. **/ @@ -8,20 +16,25 @@ margin: 0; } +/*** List items ***/ + +#downloadsRichListBox > richlistitem.download { + height: var(--downloads-item-height); +} + #downloadsRichListBox > richlistitem.download { - height: 5em; padding: 5px 8px; } .downloadTypeIcon { -moz-margin-end: 8px; - /* Prevent flickering when changing states. */ - min-height: 32px; - min-width: 32px; + width: 32px; + height: 32px; } + .blockedIcon { - list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog"); + list-style-image: url("chrome://global/skin/icons/Error.png"); } .downloadTarget { @@ -46,88 +59,97 @@ list-style-image: url("chrome://browser/skin/downloads/buttons.png"); } +/*** List items ***/ + +:root { + --downloads-item-height: 5em; +} + +.blockedIcon { + list-style-image: url("moz-icon://stock/gtk-dialog-error?size=dialog"); +} + /*** Button icons ***/ .downloadButton.downloadConfirmBlock, .downloadButton.downloadCancel { -moz-image-region: rect(0px, 16px, 16px, 0px); } -richlistitem.download:hover > .downloadButton.downloadConfirmBlock, -richlistitem.download:hover > .downloadButton.downloadCancel { +richlistitem.download:hover .downloadButton.downloadConfirmBlock, +richlistitem.download:hover .downloadButton.downloadCancel { -moz-image-region: rect(0px, 32px, 16px, 16px); } -richlistitem.download:hover > .downloadButton.downloadConfirmBlock:hover, -richlistitem.download:hover > .downloadButton.downloadCancel:hover { +richlistitem.download:hover .downloadButton.downloadConfirmBlock:hover, +richlistitem.download:hover .downloadButton.downloadCancel:hover { -moz-image-region: rect(0px, 48px, 16px, 32px); } -richlistitem.download:hover > .downloadButton.downloadConfirmBlock:active, -richlistitem.download:hover > .downloadButton.downloadCancel:active { +richlistitem.download:hover .downloadButton.downloadConfirmBlock:active, +richlistitem.download:hover .downloadButton.downloadCancel:active { -moz-image-region: rect(0px, 64px, 16px, 48px); } -richlistitem.download[selected] > .downloadButton.downloadConfirmBlock, -richlistitem.download[selected] > .downloadButton.downloadCancel { +richlistitem.download[selected] .downloadButton.downloadConfirmBlock, +richlistitem.download[selected] .downloadButton.downloadCancel { -moz-image-region: rect(0px, 80px, 16px, 64px); } -richlistitem.download:hover[selected] > .downloadButton.downloadConfirmBlock, -richlistitem.download:hover[selected] > .downloadButton.downloadCancel { +richlistitem.download[selected]:hover .downloadButton.downloadConfirmBlock, +richlistitem.download[selected]:hover .downloadButton.downloadCancel { -moz-image-region: rect(0px, 96px, 16px, 80px); } -richlistitem.download:hover[selected] > .downloadButton.downloadConfirmBlock:hover, -richlistitem.download:hover[selected] > .downloadButton.downloadCancel:hover { +richlistitem.download[selected]:hover .downloadButton.downloadConfirmBlock:hover, +richlistitem.download[selected]:hover .downloadButton.downloadCancel:hover { -moz-image-region: rect(0px, 112px, 16px, 96px); } -richlistitem.download:hover[selected] > .downloadButton.downloadConfirmBlock:active, -richlistitem.download:hover[selected] > .downloadButton.downloadCancel:active { +richlistitem.download[selected]:hover .downloadButton.downloadConfirmBlock:active, +richlistitem.download[selected]:hover .downloadButton.downloadCancel:active { -moz-image-region: rect(0px, 128px, 16px, 112px); } .downloadButton.downloadShow { -moz-image-region: rect(16px, 16px, 32px, 0px); } -richlistitem.download:hover > .downloadButton.downloadShow { +richlistitem.download:hover .downloadButton.downloadShow { -moz-image-region: rect(16px, 32px, 32px, 16px); } -richlistitem.download:hover > .downloadButton.downloadShow:hover { +richlistitem.download:hover .downloadButton.downloadShow:hover { -moz-image-region: rect(16px, 48px, 32px, 32px); } -richlistitem.download:hover > .downloadButton.downloadShow:active { +richlistitem.download:hover .downloadButton.downloadShow:active { -moz-image-region: rect(16px, 64px, 32px, 48px); } -richlistitem.download[selected] > .downloadButton.downloadShow { +richlistitem.download[selected] .downloadButton.downloadShow { -moz-image-region: rect(16px, 80px, 32px, 64px); } -richlistitem.download:hover[selected] > .downloadButton.downloadShow { +richlistitem.download[selected]:hover .downloadButton.downloadShow { -moz-image-region: rect(16px, 96px, 32px, 80px); } -richlistitem.download:hover[selected] > .downloadButton.downloadShow:hover { +richlistitem.download[selected]:hover .downloadButton.downloadShow:hover { -moz-image-region: rect(16px, 112px, 32px, 96px); } -richlistitem.download:hover[selected] > .downloadButton.downloadShow:active { +richlistitem.download[selected]:hover .downloadButton.downloadShow:active { -moz-image-region: rect(16px, 128px, 32px, 112px); } .downloadButton.downloadRetry { -moz-image-region: rect(32px, 16px, 48px, 0px); } -richlistitem.download:hover > .downloadButton.downloadRetry { +richlistitem.download:hover .downloadButton.downloadRetry { -moz-image-region: rect(32px, 32px, 48px, 16px); } -richlistitem.download:hover > .downloadButton.downloadRetry:hover { +richlistitem.download:hover .downloadButton.downloadRetry:hover { -moz-image-region: rect(32px, 48px, 48px, 32px); } -richlistitem.download:hover > .downloadButton.downloadRetry:active { +richlistitem.download:hover .downloadButton.downloadRetry:active { -moz-image-region: rect(32px, 64px, 48px, 48px); } -richlistitem.download[selected] > .downloadButton.downloadRetry { +richlistitem.download[selected] .downloadButton.downloadRetry { -moz-image-region: rect(32px, 80px, 48px, 64px); } -richlistitem.download:hover[selected] > .downloadButton.downloadRetry { +richlistitem.download[selected]:hover .downloadButton.downloadRetry { -moz-image-region: rect(32px, 96px, 48px, 80px); } -richlistitem.download:hover[selected] > .downloadButton.downloadRetry:hover { +richlistitem.download[selected]:hover .downloadButton.downloadRetry:hover { -moz-image-region: rect(32px, 112px, 48px, 96px); } -richlistitem.download:hover[selected] > .downloadButton.downloadRetry:active { +richlistitem.download[selected]:hover .downloadButton.downloadRetry:active { -moz-image-region: rect(32px, 128px, 48px, 112px); } - -- cgit v1.2.3