InfoCard.scss 3.5 KB

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