toolkit/themes/osx/global/resizer.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/osx/global/resizer.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,69 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     1.9 +
    1.10 +resizer {
    1.11 +  -moz-appearance: resizer;
    1.12 +  background: url("chrome://global/skin/icons/resizer.png") no-repeat;
    1.13 +  background-size: 100% 100%;
    1.14 +  cursor: se-resize;
    1.15 +  min-width: 15px;
    1.16 +  width: 15px;
    1.17 +  min-height: 15px;
    1.18 +  height: 15px;
    1.19 +}
    1.20 +@media (min-resolution: 2dppx) {
    1.21 +  resizer {
    1.22 +    background-image: url("chrome://global/skin/icons/resizer@2x.png");
    1.23 +    background-size: 100% 100%;
    1.24 +  }
    1.25 +}
    1.26 +
    1.27 +resizer[type="window"] {
    1.28 +  display: none;
    1.29 +}
    1.30 +
    1.31 +resizer[rtl="true"],
    1.32 +resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
    1.33 +  background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat;
    1.34 +}
    1.35 +@media (min-resolution: 2dppx) {
    1.36 +  resizer[rtl="true"],
    1.37 +  resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
    1.38 +    background-image: url("chrome://global/skin/icons/resizer-rtl@2x.png");
    1.39 +    background-size: 100% 100%;
    1.40 +  }
    1.41 +}
    1.42 +
    1.43 +
    1.44 +resizer[dir="left"],
    1.45 +resizer[dir="bottomleft"],
    1.46 +resizer[dir="bottomstart"] {
    1.47 +  transform: scaleX(-1);
    1.48 +}
    1.49 +
    1.50 +resizer[dir="bottomleft"],
    1.51 +resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)),
    1.52 +resizer[dir="bottomend"][rtl="true"] {
    1.53 +  cursor: sw-resize;
    1.54 +}
    1.55 +
    1.56 +resizer[dir="top"],
    1.57 +resizer[dir="bottom"] {
    1.58 +  cursor: ns-resize;
    1.59 +}
    1.60 +
    1.61 +resizer[dir="left"],
    1.62 +resizer[dir="right"] {
    1.63 +  cursor: ew-resize;
    1.64 +}
    1.65 +
    1.66 +resizer[dir="topleft"] {
    1.67 +  cursor: nw-resize;
    1.68 +}
    1.69 +
    1.70 +resizer[dir="topright"] {
    1.71 +  cursor: ne-resize;
    1.72 +}

mercurial