Are you an LLM? You can read better optimized documentation at /hu/api/css/side-nav-bar.item.md for this page in Markdown format
CSS: side-nav-bar.item
.item — Navigációs bejegyzés (InstUI SideNavBar.Item); a(z) -selected jelöli az aktív elemet.
A szülő side-nav-bar -minimized módosítója elrejti ennek a tagnak a(z) .label elemét — lásd a(z) side-nav-bar saját dokumentációját erről a módosítóról.
Használat
css
@import "@pantoken/components/components.css";
@import "@pantoken/components/side-nav-bar.item.css";Módosítók
| Módosító | Leírás |
|---|---|
.-selected | Az aktív navigációs elem. |
Részek
| Rész | Leírás |
|---|---|
.label | Az elem szöveges címkéje; rejtve van, amikor a sáv minimalizálva van. |
Felhasznált tokenek
| Token | Típus | Érték |
|---|---|---|
--instui-component-side-nav-bar-item-background-color | <color> | transparent |
--instui-component-side-nav-bar-item-border-radius | <length> | 0.75rem |
--instui-component-side-nav-bar-item-content-padding | <length> | 0.375rem |
--instui-component-side-nav-bar-item-font-color | <color> | LightDarklight-dark(#273540, #ffffff) |
--instui-component-side-nav-bar-item-font-size | <length> | 0.875rem |
--instui-component-side-nav-bar-item-font-weight | <integer> | 400 |
--instui-component-side-nav-bar-item-hover-background-color | <color> | LightDarklight-dark(#EEF4FD, #273540) |
--instui-component-side-nav-bar-item-line-height | <percentage> | 150% |
--instui-component-side-nav-bar-item-link-text-decoration | none | [ underline || overline || line-through || blink ] | spelling-error | grammar-error | none |
--instui-component-side-nav-bar-item-selected-background-color | <color> | LightDarklight-dark(#1D354F, #EEF4FD) |
--instui-component-side-nav-bar-item-selected-font-color | <color> | LightDarklight-dark(#ffffff, #1C222B) |
--instui-component-side-nav-bar-minimized-width | <length> | 3.75rem |
--instui-spacing-space2xs | <length> | 0.125rem |