]> BookStack Code Mirror - bookstack/blobdiff - resources/sass/_animations.scss
Tests: Updated comment test to account for new editor usage
[bookstack] / resources / sass / _animations.scss
index eb9f4e767a4e9cf604287c411b8cee55299b4faa..ccbe36161b67c0a4d0781b16283fc6d50f0f94ca 100644 (file)
@@ -2,7 +2,7 @@
 .anim.fadeIn {
   opacity: 0;
   animation-name: fadeIn;
-  animation-duration: 180ms;
+  animation-duration: 120ms;
   animation-timing-function: ease-in-out;
   animation-fill-mode: forwards;
 }
   animation-duration: 180ms;
   animation-delay: 0s;
   animation-timing-function: cubic-bezier(.62, .28, .23, .99);
+}
+
+@keyframes highlight {
+  0% {
+    background-color: var(--color-primary-light);
+  }
+  33% {
+    background-color: transparent;
+  }
+  66% {
+    background-color: var(--color-primary-light);
+  }
+  100% {
+    background-color: transparent;
+  }
+}
+
+.anim-highlight {
+  animation-name: highlight;
+  animation-duration: 2s;
+  animation-delay: 0s;
+  animation-timing-function: linear;
 }
\ No newline at end of file