/* Table of Contents ================================================== # Sidebar # Colors # Media Queries */ /* # Sidebar ================================================== */ .sidebar { background: $color-white; border-left: 2px solid $color-haze-light; box-sizing: border-box; height: 100%; min-width: 280px; position: fixed; width: 280px; } .sidebar-alt { border-right: 2px solid $color-haze-light; border-left: 0; } .sidebar-header { border-bottom: 1px solid $color-haze-light; font-size: 12px; line-height: 12px; padding: 12px 20px 10px 10px; } .sidebar-alt > .sidebar-header { padding-right: 10px; padding-left: 20px; } .sidebar-header > h6 { font-size: 12px; font-weight: normal; letter-spacing: 1px; line-height: 12px; text-transform: uppercase; } .sidebar-content { height: calc(100% - 60px); -webkit-overflow-scrolling: touch; overflow-scrolling: touch; overflow-x: hidden; overflow-y: auto; padding: 10px 20px 10px 10px; } .sidebar-alt > .sidebar-content { padding-right: 10px; padding-left: 20px; } .sidebar-scrollable { border-bottom: 1px solid $color-haze-light; height: auto; max-height: calc(50% - 60px); -webkit-overflow-scrolling: touch; overflow-scrolling: touch; overflow-y: auto; } /* # Colors ================================================== */ .sidebar-dark, .sidebar-primary { border-color: rgba(0,0,0,0.2); } .sidebar-dark { background: $color-black; } .sidebar-primary { background: $color-primary; } .sidebar-dark.sidebar-alt, .sidebar-dark > .sidebar-header, .sidebar-dark > .sidebar-scrollable, .sidebar-primary.sidebar-alt, .sidebar-primary > .sidebar-header, .sidebar-primary > .sidebar-scrollable { border-color: rgba(0,0,0,0.2); } .sidebar-dark > .sidebar-header > h6, .sidebar-primary > .sidebar-header > h6 { color: $color-white; } .sidebar-light { background: $color-haze-light; border-color: $color-haze-dark; } .sidebar-light.sidebar-alt, .sidebar-light > .sidebar-header, .sidebar-light > .sidebar-scrollable { border-color: $color-haze-dark; } /* # Media Queries ================================================== */ @media only screen and (max-width: 1365px) { .sidebar { min-width: 250px; width: 250px; } } @media only screen and (max-width: 1199px) { .sidebar { min-width: 220px; width: 220px; } } @media only screen and (max-width: 959px) { .sidebar { display: none; } }