-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
_fork.scss
58 lines (47 loc) · 937 Bytes
/
_fork.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$c-fork: $c-primary;
.analyse__fork {
@extend %flex-center;
flex: 0 0 auto;
@include mq-is-col1 {
display: none;
}
move {
@extend %san, %flex-center;
background: mix($c-fork, $c-bg-box, 25%);
color: $c-font-clear;
flex: 0 0 50%;
cursor: pointer;
padding: 0.2em 1em;
border-bottom: 1px solid $c-bg-box;
&:nth-child(odd) {
border-inline-end: 1px solid $c-bg-box;
}
&.correct {
background: mix($c-secondary, $c-bg-box, 25%);
}
&.wrong {
background: mix($c-bad, $c-bg-box, 25%);
}
}
move:hover,
&:not(:hover) move.selected {
background: $c-fork;
color: #fff;
&.correct {
background: $c-secondary;
}
&.wrong {
background: $c-bad;
}
}
glyph {
@extend %base-font;
margin-inline-start: 2px;
}
eval {
@extend %roboto;
flex: 3 0 auto;
text-align: right;
font-size: 0.9em;
}
}