toolkit/themes/linux/global/alerts/alert.css

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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 /* ===== alert.css =====================================================
     6   == Styles specific to the alerts dialog.
     7   ======================================================================= */
     9 @import url("chrome://global/skin/");
    11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    13 .alertBox {
    14   border: 1px solid threedshadow;
    15   background-color: -moz-Dialog;
    16 }
    18 .alertImageBox {
    19   padding: 8px 0;
    20   width: 64px;
    21   background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6));
    22   -moz-border-end: 1px solid rgba(0,0,0,.1);
    23 }
    25 .alertTextBox {
    26   padding: 8px;
    27   -moz-padding-start: 16px;
    28   width: 255px;
    29 }
    31 .alertTextBox,
    32 .alertCloseBox {
    33   background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    34 }
    36 .alertTitle {
    37   font-weight: bold;
    38   font-size: 110%;
    39 }
    41 #alertImage {
    42   max-width: 48px;
    43   max-height: 48px;
    44   list-style-image: url(chrome://global/skin/alerts/notification-48.png);
    45 }
    47 #alertNotification[clickable="true"] {
    48   cursor: pointer;
    49 }
    51 label {
    52   cursor: inherit;
    53 }
    55 .alertText[clickable="true"] {
    56   color: -moz-nativehyperlinktext;
    57   text-decoration: underline;
    58 }
    60 .alertText[clickable="true"]:hover:active {
    61   color: -moz-activehyperlinktext;
    62 }
    64 .alertCloseButton {
    65   -moz-appearance: none;
    66   height: 16px;
    67   padding: 4px 2px;
    68   width: 16px;
    69 }
    71 .alertCloseButton > .toolbarbutton-text {
    72   display: none;
    73 }

mercurial