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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 %define WINDOWS_AERO
     6 %include allDownloadsViewOverlay.css
     7 %undef WINDOWS_AERO
     9 @media (-moz-windows-default-theme) {
    10   /*
    11   -moz-appearance: menuitem is almost right, but the hover effect is not
    12   transparent and is lighter than desired.
    14   Copied from the autocomplete richlistbox styling in
    15   toolkit/themes/windows/global/autocomplete.css
    17   This styling should be kept in sync with the style from the above file.
    18   */
    19   #downloadsRichListBox > richlistitem.download[selected] {
    20     color: inherit;
    21     background-color: transparent;
    22     /* four gradients for the bevel highlights on each edge, one for blue background */
    23     background-image:
    24       linear-gradient(to bottom, rgba(255,255,255,0.9) 3px, rgba(255,255,255,0) 3px),
    25       linear-gradient(to right, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px),
    26       linear-gradient(to left, rgba(255,255,255,0.5) 3px, rgba(255,255,255,0) 3px),
    27       linear-gradient(to top, rgba(255,255,255,0.4) 3px, rgba(255,255,255,0) 3px),
    28       linear-gradient(to bottom, rgba(163,196,247,0.3), rgba(122,180,246,0.3));
    29     background-clip: content-box;
    30     border-radius: 6px;
    31     outline: 1px solid rgb(124,163,206);
    32     -moz-outline-radius: 3px;
    33     outline-offset: -2px;
    34   }
    35 }

mercurial