resizer.css (1128B)
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: none; 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 } 15 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 } 20 21 resizer[dir="left"], 22 resizer[dir="bottomleft"], 23 resizer[dir="bottomstart"] { 24 transform: scaleX(-1); 25 } 26 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 } 32 33 resizer[dir="top"], 34 resizer[dir="bottom"] { 35 cursor: ns-resize; 36 } 37 38 resizer[dir="left"], 39 resizer[dir="right"] { 40 cursor: ew-resize; 41 } 42 43 resizer[dir="topleft"] { 44 cursor: nw-resize; 45 } 46 47 resizer[dir="topright"] { 48 cursor: ne-resize; 49 }