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.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 /* ===== alert.css =====================================================
michael@0 6 == Styles specific to the alerts dialog.
michael@0 7 ======================================================================= */
michael@0 8
michael@0 9 @import url("chrome://global/skin/");
michael@0 10
michael@0 11 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 12
michael@0 13 .alertBox {
michael@0 14 border: 1px solid threedshadow;
michael@0 15 background-color: -moz-Dialog;
michael@0 16 }
michael@0 17
michael@0 18 .alertImageBox {
michael@0 19 padding: 8px 0;
michael@0 20 width: 64px;
michael@0 21 background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6));
michael@0 22 -moz-border-end: 1px solid rgba(0,0,0,.1);
michael@0 23 }
michael@0 24
michael@0 25 .alertTextBox {
michael@0 26 padding: 8px;
michael@0 27 -moz-padding-start: 16px;
michael@0 28 width: 255px;
michael@0 29 }
michael@0 30
michael@0 31 .alertTextBox,
michael@0 32 .alertCloseBox {
michael@0 33 background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1));
michael@0 34 }
michael@0 35
michael@0 36 .alertTitle {
michael@0 37 font-weight: bold;
michael@0 38 font-size: 110%;
michael@0 39 }
michael@0 40
michael@0 41 #alertImage {
michael@0 42 max-width: 48px;
michael@0 43 max-height: 48px;
michael@0 44 list-style-image: url(chrome://global/skin/alerts/notification-48.png);
michael@0 45 }
michael@0 46
michael@0 47 #alertNotification[clickable="true"] {
michael@0 48 cursor: pointer;
michael@0 49 }
michael@0 50
michael@0 51 label {
michael@0 52 cursor: inherit;
michael@0 53 }
michael@0 54
michael@0 55 .alertText[clickable="true"] {
michael@0 56 color: -moz-nativehyperlinktext;
michael@0 57 text-decoration: underline;
michael@0 58 }
michael@0 59
michael@0 60 .alertText[clickable="true"]:hover:active {
michael@0 61 color: -moz-activehyperlinktext;
michael@0 62 }
michael@0 63
michael@0 64 .alertCloseButton {
michael@0 65 -moz-appearance: none;
michael@0 66 height: 16px;
michael@0 67 padding: 4px 2px;
michael@0 68 width: 16px;
michael@0 69 }
michael@0 70
michael@0 71 .alertCloseButton > .toolbarbutton-text {
michael@0 72 display: none;
michael@0 73 }

mercurial