No Description

PayPlatformOptions.less 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .flexContainer {
  2. display: flex;
  3. justify-content: space-around;
  4. align-items: center;
  5. .flexItem {
  6. }
  7. }
  8. .label {
  9. font-size: 14px;
  10. font-weight: 400;
  11. color: #616A79;
  12. }
  13. .payment-method-box {
  14. padding: 20px 10px 10px 10px;
  15. text-align: center;
  16. .payment-method {
  17. display: inline-block;
  18. margin: 0;
  19. width: 60%;
  20. vertical-align: middle;
  21. &-before {
  22. // TODO pseudo doesn't work
  23. // content: '';
  24. display: inline-block;
  25. height: 100%;
  26. vertical-align: middle;
  27. }
  28. }
  29. .payitem {
  30. display: flex;
  31. justify-content: center;
  32. align-items: center;
  33. cursor: pointer;
  34. border: 1px solid transparent;
  35. height: 66px;
  36. line-height: 66px;
  37. .platformName {
  38. text-align: center;
  39. white-space: nowrap;
  40. }
  41. &.small {
  42. width: 88px;
  43. height: 36px;
  44. line-height: 36px;
  45. .payment-method {
  46. margin: 0;
  47. }
  48. }
  49. &.normal {
  50. width: 132px;
  51. }
  52. &.large {
  53. width: 162px;
  54. }
  55. &.active {
  56. border-radius: 5px;
  57. border-color:#1790FF;
  58. box-shadow: 0px 2px 6px 0px rgba(163,163,163,0.3);
  59. }
  60. &.en {
  61. font-size: 12px;
  62. }
  63. }
  64. &.mobile {
  65. padding: 8px 10px 10px 8px;
  66. .payitem {
  67. display: inline-flex;
  68. flex-direction: column;
  69. justify-content: space-around;
  70. width: 78px;
  71. height: 80px;
  72. line-height: initial;
  73. border: 1px solid transparent;
  74. &.active {
  75. border-radius: 4px;
  76. border-color: #1790FF;
  77. }
  78. .payment-method {
  79. display: inline-block;
  80. width: 34px;
  81. height: 34px;
  82. }
  83. }
  84. }
  85. }
  86. @media (max-width: 768px) {
  87. .payitem {
  88. cursor: pointer;
  89. border: 1px solid transparent;
  90. &.active {
  91. border-radius: 5px;
  92. border-color:#1790FF;
  93. }
  94. }
  95. }