Home.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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. &> .x-autocontainer-outerCt {
  79. display: block;
  80. &> .x-autocontainer-innerCt {
  81. display: block;
  82. }
  83. }
  84. }
  85. .x-home-box {
  86. border-radius: 2px;
  87. &>.x-panel-header {
  88. background-color: #fff;
  89. &>.x-box-inner {
  90. &>.x-box-target {
  91. &>.x-title {
  92. &>.x-title-text {
  93. font-size: 16px;
  94. color: #505363;
  95. padding-left: 10px;
  96. &:before {
  97. content: ' ';
  98. position: absolute;
  99. width: 4px;
  100. height: 100%;
  101. background: #34BAF6;
  102. left: 0;
  103. border-radius: 2px;
  104. }
  105. }
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .x-home-chart {
  112. box-shadow: none;
  113. .x-panel-header-default {
  114. background-color: #fff;
  115. .x-panel-header-title-default > .x-title-icon-wrap-default > .x-title-icon-default,
  116. .x-panel-header-title-default > .x-title-text-default {
  117. color: #485465;
  118. }
  119. }
  120. }
  121. .x-responsivecolumn {
  122. padding: 0;
  123. }
  124. .big-100 {
  125. // width: 100%;
  126. @include responsivecolumn-item(100%);
  127. }
  128. .big-60 {
  129. // width: 60%;
  130. @include responsivecolumn-item(60%);
  131. }
  132. .big-50 {
  133. float: left;
  134. // width: 50%;
  135. @include responsivecolumn-item(50%);
  136. }
  137. .big-40 {
  138. float: left;
  139. // width: 40%;
  140. @include responsivecolumn-item(40%);
  141. }
  142. .big-33 {
  143. float: left;
  144. // width: 33.33%;
  145. @include responsivecolumn-item(33.33%);
  146. }
  147. .big-20 {
  148. float: left;
  149. // width: 20%;
  150. @include responsivecolumn-item(20%);
  151. }
  152. //--------------------------------------------------------
  153. // And classes for small-size responsive items
  154. .x-responsivecolumn-small {
  155. > .small-100 {
  156. float: left;
  157. // width: 100%;
  158. @include responsivecolumn-item(100%);
  159. }
  160. > .small-50 {
  161. float: left;
  162. // width: 50%;
  163. @include responsivecolumn-item(50%);
  164. }
  165. }