aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarouselView.scss
blob: af617254a6e61e79b17e977567ecdd07a25dad5f (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
.collectionCarouselView-outer {
    height: 100%;
    position: relative;
    overflow: hidden;
    .collectionCarouselView-caption {
        height: 50;
        display: inline-block;
        width: 100%;
    }
    .collectionCarouselView-image {
        height: calc(100% - 50px);
        display: inline-block;
        width: 100%;
        user-select: none;
    }
    .message {
        justify-content: center;
        align-items: center;
        display: flex;
        height: 60%;
        z-index: -1;
        // margin: 15px;
    }
}

.collectionCarouselView-addFlashcards {
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.collectionCarouselView-recentlyMissed {
    color: red;
    z-index: 999;
    position: relative;
    left: 10px;
    top: 10px;
    pointer-events: none;
}
.carouselView-back,
.carouselView-fwd,
.carouselView-star,
.carouselView-remove,
.carouselView-check,
.carouselView-add {
    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;
    }
}
.carouselView-fwd {
    top: 42.5%;
    right: 20;
}
.carouselView-back {
    top: 42.5%;
    left: 20;
}
.carouselView-star {
    top: 0;
    left: 0;
}
.carouselView-add {
    position: absolute;
    bottom: 0;
    left: 0;
}
.carouselView-remove {
    top: 80%;
    left: 52%;
}
.carouselView-check {
    top: 80%;
    right: 52%;
}
.carouselView-quiz {
    position: relative;
    display: flex;
    height: 20px;
    align-items: center;
    margin: auto;
    &:hover {
        color: white;
    }
}

.carouselView-practice {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 20px;
    align-items: center;
    margin: auto;
    &:hover {
        color: white;
    }
}
.carouselView-starFilter {
    position: relative;
    display: flex;
    height: 20px;
    align-items: center;
    &:hover {
        color: white;
    }
}

.carouselView-practiceModes {
    width: 100%;
    height: 40px;
    display: flex;
    flex-direction: column;
}
.carouselView-menu {
    position: absolute;
    flex-direction: column;
    align-items: center;
    display: flex;
    top: 2px;
    left: 2px;
    width: 30;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.1);
}

.carouselView-back:hover,
.carouselView-fwd:hover {
    background: lightgray;
}