toolkit/themes/windows/global/progressmeter.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 /* ===== progressmeter.css ==============================================
     6   == Styles used by the XUL progressmeter element.
     7   ======================================================================= */
     9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    11 /* ::::: progressmeter ::::: */
    13 progressmeter {
    14   -moz-appearance: progressbar;
    15   margin: 2px 4px;
    16   border: 2px solid;
    17   -moz-border-top-colors: ThreeDShadow -moz-Dialog;
    18   -moz-border-right-colors: ThreeDHighlight -moz-Dialog;
    19   -moz-border-bottom-colors: ThreeDHighlight -moz-Dialog;
    20   -moz-border-left-colors: ThreeDShadow -moz-Dialog;
    21   background-color: -moz-Dialog;
    22   min-width: 128px;
    23   min-height: 15px;
    24 }
    26 .progress-bar 
    27 {
    28   -moz-appearance: progresschunk;
    29   min-width: 0px;
    30   background-color: ThreeDShadow;
    31 }
    33 /* ::::: statusbar progressmeter ::::: */
    35 .progressmeter-statusbar {
    36   margin: 0;
    37   border: 0px;
    38   -moz-border-top-colors: ThreeDHighlight -moz-Dialog;
    39   -moz-border-right-colors: ThreeDShadow -moz-Dialog;
    40   -moz-border-bottom-colors: ThreeDShadow -moz-Dialog;
    41   -moz-border-left-colors: ThreeDHighlight -moz-Dialog;
    42   min-width: 96px;
    43 }

mercurial