InfoCard.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. $max-card-width: 235px;
  2. .x-info-card {
  3. .x-panel-bodyWrap {
  4. .x-autocontainer-innerCt {
  5. .x-row {
  6. display: flex;
  7. width: 100%;
  8. justify-content: flex-start;
  9. .x-col {
  10. flex: 1;
  11. max-width: $max-card-width;
  12. color: #fff;
  13. padding: 10px;
  14. .x-box {
  15. padding: 16px;
  16. height: 131px;
  17. border-radius: 0.5rem;
  18. box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
  19. position: relative;
  20. display: block;
  21. h3 {
  22. font-size: 16px;
  23. }
  24. p {
  25. font-size: 24px;
  26. text-align: center;
  27. margin-top: 32px;
  28. }
  29. }
  30. }
  31. }
  32. }
  33. }
  34. }
  35. .x-scroller-button {
  36. position: absolute !important;
  37. z-index: 1;
  38. width: 44px !important;
  39. min-width: 44px !important;
  40. height: 145px !important;
  41. padding: 0 !important;
  42. background-color: white !important;
  43. border: none !important;
  44. box-shadow: none !important;
  45. background-repeat: no-repeat !important;
  46. background-size: 30px !important;
  47. background-position-y: center !important;
  48. background-position-x: 6px !important;
  49. }
  50. .x-scroller-button-left {
  51. left: 0;
  52. background-image: url('images/default/arrows-left.png') !important;
  53. }
  54. .x-scroller-button-right {
  55. right: 0;
  56. background-image: url('images/default/arrows-right.png') !important;
  57. }
  58. .x-btn-over.x-btn-default-small.x-scroller-button-left,
  59. .x-btn.x-btn-disabled.x-btn-default-small.x-scroller-button-left,
  60. .x-btn-over.x-btn-default-small.x-scroller-button-right,
  61. .x-btn.x-btn-disabled.x-btn-default-small.x-scroller-button-right,
  62. .x-keyboard-mode .x-btn-focus.x-btn-default-small.x-scroller-button-left,
  63. .x-keyboard-mode .x-btn-focus.x-btn-default-small.x-scroller-button-right {
  64. background: white;
  65. }
  66. .x-bg-default {
  67. background: linear-gradient(to right, #25CBDB , #5161F1);
  68. }
  69. .x-bg-yellow {
  70. background: linear-gradient(to right, #F4BF59 , #F99A50);
  71. }
  72. .x-bg-purple {
  73. background: linear-gradient(to right, #946DFF , #7460FF);
  74. }
  75. .x-bg-red {
  76. background: linear-gradient(to right, #FA8B86 , #F36487);
  77. }
  78. .x-bg-blue {
  79. background: linear-gradient(to right, #1AD0C5 , #26CBDB);
  80. }
  81. .x-bg-pink {
  82. background: linear-gradient(to right, #FA8A86 , #F26187);
  83. }
  84. .x-bg-gray {
  85. background: linear-gradient(to right, #D8D8D8 , #D8D8D8);
  86. }