@include namespace('section') { @include store(( --colors: ( --border: prop(--colors --obj-hi, $global: true), --body-bg: transparent, ) )); @include store(( --colors: ( --body-bg: prop(--colors --bg-hi, $global: true), ) ), 'light'); @include layout(namespace()) { position: relative; @include modifier('flex') { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; } @include modifier('fullscreen') { box-sizing: border-box; min-height: 100vh; margin-bottom: calc(-1 * #{prop(--dims --outer, $global: true)}); padding-bottom: prop(--dims --outer, $global: true); } @include modifier('body') { background-color: prop(--colors --body-bg); } @include modifier('no-header') { padding-top: prop(--dims --outer, $global: true); } @include element('header') { display: flex; flex-direction: row; align-items: center; height: prop(--dims --outer, $global: true); font-size: 1 / 16 * 15em; @include modifier('sticky') { position: sticky; z-index: 9000; top: 0; left: 0; } } /*@include element('footer') { position: absolute; z-index: 10000; right: 0; bottom: 0; height: prop(--dims --outer, $global: true); font-size: 1 / 16 * 15em; }*/ @include element('header-separator') { flex: 1 1 auto; width: 100%; height: 100%; margin-top: -1px; margin-right: prop(--container --dims --pad-x, $global: true); margin-left: prop(--container --dims --pad-x, $global: true); border-top: 1px solid prop(--colors --border); } } }