enhance(ux): improvements for the blocks selection

This commit is contained in:
charlie
2024-07-25 14:06:20 +08:00
parent 04e7d2c17b
commit c2dfcb2898
6 changed files with 26 additions and 20 deletions

View File

@@ -27,18 +27,23 @@
}
.asset-container {
@apply relative inline-block mt-2 group;
@apply relative inline-block mt-2;
.asset-action-bar {
@apply top-0.5 right-0.5 absolute flex items-center
border bg-gray-02 rounded opacity-0 transition-opacity
group-hover:opacity-100 group-active:opacity-100;
border bg-gray-02 rounded opacity-0 transition-opacity;
}
.asset-action-btn {
@apply m-1 p-0.5 truncate flex items-center opacity-70 select-none
hover:opacity-90 active:opacity-60;
}
&:hover, &:active {
.asset-action-bar {
@apply opacity-100;
}
}
}
.resize {