.wrapper { position: relative; top: 0; // height: 100vh; overflow-x: hidden; &.wrapper-full-page { min-height: 100vh; height: auto; } } .sidebar-wrapper ul li div.collapse ul li div.collapse ul li a, .sidebar-wrapper ul li div.collapse ul li div.collapsing ul li a, .sidebar-wrapper ul li div.collapsing ul li div.collapse ul li a { margin-left: 25px; } .sidebar, .off-canvas-sidebar { // @include linear-gradient($primary-states, $primary); height: calc(100vh - 190px); width: 230px; position: fixed; top: 0; left: 0; z-index: 1; background-size: cover; background-position: center center; display: block; box-shadow: 0px 0px 45px 0px rgba(0, 0, 0, 0.6); margin-top: 82px; margin-left: 20px; border-radius: 5px; .sidebar-wrapper { width: $full-width; min-height: 100%; max-height: calc(100vh - 705px); z-index: 4; position: relative; overflow: auto; // &.sidebar-wrapper-light{ // min-height: 100%; // } .dropdown .dropdown-backdrop { display: none !important; } .navbar-form { border: none; } >.nav, .user .info { [data-toggle='collapse']~div>ul>li>a { span { display: inline-block; @extend .animation-transition-general; } .sidebar-normal { margin: 0; text-transform: capitalize; position: relative; transform: translateX(0px); opacity: 1; white-space: nowrap; display: block; line-height: 23px; z-index: 1; color: $opacity-8; } .sidebar-mini-icon { text-transform: uppercase; width: 34px; margin-right: 10px; margin-left: 0px; font-size: 12px; text-align: center; line-height: 25px; position: relative; float: left; z-index: 1; display: inherit; line-height: 24px; color: $opacity-8; } i { font-size: 17px; line-height: 20px; width: 26px; } } } [data-toggle='collapse']~div>ul>li:hover>a { .sidebar-mini-icon, .sidebar-normal { color: $white; } } .nav [data-toggle='collapse']~div>ul>li>a .sidebar-mini-icon { opacity: 0; } } .navbar-minimize { position: absolute; right: 20px; top: 2px; opacity: 1; @extend .animation-transition-general; } .logo-tim { border-radius: 50%; border: 1px solid #333; display: block; height: 61px; width: 61px; float: left; overflow: hidden; img { width: 60px; height: 60px; } } &.sidebar-dashboard-light { @include nav-setup($nft-dark, 'ntf', nil); } .sidebar-background { position: absolute; z-index: 1; height: 100%; width: $full-width; display: block; top: 0; left: 0; background-size: cover; background-position: center center; &:after { position: absolute; z-index: 3; width: $full-width; height: 100%; content: ''; display: block; background: $white; opacity: 1; } } .logo { position: relative; padding: $padding-base-vertical $padding-base-horizontal 0.5rem; z-index: 4; margin-bottom: 20px; a.logo-mini, a.logo-normal { @extend .animation-transition-general; } a.logo-mini { opacity: 1; float: left; width: 34px; text-align: center; margin-left: 10px; margin-right: 12px; } a.logo-normal { display: block; opacity: 1; @include transform-translate-x(0px); } &:after { content: ''; position: absolute; bottom: 0; right: 15px; height: 1px; width: calc(100% - 30px); background: $opacity-5; } p { float: left; font-size: 20px; margin: 10px 10px; color: $white; line-height: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } .simple-text { // text-transform: uppercase; padding: $padding-base-vertical 0; display: block; white-space: nowrap; font-size: $font-size-base; color: $white; text-decoration: none; font-weight: $font-weight-normal; line-height: 30px; overflow: hidden; } &.hidden-if-dashboard-light { display: none !important; } } // background color sidenav &[data='dark'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($default-states, $nft-dark); &:before { border-bottom-color: $nft-dark; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($nft-dark); } } } &[data='grey'] { @include nav-setup($nft-dark, 'grey', $nft-dark); box-shadow: none !important; &:before { border-bottom-color: $gray-200; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($gray-200); } } } &[data='primary'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($primary-states, $primary); &:before { border-bottom-color: $primary; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($primary); } } } &[data='blue'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($info-states, $info); &:before { border-bottom-color: $info; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($info); } } } &[data='green'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($success-states, $success); &:before { border-bottom-color: $success; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($success); } } } &[data='orange'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($warning-states, $warning); &:before { border-bottom-color: $warning; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($warning); } } } &[data='red'] { @include nav-setup($white, 'normal', $white); @include linear-gradient($danger-states, $danger); &:before { border-bottom-color: $danger; } &:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:before { @include caret-color($danger); } } } .user { padding-bottom: 20px; margin: 20px auto 0; position: relative; &:after { content: ''; position: absolute; bottom: 0; right: 15px; height: 1px; width: calc(100% - 30px); background: $opacity-5; } .photo { width: 34px; height: 34px; overflow: hidden; float: left; z-index: 5; margin-right: 10px; border-radius: 50%; margin-left: 23px; box-shadow: $box-shadow-raised; @extend .animation-transition-general; img { width: $full-width; } } a { color: $white; text-decoration: none; padding: $padding-base-vertical 15px; white-space: nowrap; @extend .animation-transition-general; } .info { >a { display: block; line-height: 18px; >span { @extend .animation-transition-general; display: block; position: relative; opacity: 1; } } .caret { position: absolute; top: 8px; right: 18px; } } } } .visible-on-sidebar-regular { display: inline-block !important; } .visible-on-sidebar-mini { display: none !important; } .off-canvas-sidebar { .nav { >li>a, >li>a:hover { color: $white; } >li>a:focus { background: rgba(200, 200, 200, 0.2); } } } .main-panel { position: relative; float: right; width: $full-width; min-height: 100vh; border-top: 2px solid $primary; .fixed-top { border-top: 2px solid $primary; } background: linear-gradient($background-black, $background-states-black); @include transitions(0.5s, cubic-bezier(0.685, 0.0473, 0.346, 1)); &[data='dark'] { border-top: 2px solid $nft-dark; .fixed-top { border-top: 2px solid $nft-dark; } } &[data='grey'] { border-top: 2px solid $gray-200; .fixed-top { border-top: 2px solid $gray-200; } } &[data='primary'] { border-top: 2px solid $primary; .fixed-top { border-top: 2px solid $primary; } } &[data='blue'] { border-top: 2px solid $info; .fixed-top { border-top: 2px solid $info; } } &[data='green'] { border-top: 2px solid $success; .fixed-top { border-top: 2px solid $success; } } &[data='orange'] { border-top: 2px solid $warning; .fixed-top { border-top: 2px solid $warning; } } &[data='red'] { border-top: 2px solid $danger; .fixed-top { border-top: 2px solid $danger; } } >.content { padding: 80px 30px 30px 280px; min-height: calc(100vh - 70px); } >.navbar { margin-bottom: 0; } .header { margin-bottom: 50px; } &.main-panel-dashboard-light { &[data='light'] { border-top: 2px solid $nft-dark; .fixed-top { border-top: 0px solid $nft-dark; } .v2lrf-by-nucleo { color: $nft-dark !important } } >.content { padding: 60px 0px 30px 230px; @include media-breakpoint-up(xl) { padding: 80px 0px 30px 230px; // min-height: calc(100vh - 70px); min-height: 100vh; } .main-content-light { background-color: $nft-white; @include media-breakpoint-up(xl) { &.no-shadow {} min-height: $max-heigh-value-1NTF; z-index: 200; padding: 20px; &.inser-shadow { position: sticky !important; top: 100px !important; z-index: 1030 !important; box-shadow: $box-inset-shadow-1NTF !important; border: 3px solid white; border-right: 0px; transition: all 0.3s linear; border-radius: $border-radius-1NTF; padding: 0px !important; .table-striped tbody tr:nth-of-type(even) { background-color: #fbfbfb00 !important; } .table { background-color: #ffffff00 !important; } .card { background-color: #ffffff00 !important; } @if $max-heigh-1NTF { height: $max-heigh-value-1NTF; overflow-y: scroll; } @if $enable-backgroud-for-1NTF { background-image: url($url-backgroud-1NTF); background-repeat: repeat; background-size: inherit; } } &.ouset-shadow { position: relative; z-index: 1135 !important; box-shadow: $box-outset-shadow-1NTF; border: 3px solid white; border-right: 0px; transition: all 0.3s linear; border-radius: $border-radius-1NTF; padding: 0px !important; @if $max-heigh-1NTF { height: $max-heigh-value-1NTF; overflow-y: scroll; } @if $enable-backgroud-for-1NTF { background-image: url($url-backgroud-1NTF); background-repeat: repeat; background-size: inherit; } } // backdrop-filter: saturate(101.8%) blur(7px) !important; // background-color: rgba(255, 255, 255, 0.9) !important; } } } } } .perfect-scrollbar-on { .sidebar, .main-panel { height: 100%; max-height: 100%; } } .panel-header { height: $sidebar-width; padding-top: 80px; padding-bottom: 45px; background: #141e30; /* fallback for old browsers */ background: -webkit-gradient(linear, left top, right top, from(#0c2646), color-stop(60%, #204065), to(#2a5788)); background: linear-gradient(to right, #0c2646 0%, #204065 60%, #2a5788 100%); position: relative; overflow: hidden; .header { .title { color: $white; } .category { max-width: 600px; color: $opacity-5; margin: 0 auto; font-size: 13px; a { color: $white; } } } } .panel-header-sm { height: 135px; } .panel-header-lg { height: 380px; } @include media-breakpoint-down(lg) { .sidebar { position: fixed; display: block; top: 0; height: 100vh; width: $sidebar-width; right: auto; left: 0; margin: 0; border-radius: 0; z-index: 1032; visibility: visible; overflow-y: visible; padding: 0; @include transition($sidebar-transition); @include transform-translate-x(-$sidebar-width); .sidebar-wrapper { height: 100vh; } } .minimize-sidebar { display: none !important; } .nav-open { .main-panel { right: 0; @include transform-translate-x($sidebar-width); } .sidebar { @include transition($sidebar-transition); @include transform-translate-x(0px); &:before { content: unset; } } body { position: relative; overflow-x: hidden; } .menu-on-right { .main-panel { @include transform-translate-x(-$sidebar-width); } .navbar-collapse, .sidebar { @include transform-translate-x(0px); } .bodyClick { right: $sidebar-width; left: auto; } } } .menu-on-right { .sidebar { left: auto; right: 0; @include transform-translate-x($sidebar-width); } } .bodyClick { height: 100%; width: 100%; position: fixed; opacity: 1; top: 0; right: 0; left: $sidebar-width; content: ''; z-index: 9999; overflow-x: hidden; background-color: transparent; @include transitions(0.5s, cubic-bezier(0.685, 0.0473, 0.346, 1)); } .wrapper { @include transitions(0.5s, cubic-bezier(0.685, 0.0473, 0.346, 1)); } .main-panel { width: 100%; .content { padding-left: 30px; } &.main-panel-dashboard-light { .content { padding-left: 0px; } } } } @include media-breakpoint-up(lg) { .sidebar, .main-panel, .sidebar-wrapper { -webkit-transition-property: top, bottom, width; transition-property: top, bottom, width; -webkit-transition-duration: 0.2s, 0.2s, 0.35s; transition-duration: 0.2s, 0.2s, 0.35s; -webkit-transition-timing-function: linear, linear, ease; transition-timing-function: linear, linear, ease; -webkit-overflow-scrolling: touch; } .sidebar-mini { .visible-on-sidebar-regular { display: none !important; } .visible-on-sidebar-mini { display: inline-block !important; } .sidebar { width: 80px; .sidebar-wrapper { width: 100% !important; } } .sidebar { display: block; z-index: 1030; box-shadow: $sidebar-box-shadow; .logo { a.logo-normal { opacity: 0; @include transform-translate-x(-25px); } } .sidebar-wrapper { >.nav [data-toggle='collapse']~div>ul>li>a .sidebar-normal, .user .info [data-toggle='collapse']~div>ul>li>a .sidebar-normal, .user .info>a>span, >.nav li>a p { @include transform-translate-x(-25px); opacity: 0; } } .nav [data-toggle='collapse']~div>ul>li>a .sidebar-mini-icon { opacity: 1; } } .sidebar:not(.sidebar-dashboard-light):not(.sidebar-not-hoverable) { &:hover { width: $sidebar-width; .logo { a.logo-normal { opacity: 1; @include transform-translate-x(0); } } .navbar-minimize { opacity: 1; } .sidebar-wrapper { width: $sidebar-width; >.nav li>a p, >.nav [data-toggle='collapse']~div>ul>li>a .sidebar-normal, .user .info [data-toggle='collapse']~div>ul>li>a .sidebar-normal, .user .info>a>span { @include transform-translate-x(0px); opacity: 1; } } .nav [data-toggle='collapse']~div>ul>li>a .sidebar-mini-icon { opacity: 0; } } } .main-panel { >.content { padding-left: 130px; } &.main-panel-dashboard-light { >.content { background: $nft-soft-lighter; padding-left: 80px; position: absolute; // z-index: 9999999; width: 100%; } } } footer { padding-left: 130px; } } .main-panel { .navbar-minimize { button { margin-left: 10px; i { color: $white; font-size: 20px; } } } &.main-panel-dashboard-light { .navbar-minimize { button { margin-left: 10px; i { color: $nft-dark; font-size: 20px; } } } } } } @include media-breakpoint-down(sm) { .main-panel .content { padding-left: 15px; padding-right: 15px; } } @include media-breakpoint-between(md, lg) { .wrapper { @include transitions(0.5s, cubic-bezier(0.685, 0.0473, 0.346, 1)); } .sidebar { position: fixed; display: block; top: 0; height: 100vh; width: $sidebar-width !important; right: auto; left: 0; margin: 0; border-radius: 0; z-index: 1032; visibility: visible; overflow-y: visible; padding: 0; @include transition($sidebar-transition); @include transform-translate-x(-$sidebar-width); .sidebar-wrapper { height: 100vh; } } .main-panel { @include transition($sidebar-transition); } // .nav-open { // body { // position: fixed !important; // } // } .nav-open { .main-panel { right: 0; @include transform-translate-x($sidebar-width); } .sidebar { @include transition($sidebar-transition); @include transform-translate-x(0px); &:before { content: unset; } } body { position: relative; overflow-x: hidden; } .menu-on-right { .main-panel { @include transform-translate-x(-$sidebar-width); } .navbar-collapse, .sidebar { @include transform-translate-x(0px); } .bodyClick { right: $sidebar-width; left: auto; } } } .menu-on-right { .sidebar { left: auto; right: 0; @include transform-translate-x($sidebar-width); } } .bodyClick { height: 100%; width: 100%; position: fixed; opacity: 1; top: 0; right: 0; left: $sidebar-width; content: ''; z-index: 9999; overflow-x: hidden; background-color: transparent; @include transitions(0.5s, cubic-bezier(0.685, 0.0473, 0.346, 1)); } .main-panel .content { padding-left: 30px !important; } .sidebar-mini .sidebar .logo a.logo-normal { opacity: 1; transform: translate3d(0px, 0, 0); } .sidebar-mini .sidebar .sidebar-wrapper>.nav li>a p { opacity: 1; } .sidebar-mini .sidebar .sidebar-wrapper .nav li a p { opacity: 1 !important; transform: translate3d(0px, 0, 0); } .minimize-sidebar { display: none; } }