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