mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
96 lines
1.3 KiB
SCSS
96 lines
1.3 KiB
SCSS
.training-box {
|
|
@extend %flex-column;
|
|
|
|
flex: 1.5 1 0px;
|
|
|
|
.feedback {
|
|
flex: 1 1 100%;
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
|
|
@include mq-is-col1 {
|
|
&.view,
|
|
&.win {
|
|
flex-flow: row;
|
|
}
|
|
}
|
|
|
|
.find,
|
|
.fail {
|
|
padding-top: 5px;
|
|
padding-bottom: 8px;
|
|
}
|
|
}
|
|
|
|
.progress {
|
|
margin-top: 5px;
|
|
opacity: 0.8;
|
|
width: 100%;
|
|
height: 4px;
|
|
background: $c-shade;
|
|
}
|
|
|
|
.progress div {
|
|
background: $c-good;
|
|
height: 4px;
|
|
transition: width 0.5s;
|
|
max-width: 100%;
|
|
}
|
|
|
|
.player {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 1em;
|
|
}
|
|
|
|
.no-square {
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-inline-end: 10px;
|
|
}
|
|
|
|
.is3d & div.no-square {
|
|
height: 82px;
|
|
}
|
|
|
|
piece {
|
|
position: inherit;
|
|
display: block;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
}
|
|
|
|
.icon {
|
|
display: block;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-inline-end: 10px;
|
|
font-size: 64px;
|
|
line-height: 64px;
|
|
text-align: center;
|
|
}
|
|
|
|
.instruction {
|
|
@extend %flex-column;
|
|
|
|
flex: 1;
|
|
}
|
|
|
|
.instruction > strong {
|
|
font-weight: normal;
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.choices {
|
|
@extend %flex-between;
|
|
|
|
line-height: 1.6em;
|
|
margin: 5px 0 -5px 0;
|
|
}
|
|
|
|
.choices a {
|
|
display: block;
|
|
}
|
|
}
|