browser/themes/windows/downloads/allDownloadsViewOverlay-aero.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/windows/downloads/allDownloadsViewOverlay-aero.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +%define WINDOWS_AERO
     1.9 +%include allDownloadsViewOverlay.css
    1.10 +%undef WINDOWS_AERO
    1.11 +
    1.12 +@media (-moz-windows-default-theme) {
    1.13 +  /*
    1.14 +  -moz-appearance: menuitem is almost right, but the hover effect is not
    1.15 +  transparent and is lighter than desired.
    1.16 +
    1.17 +  Copied from the autocomplete richlistbox styling in
    1.18 +  toolkit/themes/windows/global/autocomplete.css
    1.19 +
    1.20 +  This styling should be kept in sync with the style from the above file.
    1.21 +  */
    1.22 +  #downloadsRichListBox > richlistitem.download[selected] {
    1.23 +    color: inherit;
    1.24 +    background-color: transparent;
    1.25 +    /* four gradients for the bevel highlights on each edge, one for blue background */
    1.26 +    background-image:
    1.27 +      linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, rgba(255,255,255,0) 3px),
    1.28 +      linear-gradient(to right, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px),
    1.29 +      linear-gradient(to left, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px),
    1.30 +      linear-gradient(to top, rgba(255,255,255,0.4) 3px, rgba(255,255,255,0) 3px),
    1.31 +      linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3));
    1.32 +    background-clip: content-box;
    1.33 +    border-radius: 6px;
    1.34 +    outline: 1px solid rgb(124,163,206);
    1.35 +    -moz-outline-radius: 3px;
    1.36 +    outline-offset: -2px;
    1.37 +  }
    1.38 +}

mercurial