@import "common/sass/variables"; @import "common/sass/mixins"; $small-size: 900px; @mixin small-query { @media screen and (max-width: $small-size) { @content; } } @mixin big-query { @media screen and (min-width: $small-size + 1) { @content; } } // Header .Header { &-announcement { padding: 2px 10px; line-height: 22px; font-size: 14px; text-align: center; font-weight: 300; color: #fff; transition: background-color 80ms ease; a { color: #fff; text-decoration: underline; transition: none; &:hover, &:focus { opacity: 0.7; } } // Colors &, &.is-primary { background: $brand-primary; } &.is-warning { background: $brand-warning; } &.is-danger { background: $brand-danger; } &.is-success { background: $brand-success; } &.is-info { background: $brand-info; border-bottom: 1px solid rgba(#fff, 0.6); } } &-branding { color: white; padding: 0; @include bg-gradient; @include small-query { text-align: center; } &-inner { display: flex; align-items: center; @include small-query { flex-direction: column; padding-left: $cont-padding; padding-right: $cont-padding; } } &-title { @include big-query { flex-basis: 245px; } &-logo { max-width: 1000px; padding: 5px 0; min-width: 220px; } &-tagline { font-size: 18px; font-weight: 200; color: white; flex: 1 auto; text-align: right; padding: 5px 0; @include small-query { text-align: center; } > * { display: inline; vertical-align: middle; } &-version { max-width: 395px; } } } a { color: white; cursor: pointer; font-weight: 400; transition: 250ms all ease; &:hover, &:active { opacity: .8; color: white; text-decoration: none; transition: 250ms all ease; } } // TODO - Move to dropdown component? .dropdown { margin-left: 15px; padding: 0; text-align: right; white-space: nowrap; .dropdown-menu { right: -10px; left: auto; min-width: auto; left: auto; & > li > a { font-size: 15px; padding: 5px 30px 5px 15px; position: relative; &.active { text-decoration: none; color: $brand-primary; background-color: $gray-lightest; } } } } } }