summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/styles/voucher.module.css
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-02-17 10:23:23 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-02-17 10:23:23 +0700
commit8d8c43d90373aab6238773e291a48d65d55c52a2 (patch)
treecf7764337d3b79462ad4c8b53d85723e1d88618d /src-migrate/modules/promo/styles/voucher.module.css
parentebfaccbff6aba23cb6e999fc6155596bc4cbf1b5 (diff)
Add voucher section
Diffstat (limited to 'src-migrate/modules/promo/styles/voucher.module.css')
-rw-r--r--src-migrate/modules/promo/styles/voucher.module.css40
1 files changed, 40 insertions, 0 deletions
diff --git a/src-migrate/modules/promo/styles/voucher.module.css b/src-migrate/modules/promo/styles/voucher.module.css
index 22a3a0ac..24d3aac2 100644
--- a/src-migrate/modules/promo/styles/voucher.module.css
+++ b/src-migrate/modules/promo/styles/voucher.module.css
@@ -1,3 +1,43 @@
.title {
@apply text-h-sm md:text-h-lg font-semibold;
}
+
+.voucher-section {
+ @apply w-full;
+}
+
+.voucher-card {
+ @apply w-full h-full rounded-xl border border-gray-200 shadow-md p-4 flex gap-x-4;
+}
+
+.voucher-image {
+ @apply bg-gray-100 rounded-lg w-4/12 h-full object-contain object-center;
+}
+
+.voucher-content {
+ @apply flex-1 flex flex-col;
+}
+
+.voucher-title {
+ @apply font-medium text-body-1 leading-6 mb-1;
+}
+
+.voucher-desc {
+ @apply text-gray-800 line-clamp-2 text-caption-1;
+}
+
+.voucher-bottom {
+ @apply flex justify-between mt-auto;
+}
+
+.voucher-code-desc {
+ @apply text-gray-500 text-caption-1;
+}
+
+.voucher-code {
+ @apply text-red-700 font-medium;
+}
+
+.voucher-copy {
+ @apply bg-gray-200 hover:bg-danger-500 text-danger-500 hover:text-white transition-colors rounded-lg flex items-center justify-center px-6;
+}