summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product/PromoCard.module.css
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-12-15 17:15:32 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-12-15 17:15:32 +0700
commitc9366090153e8aba3a673b2b77cbc8acc24e59a5 (patch)
tree9bad672e511d5585bb4be5b4e3190aca7c4a16af /src-migrate/modules/product/PromoCard.module.css
parenta5321d82f4b5e8404f575f1d62e92d0322d78db9 (diff)
Update promotion program feature
Diffstat (limited to 'src-migrate/modules/product/PromoCard.module.css')
-rw-r--r--src-migrate/modules/product/PromoCard.module.css62
1 files changed, 62 insertions, 0 deletions
diff --git a/src-migrate/modules/product/PromoCard.module.css b/src-migrate/modules/product/PromoCard.module.css
new file mode 100644
index 00000000..4d98671f
--- /dev/null
+++ b/src-migrate/modules/product/PromoCard.module.css
@@ -0,0 +1,62 @@
+.card {
+ @apply border border-gray_r-7
+ rounded-lg
+ min-w-[360px]
+ max-w-[360px]
+ py-3;
+}
+
+.countdownSection {
+ @apply w-fit p-2.5 pr-6
+ rounded-r-full
+ font-medium
+ flex items-center gap-x-2.5;
+}
+
+.countdown {
+ @apply flex gap-x-1;
+}
+
+.countdown span {
+ @apply py-0.5 w-8 bg-red-600 text-gray_r-4 rounded-md text-center;
+}
+
+.title {
+ @apply font-semibold text-h-md;
+}
+
+.productSection {
+ @apply flex gap-x-3 mt-4 min-h-[180px];
+}
+
+.priceSection {
+ @apply flex items-center justify-between mt-4;
+}
+
+.priceCol {
+ @apply flex flex-col gap-y-1;
+}
+
+.priceRow {
+ @apply flex gap-x-2 items-center;
+}
+
+.basePrice {
+ @apply line-through;
+}
+
+.savingAmt {
+ @apply text-success-600 font-medium;
+}
+
+.price {
+ @apply text-body-1 text-danger-600 font-medium;
+}
+
+.totalItems {
+ @apply text-gray_r-9;
+}
+
+.addToCartBtn {
+ @apply btn-yellow flex items-center gap-x-1 px-2 rounded-lg;
+}