$nav__toplvlWidth: 125px; $nav__seclvlWidth: 240px; .nav__wrapper { height: 100%; position: fixed; top: 0; z-index: 100; } // Top level navigation #nav__top-level { background: $nav__top-level-color; //height: 100%; position: absolute; left: 0; top: 0; bottom: 0; z-index: 99; list-style-type: none; margin: 0; padding: 0; width: $nav__toplvlWidth; overflow-y: auto; li { margin: 0; } //svg icons .nav-icon { @include navIcons; } .button, button, a { background: transparent; height: auto; border: 0; color: $white; fill: $white; width: 100%; padding: 1em; display: block; text-align: center; margin-bottom: 0; white-space: normal; border-radius: 0; text-decoration: none; border-top: 1px solid transparent; border-bottom: 1px solid transparent; a { margin-bottom: 5px; } span { margin: 1em 0 0 0; display: block; font-size: .9em; font-weight: 700; line-height: 1rem; } .nav__icon-help__outer { fill: transparent; stroke: $white; stroke-miterlimit: 10; stroke-width: 1px; } .nav__icon-help__Inner { fill: $white; } &:hover { background: $nav__second-level-color; fill: $black; color: $medblue; padding: 1em; border-radius: 0; border-top: 1px solid $medgrey; border-bottom: 1px solid $medgrey; .nav__icon-help__outer { stroke: $black; } .nav__icon-help__inner { fill: $lightbg__primary; } .nav-icon { fill: $medblue; color: $medblue; .st0 { stroke: $medblue; } .st1 { fill: $medblue; color: $medblue; stroke: $medblue; } } } } .opened { background: $nav__second-level-color; fill: $black; color: $medblue; .nav__icon-help__outer { stroke: $lightbg__primary; } .nav-icon { fill: $medblue; color: $medblue; .st0 { stroke: $medblue; } .st1 { fill: $medblue; color: $medblue; stroke: $medblue; } } } } // Second Level Navigation .nav__second-level { position: fixed; background: $nav__second-level-color; top: 0; bottom: 0; left: -245px; width: $nav__seclvlWidth; z-index: 97; padding: 0; margin: 0; list-style-type: none; @include fastTransition-all; &.opened { left: $nav__toplvlWidth; box-shadow: 7px 0 28px -10px $darkgrey; @include fastTransition-all; } a { padding: 1.2em 1em 1.2em 1em; display: block; color: $black; text-decoration: none; position: relative; font-weight: 400; } li { a:after{ content: '\203A'; position: absolute; font-size: 2em; font-weight: 700; top: 50%; right: .6em; transform: translateY(-59%); color: #4b5d78; opacity: 0; } &.active {background: $white;} &.active, &:focus, &:hover { a {color: #4b5d78;} a:after { opacity: 1; right: .3em; @include fastTransition-all; } } } }