@import 'variables'; [hidden] { display: none !important; } *, *::before, *::after { // box-sizing: inherit; } html { //box-sizing: border-box; font-family: Open Sans, sans-serif; font-size: 13px; background-color: $color-grey-light; color: $color-grey; } // body { // height: 100%; // display:flex; // flex-direction: column; // } h1, h2, h3, h4, h5, h6 { color: $color-black; font-weight: 600; padding: 0; margin: 0.67em 0; span { font-weight: 400; padding-left: 0.5em; &:before { content: '// '; } } } h1 { font-size: 1.24em; } h2 { font-size: 1.04em; } h3 { font-size: .84em; } h4 { font-size: 0.68em; } .debug { outline: 2px dotted red; } .frame { @extend %frame; padding: 1em; } #header { background-color: $color-white; color: $color-black; //position: relative; //@include border-shadow(bottom); box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15); border: solid $color-white; border-width: 1px 0; display: flex; //flex-grow: 0; //flex-basis : 150px; flex-shrink: 0; align-items: center; padding: 1em 0; > * { padding: 0 1rem; } } #button-toggle { @include icon('menu'); display: none; color: $color-black; font-size: 2em; padding: 0.72em; cursor: pointer; } #logo { flex: 1 1 0px; } #notifications-button { @include icon(bell); font-size: 1.5em; cursor: pointer; list-style-type: none; } #notifications{ position: absolute; right: 0; bottom: 0; height: 0; left: 0; z-index: 1; >div{ position: absolute; top: 0; right: 0; } } #profile { > * { vertical-align: middle; } img { margin-right: 0.5em; width: 43px; height: 43px; object-fit: cover; object-position: center; border-radius: 100%; } } .layer{ position:absolute; bottom:0;top:0;right:0;left:0; display:flex; flex-direction: column; align-items: stretch; overflow-x: hidden; } #subContainer { display: flex; flex-grow: 1; align-items: stretch; overflow: hidden; } #mainContainer { flex-grow: 1; flex-shrink: 1; overflow-y: auto; } .limiter { display: block; max-width: 650px; } /* sub menu (right menu) */ #mainContainer > div { display: flex; flex-direction: row-reverse; align-items: flex-start; > sib-router { font-family: monospace; color: $color-black; display: block; background-color: $color-grey-light2; sib-route { display: block; cursor: pointer; > div { position: relative; padding: 1.5em 3em; border-bottom: 1px solid $color-grey; } &:hover { background-color: $color-grey; } &[active] { font-weight: bold; background-color: $color-black; color: $color-yellow; > div:before { opacity: 1; transform: translateX(-150%); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } } > div { @include icon(arrow-left); &:before { position: absolute; transform: translateX(-50%); opacity: 0; } } } } > div { margin: 2.6em; flex: 1 1 0px; } } #search-bar > div { position: relative; } #search-icon { pointer-events: none; } #search-icon, #close-search-icon { position: absolute; right: 0.4em; top: 50%; transform: translateY(-50%); margin: auto; display: block; } #search-input { -webkit-appearance: textfield; border-radius: 10em; padding: 0.4em 0.8em; border: 1px solid $color-grey; & ~ #close-search-icon { opacity: 0; } &:focus { & ~ #close-search-icon { opacity: 1; } & ~ #search-icon { visibility: hidden; } } } sib-route, sib-trigger { cursor: pointer; } sib-trigger.back { display: block; @include icon('arrow-left'); @extend h1; }