Merged PR 179: Fix bugs about flex and context menu (see desc) + disable hard rigid behavior + add missing properties to form + Clean up css

- Clean up some css class
- Fix wrong order when applying flex
- Fix Replace behavior not working because previous container was still existing
- Disable hard rigid behavior which disallow two container to overlap
- Add ENABLE_FLEX, ENABLE_HARD_RIGID ENABLE_SWAP
- Add missing form properties with dimensions
- Update readme
This commit is contained in:
Eric Nguyen 2022-09-08 10:29:44 +00:00
parent 353f461f4b
commit 443a15e150
16 changed files with 158 additions and 45 deletions

View file

@ -18,7 +18,6 @@
.elements-sidebar-row {
@apply pl-6 pr-6 pt-2 pb-2 w-full
}
.symbols-sidebar-row {
@apply elements-sidebar-row
}
@ -27,6 +26,10 @@
@apply transition-all w-full h-auto p-4 flex
}
.mainmenu-bg {
@apply bg-blue-100 h-full w-full
}
.mainmenu-btn {
@apply transition-all bg-blue-100 hover:bg-blue-200 text-blue-700 text-lg font-semibold p-8 rounded-lg
}
@ -42,7 +45,13 @@
}
.floating-btn {
@apply h-full w-full text-white align-middle items-center justify-center
@apply h-full w-full text-white align-middle
items-center justify-center
}
.bar {
@apply fixed z-20 flex flex-col top-0 left-0
h-full w-16 bg-slate-100
}
.bar-btn {
@ -64,10 +73,18 @@
text-gray-800 bg-slate-100
dark:text-white dark:bg-gray-800
text-xs font-bold
transition-all duration-100 scale-0 origin-left;
transition-all duration-100 scale-0 origin-left
}
.contextmenu-item {
@apply px-2 py-1 hover:bg-slate-300 text-left
}
.input-group {
@apply w-full
text-xs font-medium transition-all text-gray-800 mt-1 px-3 py-2
bg-white border-2 border-white rounded-lg placeholder-gray-800
focus:outline-none focus:border-blue-500 focus:ring-1 focus:ring-blue-500
disabled:bg-slate-300 disabled:text-gray-500 disabled:border-slate-300 disabled:shadow-none;
}
}