2017-09-19 14:47:10 +00:00
|
|
|
.page-layout {
|
2018-08-21 23:44:59 +00:00
|
|
|
min-height: 100%;
|
2017-09-19 14:47:10 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.page-header {
|
|
|
|
position: fixed;
|
|
|
|
width: 100%;
|
|
|
|
z-index: $z-header;
|
|
|
|
|
|
|
|
// Defensive styles in case header height goes over 100px, causing
|
|
|
|
// the left gutter menu to be on top of the header.
|
|
|
|
height: $header-height;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-body {
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-top: $header-height;
|
|
|
|
|
|
|
|
.page-column {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
&.is-left {
|
|
|
|
min-width: $gutter-width;
|
|
|
|
max-width: $gutter-width;
|
|
|
|
position: fixed;
|
|
|
|
bottom: 0;
|
|
|
|
top: $header-height;
|
|
|
|
z-index: $z-gutter;
|
2018-07-25 01:42:20 +00:00
|
|
|
background: $white;
|
2017-09-19 14:47:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.is-right {
|
|
|
|
margin-left: $gutter-width;
|
2019-08-08 16:58:10 +00:00
|
|
|
width: calc(100% - #{$gutter-width});
|
2018-07-25 01:42:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@media #{$mq-hidden-gutter} {
|
|
|
|
&.is-left {
|
|
|
|
top: 0;
|
2018-07-26 21:51:25 +00:00
|
|
|
transform: translateX(-$gutter-width);
|
|
|
|
transition: transform ease-in-out 0.2s;
|
2018-07-25 01:42:20 +00:00
|
|
|
|
|
|
|
&.is-open {
|
2018-07-26 21:51:25 +00:00
|
|
|
transform: translateX(0);
|
2018-07-25 01:42:20 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-right {
|
|
|
|
margin-left: 0;
|
2019-08-08 16:58:10 +00:00
|
|
|
width: 100%;
|
2018-07-25 01:42:20 +00:00
|
|
|
}
|
2017-09-19 14:47:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|