aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarouselView.scss
blob: 01b20d6d3788cf35ded72df96123a07f7bfdfdde (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
.collectionCarouselView-outer {
    height: 100%;
    .collectionCarouselView-caption {
        height: 50;
        display: inline-block;
        width: 100%;
    }
    .collectionCarouselView-image {
        height: calc(100% - 50px);
        display: inline-block;
        width: 100%;
        user-select: none;
    }
}
.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 {
    position: absolute;
    display: flex;
    top: 42.5%;
    width: 30;
    height: 15%;
    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 {
    right: 20;
}
.carouselView-back {
    left: 20;
}
.carouselView-star {
    top: 0;
    right: 20;
}
.carouselView-remove {
    top: 80%;
    left: 52%;
}
.carouselView-check {
    top: 80%;
    right: 52%;
}

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