Skip to content
Snippets Groups Projects
_header.scss 3.37 KiB
Newer Older
  • Learn to ignore specific revisions
  •     position: relative;
    
        padding: 10px;
        background-color: $color--primary;
    
        @include media-query(tablet-portrait) {
    
            height: 410px;
    
        &--standard {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    
        &--has-bg-image {
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }
    
        &__title {
            color: $color--white;
            text-transform: uppercase;
        }
    
    
            position: relative;
            z-index: 10;
    
            align-items: center;
    
            justify-content: space-between;
    
            width: 100%;
    
        }
    
        &__inner--top {
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }
    
        &__menus {
    
            &--desktop {
                display: none;
    
                @include media-query(tablet-portrait) {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                }
            }
    
            &--mobile {
                position: fixed;
                top: 87px;
                left: 0;
                display: flex;
                width: 100%;
                height: 100%;
                padding-top: 20px;
                background: rgba($color--white, 0.95);
                transform: translate3d(100%, 0%, 0);
                transition: transform 250ms cubic-bezier(0.24, 0.26, 0.2, 1) 0ms;
    
                &.is-visible {
                    transform: translate3d(0%, 0%, 0);
                }
    
                nav {
                    width: 100%;
                }
            }
        }
    
        &__logo {
    
            fill: $color--white;
    
            &--mobile {
                width: 60px;
                height: 60px;
    
                @include media-query(tablet-portrait) {
                    display: none;
                }
            }
    
            &--desktop {
                display: none;
    
                @include media-query(tablet-portrait) {
                    display: block;
                    height: 50px;
                    max-width: 215px;
                }
    
            }
        }
    
        &__menu-toggle {
            @include font-size(milli);
            z-index: 10;
            display: flex;
            align-items: flex-end;
            flex-direction: column;
            width: 100%;
            font-weight: $weight--bold;
            color: $color--secondary;
            text-transform: uppercase;
    
            @include media-query(tablet-portrait) {
                display: none;
            }
        }
    
    
        &__icon {
    
            &--cross {
                @extend %is-hidden;
            }
    
            &--pixels {
                position: absolute;
                bottom: 0;
                display: none;
    
                @include media-query(tablet-portrait) {
                    display: block;
                }
            }
    
    
            &--pixels-left {
                left: 0;
                width: 105px;
                height: 98px;
                fill: $color--white;
            }
    
            &--pixels-right {
                right: 0;
                width: 295px;
                height: 300px;
                fill: $color--dark-blue;
            }
        }
    
    
        &__search {
            &--desktop {
                @extend %is-invisible;
                position: absolute;
                top: 0;
                left: 0;
                display: flex;
                align-items: flex-end;
                justify-content: center;
                width: 100%;
                height: 180px;
                padding-bottom: 50px;
                background: $color--dark-blue;
            }
        }