@import '../utils/base'; @import '../utils/mixins/box-shadow'; @import '../utils/mixins/vertical-align'; $asideMenuMobileWidth: 280px; .aside-menu { background-color: #f7f7f7; position: fixed !important; padding-top: 13px; padding-bottom: 10px; top: $headerHeight; bottom: 0; left: 0; display: block; z-index: 1010; overflow-x: hidden; overflow-y: auto; @media (min-width: $mdMin) { padding: 30px 15px 15px; border-right: 1px solid #eee; } @media (max-width: $smMax) { width: $asideMenuMobileWidth !important; @include box-shadow(-10px 0px 50px 11px rgba(0, 0, 0, 0.55)); transition: left 300ms; top: $headerHeight - 3px; } } .aside-menu--hidden { @media (max-width: $smMax) { left: -($asideMenuMobileWidth + 35px); } } .aside-menu__nav { height: 100%; } .aside-menu__item { padding: 10px 20px; margin: 0 -15px; text-decoration: none !important; cursor: pointer; } .aside-menu__item:hover { background-color: $lightHoverColor; } .aside-menu__item--selected { color: #fff; background-color: $mainColor; } .aside-menu__item--selected:hover { color: #fff; background-color: $mainColor; } .aside-menu__item--divider { border-bottom: 1px solid #eee; margin: 20px 0; } .aside-menu__item--danger { color: $dangerColor; margin-top: auto; } .aside-menu__item--danger:hover { color: #fff; background-color: $dangerColor; } .aside-menu__item-text { margin-left: 8px; }