InfoCard.scss 3.2 KB

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