Files
klz-cables.com/.pnpm-store/v10/files/e2/f99e762b07807036b388d337730631afb4541e2561c23fb7c4f1c5d648f2afee445e73f55f080e62d51906b3d57deff4dfa0b6ad9cc9073b24b59665623e30
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

146 lines
2.7 KiB
Plaintext

@import '../../scss/styles.scss';
@layer payload-default {
.collection-list {
width: 100%;
&__wrap {
padding-bottom: var(--spacing-view-bottom);
& > *:not(:last-child) {
margin-bottom: var(--base);
}
}
.list-header {
a {
text-decoration: none;
}
}
&__sub-header {
flex-basis: 100%;
padding-top: calc(var(--base) * 0.75);
}
&__tables {
.table-wrap:not(:last-child) {
margin-bottom: calc(var(--base) * 2);
}
.table-wrap--group-by:first-child {
margin-top: calc(var(--base) * 2);
}
}
.table {
table {
width: 100%;
overflow: auto;
[class^='cell'] > p,
[class^='cell'] > span,
[class^='cell'] > a {
line-clamp: 4;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4;
overflow: hidden;
display: -webkit-box;
max-width: 100vw;
}
#heading-_select,
.cell-_select {
min-width: unset;
}
#heading-_dragHandle,
.cell-_dragHandle {
width: 20px;
min-width: 0;
}
}
}
&__list-selection {
position: fixed;
bottom: 0;
z-index: 10;
padding: base(0.8) 0;
width: 100%;
background-color: var(--theme-bg);
.btn {
margin: 0 0 0 base(0.4);
}
.btn {
background-color: var(--theme-elevation-100);
cursor: pointer;
padding: 0 base(0.4);
border-radius: $style-radius-s;
&:hover {
background-color: var(--theme-elevation-200);
}
}
}
&__list-selection-actions {
display: flex;
gap: base(0.25);
}
&__shimmer {
margin-top: base(1.75);
width: 100%;
> div {
margin-top: 8px;
}
}
@include mid-break {
margin-top: base(0.25);
&__wrap {
padding-top: 0;
padding-bottom: 0;
}
&__header {
gap: base(0.5);
}
&__sub-header {
margin-top: 0;
}
&__search-input {
margin: 0;
}
// on mobile, extend the table all the way to the viewport edges
// this is to visually indicate overflowing content
.table {
display: flex;
flex-direction: column;
width: calc(100% + calc(var(--gutter-h) * 2));
max-width: unset;
left: calc(var(--gutter-h) * -1);
position: relative;
padding-left: var(--gutter-h);
&::after {
content: '';
height: 1px;
padding-right: var(--gutter-h);
}
}
}
@include small-break {
margin-bottom: base(4);
}
}
}