diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-14 17:18:16 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-03-14 17:18:16 +0700 |
| commit | 3b19ddcd0051f094b4659a35107646d678c2fd0c (patch) | |
| tree | b1a431e1fdab08414e81c898a2d0d69fce992d5e /src/styles | |
| parent | a69ae4d893300ca9a22b65393f8beecf94c223a5 (diff) | |
product detail
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/globals.css | 33 |
1 files changed, 32 insertions, 1 deletions
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; } - |
