Files
klz-cables.com/.pnpm-store/v10/files/28/a74ef5d2dffaa1e0c0d67871ec467ce8a704f6029045ea92ed0f1fb9da545d683cd426dbf6df1fc5742fa7b0d72637773c9c7fd06d2b928a8189e934fcb036
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

89 lines
1.7 KiB
Plaintext

@import '../../scss/styles.scss';
@layer payload-default {
.step-nav {
display: flex;
align-items: center;
gap: calc(var(--base) / 2);
&::after {
content: ' ';
position: sticky;
top: 0;
right: 0;
width: var(--base);
background: linear-gradient(to right, transparent, var(--theme-bg));
}
// Use a pseudo element for the accessability so that it doesn't take up DOM space
// Also because the parent element has `overflow: hidden` which would clip an outline
&__home {
width: 18px;
height: 18px;
position: relative;
&:focus-visible {
outline: none;
&::after {
content: '';
border: var(--accessibility-outline);
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
pointer-events: none;
}
}
}
* {
display: block;
}
a {
border: 0;
display: flex;
align-items: center;
font-weight: 600;
text-decoration: none;
label {
cursor: pointer;
}
&:hover,
&:focus-visible {
text-decoration: underline;
}
}
span {
max-width: base(8);
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
// Exception: don't truncate modular dashboard elements
&:has(.dashboard-breadcrumb-select, .dashboard-breadcrumb-dropdown__editing) {
max-width: none;
overflow: visible;
white-space: normal;
}
}
@include mid-break {
.step-nav {
&__home {
width: 16px;
height: 16px;
}
}
}
@include small-break {
gap: base(0.4);
}
}
}