aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionCardDeckView.scss
blob: 5869f89e16823f1d4c050b21a40fa3f9e050388d (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
@import '../global/globalCssVariables.module.scss';

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

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    // width: 100%;
    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);
}

// .card-button-container {
//     display: flex;
//     padding: 3px;
//     // width: 300px;
//     // height:100px;
//     pointer-events: none; /* This ensures the container does not capture hover events */

//     background-color: rgb(218, 218, 218); /* Background color of the container */
//     border-radius: 50px; /* Rounds the corners of the container */
//     transform: translateY(25px);
//     // box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Optional: Adds shadow for depth */
//     align-items: center; /* Centers buttons vertically */
//     justify-content: start; /* Centers buttons horizontally */

//     button {
//         pointer-events: auto; /* Re-enable pointer events for the buttons */
    
//         width: 70px;
//         height: 70px;
//         border-radius: 50%;
//         background-color: $dark-gray;
//         // border-color: $medium-blue;
//         margin: 5px; // transform: translateY(-50px);
//         background-color: transparent;
//     }
// }

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


}



// button:hover {
//     transform: translateY(-50px);
// }

// .card-wrapper::after {
//     content: "";
//     width: 100%; /* Forces wrapping */
// }

// .card-wrapper > .card-item:nth-child(10n)::after {
//     content: "";
//     width: 100%; /* Forces wrapping after every 10th item */
// }

// .card-row{
//     display: flex;
//     position: absolute;
//     align-items: center;
//     transition: transform 0.3s cubic-bezier(0.455, 0.03, 0.515, 0.955);

// }

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

// .card-item:hover {
//     box-shadow: 0 20px 20px $medium-blue;
//     transform: scale(1.05);
    

// }

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

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