Skip to content

CSS: table.row-header

th[scope="row"] — Cell pennawd rhes (InstUI Table.RowHeader); wedi'i arddullio o'r tocynnau pennawd-rhes, nid y tocynnau pennawd-colofn.

Mae modiwydd -layout-stacked y rhiant table yn gosod yr aelod hwn fel bloc ac yn ei labelu drwy ::before — gweler dogfen table ei hun ar gyfer y modiwydd hwn.

Defnydd

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

Is-elfennau

Is-elfenDisgrifiad
::before

Tocynnau a ddefnyddiwyd

TokenMathGwerth
--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