aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/FlashcardPracticeUI.scss
blob: 210c6798f578863202a3547ea50ddbc21a174e4c (plain)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.FlashcardPracticeUI {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.FlashcardPracticeUI-remove,
.FlashcardPracticeUI-check {
    position: absolute;
    display: flex;
    width: 30;
    height: 30;
    align-items: center;
    border-radius: 5px;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.1);
    &:hover {
        color: white;
    }
}
.FlashcardPracticeUI-practice {
    position: absolute;
    width: 100%;
    pointer-events: none;
    .FlashcardPracticeUI-remove {
        left: 52%;
        pointer-events: all;
    }
    .FlashcardPracticeUI-check {
        right: 52%;
        pointer-events: all;
    }
}
.FlashcardPracticeUI-menu {
    position: absolute;
    flex-direction: column;
    align-items: center;
    display: flex;
    top: 0px;
    left: 0px;
    width: 30;
    transform-origin: top left;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: all;
    background: rgba(0, 0, 0, 0.1);
    .FlashcardPracticeUI-practiceModes {
        width: 100%;
        display: flex;
        flex-direction: column;
        top: 0;
        position: relative;
        .FlashcardPracticeUI-quiz,
        .FlashcardPracticeUI-practice {
            position: relative;
            display: flex;
            height: 20px;
            align-items: center;
            margin: auto;
            padding: 3px;
            &:hover {
                color: white;
            }
            & > svg {
                height: 100%;
                width: 100%;
            }
        }
    }
}
.FlashcardPracticeUI-message {
    z-index: 100;
    position: relative;
    margin: auto;
    align-content: center;
    width: max-content;
}