Explorar o código

feat: add rotate animation to block-control arrow

Junyu Zhan %!s(int64=4) %!d(string=hai) anos
pai
achega
34d20feb90
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      src/main/frontend/components/block.css

+ 10 - 0
src/main/frontend/components/block.css

@@ -139,6 +139,16 @@
   }
 }
 
+.block-control {
+  .not-collapsed svg {
+    transform: rotate(90deg);
+  }
+
+  .arrow svg {
+    transition: all 100ms ease-in 0ms;
+  }
+}
+
 .block-control,
 .block-control:hover {
   text-decoration: none;