2019-01-02 00:11:47 +01:00
|
|
|
.wrapper {
|
|
|
|
@include clearfix();
|
2022-04-28 03:14:18 +02:00
|
|
|
@apply w-transition-sidebar;
|
2019-01-02 00:11:47 +01:00
|
|
|
height: 100vh;
|
2022-04-08 02:33:48 +02:00
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
transform: none;
|
|
|
|
padding-inline-start: $menu-width;
|
|
|
|
|
|
|
|
.sidebar-collapsed & {
|
|
|
|
padding-inline-start: $menu-width-slim;
|
|
|
|
}
|
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
|
|
|
|
2022-07-25 16:20:19 +02:00
|
|
|
/**
|
|
|
|
* Increase the scroll offset to account for pages with a sticky header.
|
|
|
|
* We apply this to all pages for simplicity.
|
|
|
|
*/
|
|
|
|
@mixin slim-header-scroll-offset() {
|
|
|
|
$gap: theme('spacing.4');
|
|
|
|
// For mobile viewports, expect a sticky header over two rows.
|
|
|
|
scroll-padding-top: calc(theme('spacing.slim-header') * 2 + $gap);
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
scroll-padding-top: calc(theme('spacing.slim-header') + $gap);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-01-02 00:11:47 +01:00
|
|
|
.content-wrapper {
|
2022-07-25 16:20:19 +02:00
|
|
|
@include slim-header-scroll-offset();
|
2022-10-17 19:52:09 +02:00
|
|
|
scroll-behavior: smooth;
|
2019-01-02 00:11:47 +01:00
|
|
|
width: 100%;
|
|
|
|
height: 100%; // this has no effect on desktop, but on mobile it helps aesthetics of menu popout action
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
border-bottom: 1px solid $color-grey-3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
@include row();
|
|
|
|
background: $color-white;
|
|
|
|
border-top: 0 solid $color-grey-5; // this top border provides space for the floating logo to toggle the menu
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative; // yuk. necessary for positions for jquery ui widgets
|
2022-02-04 12:57:55 +01:00
|
|
|
|
2020-04-10 18:55:07 +02:00
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
padding-bottom: 4em;
|
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
.content {
|
|
|
|
border-top: 0;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
@include clearfix();
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
|
|
.col1 {
|
|
|
|
@include column(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col2 {
|
|
|
|
@include column(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col3 {
|
|
|
|
@include column(3);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col4 {
|
|
|
|
@include column(4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col5 {
|
|
|
|
@include column(5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col6 {
|
|
|
|
@include column(6);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col7 {
|
|
|
|
@include column(7);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col8 {
|
|
|
|
@include column(8);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col9 {
|
|
|
|
@include column(9);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col10 {
|
|
|
|
@include column(10);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col11 {
|
|
|
|
@include column(11);
|
|
|
|
}
|
|
|
|
|
|
|
|
.col12 {
|
|
|
|
@include column(12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.row {
|
|
|
|
@include row();
|
|
|
|
}
|
|
|
|
|
|
|
|
.row-flush {
|
|
|
|
@include row-flush();
|
|
|
|
}
|
|
|
|
}
|