_sidebar.scss 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328
  1. /*sidebar*/
  2. .main-sidebar{
  3. position: absolute;
  4. top: 0;
  5. left: 0;
  6. padding-top: $main-hed-nav;
  7. min-height: 100%;
  8. width: $sid-bar-w;
  9. z-index: 810;
  10. -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
  11. -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
  12. -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
  13. transition: transform .3s ease-in-out, width .3s ease-in-out;
  14. border-radius: 0px;
  15. .sidebar-footer {
  16. background-color: darken($white,05%);
  17. a {
  18. color: $light5;
  19. }
  20. }
  21. div.logo-box{
  22. width: $sid-bar-w;
  23. -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
  24. -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
  25. -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
  26. transition: transform .3s ease-in-out, width .3s ease-in-out;
  27. border-top-right-radius: 0px;
  28. padding-top: 0.75rem;
  29. padding-bottom: 0.75rem;
  30. }
  31. .logo{
  32. @include transition(width .3s ease-in-out);
  33. display: flex;
  34. justify-content: center;
  35. height: $main-hed-nav;
  36. font-size: 1.2rem;
  37. line-height: $main-hed-nav;
  38. text-align: center;
  39. padding: 0 15px;
  40. position: relative;
  41. z-index: 999;
  42. .logo-lg{
  43. line-height: $main-hed-nav;
  44. display: inline-block;
  45. padding-left: 5px;
  46. .dark-logo{
  47. display: none;
  48. }
  49. .light-logo{
  50. display: block;
  51. }
  52. }
  53. .logo-mini{
  54. display: inline-block;
  55. .dark-logo{
  56. display: none;
  57. }
  58. .light-logo{
  59. display: block;
  60. }
  61. }
  62. }
  63. }
  64. .sidebar-footer{
  65. position: fixed;
  66. z-index: 10;
  67. bottom: 0;
  68. left: 0;
  69. transition: .2s ease-out;
  70. width: $sid-bar-w;
  71. background-color: $white;
  72. border-top: 1px solid rgba($dark, .0);
  73. a {
  74. padding: 12px;
  75. width: 33.333337%;
  76. float: left;
  77. text-align: center;
  78. font-size: 18px;
  79. }
  80. }
  81. .layout-boxed{
  82. .sidebar-footer {
  83. position: absolute;
  84. }
  85. }
  86. @include screen-md-max {
  87. .main-sidebar {
  88. }
  89. }
  90. @include screen-sm-max {
  91. .main-sidebar {
  92. margin-top: $hed-max + 5;
  93. margin-left: 0;
  94. margin-right: 0;
  95. padding-top: 0px;
  96. -webkit-transform: translate(-$sid-bar-w, 0);
  97. -ms-transform: translate(-$sid-bar-w, 0);
  98. -o-transform: translate(-$sid-bar-w, 0);
  99. transform: translate(-$sid-bar-w, 0);
  100. }
  101. .sidebar-open .main-sidebar {
  102. -webkit-transform: translate(0, 0);
  103. -ms-transform: translate(0, 0);
  104. -o-transform: translate(0, 0);
  105. transform: translate(0, 0);
  106. }
  107. }
  108. @include screen-md {
  109. .sidebar-collapse {
  110. .main-sidebar {
  111. -webkit-transform: translate(-$sid-bar-w, 0);
  112. -ms-transform: translate(-$sid-bar-w, 0);
  113. -o-transform: translate(-$sid-bar-w, 0);
  114. transform: translate(-$sid-bar-w, 0);
  115. }
  116. .sidebar-footer {
  117. width: $mini-sid-bar-w;
  118. a {
  119. width: 100%;
  120. }
  121. }
  122. }
  123. }
  124. .sidebar {
  125. padding-bottom: 10px;
  126. }
  127. .sidebar-form {
  128. input:focus {
  129. border-color: transparent;
  130. }
  131. }
  132. .sidebar-menu{
  133. list-style: none;
  134. margin: 0 0px;
  135. padding: 10px 0px 50px 0px;
  136. >li{
  137. position: relative;
  138. margin: 0 0px;
  139. padding-left: 15px;
  140. padding-right: 15px;
  141. border-radius: 0;
  142. border-left: 0px solid transparent;
  143. >a{
  144. padding-left: 0px;
  145. }
  146. &:hover{
  147. >a{
  148. }
  149. }
  150. &.user-profile{
  151. @include hover-active-state{
  152. >a{
  153. color: $black;
  154. background-color: transparent !important;
  155. .email-id{
  156. color: rgba($dark, .7)
  157. }
  158. }
  159. }
  160. &.menu-open{
  161. >a{
  162. color: $black;
  163. background-color: transparent !important;
  164. }
  165. }
  166. >a{
  167. opacity: 1;
  168. padding: 25px;
  169. display:flex;
  170. }
  171. > .treeview-menu{
  172. background-color: $dark !important;
  173. }
  174. }
  175. @include hover-active-state{
  176. >a{
  177. opacity: 1;
  178. }
  179. }
  180. @include active-focus-state{
  181. >a{
  182. font-weight: 500;
  183. }
  184. }
  185. &.treeview.menu-open{
  186. background-color: rgba($light2, 0) !important;
  187. >a{
  188. opacity: 1;
  189. }
  190. }
  191. >a{
  192. padding: 5px 5px;
  193. border-radius: 100px;
  194. display: block;
  195. >i{
  196. width: 40px;
  197. height: 40px;
  198. line-height: 38px;
  199. font-size: $fs-22;
  200. display: inline-block;
  201. vertical-align: middle;
  202. color: $dark;
  203. text-align: center;
  204. border-radius: 100px;
  205. margin-right: 20px;
  206. background-color: transparent;
  207. }
  208. >svg{
  209. width: 18px;
  210. display: inline-block;
  211. vertical-align: middle;
  212. color: $white;
  213. text-align: center;
  214. margin-right: 10px;
  215. fill: rgba(27, 46, 75, 0.06);
  216. }
  217. >img.svg-icon{
  218. width: 35px;
  219. height: 35px;
  220. margin-right: 10px;
  221. padding: 8px;
  222. margin-top: -2px;
  223. border: 1px solid rgba($dark, 0.5);
  224. border-radius: 100px;
  225. }
  226. }
  227. @include hover-active-state{
  228. >a{
  229. >i{
  230. color: $light5;
  231. }
  232. >svg {
  233. color: $light5;
  234. }
  235. }
  236. }
  237. &.menu-open{
  238. >a{
  239. >i{
  240. color: $light5;
  241. }
  242. >svg{
  243. color: $light5;
  244. }
  245. }
  246. }
  247. .badge{
  248. margin-right: 5px;
  249. width: 20px;
  250. height: 20px;
  251. border-radius: 100%;
  252. line-height: 16px;
  253. text-align: center;
  254. font-weight: 300;
  255. margin-top: 3px;
  256. }
  257. .label{
  258. margin-right: 5px;
  259. width: 20px;
  260. height: 20px;
  261. border-radius: 100%;
  262. line-height: 16px;
  263. text-align: center;
  264. font-weight: 300;
  265. }
  266. }
  267. li{
  268. &.nav-devider{
  269. height: 1px;
  270. background-color: rgba($dark, .13);
  271. display: block;
  272. margin: 15px 0;
  273. }
  274. &.header{
  275. padding: 15px 25px 10px 25px;
  276. font-size: 12px;
  277. font-weight: 400;
  278. color: $light5;
  279. opacity: 0.5;
  280. text-transform: uppercase;
  281. }
  282. >a{
  283. >.fa-angle-right{
  284. width: auto;
  285. height: auto;
  286. padding: 0;
  287. margin-right: 10px;
  288. -webkit-transition: transform .5s ease;
  289. -o-transition: transform .5s ease;
  290. transition: transform .5s ease;
  291. position: absolute;
  292. top: 50%;
  293. right: 10px;
  294. margin-top: -8px;
  295. }
  296. >.pull-right-container{
  297. >i{
  298. width: auto;
  299. height: auto;
  300. padding: 0;
  301. margin-right: 10px;
  302. -webkit-transition: transform .5s ease;
  303. -o-transition: transform .5s ease;
  304. transition: transform .5s ease;
  305. }
  306. >.fa-angle-right{
  307. width: auto;
  308. height: auto;
  309. padding: 0;
  310. margin-right: 25px;
  311. -webkit-transition: transform .5s ease;
  312. -o-transition: transform .5s ease;
  313. transition: transform .5s ease;
  314. }
  315. }
  316. }
  317. }
  318. .menu-open{
  319. >a{
  320. >.fa-angle-right{
  321. -webkit-transform: rotate(90deg);
  322. -ms-transform: rotate(90deg);
  323. -o-transform: rotate(90deg);
  324. transform: rotate(90deg);
  325. }
  326. >.pull-right-container{
  327. >.fa-angle-right{
  328. -webkit-transform: rotate(90deg);
  329. -ms-transform: rotate(90deg);
  330. -o-transform: rotate(90deg);
  331. transform: rotate(90deg);
  332. }
  333. >i{
  334. -webkit-transform: rotate(90deg);
  335. -ms-transform: rotate(90deg);
  336. -o-transform: rotate(90deg);
  337. transform: rotate(90deg);
  338. }
  339. }
  340. }
  341. }
  342. .user-profile{
  343. .treeview-menu{
  344. >li{
  345. >a{
  346. color: $white !important;
  347. opacity: 1;
  348. background-color: transparent;
  349. padding: 8px 5px 8px 30px;
  350. }
  351. }
  352. }
  353. }
  354. .active{
  355. >.treeview-menu{
  356. display: block;
  357. }
  358. }
  359. }
  360. .sidebar-collapse{
  361. .sidebar-menu{
  362. >li{
  363. &.user-profile{
  364. @include hover-active-state{
  365. >a{
  366. background-color: $dark !important;
  367. color: $white;
  368. .email-id{
  369. color: lighten($black, 80%);
  370. }
  371. }
  372. }
  373. &.menu-open{
  374. >a{
  375. background-color: $dark !important;
  376. color: $white;
  377. .email-id{
  378. color: lighten($black, 80%);
  379. }
  380. }
  381. }
  382. >a{
  383. display:block;
  384. }
  385. }
  386. &:hover{
  387. >a{
  388. padding-left: 0px !important;
  389. }
  390. }
  391. }
  392. }
  393. }
  394. .sidebar-mini{
  395. &.sidebar-collapse {
  396. .sidebar-menu{
  397. >li{
  398. &.user-profile{
  399. >a {
  400. padding: 10px;
  401. }
  402. }
  403. }
  404. }
  405. }
  406. }
  407. .user-panel {
  408. position: relative;
  409. width: 100%;
  410. padding: 10px 0 10px;
  411. background-image: url(../../images/user-info.jpg);
  412. @include before-after-state {
  413. content: " ";
  414. display: table;
  415. }
  416. >.image{
  417. >img{
  418. width: 100%;
  419. max-width: 25%;
  420. height: auto;
  421. margin: 0 10px;
  422. border: 2px solid rgba($dark, .13);
  423. }
  424. }
  425. >.info {
  426. padding: 5px;
  427. line-height: 1;
  428. margin: 0 auto;
  429. text-align: left;
  430. position: absolute;
  431. left: 60px;
  432. >p {
  433. font-weight: 300;
  434. margin-bottom: 9px;
  435. }
  436. >a {
  437. text-decoration: none;
  438. padding-right: 5px;
  439. margin-top: 3px;
  440. font-size: 11px;
  441. >i {
  442. margin-right: 3px;
  443. }
  444. }
  445. }
  446. }
  447. .sidebar-collapse{
  448. .user-panel{
  449. >.image{
  450. >img{
  451. max-width: 50px;
  452. margin: 0 0px;
  453. }
  454. }
  455. }
  456. }
  457. .user-profile{
  458. .info{
  459. width: auto;
  460. visibility: visible;
  461. opacity: 1;
  462. height: 40px;
  463. overflow: hidden;
  464. -webkit-transition: all .1s ease-in-out;
  465. -o-transition: all .1s ease-in-out;
  466. -moz-transition: all .1s ease-in-out;
  467. transition: all .1s ease-in-out;
  468. }
  469. .btn-group{
  470. display: block;
  471. .btn {
  472. width: 100%;
  473. border-radius: 0;
  474. background-color: rgba($dark, 0.4);
  475. border: none;
  476. text-align: left;
  477. padding: 5px 15px;
  478. color: $white;
  479. }
  480. button{
  481. &.btn{
  482. &.dropdown-toggle::after {
  483. position: absolute;
  484. right: 20px;
  485. top: 15px;
  486. }
  487. }
  488. }
  489. }
  490. .profile-pic{
  491. padding: 15px 0;
  492. text-align: center;
  493. }
  494. .ulogo{
  495. text-align: center;
  496. padding: 20px 0 0;
  497. font-size: $fs-18;
  498. color: $white;
  499. }
  500. img{
  501. width: 50px;
  502. height: 50px;
  503. margin: 0 auto;
  504. border-radius: 100px !important;
  505. border: 5px solid rgba($white,0.3);
  506. }
  507. .dropdown-menu{
  508. left: 0px;
  509. right: 0px;
  510. width: 180px;
  511. }
  512. .profile-setting{
  513. li {
  514. a{
  515. svg{
  516. width: 18px;
  517. }
  518. }
  519. }
  520. }
  521. }
  522. .sidebar-collapse{
  523. .user-profile{
  524. .profile-pic{
  525. padding: 5px 0;
  526. }
  527. .ulogo, .info{
  528. width: 0;
  529. visibility: hidden;
  530. opacity: 0;
  531. height: 40px;
  532. overflow: hidden;
  533. -webkit-transition: all .1s ease-in-out;
  534. -o-transition: all .1s ease-in-out;
  535. -moz-transition: all .1s ease-in-out;
  536. transition: all .1s ease-in-out;
  537. margin-left: -20px !important;
  538. }
  539. .profile-info, .profile-setting{
  540. display: none !important;
  541. -webkit-transition: all .5s ease-in-out;
  542. -o-transition: all .5s ease-in-out;
  543. -moz-transition: all .5s ease-in-out;
  544. transition: all .5s ease-in-out;
  545. }
  546. }
  547. }
  548. .sidebar{
  549. .user-profile{
  550. .ulogo{
  551. a{
  552. background-color: transparent;
  553. }
  554. }
  555. .btn-group{
  556. a{
  557. color: $dark;
  558. background-color: transparent;
  559. }
  560. }
  561. }
  562. }
  563. .sidebar-collapse{
  564. &.sidebar-mini{
  565. .user-profile{
  566. overflow: hidden;
  567. padding-left: 5px !important;
  568. padding-right: 5px !important;
  569. }
  570. }
  571. }
  572. .sidebar-mini:not(.sidebar-mini-expand-feature){
  573. &.sidebar-collapse{
  574. .sidebar-menu{
  575. >li{
  576. &.user-profile{
  577. @include hover-active-state{
  578. >.treeview-menu{
  579. top: 79px;
  580. }
  581. }
  582. }
  583. }
  584. }
  585. }
  586. }
  587. .sidebar-menu{
  588. .user-profile{
  589. > a{
  590. img{
  591. width: 45px;
  592. border-radius: 100%;
  593. margin-right: 10px;
  594. }
  595. }
  596. }
  597. }
  598. .sidebar-collapse {
  599. .sidebar-menu {
  600. .user-profile {
  601. > a {
  602. img {
  603. margin-right: 0px;
  604. }
  605. }
  606. }
  607. }
  608. }
  609. .light-sidebar{
  610. .sidebar-menu{
  611. >li{
  612. @include hover-active-state{
  613. >a{
  614. >i{
  615. border: 1px solid rgba($black, 0.2);
  616. }
  617. }
  618. }
  619. &.menu-open{
  620. >a{
  621. >i{
  622. border: 1px solid rgba($black, 0.2);
  623. }
  624. }
  625. }
  626. >a{
  627. >i{
  628. border: 1px solid rgba($black, 0.2);
  629. }
  630. }
  631. }
  632. }
  633. }
  634. @include screen-md {
  635. .sidebar-mini{
  636. &.sidebar-expanded-on-hover{
  637. .content-wrapper {
  638. margin-left: $main-hed-nav;
  639. }
  640. .main-header {
  641. .navbar {
  642. margin-left: $sid-bar-w;
  643. }
  644. .logo-box{
  645. position: absolute;
  646. z-index: 9;
  647. background: $light3;
  648. }
  649. }
  650. }
  651. &.fixed.sidebar-mini-expand-feature{
  652. .main-header {
  653. .logo-box{
  654. position: absolute;
  655. z-index: 9;
  656. background: $white;
  657. }
  658. }
  659. }
  660. &.sidebar-collapse{
  661. .content-wrapper{
  662. margin-left: $mini-sid-bar-w + 20;
  663. z-index: 840;
  664. }
  665. .main-footer{
  666. margin-left: $mini-sid-bar-w;
  667. z-index: 840;
  668. }
  669. .right-side{
  670. margin-left: $mini-sid-bar-w;
  671. z-index: 840;
  672. }
  673. .main-sidebar{
  674. -webkit-transform: translate(0, 0);
  675. -ms-transform: translate(0, 0);
  676. -o-transform: translate(0, 0);
  677. transform: translate(0, 0);
  678. width: $mini-sid-bar-w;
  679. z-index: 850;
  680. .user-panel{
  681. >.info{
  682. display: none !important;
  683. -webkit-transform: translateZ(0);
  684. }
  685. }
  686. .logo-box{
  687. width: $mini-sid-bar-w;
  688. -webkit-transition: -webkit-transform .3s ease-in-out, width .3s ease-in-out;
  689. -moz-transition: -moz-transform .3s ease-in-out, width .3s ease-in-out;
  690. -o-transition: -o-transform .3s ease-in-out, width .3s ease-in-out;
  691. transition: transform .3s ease-in-out, width .3s ease-in-out;
  692. }
  693. .logo{
  694. text-align: center;
  695. padding: 0;
  696. margin: 0 auto;
  697. >.logo-mini{
  698. display: inline-block;
  699. }
  700. >.logo-lg {
  701. display: none;
  702. }
  703. }
  704. }
  705. .sidebar-menu{
  706. >li{
  707. position: relative;
  708. padding: 0px 10px;
  709. margin: 0 0px;
  710. >a{
  711. margin-right: 0;
  712. padding-left: 0;
  713. padding-right: 0;
  714. i{
  715. margin-right: 0;
  716. &.fa.fa-angle-right{
  717. display: none;
  718. }
  719. }
  720. svg{
  721. margin-right: 0;
  722. margin-left: 16px;
  723. }
  724. >span{
  725. border-top-right-radius: 5px;
  726. display: none !important;
  727. -webkit-transform: translateZ(0);
  728. }
  729. >.pull-right{
  730. display: none !important;
  731. -webkit-transform: translateZ(0);
  732. }
  733. }
  734. &:not(.treeview){
  735. >a{
  736. >span {
  737. border-top-right-radius: 5px;
  738. }
  739. }
  740. }
  741. >.treeview-menu{
  742. padding-top: 10px;
  743. padding-bottom: 10px;
  744. border-top-right-radius: 5px;
  745. border-bottom-right-radius: 5px;
  746. display: none !important;
  747. -webkit-transform: translateZ(0);
  748. }
  749. }
  750. li{
  751. &.header{
  752. visibility: hidden;
  753. overflow: hidden;
  754. width: 0;
  755. height: 0;
  756. padding: 0;
  757. -webkit-transform: translateZ(0);
  758. }
  759. }
  760. }
  761. .sidebar-form{
  762. display: none !important;
  763. -webkit-transform: translateZ(0);
  764. }
  765. .sidebar-widgets{
  766. display: none !important;
  767. -webkit-transform: translateZ(0);
  768. }
  769. }
  770. &:not(.sidebar-mini-expand-feature){
  771. &.sidebar-collapse{
  772. .sidebar-menu{
  773. >li:hover{
  774. >a{
  775. >span:not(.pull-right){
  776. display: none!important;
  777. position: absolute;
  778. width: $sid-bar-w;
  779. left: $mini-sid-bar-w - 6;
  780. text-align: left;
  781. }
  782. >span{
  783. top: 0;
  784. margin-left: -15px;
  785. padding: 14px 0px 14px 30px;
  786. background-color: inherit;
  787. }
  788. >.pull-right-container{
  789. position: relative!important;
  790. float: right;
  791. width: auto!important;
  792. left: 250px!important;
  793. top: -16px!important;
  794. z-index: 900;
  795. background-color: transparent !important;
  796. box-shadow: none;
  797. >.label:not(:first-of-type){
  798. display: none;
  799. }
  800. }
  801. &:after{
  802. display: none;
  803. }
  804. }
  805. >.treeview-menu{
  806. display: block!important;
  807. position: absolute;
  808. width: $sid-bar-w;
  809. left: $mini-sid-bar-w + 5;
  810. top: 0;
  811. margin-left: 0;
  812. border-radius: $default-border-radius;
  813. > .treeview .treeview-menu{
  814. &:after {
  815. content: "";
  816. position: absolute;
  817. background: inherit;
  818. width: 10px;
  819. height: 10px;
  820. transform: rotate(45deg);
  821. -webkit-transform: rotate(45deg);
  822. -ms-transform: rotate(45deg);
  823. -moz-transform: rotate(45deg);
  824. left: -5px;
  825. top: 20px;
  826. }
  827. }
  828. &:after {
  829. content: "";
  830. position: absolute;
  831. background: inherit;
  832. width: 10px;
  833. height: 10px;
  834. transform: rotate(45deg);
  835. -webkit-transform: rotate(45deg);
  836. -ms-transform: rotate(45deg);
  837. -moz-transform: rotate(45deg);
  838. left: -5px;
  839. top: 20px;
  840. }
  841. }
  842. }
  843. >li{
  844. .user-profile:hover{
  845. >a{
  846. >.pull-right-container{
  847. left: 237px !important;
  848. }
  849. }
  850. }
  851. }
  852. }
  853. }
  854. }
  855. }
  856. .sidebar-collapse{
  857. .treeview-menu{
  858. margin-left: -10px!important;
  859. }
  860. }
  861. .control-sidebar-open{
  862. .content-wrapper{
  863. margin-right: $ctrl-sid-bar-w;
  864. }
  865. .main-footer{
  866. margin-right: $ctrl-sid-bar-w;
  867. }
  868. .right-side{
  869. margin-right: $ctrl-sid-bar-w;
  870. }
  871. }
  872. }
  873. .main-sidebar{
  874. .user-panel{
  875. white-space: nowrap;
  876. overflow: hidden;
  877. }
  878. }
  879. .sidebar-menu{
  880. white-space: nowrap;
  881. overflow: hidden;
  882. >li{
  883. &.header{
  884. white-space: nowrap;
  885. overflow: hidden;
  886. text-overflow: clip;
  887. &.line{
  888. background-color: $light;
  889. height: 2px;
  890. padding: 0;
  891. margin: 20px 0px;
  892. }
  893. }
  894. @include hover-full-state{
  895. &.header{
  896. background: transparent !important;
  897. border-color: transparent !important;
  898. }
  899. }
  900. }
  901. li{
  902. >a{
  903. position: relative;
  904. font-weight: 500;
  905. opacity: 0.9;
  906. white-space: nowrap;
  907. align-items: center;
  908. line-height: 25px;
  909. > span{
  910. top: 1px;
  911. position: relative;
  912. }
  913. >.pull-right-container{
  914. position: absolute;
  915. right: 0px;
  916. top: 50%;
  917. margin-top: -7px;
  918. }
  919. }
  920. }
  921. &:hover{
  922. overflow: visible;
  923. }
  924. .treeview-menu{
  925. >li{
  926. &.active{
  927. >a{
  928. opacity: 1;
  929. }
  930. >a:hover{
  931. opacity: 1;
  932. }
  933. }
  934. >a:hover{
  935. opacity: 1;
  936. }
  937. }
  938. }
  939. }
  940. .sidebar-collapse{
  941. .sidebar-menu{
  942. &.tree {
  943. padding: 0;
  944. margin: 0;
  945. }
  946. >li{
  947. @include hover-active-state{
  948. >a{
  949. border-radius: $fct-border-radius;
  950. }
  951. }
  952. &.menu-open{
  953. >a{
  954. border-radius: $fct-border-radius;
  955. }
  956. }
  957. }
  958. }
  959. }
  960. .sidebar-form{
  961. float: left;
  962. margin: 20px 10px 10px;
  963. overflow: hidden;
  964. text-overflow: clip;
  965. }
  966. .nav-tabs{
  967. &.control-sidebar-tabs{
  968. >li{
  969. >a{
  970. border-radius: 0;
  971. border-top: none;
  972. border-right: none;
  973. border-left: none;
  974. border-bottom: 1px solid transparent;
  975. @include hover-focus-state{
  976. border-top: none;
  977. border-right: none;
  978. border-left: none;
  979. border-bottom: 1px solid transparent;
  980. }
  981. .icon{
  982. font-size: 16px;
  983. }
  984. }
  985. &:first-of-type{
  986. >a{
  987. border-left-width: 0;
  988. @include hover-focus-state{
  989. border-left-width: 0;
  990. }
  991. }
  992. }
  993. &.active{
  994. >a{
  995. border-top: none;
  996. border-right: none;
  997. border-bottom: none;
  998. @include hover-full-state{
  999. border-top: none;
  1000. border-right: none;
  1001. border-bottom: none;
  1002. }
  1003. }
  1004. }
  1005. }
  1006. }
  1007. }
  1008. .control-sidebar-bg{
  1009. position: fixed;
  1010. z-index: 1000;
  1011. bottom: 0;
  1012. top: 0;
  1013. right: -355px;
  1014. width: $ctrl-sid-bar-w;
  1015. -webkit-transition: right .3s ease-in-out;
  1016. -o-transition: right .3s ease-in-out;
  1017. transition: right .3s ease-in-out;
  1018. }
  1019. .control-sidebar{
  1020. top: 0;
  1021. right: -$ctrl-sid-bar-w + -10;
  1022. width: $ctrl-sid-bar-w;
  1023. -webkit-transition: right .3s ease-in-out;
  1024. -o-transition: right .3s ease-in-out;
  1025. transition: right .3s ease-in-out;
  1026. position: absolute;
  1027. padding: 30px 30px 30px 30px;
  1028. z-index: 9999;
  1029. >.tab-content{
  1030. padding: 15px 0px;
  1031. }
  1032. &.control-sidebar-open{
  1033. right: 0;
  1034. &.control-sidebar-bg, +.control-sidebar-bg {
  1035. right: 0;
  1036. }
  1037. }
  1038. .nav-tabs.control-sidebar-tabs{
  1039. >li{
  1040. margin-right: 30px;
  1041. >a{
  1042. padding: 10px 0px;
  1043. display: block;
  1044. font-size: 24px;
  1045. }
  1046. }
  1047. }
  1048. .rpanel-title {
  1049. position: absolute;
  1050. top: 0;
  1051. right: 0;
  1052. color: $white;
  1053. .btn {
  1054. padding: 0;
  1055. margin: 0.75rem 1rem;
  1056. }
  1057. }
  1058. }
  1059. @include screen-md {
  1060. .control-sidebar {
  1061. padding: 30px;
  1062. right: -$ctrl-sid-bar-w;
  1063. width: $ctrl-sid-bar-w;
  1064. }
  1065. .control-sidebar-bg{
  1066. right: -$ctrl-sid-bar-w;
  1067. width: $ctrl-sid-bar-w;
  1068. }
  1069. .nav-tabs.control-sidebar-tabs>li{
  1070. display: table-cell;
  1071. }
  1072. }
  1073. @include screen-sm-max {
  1074. .control-sidebar {
  1075. padding: 20px;
  1076. width: $ctrl-sid-bar-w - 45;
  1077. }
  1078. .control-sidebar-bg {
  1079. width: $ctrl-sid-bar-w - 45;
  1080. }
  1081. }
  1082. .control-sidebar-open {
  1083. .control-sidebar{
  1084. right: 0;
  1085. }
  1086. .control-sidebar-bg{
  1087. right: 0;
  1088. }
  1089. }
  1090. .fixed{
  1091. .control-sidebar {
  1092. position: fixed;
  1093. height: 100%;
  1094. overflow-y: auto;
  1095. padding-bottom: 50px;
  1096. }
  1097. }
  1098. .control-sidebar-heading{
  1099. font-weight: 600;
  1100. padding: 10px 0;
  1101. margin-bottom: 0px;
  1102. margin-top: 0;
  1103. }
  1104. .control-sidebar-subheading{
  1105. display: block;
  1106. font-weight: 500;
  1107. font-size: 16px;
  1108. }
  1109. .control-sidebar-menu{
  1110. list-style: none;
  1111. padding: 0;
  1112. margin: 0 -15px;
  1113. >li{
  1114. >a{
  1115. display: block;
  1116. padding: 10px 15px;
  1117. @include before-after-state{
  1118. content: " ";
  1119. display: table;
  1120. }
  1121. >.control-sidebar-subheading{
  1122. margin-top: 0;
  1123. }
  1124. }
  1125. }
  1126. .menu-icon{
  1127. float: left;
  1128. width: 35px;
  1129. height: 35px;
  1130. text-align: center;
  1131. line-height: 35px;
  1132. }
  1133. .menu-info{
  1134. margin-left: 45px;
  1135. margin-top: 3px;
  1136. >.control-sidebar-subheading{
  1137. margin: 0;
  1138. }
  1139. >p{
  1140. margin: 0;
  1141. font-size: 11px;
  1142. }
  1143. }
  1144. .progress{
  1145. margin: 0;
  1146. }
  1147. }
  1148. #control-sidebar-theme-demo-options-tab{
  1149. p{
  1150. font-size: 12px;
  1151. }
  1152. .form-group {
  1153. margin-bottom: 0.5rem;
  1154. label {
  1155. font-weight: 300;
  1156. font-size: 12px;
  1157. }
  1158. }
  1159. }
  1160. /*treeview*/
  1161. .treeview-menu{
  1162. display: none;
  1163. list-style: none;
  1164. padding: 0;
  1165. margin: 0;
  1166. .treeview-menu {
  1167. padding-left: 10px;
  1168. }
  1169. >li{
  1170. margin: 0;
  1171. >a{
  1172. padding: 5px 5px 5px 25px;
  1173. display: block;
  1174. font-size: $fs-14;
  1175. border-radius: $fct-border-radius;
  1176. -webkit-transition: -webkit-transform .3s ease-in-out, .3s ease-in-out;
  1177. -moz-transition: -moz-transform .3s ease-in-out, .3s ease-in-out;
  1178. -o-transition: -o-transform .3s ease-in-out, .3s ease-in-out;
  1179. transition: transform .3s ease-in-out, .3s ease-in-out;
  1180. >i{
  1181. width: 20px;
  1182. padding-right: 20px;
  1183. padding-left: 10px;
  1184. }
  1185. >.fa-angle-down{
  1186. width: auto;
  1187. }
  1188. >.fa-angle-left{
  1189. width: auto;
  1190. }
  1191. >.pull-right-container>.fa-angle-down{
  1192. width: auto;
  1193. }
  1194. >.pull-right-container>.fa-angle-left{
  1195. width: auto;
  1196. }
  1197. }
  1198. }
  1199. }
  1200. .sidebar-collapse{
  1201. .treeview-menu{
  1202. >li{
  1203. margin: 0;
  1204. >a{
  1205. padding: 5px 10px 5px 10px;
  1206. }
  1207. }
  1208. }
  1209. }
  1210. .sidebar-menu{
  1211. .treeview-menu{
  1212. >li{
  1213. &.active{
  1214. >a{
  1215. i{
  1216. &.ti-more:before{
  1217. content: "\e628";
  1218. }
  1219. }
  1220. }
  1221. }
  1222. >a:hover {
  1223. i.ti-more:before{
  1224. content: "\e628";
  1225. }
  1226. }
  1227. }
  1228. }
  1229. }
  1230. @include screen-md {
  1231. .fixed{
  1232. .multinav {
  1233. position: fixed;
  1234. width: $sid-bar-w;
  1235. padding-bottom: 0;
  1236. height: calc(100% - 80px);
  1237. }
  1238. }
  1239. .sidebar-collapse{
  1240. .multinav {
  1241. width: $mini-sid-bar-w;
  1242. }
  1243. .ps{
  1244. overflow: visible !important;
  1245. }
  1246. .sidebar-menu > li > a {
  1247. padding: 3px 12px;
  1248. }
  1249. .sidebar-menu > li.menu-open > a, .sidebar-menu > li.active > a {
  1250. background-color: transparent !important;
  1251. }
  1252. .ps__rail-x{
  1253. display: none;
  1254. }
  1255. }
  1256. .multinav{
  1257. .ps__rail-x{
  1258. display: none !important;
  1259. }
  1260. }
  1261. .sidebar-collapse{
  1262. .sidebar-menu{
  1263. .treeview-menu{
  1264. >.treeview{
  1265. position: relative;
  1266. .treeview-menu{
  1267. padding: 10px 0px;
  1268. border-radius: $default-border-radius;
  1269. width: $sid-bar-w;
  1270. top: 0;
  1271. display: none !important;
  1272. }
  1273. &:hover{
  1274. >.treeview-menu{
  1275. display: block !important;
  1276. position: absolute;
  1277. left: $sid-bar-w + 0.7;
  1278. }
  1279. }
  1280. }
  1281. }
  1282. }
  1283. .ps--active-x > .ps__rail-x, .ps--active-y > .ps__rail-y {
  1284. z-index: -1;
  1285. opacity: 0.1;
  1286. }
  1287. }
  1288. }
  1289. @include screen-sm-max {
  1290. .fixed{
  1291. .multinav {
  1292. position: fixed;
  1293. width: $sid-bar-w;
  1294. padding-bottom: 0;
  1295. height: calc(100% - #{$hed-max + 20});
  1296. margin-top: 15px;
  1297. }
  1298. }
  1299. }