feat(asset): animate asset detail drawer
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user