12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328 |
- /*sidebar*/
- .main-sidebar{
- position: absolute;
- top: 0;
- left: 0;
- padding-top: $main-hed-nav;
- min-height: 100%;
- width: $sid-bar-w;
- z-index: 810;
- -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
- -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
- -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
- transition: transform .3s ease-in-out, width .3s ease-in-out;
- border-radius: 0px;
- .sidebar-footer {
- background-color: darken($white,05%);
- a {
- color: $light5;
- }
- }
- div.logo-box{
- width: $sid-bar-w;
- -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
- -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
- -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
- transition: transform .3s ease-in-out, width .3s ease-in-out;
- border-top-right-radius: 0px;
- padding-top: 0.75rem;
- padding-bottom: 0.75rem;
- }
- .logo{
- @include transition(width .3s ease-in-out);
- display: flex;
- justify-content: center;
- height: $main-hed-nav;
- font-size: 1.2rem;
- line-height: $main-hed-nav;
- text-align: center;
- padding: 0 15px;
- position: relative;
- z-index: 999;
- .logo-lg{
- line-height: $main-hed-nav;
- display: inline-block;
- padding-left: 5px;
- .dark-logo{
- display: none;
- }
- .light-logo{
- display: block;
- }
- }
- .logo-mini{
- display: inline-block;
- .dark-logo{
- display: none;
- }
- .light-logo{
- display: block;
- }
- }
- }
- }
- .sidebar-footer{
- position: fixed;
- z-index: 10;
- bottom: 0;
- left: 0;
- transition: .2s ease-out;
- width: $sid-bar-w;
- background-color: $white;
- border-top: 1px solid rgba($dark, .0);
- a {
- padding: 12px;
- width: 33.333337%;
- float: left;
- text-align: center;
- font-size: 18px;
- }
- }
- .layout-boxed{
- .sidebar-footer {
- position: absolute;
- }
- }
- @include screen-md-max {
- .main-sidebar {
-
- }
- }
- @include screen-sm-max {
- .main-sidebar {
- margin-top: $hed-max + 5;
- margin-left: 0;
- margin-right: 0;
- padding-top: 0px;
- -webkit-transform: translate(-$sid-bar-w, 0);
- -ms-transform: translate(-$sid-bar-w, 0);
- -o-transform: translate(-$sid-bar-w, 0);
- transform: translate(-$sid-bar-w, 0);
- }
- .sidebar-open .main-sidebar {
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- -o-transform: translate(0, 0);
- transform: translate(0, 0);
- }
- }
- @include screen-md {
- .sidebar-collapse {
- .main-sidebar {
- -webkit-transform: translate(-$sid-bar-w, 0);
- -ms-transform: translate(-$sid-bar-w, 0);
- -o-transform: translate(-$sid-bar-w, 0);
- transform: translate(-$sid-bar-w, 0);
- }
- .sidebar-footer {
- width: $mini-sid-bar-w;
- a {
- width: 100%;
- }
- }
- }
- }
- .sidebar {
- padding-bottom: 10px;
- }
- .sidebar-form {
- input:focus {
- border-color: transparent;
- }
- }
- .sidebar-menu{
- list-style: none;
- margin: 0 0px;
- padding: 10px 0px 50px 0px;
-
- >li{
- position: relative;
- margin: 0 0px;
- padding-left: 15px;
- padding-right: 15px;
- border-radius: 0;
- border-left: 0px solid transparent;
- >a{
- padding-left: 0px;
- }
- &:hover{
- >a{
- }
- }
- &.user-profile{
- @include hover-active-state{
- >a{
- color: $black;
- background-color: transparent !important;
- .email-id{
- color: rgba($dark, .7)
- }
- }
- }
- &.menu-open{
- >a{
- color: $black;
- background-color: transparent !important;
- }
- }
- >a{
- opacity: 1;
- padding: 25px;
- display:flex;
- }
- > .treeview-menu{
- background-color: $dark !important;
- }
- }
- @include hover-active-state{
- >a{
- opacity: 1;
- }
- }
- @include active-focus-state{
- >a{
- font-weight: 500;
- }
- }
- &.treeview.menu-open{
- background-color: rgba($light2, 0) !important;
- >a{
- opacity: 1;
- }
- }
- >a{
- padding: 5px 5px;
- border-radius: 100px;
- display: block;
- >i{
- width: 40px;
- height: 40px;
- line-height: 38px;
- font-size: $fs-22;
- display: inline-block;
- vertical-align: middle;
- color: $dark;
- text-align: center;
- border-radius: 100px;
- margin-right: 20px;
- background-color: transparent;
- }
- >svg{
- width: 18px;
- display: inline-block;
- vertical-align: middle;
- color: $white;
- text-align: center;
- margin-right: 10px;
- fill: rgba(27, 46, 75, 0.06);
- }
- >img.svg-icon{
- width: 35px;
- height: 35px;
- margin-right: 10px;
- padding: 8px;
- margin-top: -2px;
- border: 1px solid rgba($dark, 0.5);
- border-radius: 100px;
- }
- }
- @include hover-active-state{
- >a{
- >i{
- color: $light5;
- }
- >svg {
- color: $light5;
- }
- }
- }
- &.menu-open{
- >a{
- >i{
- color: $light5;
- }
- >svg{
- color: $light5;
- }
- }
- }
- .badge{
- margin-right: 5px;
- width: 20px;
- height: 20px;
- border-radius: 100%;
- line-height: 16px;
- text-align: center;
- font-weight: 300;
- margin-top: 3px;
- }
- .label{
- margin-right: 5px;
- width: 20px;
- height: 20px;
- border-radius: 100%;
- line-height: 16px;
- text-align: center;
- font-weight: 300;
- }
- }
- li{
- &.nav-devider{
- height: 1px;
- background-color: rgba($dark, .13);
- display: block;
- margin: 15px 0;
- }
- &.header{
- padding: 15px 25px 10px 25px;
- font-size: 12px;
- font-weight: 400;
- color: $light5;
- opacity: 0.5;
- text-transform: uppercase;
- }
- >a{
- >.fa-angle-right{
- width: auto;
- height: auto;
- padding: 0;
- margin-right: 10px;
- -webkit-transition: transform .5s ease;
- -o-transition: transform .5s ease;
- transition: transform .5s ease;
- position: absolute;
- top: 50%;
- right: 10px;
- margin-top: -8px;
- }
- >.pull-right-container{
- >i{
- width: auto;
- height: auto;
- padding: 0;
- margin-right: 10px;
- -webkit-transition: transform .5s ease;
- -o-transition: transform .5s ease;
- transition: transform .5s ease;
- }
- >.fa-angle-right{
- width: auto;
- height: auto;
- padding: 0;
- margin-right: 25px;
- -webkit-transition: transform .5s ease;
- -o-transition: transform .5s ease;
- transition: transform .5s ease;
- }
- }
- }
- }
- .menu-open{
- >a{
- >.fa-angle-right{
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- transform: rotate(90deg);
- }
- >.pull-right-container{
- >.fa-angle-right{
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- transform: rotate(90deg);
- }
- >i{
- -webkit-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- transform: rotate(90deg);
- }
- }
- }
- }
- .user-profile{
- .treeview-menu{
- >li{
- >a{
- color: $white !important;
- opacity: 1;
- background-color: transparent;
- padding: 8px 5px 8px 30px;
- }
- }
- }
- }
- .active{
- >.treeview-menu{
- display: block;
- }
- }
- }
- .sidebar-collapse{
- .sidebar-menu{
- >li{
- &.user-profile{
- @include hover-active-state{
- >a{
- background-color: $dark !important;
- color: $white;
- .email-id{
- color: lighten($black, 80%);
- }
- }
- }
- &.menu-open{
- >a{
- background-color: $dark !important;
- color: $white;
- .email-id{
- color: lighten($black, 80%);
- }
- }
- }
- >a{
- display:block;
- }
- }
- &:hover{
- >a{
- padding-left: 0px !important;
- }
- }
- }
- }
- }
- .sidebar-mini{
- &.sidebar-collapse {
- .sidebar-menu{
- >li{
- &.user-profile{
- >a {
- padding: 10px;
- }
- }
- }
- }
- }
- }
- .user-panel {
- position: relative;
- width: 100%;
- padding: 10px 0 10px;
- background-image: url(../../images/user-info.jpg);
- @include before-after-state {
- content: " ";
- display: table;
- }
- >.image{
- >img{
- width: 100%;
- max-width: 25%;
- height: auto;
- margin: 0 10px;
- border: 2px solid rgba($dark, .13);
- }
- }
- >.info {
- padding: 5px;
- line-height: 1;
- margin: 0 auto;
- text-align: left;
- position: absolute;
- left: 60px;
- >p {
- font-weight: 300;
- margin-bottom: 9px;
- }
- >a {
- text-decoration: none;
- padding-right: 5px;
- margin-top: 3px;
- font-size: 11px;
- >i {
- margin-right: 3px;
- }
- }
- }
- }
- .sidebar-collapse{
- .user-panel{
- >.image{
- >img{
- max-width: 50px;
- margin: 0 0px;
- }
- }
- }
- }
- .user-profile{
- .info{
- width: auto;
- visibility: visible;
- opacity: 1;
- height: 40px;
- overflow: hidden;
- -webkit-transition: all .1s ease-in-out;
- -o-transition: all .1s ease-in-out;
- -moz-transition: all .1s ease-in-out;
- transition: all .1s ease-in-out;
- }
- .btn-group{
- display: block;
- .btn {
- width: 100%;
- border-radius: 0;
- background-color: rgba($dark, 0.4);
- border: none;
- text-align: left;
- padding: 5px 15px;
- color: $white;
- }
- button{
- &.btn{
- &.dropdown-toggle::after {
- position: absolute;
- right: 20px;
- top: 15px;
- }
- }
- }
- }
- .profile-pic{
- padding: 15px 0;
- text-align: center;
- }
- .ulogo{
- text-align: center;
- padding: 20px 0 0;
- font-size: $fs-18;
- color: $white;
- }
- img{
- width: 50px;
- height: 50px;
- margin: 0 auto;
- border-radius: 100px !important;
- border: 5px solid rgba($white,0.3);
- }
- .dropdown-menu{
- left: 0px;
- right: 0px;
- width: 180px;
- }
- .profile-setting{
- li {
- a{
- svg{
- width: 18px;
- }
- }
- }
- }
- }
- .sidebar-collapse{
- .user-profile{
- .profile-pic{
- padding: 5px 0;
- }
- .ulogo, .info{
- width: 0;
- visibility: hidden;
- opacity: 0;
- height: 40px;
- overflow: hidden;
- -webkit-transition: all .1s ease-in-out;
- -o-transition: all .1s ease-in-out;
- -moz-transition: all .1s ease-in-out;
- transition: all .1s ease-in-out;
- margin-left: -20px !important;
- }
- .profile-info, .profile-setting{
- display: none !important;
- -webkit-transition: all .5s ease-in-out;
- -o-transition: all .5s ease-in-out;
- -moz-transition: all .5s ease-in-out;
- transition: all .5s ease-in-out;
- }
- }
- }
- .sidebar{
- .user-profile{
- .ulogo{
- a{
- background-color: transparent;
- }
- }
- .btn-group{
- a{
- color: $dark;
- background-color: transparent;
- }
- }
- }
- }
- .sidebar-collapse{
- &.sidebar-mini{
- .user-profile{
- overflow: hidden;
- padding-left: 5px !important;
- padding-right: 5px !important;
- }
- }
- }
- .sidebar-mini:not(.sidebar-mini-expand-feature){
- &.sidebar-collapse{
- .sidebar-menu{
- >li{
- &.user-profile{
- @include hover-active-state{
- >.treeview-menu{
- top: 79px;
- }
- }
- }
- }
- }
- }
- }
- .sidebar-menu{
- .user-profile{
- > a{
- img{
- width: 45px;
- border-radius: 100%;
- margin-right: 10px;
- }
- }
- }
- }
- .sidebar-collapse {
- .sidebar-menu {
- .user-profile {
- > a {
- img {
- margin-right: 0px;
- }
- }
- }
- }
- }
- .light-sidebar{
- .sidebar-menu{
- >li{
- @include hover-active-state{
- >a{
- >i{
- border: 1px solid rgba($black, 0.2);
- }
- }
- }
- &.menu-open{
- >a{
- >i{
- border: 1px solid rgba($black, 0.2);
- }
- }
- }
- >a{
- >i{
- border: 1px solid rgba($black, 0.2);
- }
- }
- }
- }
- }
- @include screen-md {
- .sidebar-mini{
- &.sidebar-expanded-on-hover{
- .content-wrapper {
- margin-left: $main-hed-nav;
- }
- .main-header {
- .navbar {
- margin-left: $sid-bar-w;
- }
- .logo-box{
- position: absolute;
- z-index: 9;
- background: $light3;
- }
- }
- }
- &.fixed.sidebar-mini-expand-feature{
- .main-header {
- .logo-box{
- position: absolute;
- z-index: 9;
- background: $white;
- }
- }
- }
- &.sidebar-collapse{
- .content-wrapper{
- margin-left: $mini-sid-bar-w + 20;
- z-index: 840;
- }
- .main-footer{
- margin-left: $mini-sid-bar-w;
- z-index: 840;
- }
- .right-side{
- margin-left: $mini-sid-bar-w;
- z-index: 840;
- }
- .main-sidebar{
- -webkit-transform: translate(0, 0);
- -ms-transform: translate(0, 0);
- -o-transform: translate(0, 0);
- transform: translate(0, 0);
- width: $mini-sid-bar-w;
- z-index: 850;
- .user-panel{
- >.info{
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- }
- .logo-box{
- width: $mini-sid-bar-w;
- -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
- -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
- -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
- transition: transform .3s ease-in-out, width .3s ease-in-out;
- }
- .logo{
- text-align: center;
- padding: 0;
- margin: 0 auto;
- >.logo-mini{
- display: inline-block;
- }
- >.logo-lg {
- display: none;
- }
- }
- }
- .sidebar-menu{
- >li{
- position: relative;
- padding: 0px 10px;
- margin: 0 0px;
- >a{
- margin-right: 0;
- padding-left: 0;
- padding-right: 0;
- i{
- margin-right: 0;
- &.fa.fa-angle-right{
- display: none;
- }
- }
- svg{
- margin-right: 0;
- margin-left: 16px;
- }
- >span{
- border-top-right-radius: 5px;
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- >.pull-right{
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- }
- &:not(.treeview){
- >a{
- >span {
- border-top-right-radius: 5px;
- }
- }
- }
- >.treeview-menu{
- padding-top: 10px;
- padding-bottom: 10px;
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- }
- li{
- &.header{
- visibility: hidden;
- overflow: hidden;
- width: 0;
- height: 0;
- padding: 0;
- -webkit-transform: translateZ(0);
- }
- }
- }
- .sidebar-form{
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- .sidebar-widgets{
- display: none !important;
- -webkit-transform: translateZ(0);
- }
- }
- &:not(.sidebar-mini-expand-feature){
- &.sidebar-collapse{
- .sidebar-menu{
- >li:hover{
- >a{
- >span:not(.pull-right){
- display: none!important;
- position: absolute;
- width: $sid-bar-w;
- left: $mini-sid-bar-w - 6;
- text-align: left;
- }
- >span{
- top: 0;
- margin-left: -15px;
- padding: 14px 0px 14px 30px;
- background-color: inherit;
- }
- >.pull-right-container{
- position: relative!important;
- float: right;
- width: auto!important;
- left: 250px!important;
- top: -16px!important;
- z-index: 900;
- background-color: transparent !important;
- box-shadow: none;
- >.label:not(:first-of-type){
- display: none;
- }
- }
- &:after{
- display: none;
- }
- }
- >.treeview-menu{
- display: block!important;
- position: absolute;
- width: $sid-bar-w;
- left: $mini-sid-bar-w + 5;
- top: 0;
- margin-left: 0;
- border-radius: $default-border-radius;
- > .treeview .treeview-menu{
- &:after {
- content: "";
- position: absolute;
- background: inherit;
- width: 10px;
- height: 10px;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- left: -5px;
- top: 20px;
- }
- }
- &:after {
- content: "";
- position: absolute;
- background: inherit;
- width: 10px;
- height: 10px;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- left: -5px;
- top: 20px;
- }
- }
- }
- >li{
- .user-profile:hover{
- >a{
- >.pull-right-container{
- left: 237px !important;
- }
- }
- }
- }
- }
- }
- }
- }
- .sidebar-collapse{
- .treeview-menu{
- margin-left: -10px!important;
- }
- }
- .control-sidebar-open{
- .content-wrapper{
- margin-right: $ctrl-sid-bar-w;
- }
- .main-footer{
- margin-right: $ctrl-sid-bar-w;
- }
- .right-side{
- margin-right: $ctrl-sid-bar-w;
- }
- }
- }
- .main-sidebar{
- .user-panel{
- white-space: nowrap;
- overflow: hidden;
- }
- }
- .sidebar-menu{
- white-space: nowrap;
- overflow: hidden;
- >li{
- &.header{
- white-space: nowrap;
- overflow: hidden;
- text-overflow: clip;
- &.line{
- background-color: $light;
- height: 2px;
- padding: 0;
- margin: 20px 0px;
- }
- }
- @include hover-full-state{
- &.header{
- background: transparent !important;
- border-color: transparent !important;
- }
- }
- }
- li{
- >a{
- position: relative;
- font-weight: 500;
- opacity: 0.9;
- white-space: nowrap;
- align-items: center;
- line-height: 25px;
- > span{
- top: 1px;
- position: relative;
- }
- >.pull-right-container{
- position: absolute;
- right: 0px;
- top: 50%;
- margin-top: -7px;
- }
- }
- }
- &:hover{
- overflow: visible;
- }
- .treeview-menu{
- >li{
- &.active{
- >a{
- opacity: 1;
- }
- >a:hover{
- opacity: 1;
- }
- }
- >a:hover{
- opacity: 1;
- }
- }
- }
- }
- .sidebar-collapse{
- .sidebar-menu{
- &.tree {
- padding: 0;
- margin: 0;
- }
- >li{
- @include hover-active-state{
- >a{
- border-radius: $fct-border-radius;
- }
- }
- &.menu-open{
- >a{
- border-radius: $fct-border-radius;
- }
- }
- }
- }
- }
- .sidebar-form{
- float: left;
- margin: 20px 10px 10px;
- overflow: hidden;
- text-overflow: clip;
- }
- .nav-tabs{
- &.control-sidebar-tabs{
- >li{
- >a{
- border-radius: 0;
- border-top: none;
- border-right: none;
- border-left: none;
- border-bottom: 1px solid transparent;
- @include hover-focus-state{
- border-top: none;
- border-right: none;
- border-left: none;
- border-bottom: 1px solid transparent;
- }
- .icon{
- font-size: 16px;
- }
- }
- &:first-of-type{
- >a{
- border-left-width: 0;
- @include hover-focus-state{
- border-left-width: 0;
- }
- }
- }
- &.active{
- >a{
- border-top: none;
- border-right: none;
- border-bottom: none;
- @include hover-full-state{
- border-top: none;
- border-right: none;
- border-bottom: none;
- }
- }
- }
- }
- }
- }
- .control-sidebar-bg{
- position: fixed;
- z-index: 1000;
- bottom: 0;
- top: 0;
- right: -355px;
- width: $ctrl-sid-bar-w;
- -webkit-transition: right .3s ease-in-out;
- -o-transition: right .3s ease-in-out;
- transition: right .3s ease-in-out;
- }
- .control-sidebar{
- top: 0;
- right: -$ctrl-sid-bar-w + -10;
- width: $ctrl-sid-bar-w;
- -webkit-transition: right .3s ease-in-out;
- -o-transition: right .3s ease-in-out;
- transition: right .3s ease-in-out;
- position: absolute;
- padding: 30px 30px 30px 30px;
- z-index: 9999;
- >.tab-content{
- padding: 15px 0px;
- }
- &.control-sidebar-open{
- right: 0;
- &.control-sidebar-bg, +.control-sidebar-bg {
- right: 0;
- }
- }
- .nav-tabs.control-sidebar-tabs{
- >li{
- margin-right: 30px;
- >a{
- padding: 10px 0px;
- display: block;
- font-size: 24px;
- }
- }
- }
- .rpanel-title {
- position: absolute;
- top: 0;
- right: 0;
- color: $white;
- .btn {
- padding: 0;
- margin: 0.75rem 1rem;
- }
- }
- }
- @include screen-md {
- .control-sidebar {
- padding: 30px;
- right: -$ctrl-sid-bar-w;
- width: $ctrl-sid-bar-w;
- }
- .control-sidebar-bg{
- right: -$ctrl-sid-bar-w;
- width: $ctrl-sid-bar-w;
- }
- .nav-tabs.control-sidebar-tabs>li{
- display: table-cell;
- }
- }
- @include screen-sm-max {
- .control-sidebar {
- padding: 20px;
- width: $ctrl-sid-bar-w - 45;
- }
- .control-sidebar-bg {
- width: $ctrl-sid-bar-w - 45;
- }
- }
- .control-sidebar-open {
- .control-sidebar{
- right: 0;
- }
- .control-sidebar-bg{
- right: 0;
- }
- }
- .fixed{
- .control-sidebar {
- position: fixed;
- height: 100%;
- overflow-y: auto;
- padding-bottom: 50px;
- }
- }
- .control-sidebar-heading{
- font-weight: 600;
- padding: 10px 0;
- margin-bottom: 0px;
- margin-top: 0;
- }
- .control-sidebar-subheading{
- display: block;
- font-weight: 500;
- font-size: 16px;
- }
- .control-sidebar-menu{
- list-style: none;
- padding: 0;
- margin: 0 -15px;
- >li{
- >a{
- display: block;
- padding: 10px 15px;
- @include before-after-state{
- content: " ";
- display: table;
- }
- >.control-sidebar-subheading{
- margin-top: 0;
- }
- }
- }
- .menu-icon{
- float: left;
- width: 35px;
- height: 35px;
- text-align: center;
- line-height: 35px;
- }
- .menu-info{
- margin-left: 45px;
- margin-top: 3px;
- >.control-sidebar-subheading{
- margin: 0;
- }
- >p{
- margin: 0;
- font-size: 11px;
- }
- }
- .progress{
- margin: 0;
- }
- }
- #control-sidebar-theme-demo-options-tab{
- p{
- font-size: 12px;
- }
- .form-group {
- margin-bottom: 0.5rem;
- label {
- font-weight: 300;
- font-size: 12px;
- }
- }
- }
- /*treeview*/
- .treeview-menu{
- display: none;
- list-style: none;
- padding: 0;
- margin: 0;
- .treeview-menu {
- padding-left: 10px;
- }
- >li{
- margin: 0;
- >a{
- padding: 5px 5px 5px 25px;
- display: block;
- font-size: $fs-14;
- border-radius: $fct-border-radius;
- -webkit-transition: -webkit-transform .3s ease-in-out, .3s ease-in-out;
- -moz-transition: -moz-transform .3s ease-in-out, .3s ease-in-out;
- -o-transition: -o-transform .3s ease-in-out, .3s ease-in-out;
- transition: transform .3s ease-in-out, .3s ease-in-out;
- >i{
- width: 20px;
- padding-right: 20px;
- padding-left: 10px;
- }
- >.fa-angle-down{
- width: auto;
- }
- >.fa-angle-left{
- width: auto;
- }
- >.pull-right-container>.fa-angle-down{
- width: auto;
- }
- >.pull-right-container>.fa-angle-left{
- width: auto;
- }
- }
- }
- }
- .sidebar-collapse{
- .treeview-menu{
- >li{
- margin: 0;
- >a{
- padding: 5px 10px 5px 10px;
- }
- }
- }
- }
- .sidebar-menu{
- .treeview-menu{
- >li{
- &.active{
- >a{
- i{
- &.ti-more:before{
- content: "\e628";
- }
- }
- }
- }
- >a:hover {
- i.ti-more:before{
- content: "\e628";
- }
- }
- }
- }
- }
- @include screen-md {
- .fixed{
- .multinav {
- position: fixed;
- width: $sid-bar-w;
- padding-bottom: 0;
- height: calc(100% - 80px);
- }
- }
-
- .sidebar-collapse{
- .multinav {
- width: $mini-sid-bar-w;
- }
- .ps{
- overflow: visible !important;
- }
- .sidebar-menu > li > a {
- padding: 3px 12px;
- }
- .sidebar-menu > li.menu-open > a, .sidebar-menu > li.active > a {
- background-color: transparent !important;
- }
- .ps__rail-x{
- display: none;
- }
- }
- .multinav{
- .ps__rail-x{
- display: none !important;
- }
- }
-
- .sidebar-collapse{
- .sidebar-menu{
- .treeview-menu{
- >.treeview{
- position: relative;
- .treeview-menu{
- padding: 10px 0px;
- border-radius: $default-border-radius;
- width: $sid-bar-w;
- top: 0;
- display: none !important;
- }
- &:hover{
- >.treeview-menu{
- display: block !important;
- position: absolute;
- left: $sid-bar-w + 0.7;
- }
- }
- }
- }
- }
- .ps--active-x > .ps__rail-x, .ps--active-y > .ps__rail-y {
- z-index: -1;
- opacity: 0.1;
- }
- }
- }
- @include screen-sm-max {
- .fixed{
- .multinav {
- position: fixed;
- width: $sid-bar-w;
- padding-bottom: 0;
- height: calc(100% - #{$hed-max + 20});
- margin-top: 15px;
- }
- }
- }
|