toolkit/themes/windows/global/colorpicker.css

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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   padding: 3px;
    20 }
    22 .colorpicker-button-colorbox {
    23   border: 1px solid #000000;
    24 }
    26 /* ::::: colorpicker tiles ::::: */
    28 .colorpickertile {
    29   width: 20px;
    30   height: 20px;
    31   margin: 1px;
    32   border-left: 1px solid ThreeDShadow;
    33   border-top: 1px solid ThreeDShadow;
    34   border-right: 1px solid ThreeDHighlight;
    35   border-bottom: 1px solid ThreeDHighlight;
    36 }
    38 .colorpickertile[selected="true"] {
    39   border: 2px outset #C0C0C0;
    40 }
    42 .colorpickertile[hover="true"] {
    43   border: 2px dotted #FFFFFF;
    44 }
    46 .cp-light[hover="true"] {
    47   border: 2px dotted #909090;
    48 }

mercurial