Skip to content

CSS: table.row-header

th[scope="row"] — Ячейка заголовка строки (InstUI Table.RowHeader); стилизована с помощью токенов заголовка строки, а не токенов заголовка столбца.

Модификатор -layout-stacked родительского table располагает этот элемент как блок и помечает его через ::before — см. документацию самого table для этого модификатора.

Использование

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/table.row-header.css";

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

ПсевдоэлементОписание
::before

Использованные токены

TokenТипЗначение
--instui-component-table-col-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-head-font-weight<integer>600
--instui-component-table-row-header-background<color>LightDarklight-dark(#ffffff, #10141A)
--instui-component-table-row-header-color<color>LightDarklight-dark(#273540, #F2F4F5)
--instui-component-table-row-header-font-weight<integer>400
--instui-component-table-row-header-line-height<percentage>125%
--instui-component-table-row-header-padding-horizontal<length>0.75rem
--instui-component-table-row-header-padding-vertical<length>0.5rem