diff options
Diffstat (limited to 'comm/mail/themes/windows/mail/downloads/aboutDownloads.css')
-rw-r--r-- | comm/mail/themes/windows/mail/downloads/aboutDownloads.css | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/comm/mail/themes/windows/mail/downloads/aboutDownloads.css b/comm/mail/themes/windows/mail/downloads/aboutDownloads.css new file mode 100644 index 0000000000..8351498da9 --- /dev/null +++ b/comm/mail/themes/windows/mail/downloads/aboutDownloads.css @@ -0,0 +1,47 @@ +/* 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/. */ + +@import url("chrome://messenger/skin/shared/aboutDownloads.css"); + +@media (-moz-windows-glass) { + #downloadTopBox:not(:-moz-lwtheme) { + --chrome-content-separator-color: #aabccf; + } +} + +@media (-moz-windows-default-theme) { + #downloadTopBox:not(:-moz-lwtheme) { + --chrome-content-separator-color: #c2c2c2; + } + + /* + -moz-default-appearance: menuitem is almost right, but the hover effect is + not transparent and is lighter than desired. + + Copied from the autocomplete richlistbox styling in + toolkit/themes/windows/global/autocomplete.css + + This styling should be kept in sync with the style from the above file. + */ + :root:not([lwt-tree]) #msgDownloadsRichListBox > .download[selected] { + color: inherit; + background-color: transparent; + /* four gradients for the bevel highlights on each edge, one for blue background */ + background-image: + linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, transparent 3px), + linear-gradient(to right, rgba(255,255,255,0.5) 3px, transparent 3px), + linear-gradient(to left, rgba(255,255,255,0.5) 3px, transparent 3px), + linear-gradient(to top, rgba(255,255,255,0.4) 3px, transparent 3px), + linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3)); + background-clip: content-box; + border-radius: 6px; + outline: 1px solid rgb(124,163,206); + outline-offset: -2px; + --in-content-button-text-color-hover: inherit; + } +} + +.downloadButton > .button-box > .button-icon { + list-style-image: url("chrome://global/skin/icons/folder.svg"); +} |