summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-card/styles/product-card.module.css
blob: 653bf2cab6c42758d5eb07ebd2910733cab78b49 (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
.wrapper {
    @apply w-full flex;
}
.wrapper-v {
    @apply flex-col border border-gray-300 rounded-md h-[350px];
}
.wrapper-h {
    @apply flex-row gap-x-2 pt-4;
}

.image-v {
    @apply w-full h-48 px-4 border-b border-gray-300;
}
.image-h {
    @apply w-4/12 h-24 px-1;
}

.content-v {
    @apply w-full p-2;
}
.content-h {
    @apply w-8/12;
}

.brand {
    @apply text-danger-500 font-medium block;
}

.name {
    @apply text-gray-700 font-medium line-clamp-3;
}
.name-v {
    @apply min-h-[64px];
}
.name-h {
    @apply min-h-[32px];
}

.price {
    @apply text-danger-500 font-medium;
}

.ready-stock {
    @apply bg-danger-500 text-white text-[11px] px-2 py-1 rounded-md whitespace-nowrap;
}

.price-inc,
.sold {
    @apply text-gray-600 text-[11px];
}

.variant-badge {
    @apply bg-gray-500/20 backdrop-blur-md absolute rounded-md bottom-2 left-2 px-2 py-1 text-caption-2;
}