Tue, 06 Jan 2015 21:39:09 +0100
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 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 6 | |
michael@0 | 7 | notification { |
michael@0 | 8 | background-color: InfoBackground; |
michael@0 | 9 | color: InfoText; |
michael@0 | 10 | text-shadow: none; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | notification[type="info"] { |
michael@0 | 14 | background-color: -moz-Dialog; |
michael@0 | 15 | color: -moz-DialogText; |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | notification[type="critical"] { |
michael@0 | 19 | background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0)); |
michael@0 | 20 | color: white; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | .notification-inner { |
michael@0 | 24 | padding-top: 1px; |
michael@0 | 25 | padding-bottom: 1px; |
michael@0 | 26 | } |
michael@0 | 27 | |
michael@0 | 28 | .messageText { |
michael@0 | 29 | margin-top: 0 !important; |
michael@0 | 30 | margin-bottom: 0 !important; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | .messageImage { |
michael@0 | 34 | width: 16px; |
michael@0 | 35 | height: 16px; |
michael@0 | 36 | -moz-margin-start: 6px; |
michael@0 | 37 | -moz-margin-end: 1px; |
michael@0 | 38 | } |
michael@0 | 39 | |
michael@0 | 40 | /* Default icons for notifications */ |
michael@0 | 41 | |
michael@0 | 42 | .messageImage[type="info"] { |
michael@0 | 43 | list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); |
michael@0 | 44 | } |
michael@0 | 45 | |
michael@0 | 46 | .messageImage[type="warning"] { |
michael@0 | 47 | list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | .messageImage[type="critical"] { |
michael@0 | 51 | list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); |
michael@0 | 52 | } |
michael@0 | 53 | |
michael@0 | 54 | .messageCloseButton { |
michael@0 | 55 | padding-left: 11px; |
michael@0 | 56 | padding-right: 11px; |
michael@0 | 57 | } |
michael@0 | 58 | |
michael@0 | 59 | /* Popup notification */ |
michael@0 | 60 | |
michael@0 | 61 | .popup-notification-description { |
michael@0 | 62 | max-width: 24em; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | .popup-notification-learnmore-link { |
michael@0 | 66 | margin-top: 1em !important; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | .popup-notification-learnmore-link:not([href]) { |
michael@0 | 70 | display: none; |
michael@0 | 71 | } |
michael@0 | 72 | |
michael@0 | 73 | .popup-notification-button-container { |
michael@0 | 74 | margin-top: 17px; |
michael@0 | 75 | } |