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