@use "sass:map"; @use "../../hippie-style/hippie"; $padding_half: calc(#{hippie.$space_half} - 3px) hippie.$space_half; %flex-bar { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; align-content: center; justify-content: flex-start; gap: hippie.$space_half hippie.$space_basic; } #task-bar { @extend %flex-bar; z-index: map.get(hippie.$z-indexes, "content-top"); position: fixed; //right: 0; //bottom: 0; //left: 0; border: 1px solid transparent; padding: hippie.$space_basic; background-color: rgba(0, 0, 0, .1); &.top, &.bottom { nav, & > div { &:last-child { margin-top: unset; margin-left: auto; } } .clock { text-align: end; } } &.right, &.left { nav, & > div { &:last-child { margin-top: auto; margin-left: unset; } } .clock { text-align: center; & > span { display: inline-block; word-wrap: anywhere; } } } nav, & > div { @extend %flex-bar; flex-direction: inherit; } button { @extend .button_io; overflow: hidden; * { pointer-events: none; } } nav.small { //font-size: .8em; button { border: none; padding: $padding_half; &:hover { background-color: transparent; } } } nav.big { font-size: 1.5em; button { border: none; padding: 0; &:hover { background-color: transparent; } } } .clock { &, & > * { line-height: 1; } } } #screen-space { position: relative; height: 100%; } #placeholder { display: none; z-index: map.get(hippie.$z-indexes, "content-top"); position: fixed; width: 100px; height: 100px; border: 2px dashed deeppink; background-color: hotpink; }