]> _ Git - fluidbook-html5.git/commitdiff
wait #5276 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 May 2022 12:37:30 +0000 (14:37 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 11 May 2022 12:37:30 +0000 (14:37 +0200)
style/fluidbook.less

index 7d71268173192e638e43aed298d4d77ee483ee7b..0f392c2b028df8daeda346299eb35912cfab1fdf 100644 (file)
@@ -3065,9 +3065,31 @@ body > input {
   }
 }
 
+@rolloverDuration:250ms;
+
 [data-rollover="upanddown"] {
   &.animaterollover {
-    animation: enterupanddown 0.25s cubic-bezier(0.250, 0.460, 0.450, 0.940) 2 alternate forwards;
+    animation: enterupanddown @rolloverDuration cubic-bezier(0.250, 0.460, 0.450, 0.940) 2 alternate forwards;
+  }
+}
+
+[data-rollover="fadein"] {
+  transition: opacity @rolloverDuration;
+  opacity: 0;
+
+  &.animaterollover {
+    transition: opacity @rolloverDuration;
+    opacity: 1;
+  }
+}
+
+[data-rollover="fadeout"] {
+  transition: opacity @rolloverDuration;
+  opacity: 1;
+
+  &.animaterollover {
+    transition: opacity @rolloverDuration;
+    opacity: 0;
   }
 }