.docs__aside { height: auto; position: relative; width: 100%; background-color: #fff; top: 0; @media #{$medium-up} { height: 100vh; position: fixed; left: 0; top: 0; width: 280px; border-right: 1px solid darken($color-snow, 10%); } h5 { font-size: 17px; font-weight: 600; color: #232323; margin-bottom: 5px; } a { text-decoration: none; } .icon { width: 20px; height: 20px; display: inline; svg { fill: #828282; } &:hover { fill: #212121; } } } .docs__logo { width: 100%; height: 120px; background-color: $color-primary; display: flex; align-items: center; justify-content: center; &__title { @extend %font-family-primary; font-weight: 600; color: #fff; font-size: rem-calc(22px); letter-spacing: -1px; } &__version { font-size: rem-calc(12px); color: #fff; display: block; margin-top: 5px; text-transform: uppercase; font-weight: 600; svg { position: relative; top: 1px; } } } .docs__nav { width: 100%; background-color: $color-snow; } .docs__nav__item { width: 100%; background: #fff; height: 60px; overflow: hidden; border-bottom: 1px solid darken($color-snow, 10%); &.is-active { height: auto; } } .docs__nav__item__title { width: 100%; height: 60px; background-color: #fff; position: relative; padding: 16px 0 16px 20px; border-bottom: 1px solid darken($color-snow, 10%); cursor: pointer; font-size: rem-calc(18px); font-weight: 500; &:after { width: 20px; height: 20px; background: file-url('ui_icons/chevron_down.svg') no-repeat center center; position: absolute; right: 15px; top: 20px; content: ""; display: block; opacity: .2; .docs__nav__item.is-active & { transform: rotate(180deg); } } } .docs__nav__item__content { background-color: $color-snow; padding: 20px 0; ul { margin: 0; padding: 0; width: 100%; list-style: none; li { padding: 5px 0 5px 40px; font-size: rem-calc(17px); font-weight: 400; color: $color-silver; line-height: 1.2em; a { color: inherit; } &.is-active a { color: $color-primary; font-weight: 600; } &:first-of-type { display: none; } } } }