InfoCard.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. cursor: pointer;
  22. &:hover {
  23. opacity: 0.7;
  24. }
  25. h3 {
  26. font-size: 16px;
  27. }
  28. p {
  29. font-size: 24px;
  30. text-align: center;
  31. margin-top: 32px;
  32. }
  33. }
  34. }
  35. }
  36. }
  37. }
  38. .x-toolbar-default-vertical {
  39. padding: 0;
  40. }
  41. }
  42. .x-scroller-button {
  43. position: absolute !important;
  44. z-index: 1;
  45. width: 44px !important;
  46. min-width: 44px !important;
  47. height: 145px !important;
  48. padding: 0 !important;
  49. background-color: white !important;
  50. border: none !important;
  51. box-shadow: none !important;
  52. background-repeat: no-repeat !important;
  53. background-size: 30px !important;
  54. background-position-y: center !important;
  55. background-position-x: 6px !important;
  56. }
  57. .x-scroller-button-left {
  58. left: 0;
  59. background-image: url('images/default/arrows-left.png') !important;
  60. background-position-x: 10px !important;
  61. }
  62. .x-scroller-button-right {
  63. right: 0;
  64. background-image: url('images/default/arrows-right.png') !important;
  65. background-position-x: 4px !important;
  66. }
  67. .x-btn-over.x-btn-default-small.x-scroller-button-left,
  68. .x-btn.x-btn-disabled.x-btn-default-small.x-scroller-button-left,
  69. .x-btn-over.x-btn-default-small.x-scroller-button-right,
  70. .x-btn.x-btn-disabled.x-btn-default-small.x-scroller-button-right,
  71. .x-keyboard-mode .x-btn-focus.x-btn-default-small.x-scroller-button-left,
  72. .x-keyboard-mode .x-btn-focus.x-btn-default-small.x-scroller-button-right {
  73. background: white;
  74. }
  75. .x-bg-default {
  76. background: linear-gradient(to right, #25CBDB , #5161F1);
  77. }
  78. .x-bg-yellow {
  79. background: linear-gradient(to right, #F4BF59 , #F99A50);
  80. }
  81. .x-bg-purple {
  82. background: linear-gradient(to right, #946DFF , #7460FF);
  83. }
  84. .x-bg-red {
  85. background: linear-gradient(to right, #FA8B86 , #F36487);
  86. }
  87. .x-bg-blue {
  88. background: linear-gradient(to right, #1AD0C5 , #26CBDB);
  89. }
  90. .x-bg-pink {
  91. background: linear-gradient(to right, #FA8A86 , #F26187);
  92. }
  93. .x-bg-gray {
  94. background: linear-gradient(to right, #D8D8D8 , #D8D8D8);
  95. }