feat: Changes to ui form and drag

- Use common styles
- Move NewDiv class to external script
- Align script for form and drag pages
This commit is contained in:
sthag 2025-05-15 20:00:51 +02:00
parent ad150fadf2
commit 8937b36a1e
5 changed files with 165 additions and 128 deletions

View file

@ -1,18 +1,18 @@
.body_drag {
height: 100vh;
// padding: $space_basic;
button {
@extend .io_button;
position: fixed;
top: 8px;
right: 8px;
margin: 0;
}
}
#space {
position: relative;
height: 100%;
background-color: $color-dark;
}
#addFrame {
@extend .io_button;
position: fixed;
top: 8px;
right: 8px;
margin: 0;
}

View file

@ -1,14 +1,18 @@
#form body {
.body_form {
margin: 0;
background-color: #808080;
background-color: $color-dark;
}
#head {
// display: flex;
}
h1 {
margin: 0;
button {
@extend .io_button;
}
h1 {
margin: 0;
}
}
#grid {
@ -16,6 +20,7 @@ h1 {
gap: 8px;
grid-template-columns: repeat(4, 1fr);
grid-auto-rows: minmax(64px, auto);
margin-inline: $space_small;
}
#grid>div {