open-nomad/ui/app/styles/core/page-layout.scss
Alex Dadgar e5ec915ac3 sync
2017-09-19 10:08:23 -05:00

47 lines
851 B
SCSS

html, body, body > .ember-view {
height: 100%;
width: 100%;
}
.page-layout {
height: 100%;
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;
}
&.is-right {
margin-left: $gutter-width;
}
}
}
}