Home.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. border-radius: 2px;
  79. &>.x-panel-header {
  80. background-color: #fff;
  81. &>.x-box-inner {
  82. &>.x-box-target {
  83. &>.x-title {
  84. &>.x-title-text {
  85. font-size: 16px;
  86. color: #505363;
  87. padding-left: 10px;
  88. &:before {
  89. content: ' ';
  90. position: absolute;
  91. width: 4px;
  92. height: 100%;
  93. background: #34BAF6;
  94. left: 0;
  95. border-radius: 2px;
  96. }
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }
  103. .x-responsivecolumn {
  104. padding: 0;
  105. }
  106. .big-100 {
  107. @include responsivecolumn-item(100%);
  108. }
  109. .big-60 {
  110. @include responsivecolumn-item(60%);
  111. }
  112. .big-50 {
  113. @include responsivecolumn-item(50%);
  114. }
  115. .big-40 {
  116. @include responsivecolumn-item(40%);
  117. }
  118. .big-33 {
  119. @include responsivecolumn-item(33.33%);
  120. }
  121. .big-20 {
  122. @include responsivecolumn-item(20%);
  123. }
  124. //--------------------------------------------------------
  125. // And classes for small-size responsive items
  126. .x-responsivecolumn-small {
  127. > .small-100 {
  128. @include responsivecolumn-item(100%);
  129. }
  130. > .small-50 {
  131. @include responsivecolumn-item(50%);
  132. }
  133. }