.projects-nav { @include transform(translate3d(-300px, 0, 0)); background-color: #232323; display: flex; flex-direction: column; height: 100%; left: 0; overflow: hidden; padding: 2rem 1rem; position: fixed; top: 0; width: 300px; z-index: 99; form { flex-shrink: 0; } h1 { color: $white; flex-shrink: 0; margin-bottom: 2rem; text-align: center; } input { background-color: $gray; color: $whitish; } .icon-search { position: absolute; right: .7rem; top: .7rem; } ul { left: 0; margin-bottom: 0; margin-top: 1rem; position: relative; top: 0; width: 100%; } .projects-pagination { display: flex; flex-direction: column; margin-top: 1rem; } .v-pagination-previous, .v-pagination-next { flex-shrink: 0; } } .projects-list { a { @extend %large; @extend %title; color: $whitish; display: block; padding: 1rem; text-transform: uppercase; width: 100%; &.active, &:hover { @include transition (background-color .3s linear); background-color: $gray; .icon { @include transition (opacity .3s linear); opacity: 1; } } } .icon { color: $whitish; float: right; opacity: 0; } li { border-bottom: 2px solid $gray; } } .projects-nav-overlay { @include transition (all 1s ease); background-color: $black; bottom: 0; display: none; left: 0; opacity: 0; position: fixed; right: 0; top: 0; width: 100%; z-index: 99999; div { margin: 10% auto; opacity: 0; text-align: center; width: 500px; } p { @extend %large; color: $whitish; padding-top: 20px; } }