_header.scss 33 KB

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