daisyui
Version:
daisyUI 5 - The Tailwind CSS Component Library
1 lines • 2.75 kB
JavaScript
export default {"@layer daisyui.l1.l2.l3":{".table":{"font-size":"0.875rem","position":"relative","width":"100%","border-collapse":"separate","--tw-border-spacing-x":"0px","--tw-border-spacing-y":"0px","border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)","border-radius":"var(--radius-box)","text-align":"left"},".table:where(:dir(rtl), [dir=\"rtl\"], [dir=\"rtl\"] *)":{"text-align":"right"},"@media (hover: hover)":{":is(:is(.table tr.row-hover), .table tr.row-hover:nth-child(even)):hover":{"background-color":"var(--color-base-200)"}},".table :where(th, td)":{"padding-inline":"calc(0.25rem * 4)","padding-block":"calc(0.25rem * 3)","vertical-align":"middle"},".table :where(thead, tfoot)":{"white-space":"nowrap","color":"color-mix(in oklab, var(--color-base-content) 60%, transparent)","font-size":"0.875rem","font-weight":600},".table :where(tfoot tr:first-child :is(td, th))":{"border-top":"var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000)"},".table :where(.table-pin-rows thead)":{"position":"sticky","top":"0px","z-index":1},".table :where(.table-pin-rows tfoot)":{"position":"sticky","bottom":"0px","z-index":1},".table :where(.table-pin-rows :is(thead, tfoot) tr)":{"background-color":"var(--color-base-100)"},".table :where(.table-pin-cols tr th)":{"position":"sticky","right":"0px","left":"0px","background-color":"var(--color-base-100)"},".table :where(thead tr :is(td, th), tbody tr:not(:last-child) :is(td, th))":{"border-bottom":"var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000)"}},"@layer daisyui.l1.l2":{".table-zebra tbody tr:where(:nth-child(even))":{"background-color":"var(--color-base-200)",":where(.table-pin-cols tr th)":{"background-color":"var(--color-base-200)"}},"@media (hover: hover)":{":is(:is(.table-zebra tbody tr.row-hover), .table-zebra tbody tr.row-hover:where(:nth-child(even))):hover":{"background-color":"var(--color-base-300)"}},".table-xs :not(thead, tfoot) tr":{"font-size":"0.6875rem"},".table-xs :where(th, td)":{"padding-inline":"calc(0.25rem * 2)","padding-block":"0.25rem"},".table-sm :not(thead, tfoot) tr":{"font-size":"0.75rem"},".table-sm :where(th, td)":{"padding-inline":"calc(0.25rem * 3)","padding-block":"calc(0.25rem * 2)"},".table-md :not(thead, tfoot) tr":{"font-size":"0.875rem"},".table-md :where(th, td)":{"padding-inline":"calc(0.25rem * 4)","padding-block":"calc(0.25rem * 3)"},".table-lg :not(thead, tfoot) tr":{"font-size":"1.125rem"},".table-lg :where(th, td)":{"padding-inline":"calc(0.25rem * 5)","padding-block":"calc(0.25rem * 4)"},".table-xl :not(thead, tfoot) tr":{"font-size":"1.375rem"},".table-xl :where(th, td)":{"padding-inline":"calc(0.25rem * 6)","padding-block":"calc(0.25rem * 5)"}}};