toolkit/themes/windows/global/resizer.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 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     7 resizer {
     8   -moz-appearance: resizer;
     9   background: url("chrome://global/skin/icons/resizer.png") no-repeat;
    10   background-size: 100% 100%;
    11   cursor: se-resize;
    12   width: 15px;
    13   height: 15px;
    14 }
    16 resizer[rtl="true"],
    17 resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
    18   background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
    19 }
    21 resizer[dir="left"],
    22 resizer[dir="bottomleft"],
    23 resizer[dir="bottomstart"] {
    24   transform: scaleX(-1);
    25 }
    27 resizer[dir="bottomleft"],
    28 resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)),
    29 resizer[dir="bottomend"][rtl="true"] {
    30   cursor: sw-resize;
    31 }
    33 resizer[dir="top"],
    34 resizer[dir="bottom"] {
    35   cursor: ns-resize;
    36 }
    38 resizer[dir="left"],
    39 resizer[dir="right"] {
    40   cursor: ew-resize;
    41 }
    43 resizer[dir="topleft"] {
    44   cursor: nw-resize;
    45 }
    47 resizer[dir="topright"] {
    48   cursor: ne-resize;
    49 }

mercurial