Files
web/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css
2025-04-01 08:38:08 +02:00

113 lines
1.9 KiB
CSS

.breadcrumbs {
padding: var(--Spacing-x4) 0 var(--Spacing-x3);
margin: 0 auto;
width: 100%;
}
.contentWidth.breadcrumbs {
background-color: var(--Base-Surface-Subtle-Normal);
padding-bottom: 0;
}
.headerWidth.breadcrumbs {
max-width: min(var(--max-width-page), calc(100% - var(--max-width-spacing)));
}
.fullWidth .list {
max-width: var(--max-width-page);
}
.contentWidth .list {
max-width: var(--max-width-content);
}
.list {
display: flex;
gap: var(--Spacing-x-quarter);
padding-inline-start: 0;
}
.listItem {
align-items: center;
display: flex;
gap: var(--Spacing-x-quarter);
flex-shrink: 0;
flex-grow: 0;
}
.listItem > a {
display: flex;
}
.listItem > svg {
flex-shrink: 0;
}
.last {
flex: 1;
max-width: 100%;
min-width: 0;
}
.last > button {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.button {
border: none;
background: transparent;
height: 100%;
/* a bit of a hack of centering the popover and its arrow */
padding: 0 10px;
margin: 0 -10px;
}
.dialog {
background-color: var(--Base-Surface-Primary-light-Normal);
padding: var(--Spacing-x1);
display: flex;
flex-direction: column;
gap: var(--Spacing-x-half);
border-radius: var(--Corner-radius-Medium);
min-width: 169px;
outline: none;
box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.1);
}
.dialogLink {
display: block;
border-radius: var(--Corner-radius-Medium);
padding: var(--Spacing-x1);
}
.dialogLink:focus,
.dialogLink:hover {
background-color: var(--Base-Surface-Primary-light-Hover);
}
@media screen and (max-width: 767px) {
.desktop {
display: none;
}
}
@media screen and (min-width: 768px) {
.mobile {
display: none;
}
.desktop {
display: flex;
}
}
.tooltip {
background-color: var(--Surface-UI-Fill-Intense);
padding: var(--Spacing-x-half) var(--Spacing-x1);
border-radius: var(--Corner-radius-sm);
color: var(--Text-Inverted);
outline: none;
}