summaryrefslogtreecommitdiff
path: root/src-migrate/modules/product-card/styles
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2024-01-13 10:35:22 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2024-01-13 10:35:22 +0700
commitf62b2345f463695ef0f8f79830cd76b6e0332821 (patch)
treec06ff12a8312e3a02b0203f588db0f4da044c911 /src-migrate/modules/product-card/styles
parentee0b5893ac039ab05fe8247647364a923d707da3 (diff)
Refactor src migrate folder
Diffstat (limited to 'src-migrate/modules/product-card/styles')
-rw-r--r--src-migrate/modules/product-card/styles/product-card.module.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/src-migrate/modules/product-card/styles/product-card.module.css b/src-migrate/modules/product-card/styles/product-card.module.css
new file mode 100644
index 00000000..38b895f9
--- /dev/null
+++ b/src-migrate/modules/product-card/styles/product-card.module.css
@@ -0,0 +1,50 @@
+.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;
+}
+
+.price-inc,
+.sold {
+ @apply text-gray-600 text-[11px];
+}