Files
lila/ui/analyse/css/study/_chapters.scss
T
2026-03-05 14:06:05 +01:00

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;
}
}
}