Home.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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-responsivecolumn {
  112. padding: 0;
  113. }
  114. .big-100 {
  115. // width: 100%;
  116. @include responsivecolumn-item(100%);
  117. }
  118. .big-60 {
  119. // width: 60%;
  120. @include responsivecolumn-item(60%);
  121. }
  122. .big-50 {
  123. // width: 50%;
  124. @include responsivecolumn-item(50%);
  125. }
  126. .big-40 {
  127. // width: 40%;
  128. @include responsivecolumn-item(40%);
  129. }
  130. .big-33 {
  131. // width: 33.33%;
  132. @include responsivecolumn-item(33.33%);
  133. }
  134. .big-20 {
  135. // width: 20%;
  136. @include responsivecolumn-item(20%);
  137. }
  138. //--------------------------------------------------------
  139. // And classes for small-size responsive items
  140. .x-responsivecolumn-small {
  141. > .small-100 {
  142. // width: 100%;
  143. @include responsivecolumn-item(100%);
  144. }
  145. > .small-50 {
  146. // width: 50%;
  147. @include responsivecolumn-item(50%);
  148. }
  149. }