Add inline image add/remove

This commit is contained in:
april
2024-01-15 16:59:02 -06:00
parent 924252b38f
commit 9eb5465bc3
6 changed files with 213 additions and 26 deletions

View File

@@ -0,0 +1,28 @@
.control {
&[data-inactive] {
opacity: 0;
cursor: default;
}
}
.controls {
transition: opacity 150ms ease;
opacity: 0;
}
.root {
&:hover {
.controls {
opacity: 1;
}
}
}
.indicator {
width: rem(12px);
height: rem(4px);
transition: width 250ms ease;
&[data-active] {
width: rem(40px);
}
}