Selaa lähdekoodia

add rounded corners and transition

Konstantinos Kaloutas 2 vuotta sitten
vanhempi
sitoutus
ef7672de6a
1 muutettua tiedostoa jossa 8 lisäystä ja 4 poistoa
  1. 8 4
      src/main/frontend/components/container.css

+ 8 - 4
src/main/frontend/components/container.css

@@ -622,12 +622,16 @@ html[data-theme='dark'] {
     @apply relative;
     height: 8px;
 
+    &::after {
+      @apply absolute block w-full rounded;
+      top: 2px;
+      height: 4px;
+      content: " ";
+      transition: background-color 200ms;
+    }
+
     &.drag-over {
       &::after {
-        @apply absolute block w-full;
-        top: 2px;
-        height: 4px;
-        content: " ";
         background-color: var(--ls-active-primary-color);
       }
     }