toolkit/themes/linux/global/colorpicker.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 /* ===== colorpicker.css ================================================
     6   == Styles used by the XUL colorpicker element.
     7   ======================================================================= */
     9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    11 /* ::::: colorpicker button ::::: */
    13 /* colorpicker button */
    15 colorpicker[type="button"] {
    16   -moz-appearance: button;
    17   width: 38px;
    18   height: 24px;
    19 }
    21 .colorpicker-button-colorbox {
    22   border: 1px solid #000000;
    23 }
    25 /* ::::: colorpicker tiles ::::: */
    27 .colorpickertile {
    28   width: 20px;
    29   height: 20px;
    30   margin: 1px;
    31   border-left: 1px solid ThreeDShadow;
    32   border-top: 1px solid ThreeDShadow;
    33   border-right: 1px solid ThreeDHighlight;
    34   border-bottom: 1px solid ThreeDHighlight;
    35 }
    37 .colorpickertile[selected="true"] {
    38   border: 2px outset #C0C0C0;
    39 }
    41 .colorpickertile[hover="true"] {
    42   border: 2px dotted #FFFFFF;
    43 }
    45 .cp-light[hover="true"] {
    46   border: 2px dotted #909090;
    47 }

mercurial