UNPKG

gaf-mobile

Version:

GAF mobile Web site

127 lines (107 loc) 2.41 kB
@import (reference) '../themes/variables'; @import (reference) '../libs/mixins'; /* Site headers */ // 1. .is-locked state used when snap drawer is not accessible by users // Primary header / nav bar .header { position: absolute; left: 0; right: 0; top: 0; min-width: 320px; height: @header-height; z-index: @zindex-header; overflow: hidden; background: @septenary-color-xxxlight; border-bottom: 1px solid @septenary-color-xlight; // 1. &.is-locked { .header-freelancer-logo { left: 16px; margin: auto 0; } } &-nav { display: flex; align-items: center; height: 100%; padding-right: 16px; padding-left: 16px; justify-content: space-between; &-link { position: relative; [class*=flicon-] { width: 26px; height: 26px; stroke: none; } &-notification { position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background-color: @senary-color; } } &-toggle { [class*=flicon-] { width: 23px; height: 23px; stroke: none; } } } } .header-freelancer-logo { position: absolute; display: inline-block; top: 0; bottom: 0; left: 0; right: 0; width: 128px; height: 33px; margin: auto; } .header-profile-img { position: absolute; right: 16px; top: 16px; border-radius: 2px; } .header-account-buttons { display: block; position: absolute; top: 12px; right: 16px; } .header-login-button { float: right; margin-left: 6px; } .header-signup-button { float: right; } .header--logout { height: 66px; padding: 0 15px; .header-nav { justify-content: initial; } .header-freelancer-logo { position: initial; width: 143px; height: 34px; margin: @spacing-xxsmall 0 0 @spacing-large; } .header-account-buttons { top: 20px; right: 30px; } .header-login-button { font-size: @type-size-mid; color: @septenary-color-xxxdark; } }