breakout71/src/level_editor/levels_editor.less
Renan LE CARO d31f8ef0b4 Help
2025-03-31 20:13:47 +02:00

56 lines
838 B
Text

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;
}
input[type="number"] {
width: 50px;
}
& > div {
display: grid;
grid-template-columns: auto auto;
grid-template-areas: "name credits" "buttons bricks";
.name {
grid-area: name;
width: 100px;
}
.credits {
grid-area: credits;
}
.buttons {
grid-area: buttons;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.level-bricks-preview {
grid-area: bricks;
}
}
}