aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCardDeckView.scss
blob: d1731c244878bdad3c8f32509f6a6072ed1ed1a7 (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
@import '../global/globalCssVariables.module.scss';

.collectionCardView-outer {
    height: 100%;
    width: 100%;
    position: relative;
    background-color: white;
    overflow: hidden;

    button {
        border-radius: 50%;
    }
}

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    transform-origin: top left;

    position: absolute;
    align-items: center;
    justify-items: center;
    justify-content: center;

    transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.no-card-span {
    position: relative;
    width: fit-content;
    text-align: center;
    font-size: 65px;
}

.card-item-inactive,
.card-item-active,
.card-item {
    position: relative;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.card-item-inactive {
    opacity: 0.5;
}

.card-item-active {
    z-index: 100;
}