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

78 lines
1.2 KiB
SCSS

$c-fork: $c-primary;
.analyse__fork {
@extend %flex-center;
flex: 0 0 auto;
move {
@include prevent-select;
@extend %san, %flex-center;
background: $m-primary_bg--mix-25;
color: $c-font-clear;
flex: 0 0 50%;
cursor: pointer;
padding: 0.2em 1em;
border-bottom: 1px solid $c-bg-box;
-webkit-touch-callout: none;
&:nth-child(odd) {
border-inline-end: 1px solid $c-bg-box;
}
&.correct {
background: $m-secondary_bg--mix-25;
}
&.wrong {
background: $m-bad_bg--mix-25;
}
}
@include mq-is-col1 {
move {
justify-content: center;
padding-block: 0.5em;
font-size: 1.5em;
border: 1px solid $c-bg-box;
flex: 1 1 auto;
index,
eval {
display: none;
}
}
}
glyph {
@extend %base-font;
margin-inline-start: 2px;
}
eval {
@extend %roboto;
flex: 3 0 auto;
text-align: right;
font-size: 0.9em;
}
@media (hover: hover) {
move:hover,
&:not(:hover) move.selected {
background: $c-fork;
color: #fff;
&.correct {
background: $c-secondary;
}
&.wrong {
background: $c-bad;
}
}
}
}