aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarouselView.scss
blob: 130b3132535cb4addd4e694d5fe8e1c39a5573cc (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
.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;
    }
}
.carouselView-back,
.carouselView-fwd {
    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-back:hover,
.carouselView-fwd:hover {
    background: lightgray;
}