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 | /* |
michael@0 | 6 | * The default namespace for this file is XUL. Be sure to prefix rules that |
michael@0 | 7 | * are applicable to both XUL and HTML with '*|'. |
michael@0 | 8 | */ |
michael@0 | 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 10 | @namespace html url("http://www.w3.org/1999/xhtml"); |
michael@0 | 11 | |
michael@0 | 12 | /* Page background */ |
michael@0 | 13 | *|*:root { |
michael@0 | 14 | -moz-appearance: none; |
michael@0 | 15 | padding: 18px; |
michael@0 | 16 | background-color: Window; |
michael@0 | 17 | background-image: /* Texture */ |
michael@0 | 18 | url("chrome://global/skin/inContentUI/background-texture.png"); |
michael@0 | 19 | color: WindowText; |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | html|html { |
michael@0 | 23 | font: message-box; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | /* Content */ |
michael@0 | 27 | *|*.main-content { |
michael@0 | 28 | /* Needed to allow the radius to clip the inner content, see bug 595656 */ |
michael@0 | 29 | overflow: hidden; |
michael@0 | 30 | background-color: -moz-Field; |
michael@0 | 31 | color: -moz-FieldText; |
michael@0 | 32 | border: 1px solid ThreeDShadow; |
michael@0 | 33 | border-radius: 5px; |
michael@0 | 34 | } |