This commit is contained in:
Renan LE CARO 2025-03-13 09:31:22 +01:00
parent 722637f11f
commit 0759981a55
21 changed files with 3294 additions and 251 deletions

55
editor/editclient.less Normal file
View file

@ -0,0 +1,55 @@
body {
background: black;
color: white;
}
#palette {
position: fixed;
top: 0;
right: 0;
width: 80px;
bottom: 0;
overflow: auto;
button.active {
transform: scale(1.2);
}
}
#levels {
display: flex;
gap: 40px;
align-items: flex-start;
flex-wrap: wrap;
margin-right: 80px;
.level-bricks-preview {
position: relative;
}
& > div {
display: grid;
grid-template-columns: auto auto;
grid-template-areas: ". name" "buttons bricks";
& > *:nth-child(1) {
grid-area: name;
}
& > div:nth-child(2) {
grid-area: buttons;
display: flex;
flex-direction: column;
align-items: flex-end;
}
& > div:nth-child(3) {
grid-area: bricks;
}
}
}