Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 6 | |
michael@0 | 7 | resizer { |
michael@0 | 8 | -moz-appearance: resizer; |
michael@0 | 9 | background: url("chrome://global/skin/icons/resizer.png") no-repeat; |
michael@0 | 10 | background-size: 100% 100%; |
michael@0 | 11 | cursor: se-resize; |
michael@0 | 12 | width: 15px; |
michael@0 | 13 | height: 15px; |
michael@0 | 14 | } |
michael@0 | 15 | |
michael@0 | 16 | resizer[rtl="true"], |
michael@0 | 17 | resizer[dir="bottomend"]:-moz-locale-dir(rtl) { |
michael@0 | 18 | background: url("chrome://global/skin/icons/resizer-rtl.png") no-repeat; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | resizer[dir="left"], |
michael@0 | 22 | resizer[dir="bottomleft"], |
michael@0 | 23 | resizer[dir="bottomstart"] { |
michael@0 | 24 | transform: scaleX(-1); |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | resizer[dir="bottomleft"], |
michael@0 | 28 | resizer[dir="bottomstart"]:not([rtl="true"]):not(:-moz-locale-dir(rtl)), |
michael@0 | 29 | resizer[dir="bottomend"][rtl="true"] { |
michael@0 | 30 | cursor: sw-resize; |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | resizer[dir="top"], |
michael@0 | 34 | resizer[dir="bottom"] { |
michael@0 | 35 | cursor: ns-resize; |
michael@0 | 36 | } |
michael@0 | 37 | |
michael@0 | 38 | resizer[dir="left"], |
michael@0 | 39 | resizer[dir="right"] { |
michael@0 | 40 | cursor: ew-resize; |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | resizer[dir="topleft"] { |
michael@0 | 44 | cursor: nw-resize; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | resizer[dir="topright"] { |
michael@0 | 48 | cursor: ne-resize; |
michael@0 | 49 | } |