File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999 --mistica-boxed-border : 1px solid var (--mistica-color-border );
100100 }
101101}
102-
102+
103103[data-mistica-color-scheme = 'dark' ][data-mistica-skin ] > * ,
104104[data-mistica-color-scheme = 'dark' ] [data-mistica-variant = 'default' ] > * ,
105105[data-mistica-color-scheme = 'dark' ] .mistica-card > * ,
@@ -452,6 +452,46 @@ label.mistica-chip > input:checked + span {
452452 text-decoration : none;
453453}
454454
455+ /* Breadcrumbs */
456+ .mistica-breadcrumb ol {
457+ display : block;
458+ padding : 0 ;
459+ margin : 0 ;
460+ list-style : none;
461+ }
462+
463+ .mistica-breadcrumb li {
464+ display : inline;
465+ }
466+
467+ .mistica-breadcrumb a {
468+ text-decoration : underline;
469+ font-size : var (--mistica-font-size-1 );
470+ line-height : var (--mistica-line-height-1 );
471+ font-weight : var (--mistica-font-weight-1 );
472+ color : var (--vcolor-textPrimary );
473+ }
474+
475+ .mistica-breadcrumb li + li ::before {
476+ display : inline-block;
477+ margin : -1px 0.25em ;
478+ transform : rotate (18deg );
479+ border-right : 0.1em solid var (--vcolor-textPrimary );
480+ height : 0.8em ;
481+ content : "" ;
482+ }
483+
484+ .mistica-breadcrumb a : hover {
485+ text-decoration-thickness : 0.125rem ;
486+ }
487+
488+ .mistica-breadcrumb li : last-of-type a {
489+ pointer-events : none;
490+ color : var (--vcolor-textSecondary );
491+ padding-right : 0 ;
492+ text-decoration : none;
493+ }
494+
455495/* Buttons */
456496[class ^= 'mistica-button' ] {
457497 --button-font-size : var (--mistica-font-size-3 );
Original file line number Diff line number Diff line change @@ -196,6 +196,38 @@ <h3 class="mistica-text-title2">Chip</h3>
196196 >
197197 </ div >
198198
199+ < h3 class ="mistica-text-title2 "> Breadcrumbs</ h3 >
200+ < div class ="cards-group ">
201+ < nav class ="mistica-breadcrumb ">
202+ < ol >
203+ < li >
204+ < a href ="/ "> Home</ a >
205+ </ li >
206+ < li >
207+ < a href ="/ "> Section</ a >
208+ </ li >
209+ < li >
210+ < a aria-current ="page " href =""> Subsection</ a >
211+ </ li >
212+ </ ol >
213+ </ nav >
214+ </ div >
215+ < div class ="cards-group ">
216+ < nav class ="mistica-breadcrumb ">
217+ < ol >
218+ < li >
219+ < a href ="/ "> This is a long link in the breadcrumbs</ a >
220+ </ li >
221+ < li >
222+ < a href ="/ "> This is a long link in the breadcrumbs</ a >
223+ </ li >
224+ < li >
225+ < a aria-current ="page " href =""> Subsection</ a >
226+ </ li >
227+ </ ol >
228+ </ nav >
229+ </ div >
230+
199231 < h3 class ="mistica-text-title2 "> Buttons</ h3 >
200232 < div >
201233 < a class ="mistica-button-primary " href ="# "> Primary</ a >
You can’t perform that action at this time.
0 commit comments