Skip to content

CSS: table.cell

td — یک سلول داده (InstUI Table.Cell).

مدیفایر -layout-stacked والد table، این عضو را به‌صورت یک بلوک چینش می‌کند و آن را از طریق ::before برچسب‌گذاری می‌کند — برای آن مدیفایر، سند خودِ table را ببینید.

نحوه استفاده

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/table.cell.css";

نیمه‌عناصر (Pseudo-elements)

نیمه‌عنصرتوضیحات
::before

توکن‌های مصرف‌شده

Tokenنوعمقدار
--instui-component-table-cell-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-cell-line-height<percentage>125%
--instui-component-table-cell-padding-horizontal<length>0.75rem
--instui-component-table-cell-padding-vertical<length>0.5rem
--instui-component-table-col-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-head-font-weight<integer>600