toolkit/themes/windows/global/spinbuttons.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     7 spinbuttons {
     8   -moz-appearance: spinner;
     9   cursor: default;
    10 }
    12 .spinbuttons-button {
    13   min-width: 13px;
    14   min-height: 11px;
    15   margin: 0 !important;
    16   border: 2px solid;
    17   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
    18   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    19   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    20   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
    21   background-color: ThreeDFace;
    22 }
    24 .spinbuttons-button > .button-box {
    25   border: 0;
    26 }
    28 .spinbuttons-button:hover:active
    29 {
    30   border: 2px solid;
    31   -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
    32   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
    33   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
    34   -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
    35 }
    37 .spinbuttons-button[disabled="true"] {
    38   border: 2px solid;
    39   -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow !important;
    40   -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow !important;
    41   -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow !important;
    42   -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow !important;
    43 }
    45 .spinbuttons-up {
    46   -moz-appearance: spinner-upbutton;
    47   background-image: url("chrome://global/skin/arrow/arrow-up.gif");
    48   background-position: center center;
    49   background-repeat: no-repeat;
    50 }
    52 .spinbuttons-up[disabled="true"] {
    53   background-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
    54 }
    56 .spinbuttons-down {
    57   -moz-appearance: spinner-downbutton;
    58   background-image: url("chrome://global/skin/arrow/arrow-dn.gif");
    59   background-position: center center;
    60   background-repeat: no-repeat;
    61 }
    63 .spinbuttons-down[disabled="true"] {
    64   background-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
    65 }

mercurial