From 3b19ddcd0051f094b4659a35107646d678c2fd0c Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 14 Mar 2023 17:18:16 +0700 Subject: product detail --- src/styles/globals.css | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'src/styles') diff --git a/src/styles/globals.css b/src/styles/globals.css index b482aa30..b9dfbe38 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -382,6 +382,37 @@ button { @apply !border-yellow_r-9; } +.table-specification { + @apply max-h-[500px] overflow-y-auto border border-gray_r-6; +} + +.table-specification > table { + @apply table-fixed + border-collapse + w-full; +} + +.table-specification > table > thead { + @apply sticky top-0 border-b; +} + +.table-specification > table > thead > tr { + @apply bg-gray_r-1/80 backdrop-blur-lg; +} + +.table-specification th { + @apply font-semibold; +} + +.table-specification th, +.table-specification td { + @apply py-4 px-2 text-center; +} + +.table-specification > table > tbody > tr { + @apply odd:bg-gray_r-3 even:bg-gray_r-1; +} + .category-mega-box-wrapper { @apply absolute opacity-0 @@ -407,6 +438,7 @@ button { py-2 border border-t-0 + bg-white border-gray_r-6 h-full w-full; @@ -469,4 +501,3 @@ button { duration-100 font-normal; } - -- cgit v1.2.3