toolkit/themes/osx/global/resizer.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 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   min-width: 15px;
    13   width: 15px;
    14   min-height: 15px;
    15   height: 15px;
    16 }
    17 @media (min-resolution: 2dppx) {
    18   resizer {
    19     background-image: url("chrome://global/skin/icons/resizer@2x.png");
    20     background-size: 100% 100%;
    21   }
    22 }
    24 resizer[type="window"] {
    25   display: none;
    26 }
    28 resizer[rtl="true"],
    29 resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
    30   background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
    31 }
    32 @media (min-resolution: 2dppx) {
    33   resizer[rtl="true"],
    34   resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
    35     background-image: url("chrome://global/skin/icons/resizer-rtl@2x.png");
    36     background-size: 100% 100%;
    37   }
    38 }
    41 resizer[dir="left"],
    42 resizer[dir="bottomleft"],
    43 resizer[dir="bottomstart"] {
    44   transform: scaleX(-1);
    45 }
    47 resizer[dir="bottomleft"],
    48 resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)),
    49 resizer[dir="bottomend"][rtl="true"] {
    50   cursor: sw-resize;
    51 }
    53 resizer[dir="top"],
    54 resizer[dir="bottom"] {
    55   cursor: ns-resize;
    56 }
    58 resizer[dir="left"],
    59 resizer[dir="right"] {
    60   cursor: ew-resize;
    61 }
    63 resizer[dir="topleft"] {
    64   cursor: nw-resize;
    65 }
    67 resizer[dir="topright"] {
    68   cursor: ne-resize;
    69 }

mercurial