aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarouselView.scss
blob: 4c999b6dd7174101e348749673af76db94b6d99b (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
.collectionCarouselView-outer {
    height: 100%;
    position: absolute;
    overflow: hidden;
    display: flex;
    transform-origin: top left;

    .collectionCarouselView-caption {
        height: 50px;
        display: inline-block;
        width: 100%;
        bottom: 0px;
        position: absolute;
    }
    .collectionCarouselView-image {
        height: calc(100% - 50px);
        display: inline-block;
        width: 100%;
        user-select: none;
        position: absolute;
        top: 0px;
        left: 0px;
    }
}
.collectionCarouselView-recentlyMissed {
    color: red;
    z-index: 999;
    position: relative;
    left: 10px;
    top: 10px;
    pointer-events: none;
}
.carouselView-back,
.carouselView-fwd {
    position: absolute;
    display: flex;
    width: 30px;
    height: 30px;
    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: calc(50% - 15px);
    right: 0px;
    transform-origin: right top;
}
.carouselView-back {
    top: calc(50% - 15px);
    left: 0px;
    transform-origin: top left;
}
.carouselView-back:hover,
.carouselView-fwd:hover {
    background: lightgray;
}