feat(asset): animate asset detail drawer

This commit is contained in:
2026-10-06 02:39:03 +09:00
parent b576dd1a38
commit d18e801e08
5 changed files with 266 additions and 13 deletions
+13
View File
@@ -683,11 +683,21 @@
max-height: 100dvh;
border-radius: 14px 0 0 14px;
overflow: auto;
will-change: transform;
}
.am-drawer.am-closing {
pointer-events: none;
}
.am-dialog::backdrop,
.am-drawer::backdrop {
background: #0004;
}
.am-drawer::backdrop {
transition: background-color 220ms ease;
}
.am-drawer.am-closing::backdrop {
background: #0000;
}
body:has(dialog[open]) {
overflow: hidden;
}
@@ -1352,4 +1362,7 @@ body:has(dialog[open]) {
.am-kpi {
transition: none;
}
.am-drawer::backdrop {
transition: none;
}
}