toolkit/themes/osx/global/resizer.css

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:6b6856956462
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/. */
4
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6
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 }
23
24 resizer[type="window"] {
25 display: none;
26 }
27
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 }
39
40
41 resizer[dir="left"],
42 resizer[dir="bottomleft"],
43 resizer[dir="bottomstart"] {
44 transform: scaleX(-1);
45 }
46
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 }
52
53 resizer[dir="top"],
54 resizer[dir="bottom"] {
55 cursor: ns-resize;
56 }
57
58 resizer[dir="left"],
59 resizer[dir="right"] {
60 cursor: ew-resize;
61 }
62
63 resizer[dir="topleft"] {
64 cursor: nw-resize;
65 }
66
67 resizer[dir="topright"] {
68 cursor: ne-resize;
69 }

mercurial