]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/sass/_animations.scss
Fixed model extending mis-use
[bookstack] / resources / assets / sass / _animations.scss
index f2434b482c0b384cb32ed112b132de34224590d6..afcf01cffb2a030591f583e4dcb13774c06b61ee 100644 (file)
@@ -2,7 +2,7 @@
 .anim.fadeIn {
   opacity: 0;
   animation-name: fadeIn;
-  animation-duration: 160ms;
+  animation-duration: 180ms;
   animation-timing-function: ease-in-out;
   animation-fill-mode: forwards;
 }
@@ -42,6 +42,9 @@
   animation-duration: 3s;
   animation-timing-function: ease-in-out;
   animation-fill-mode: forwards;
+  &.stopped {
+    animation-name: notificationStopped;
+  }
 }
 
 @keyframes notification {
     transform: translate3d(580px, 0, 0);
   }
 }
+@keyframes notificationStopped {
+  0% {
+    transform: translate3d(580px, 0, 0);
+  }
+  10% {
+    transform: translate3d(0, 0, 0);
+  }
+  100% {
+    transform: translate3d(0, 0, 0);
+  }
+}
 
 @keyframes menuIn {
   from {
     transform: translate3d(0, 0, 0);
   }
 }
+
+@keyframes pointer {
+  0% {
+      transform: translate3d(0, 20px, 0) scale3d(0, 0, 0);
+  }
+  100% {
+      transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
+  }
+}
+
+.anim.pointer {
+  transform-origin: 50% 100%;
+  animation-name: pointer;
+  animation-duration: 180ms;
+  animation-delay: 0s;
+  animation-timing-function: cubic-bezier(.62, .28, .23, .99);
+}
\ No newline at end of file