mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
55 lines
1004 B
SCSS
55 lines
1004 B
SCSS
@import '../../../editor/css/spare';
|
|
@import '../../../editor/css/tools';
|
|
|
|
.board-editor-wrap {
|
|
min-height: 280px;
|
|
margin-bottom: 2em;
|
|
|
|
.spinner {
|
|
padding-top: 90px;
|
|
}
|
|
}
|
|
|
|
.board-editor {
|
|
@include prevent-select;
|
|
|
|
display: grid;
|
|
grid-template-columns: 280px 2vmin 210px;
|
|
grid-template-rows: min-content auto min-content;
|
|
grid-template-areas: '. . e-tools' 'spare-top . e-tools' 'e-board . e-tools' 'spare-bottom . e-tools' '. . e-tools';
|
|
|
|
@media (width <= 576px) {
|
|
grid-template-columns: 100%;
|
|
grid-template-rows: auto min-content;
|
|
grid-template-areas: 'spare-top' 'e-board' 'spare-bottom' 'e-tools';
|
|
}
|
|
|
|
.main-board {
|
|
grid-area: e-board;
|
|
}
|
|
|
|
cg-board {
|
|
cursor: inherit;
|
|
}
|
|
|
|
&__tools {
|
|
grid-area: e-tools;
|
|
}
|
|
|
|
.spare {
|
|
&-top {
|
|
margin-bottom: 1vh;
|
|
}
|
|
|
|
&-bottom {
|
|
grid-area: spare-bottom;
|
|
margin-top: 1vh;
|
|
}
|
|
}
|
|
|
|
.metadata {
|
|
background: $c-bg-zebra;
|
|
font-size: 0.9em;
|
|
}
|
|
}
|