Files
web/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css
Matilda Landström fbfd62b239 Merged in fix/SW-3328-campaign-page-fix (pull request #2726)
Fix/SW-3328 campaign page design fix

* fix(SW-3328): align essentials text

* fix(SW-3328): campaign page design fix

* fix(SW-3328): update hero width

* fix(SW-3328): change burgundy code text


Approved-by: Erik Tiekstra
2025-08-29 13:55:15 +00:00

132 lines
2.4 KiB
CSS

.breadcrumbs {
padding: var(--Spacing-x4) 0 var(--Spacing-x3);
margin: 0 auto;
width: 100%;
}
.breadcrumbs.transparent {
background-color: transparent;
}
.breadcrumbs.surfaceSecondaryDefault {
background-color: var(--Surface-Secondary-Default);
}
.breadcrumbs.surfacePrimaryOnSurfaceDefault {
background-color: var(--Surface-Primary-On-Surface-Default);
}
.breadcrumbs.backgroundPrimary {
background-color: var(--Background-Primary);
}
.breadcrumbs .list {
display: flex;
gap: var(--Spacing-x-quarter);
padding-inline-start: 0;
margin: 0 auto;
}
.breadcrumbs.contentWidth .list {
max-width: var(--max-width-content);
}
.breadcrumbs.headerWidth .list {
max-width: min(var(--max-width-page), calc(100% - var(--max-width-spacing)));
}
.breadcrumbs.pageWidth .list {
max-width: var(--max-width-page);
}
.list .listItem:last-of-type {
flex: 1;
max-width: 100%;
min-width: 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;
}
.button {
border: none;
background: transparent;
height: 100%;
/* this increases the width of the button for tapping */
padding: 0 5px;
margin: 0 -5px;
color: var(--Base-Text-High-contrast);
}
.link {
color: var(--Text-Interactive-Secondary);
}
.link:hover,
.button:hover {
color: var(--Text-Interactive-Secondary-Hover);
}
.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-md);
min-width: 169px;
outline: none;
box-shadow: 0 0 4px 2px rgb(0 0 0 / 10%);
}
.dialogLink {
display: block;
border-radius: var(--Corner-radius-md);
padding: var(--Spacing-x1);
color: var(--Text-Default);
}
.dialogLink:focus,
.dialogLink:hover {
background-color: var(--Base-Surface-Primary-light-Hover);
}
.tooltipTrigger {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.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;
}
@media screen and (width <= 767px) {
.desktop {
display: none;
}
}
@media screen and (width >= 768px) {
.mobile {
display: none;
}
.desktop {
display: flex;
}
}