InfoCard.scss 3.2 KB

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