toolkit/themes/windows/global/scrollbox.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 /*
     8  * Scroll arrows
     9  */
    11 /* Horizontal enabled */
    12 .autorepeatbutton-up[orient="horizontal"],
    13 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"],
    14 .scrollbutton-up[orient="horizontal"],
    15 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"] {
    16   list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
    17   -moz-image-region: auto; /* cut off inheritance */
    18 }
    20 .autorepeatbutton-down[orient="horizontal"],
    21 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"],
    22 .scrollbutton-down[orient="horizontal"],
    23 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"] {
    24   list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
    25   -moz-image-region: auto; /* cut off inheritance */
    26 }
    28  /* Horizontal disabled */
    29 .autorepeatbutton-up[orient="horizontal"][disabled="true"],
    30 .autorepeatbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
    31 .scrollbutton-up[orient="horizontal"][disabled="true"],
    32 .scrollbutton-down:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
    33   list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
    34   -moz-image-region: auto; /* cut off inheritance */
    35 }
    37 .autorepeatbutton-down[orient="horizontal"][disabled="true"],
    38 .autorepeatbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"],
    39 .scrollbutton-down[orient="horizontal"][disabled="true"],
    40 .scrollbutton-up:-moz-locale-dir(rtl)[orient="horizontal"][disabled="true"] {
    41   list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
    42   -moz-image-region: auto; /* cut off inheritance */
    43 }
    45 /* Vertical enabled */
    46 .autorepeatbutton-up,
    47 .scrollbutton-up {
    48   list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
    49   -moz-image-region: auto; /* cut off inheritance */
    50 }
    52 .autorepeatbutton-down,
    53 .scrollbutton-down {
    54   list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
    55   -moz-image-region: auto; /* cut off inheritance */
    56 }
    58 /* Vertical disabled */
    59 .autorepeatbutton-up[disabled="true"],
    60 .scrollbutton-up[disabled="true"] {
    61   list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
    62   -moz-image-region: auto; /* cut off inheritance */
    63 }
    65 .autorepeatbutton-down[disabled="true"],
    66 .scrollbutton-down[disabled="true"] {
    67   list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
    68   -moz-image-region: auto; /* cut off inheritance */
    69 }
    71 .scrollbutton-up > .toolbarbutton-text,
    72 .scrollbutton-down > .toolbarbutton-text {
    73   display: none;
    74 }
    76 autorepeatbutton,
    77 .scrollbutton-up,
    78 .scrollbutton-down {
    79   -moz-box-align: center;
    80   -moz-box-pack: center;
    81   margin-top: 1px;
    82   margin-bottom: 2px;
    83   -moz-margin-start: 1px;
    84   -moz-margin-end: 2px;
    85 }
    87 autorepeatbutton {
    88   border: 1px solid transparent;
    89   padding: 1px;
    90 }
    92 autorepeatbutton:not([disabled="true"]):hover,
    93 autorepeatbutton:not([disabled="true"]):hover:active {
    94   margin: 1px;
    95   border: 1px inset ThreeDFace;
    96   padding-top: 2px;
    97   padding-bottom: 1px;
    98   -moz-padding-start: 2px;
    99   -moz-padding-end: 1px;
   100 }

mercurial