complete sync of both themes with toolkit winstripe changes in Mozilla 16 cycle
[themes.git] / LCARStrek / global / popup.css
index 577e6e32bcf98b1843e5ea3467d34ca0fff34ecc..984f3da0891bc776abd92e0314b7e39fabc237e0 100644 (file)
@@ -21,7 +21,33 @@ panel {
 panel[type="arrow"] {
   background: transparent;
   border: none;
-  -moz-transition: opacity 300ms;
+  transition: opacity 300ms;
+}
+
+.panel-arrowcontainer[panelopen] {
+  transition-duration: 200ms, 150ms;
+  transition-property: opacity, transform;
+  transition-timing-function: ease-out;
+}
+
+.panel-arrowcontainer:not([panelopen]) {
+  opacity: 0;
+}
+
+.panel-arrowcontainer:not([panelopen])[side="top"] {
+  transform: translateY(-20px);
+}
+
+.panel-arrowcontainer:not([panelopen])[side="bottom"] {
+  transform: translateY(20px);
+}
+
+.panel-arrowcontainer:not([panelopen])[side="left"] {
+  transform: translateX(-20px);
+}
+
+.panel-arrowcontainer:not([panelopen])[side="right"] {
+  transform: translateX(20px);
 }
 
 panel[type="arrow"][side="top"],
@@ -58,7 +84,7 @@ panel[type="arrow"][side="right"] {
 }
 
 .panel-arrow[side="bottom"] {
-  -moz-transform: scaleY(-1);
+  transform: scaleY(-1);
   margin-top: -5px;
 }
 
@@ -75,7 +101,7 @@ panel[type="arrow"][side="right"] {
 }
 
 .panel-arrow[side="right"] {
-  -moz-transform: scaleX(-1);
+  transform: scaleX(-1);
   margin-left: -5px;
 }