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

mercurial