
| Current Path : /var/www/html1/bbp/web/core/themes/olivero/css/layout/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html1/bbp/web/core/themes/olivero/css/layout/layout-builder-threecol-section.pcss.css |
/*
* @file
* Provides the layout styles for three-column layout section.
*/
@import "../base/variables.pcss.css";
.layout--threecol-section {
display: flex;
flex-wrap: wrap;
& > .layout__region {
flex: 1 0 100%;
margin-block-end: var(--grid-gap);
@media (--lg) {
flex-grow: 0;
flex-shrink: 0;
margin-block-end: 0;
}
}
}
@media (--lg) {
.layout--threecol-section {
& > .layout__region--first {
margin-inline-end: calc(var(--grid-gap--md) * 0.5);
}
& > .layout__region--second {
margin-inline: calc(var(--grid-gap--md) * 0.5);
}
& > .layout__region--third {
margin-inline-start: calc(var(--grid-gap--md) * 0.5);
}
}
.layout--threecol-section--25-50-25 {
& > .layout__region--first,
& > .layout__region--third {
flex-basis: calc(25% - (var(--grid-gap--md) * 0.5));
}
& > .layout__region--second {
flex-basis: calc(50% - var(--grid-gap--md));
}
}
.layout--threecol-section--25-25-50 {
& > .layout__region--first,
& > .layout__region--second {
flex-basis: calc(25% - (var(--grid-gap--md) * 0.5));
}
& > .layout__region--third {
flex-basis: calc(50% - var(--grid-gap--md));
}
}
.layout--threecol-section--50-25-25 {
& > .layout__region--first {
flex-basis: calc(50% - var(--grid-gap--md));
}
& > .layout__region--second,
& > .layout__region--third {
flex-basis: calc(25% - (var(--grid-gap--md) * 0.5));
}
}
.layout--threecol-section--33-34-33 {
& > .layout__region--first,
& > .layout__region--second,
& > .layout__region--third {
flex-basis: calc(33.33% - (var(--grid-gap--md) * 0.666));
}
}
}