aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCarousel3DView.scss
blob: d00a666f87641b9579ce75419aaf0a2490ac0b72 (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
.collectionCarouselView-outer {
    height: 100%;
    position: relative;
    background-color: white;
}

.carousel-wrapper {
    display: flex;
    position: absolute;
    top: 15%;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);

    .collectionCarouselView-item,
    .collectionCarouselView-item-active {
        flex: 1;
        transition: opacity 0.3s linear, transform 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
        pointer-events: none;
    }

    .collectionCarouselView-item-active {
        pointer-events: unset;
    }
}

.dot-bar {
    display: flex;
    position: absolute;
    justify-content: center;
    bottom: 5%;
    width: 100%;

    .dot,
    .dot-active {
        height: 15px;
        width: 15px;
        border-radius: 50%;
        margin: 3px;
        display: inline-block;
        background-color: lightgrey;
        cursor: pointer;
    }

    .dot-active {
        background-color: grey;
    }
}

.carouselView-back,
.carouselView-forward {
    cursor: pointer;
}