.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); backdrop-filter: blur(1px); display: none; z-index: 1030; } .overlay.show { display: block; } .sidebar { width: 240px; background: $white; transition: width .3s, left .3s; border-right: 1px solid $gray-200; height: 100vh; position: fixed; top: 0; left: 0; padding-top: 60px; z-index: 1030; .nav-link { color: $gray-800; padding: 8px 10px; display: flex; align-items: center; font-size: 14px; font-weight: 400; gap: 12px; white-space: nowrap; margin: 1px 12px; border-radius: 8px; &:hover { color: $primary; background-color: rgba($primary, 0.095); } &.active { color: $primary; background-color: rgba($primary, 0.095); } .ti { font-size: 18px; } } .nav-text { transition: opacity .2s; } .logo-area { position: absolute; top: 0; left: 0; height: 60px; width: 100%; background: $white; display: flex; align-items: center; gap: 10px; padding-left: 17px; color: $gray-800; border-bottom: 1px solid $gray-200; } } .sidebar.collapsed { width: 60px; .nav-link { margin: 0 0px; background-color: transparent; padding: 8px 18px; } .nav-text { display: none; } .logo-text { display: none; } } .topbar { height: 60px; margin-left: 240px; // transition: margin-left .3s; } .topbar.full { margin-left: 60px; } .content { margin-left: 240px; // transition: margin-left .3s; // padding: 20px; } .content.full { margin-left: 60px; } @media (max-width: 992px) { .sidebar { left: -240px; } .sidebar.mobile-show { left: 0; } .topbar { margin-left: 0 !important; width: 100% !important; } .content { margin-left: 0 !important; } } .min-vh-90 { min-height: 90vh; } @import "./avatar"; @import "./button"; @import "./icon-shape"; @import "./utilities";