2023-04-19 16:53:39 +08:00
|
|
|
.sci--layout-navigation-breadcrumbs {
|
|
|
|
--max-breadcrumbs-link-width: 11.25rem;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-07-25 15:24:49 +08:00
|
|
|
flex-wrap: nowrap;
|
2023-08-31 21:50:35 +08:00
|
|
|
padding-left: 1rem;
|
2023-07-25 15:24:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-container {
|
|
|
|
@include font-small;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
max-width: calc(100vw - var(--left-navigation-width) - 3rem);
|
|
|
|
overflow: hidden;
|
|
|
|
width: calc(100vw - var(--left-navigation-width) - 3rem);
|
|
|
|
|
|
|
|
.delimiter {
|
|
|
|
@include font-button;
|
|
|
|
color: var(--sn-grey);
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 0 .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.breadcrumbs-item {
|
|
|
|
align-items: center;
|
|
|
|
display: inline-flex;
|
|
|
|
flex-wrap: nowrap;
|
2023-04-19 16:53:39 +08:00
|
|
|
|
|
|
|
.breadcrumbs-link {
|
2023-05-24 17:34:59 +08:00
|
|
|
@include font-small;
|
2023-04-19 16:53:39 +08:00
|
|
|
color: var(--sn-blue);
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2023-07-25 15:24:49 +08:00
|
|
|
&.shortened {
|
|
|
|
max-width: var(--max-breadcrumbs-link-width);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2023-04-19 16:53:39 +08:00
|
|
|
}
|
2023-06-23 17:39:54 +08:00
|
|
|
|
|
|
|
&.plain-text {
|
|
|
|
color: var(--sn-grey);
|
|
|
|
}
|
2023-04-19 16:53:39 +08:00
|
|
|
}
|
|
|
|
|
2023-07-25 15:24:49 +08:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
2023-04-19 16:53:39 +08:00
|
|
|
}
|
|
|
|
|
2023-07-25 15:24:49 +08:00
|
|
|
&:last-child .breadcrumbs-link {
|
|
|
|
color: var(--sn-grey);
|
2023-04-19 16:53:39 +08:00
|
|
|
}
|
|
|
|
}
|
2023-07-25 15:24:49 +08:00
|
|
|
|
|
|
|
.breadcrumbs-collapsed-container .breadcrumbs-item .breadcrumbs-link {
|
|
|
|
color: var(--sn-blue);
|
|
|
|
}
|