mirror of
https://github.com/lichess-org/lila.git
synced 2026-05-26 13:51:00 +00:00
56 lines
881 B
SCSS
56 lines
881 B
SCSS
$span-width: 1.7em;
|
|
|
|
.study__chapters {
|
|
@extend %study-list, %study-list-ongoing;
|
|
|
|
h3 {
|
|
@extend %break-word;
|
|
|
|
flex: 1 1 100%;
|
|
font-size: 1em;
|
|
line-height: 1;
|
|
margin: 0.5em 0;
|
|
align-self: center;
|
|
unicode-bidi: plaintext;
|
|
}
|
|
|
|
.study-list > button,
|
|
> button {
|
|
width: 100%;
|
|
|
|
&.active,
|
|
&:active {
|
|
opacity: 1;
|
|
color: $c-primary;
|
|
}
|
|
|
|
> span {
|
|
@extend %flex-center-center;
|
|
|
|
flex: 0 0 $span-width;
|
|
color: $c-link;
|
|
font-weight: bold;
|
|
height: auto;
|
|
margin-inline-end: 0.4em;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
res {
|
|
@extend %flex-center;
|
|
|
|
align-self: center;
|
|
font-size: 0.9em;
|
|
white-space: nowrap;
|
|
margin-inline-end: 0.7rem;
|
|
}
|
|
}
|
|
|
|
.sortable-ghost {
|
|
&,
|
|
span {
|
|
background: $c-secondary !important;
|
|
color: $c-over !important;
|
|
}
|
|
}
|
|
}
|