breakout71/src/level_editor/levels_editor.less

54 lines
790 B
Text
Raw Normal View History

2025-03-13 09:31:22 +01:00
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"] {
2025-03-13 14:14:00 +01:00
width: 50px;
}
2025-03-13 09:31:22 +01:00
& > 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;
}
}
}