gecko-dev/browser/themes/shared/downloads/allDownloadsViewOverlay.inc.css
Paolo Amadini aee56ee331 Bug 1287384 - Fix icon and progress bar alignment in the Downloads Panel. r=jaws
MozReview-Commit-ID: 1Im2tA3CLr2

--HG--
extra : rebase_source : 21a7c3090466332643a9cf90901e1f187659d689
2016-08-22 13:01:40 +01:00

89 lines
1.8 KiB
CSS

/* 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/. */
%filter substitution
%define item richlistitem.download
%define itemFocused @item@[selected]
/*** View and outer controls ***/
#downloadsRichListBox {
/** The default listbox appearance comes with an unwanted margin. **/
-moz-appearance: none;
margin: 0;
}
/*** List items ***/
#downloadsRichListBox > richlistitem.download {
height: var(--downloads-item-height);
}
%ifdef XP_WIN
@media (-moz-os-version: windows-xp) {
%endif
#downloadsRichListBox > richlistitem.download {
padding: 5px 8px;
}
%ifdef XP_WIN
}
%endif
.downloadTypeIcon {
margin-top: 8px;
margin-inline-end: 12px;
margin-bottom: 8px;
margin-inline-start: 0;
width: 32px;
height: 32px;
}
%ifdef XP_WIN
@media not all and (-moz-os-version: windows-xp) {
.downloadTypeIcon {
margin-inline-start: 8px;
}
}
%endif
.downloadBlockedBadge {
margin: 0 4px;
background: url("chrome://browser/skin/downloads/download-blocked.svg") top right / 16px no-repeat;
}
.downloadBlockedBadge:-moz-locale-dir(rtl) {
background-position-x: left;
}
@item@[verdict="PotentiallyUnwanted"] .downloadBlockedBadge {
background-image: url("chrome://browser/skin/warning.svg");
}
@item@[verdict="Uncommon"] .downloadBlockedBadge {
background-image: url("chrome://browser/skin/info.svg");
}
.downloadTarget {
margin-bottom: 3px;
cursor: inherit;
}
.downloadDetails {
opacity: 0.7;
font-size: 95%;
cursor: inherit;
}
.downloadButton {
-moz-appearance: none;
background: transparent;
min-width: 0;
min-height: 0;
margin: 3px;
border: none;
padding: 5px;
list-style-image: url("chrome://browser/skin/downloads/buttons.png");
}