_layouts.scss 28 KB

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