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";

Псевдоэлементы

ПсевдоэлементОписание
::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