2023-01-12 14:54:24 -05:00
|
|
|
@use '../breakpoints';
|
2023-01-12 12:19:42 -06:00
|
|
|
|
|
|
|
@each $breakpoint, $size in breakpoints.$sl-breakpoints {
|
2023-01-06 16:40:29 -05:00
|
|
|
$prefix: if(($breakpoint == 'none'), '', '#{$breakpoint}-');
|
|
|
|
|
2023-01-12 12:19:42 -06:00
|
|
|
@include breakpoints.sl-breakpoint-set($breakpoint, $size) {
|
2023-01-06 16:40:29 -05:00
|
|
|
.sl-l-#{$prefix}holy-grail {
|
|
|
|
&,
|
2023-01-09 14:10:02 -05:00
|
|
|
&__body {
|
|
|
|
display: flex;
|
|
|
|
}
|
2023-01-06 16:40:29 -05:00
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&__header,
|
2023-01-09 14:10:02 -05:00
|
|
|
&__footer {
|
|
|
|
flex: none;
|
|
|
|
}
|
2023-01-06 16:40:29 -05:00
|
|
|
|
|
|
|
&__body {
|
|
|
|
flex: 1 0 auto;
|
|
|
|
flex-direction: row;
|
2023-03-23 21:30:45 -05:00
|
|
|
margin-left: var(--sl-gutter--double-negative);
|
|
|
|
margin-right: var(--sl-gutter--double-negative);
|
2023-01-06 16:40:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&__main,
|
|
|
|
&__navigation,
|
|
|
|
&__complementary {
|
2023-03-23 21:30:45 -05:00
|
|
|
padding-left: var(--sl-gutter--double);
|
|
|
|
padding-right: var(--sl-gutter--double);
|
2023-01-06 16:40:29 -05:00
|
|
|
}
|
|
|
|
|
2023-01-09 14:10:02 -05:00
|
|
|
&__main {
|
|
|
|
flex: 1;
|
|
|
|
}
|
2023-01-06 16:40:29 -05:00
|
|
|
|
|
|
|
&__navigation {
|
2023-02-21 13:51:32 -06:00
|
|
|
flex: 0 0 var(--sl-column--small);
|
2023-01-06 16:40:29 -05:00
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__complementary {
|
|
|
|
order: 1;
|
2023-02-21 13:51:32 -06:00
|
|
|
flex: 0 0 var(--sl-column--medium);
|
2023-01-06 16:40:29 -05:00
|
|
|
|
|
|
|
&--contents {
|
2023-02-21 13:51:32 -06:00
|
|
|
flex: 0 0 var(--sl-column--small);
|
2023-01-06 16:40:29 -05:00
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|