adapt both themes for minimal changes between SeaMonkey 2.3 and 2.4
[themes.git] / LCARStrek / global / resizer.css
index 955dfe38d0d74ad64a7a573a672c74e780921a46..d0878ee220a9b42eaf31d99410890f479a31a833 100644 (file)
@@ -1,7 +1,21 @@
 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
 
 resizer {
-  background-color: #000000;
+  -moz-appearance: resizer;
+  background: url("chrome://global/skin/icons/resizer.png") no-repeat;
+  cursor: se-resize;
+  width: 15px;
+  height: 15px;
+}
+
+resizer[rtl="true"],
+resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
+  -moz-transform: scaleX(-1);
+}
+
+resizer[dir="bottomleft"],
+resizer[dir="bottomend"][rtl="true"] {
+  cursor: sw-resize;
 }
 
 resizer[dir="top"],
@@ -18,24 +32,6 @@ resizer[dir="topleft"] {
   cursor: nw-resize;
 }
 
-resizer[dir="bottomright"],
-resizer[dir="bottomend"]:-moz-locale-dir(ltr) {
-  cursor: se-resize;
-}
-
 resizer[dir="topright"] {
   cursor: ne-resize;
 }
-
-resizer[dir="bottomleft"],
-resizer[dir="bottomend"]:-moz-locale-dir(rtl) {
-  cursor: sw-resize;
-}
-
-resizer[dir="bottomright"]:-moz-locale-dir(ltr),
-resizer[dir="bottomend"] {
-  background-image: url("chrome://global/skin/icons/resizer.png");
-  background-position: bottom right;
-  width: 15px;
-  height: 15px;
-}