Home.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. $storage-warn-container-color: dynamic(#458fd2);
  2. $unsend-sale-container-color: dynamic(#4caf50);
  3. $unaudit-sale-container-color: dynamic(#9c27b0);
  4. $unaudit-purc-container-color: dynamic(#e91e63);
  5. .info-card-item {
  6. text-align: center;
  7. background: $lightest-color ;
  8. padding: 15px 10px !important;
  9. font-size: 24px;
  10. &.info-card-large-wrap {
  11. h2 {
  12. font-size: 36px;
  13. line-height: 36px;
  14. }
  15. span.x-fa {
  16. height: 60px;
  17. width: 60px;
  18. border-radius: 36px;
  19. color: $lightest-color;
  20. font-size: 30px;
  21. line-height: 60px;
  22. margin: 15px 0;
  23. &.fa-exclamation-triangle {
  24. background-color: $storage-warn-container-color;
  25. }
  26. &.fa-shopping-cart {
  27. background-color: $unsend-sale-container-color;
  28. }
  29. &.fa-check {
  30. background-color: $unaudit-sale-container-color;
  31. }
  32. &.fa-calendar-check-o {
  33. background-color: $unaudit-purc-container-color;
  34. }
  35. }
  36. .infodiv {
  37. font-size: 14px;
  38. line-height: 16px;
  39. margin-top: 15px;
  40. }
  41. }
  42. &.cornflower-blue:before {
  43. background: $storage-warn-container-color;
  44. }
  45. &.green:before {
  46. background: $unsend-sale-container-color;
  47. }
  48. &.magenta:before {
  49. background: $unaudit-sale-container-color;
  50. }
  51. &.orange:before {
  52. background: $unaudit-purc-container-color;
  53. }
  54. h2 {
  55. font-size: 30px;
  56. font-weight: normal;
  57. margin: 0;
  58. margin: 0;
  59. line-height: 32px;
  60. }
  61. div {
  62. line-height: 24px;
  63. }
  64. span {
  65. font-size: 24px;
  66. line-height: 24px;
  67. }
  68. }
  69. .info-card-item:before {
  70. width: 100%;
  71. position: absolute;
  72. height: 3px;
  73. content: "";
  74. top: 0;
  75. left: 0
  76. }
  77. .x-home-panel {
  78. background: $panel-body-background;
  79. &> .x-autocontainer-outerCt {
  80. display: block;
  81. background: $panel-body-background;
  82. &> .x-autocontainer-innerCt {
  83. display: block;
  84. }
  85. }
  86. }
  87. .x-home-box {
  88. border-radius: 2px;
  89. margin: 0 0 16px 0 !important;
  90. &:last-child {
  91. margin: 0 !important;
  92. }
  93. & > .x-panel-bodyWrap > .x-panel-body >.x-autocontainer-outerCt > .x-autocontainer-innerCt {
  94. background: $panel-body-background;
  95. display: flex;
  96. justify-content: space-around;
  97. .x-home-chart {
  98. background: #fff;
  99. border-radius: 4px;
  100. }
  101. }
  102. &>.x-panel-header {
  103. background-color: #fff;
  104. &>.x-box-inner {
  105. &>.x-box-target {
  106. &>.x-title {
  107. &>.x-title-text {
  108. font-size: 16px;
  109. color: #505363;
  110. padding-left: 10px;
  111. &:before {
  112. content: ' ';
  113. position: absolute;
  114. width: 4px;
  115. height: 100%;
  116. background: #34BAF6;
  117. left: 0;
  118. border-radius: 2px;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. }
  125. }
  126. .quick-graph-panel {
  127. box-shadow: none;
  128. .x-panel-header-default {
  129. background-color: #fff;
  130. padding-right: 14px;
  131. .x-panel-header-title-default > .x-title-icon-wrap-default > .x-title-icon-default,
  132. .x-panel-header-title-default > .x-title-text-default {
  133. color: #485465;
  134. }
  135. }
  136. }