Skip to content

CSS: list.item

.instui-list — Ցանկի տարր (InstUI List.Item).

Մայր list-size-sm/-size-lg, -ordered և -delimiter-solid/-delimiter-dashed փոփոխականները վերաոճավորում են այս անդամը — այդ փոփոխականների համար տեսեք list-ի փաստաթուղթը։

Օգտագործում

css
@import "@pantoken/components/components.css";
@import "@pantoken/components/list.item.css";

Մոդիֆիկատորներ

ՄոդիֆիկատորՆկարագիր
.-delimiter-dashedՏարրերը բաժանեք ծակոտկեն գծով։ @affects list.item — Ավելացնում է տարրերի միջև բաժանարար կանոնը։
.-delimiter-solidՏարրերը բաժանեք պինդ գծով։ @affects list.item — Ավելացնում է տարրերի միջև բաժանարար կանոնը։
.-orderedՀաշված ցանկի համար թվանշում։ @affects list.item — Ավելացնում է նշակի հաստությունն ու ներդրումը։
.-size-large-size-lg-ի երկարաձև հոմանիշ.
.-size-medium-size-md-ի երկարաձև հոմանիշ.
.-size-small-size-sm-ի երկարաձև հոմանիշ.

Պսևդո-էլեմենտներ

Պսևդո-էլեմենտՆկարագիր
::markerՑուցադրում է ցանկի կետը կամ հաշվարկված ցանկի թիվը։

Ցուցիչներ սպառված

TokenՏիպԱրժեք
--instui-component-list-item-color<color>LightDarklight-dark(#273540, #ffffff)
--instui-component-list-item-delimiter-dashed-border-color<color>LightDarklight-dark(#E8EAEC, #2D3D49)
--instui-component-list-item-delimiter-dashed-border-styledashed
--instui-component-list-item-delimiter-dashed-border-width<length>0.0625rem
--instui-component-list-item-delimiter-solid-border-color<color>LightDarklight-dark(#E8EAEC, #2D3D49)
--instui-component-list-item-delimiter-solid-border-stylesolid
--instui-component-list-item-delimiter-solid-border-width<length>0.0625rem
--instui-component-list-item-font-family[ <font-family-name> | <generic-font-family> ]#Atkinson Hyperlegible Next, "Helvetica Neue", Helvetica, Arial, sans-serif
--instui-component-list-item-font-size-large<length>1.25rem
--instui-component-list-item-font-size-medium<length>1rem
--instui-component-list-item-font-size-small<length>0.875rem
--instui-component-list-item-font-weight<integer>400
--instui-component-list-item-line-height<percentage>150%
--instui-component-list-item-spacing-medium<length>1.5rem
--instui-component-list-ordered-number-font-weight<integer>600
--instui-component-list-ordered-number-margin<length>0.5rem