Нема описа
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_credit-card.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. .credit-card {
  2. background : #126AFF;
  3. padding : 20px;
  4. border-radius : $radius;
  5. // max-width : 400px;
  6. margin-bottom : 30px;
  7. position : relative;
  8. overflow : hidden;
  9. // &::before {
  10. // content : "";
  11. // position : absolute;
  12. // top : 22px;
  13. // left : 18px;
  14. // right : 18px;
  15. // bottom : -40px;
  16. // z-index : -2;
  17. // background : #E3E6EC;
  18. // opacity : 0.91;
  19. // -webkit-filter: blur(86.985px);
  20. // filter : blur(86.985px);
  21. // border-radius : 24px;
  22. // }
  23. // &::after {
  24. // content : '';
  25. // position : absolute;
  26. // left : 0;
  27. // right : 0;
  28. // top : 0;
  29. // bottom : 0;
  30. // background: #fff;
  31. // opacity : 0;
  32. // transition: all 0.15s ease-in-out;
  33. // }
  34. // &:hover {
  35. // &::after {
  36. // opacity: 0.85;
  37. // }
  38. // .cc-info {
  39. // bottom: 0;
  40. // }
  41. // }
  42. .type-brand {
  43. display : flex;
  44. justify-content: space-between;
  45. align-items : center;
  46. h4 {
  47. color : $body-color;
  48. // opacity: 0.75;
  49. font-size : 14px;
  50. }
  51. img {
  52. // filter: brightness(100);
  53. height : 30px;
  54. background : #fff;
  55. padding : 4px 6px;
  56. border-radius: 8px;
  57. }
  58. }
  59. .cc-number {
  60. padding: 20px 0px;
  61. h6 {
  62. display : inline-block;
  63. margin-right: 20px;
  64. color : $white;
  65. font-size : 20px;
  66. }
  67. }
  68. .cc-holder-exp {
  69. display : flex;
  70. justify-content: space-between;
  71. h5 {
  72. color : $white;
  73. margin-bottom: 0px;
  74. }
  75. .exp {
  76. color: $white;
  77. strong {
  78. color: $white;
  79. }
  80. }
  81. }
  82. &.visa {
  83. background: $dark;
  84. &:hover {
  85. .cc-info {
  86. background: $dark;
  87. }
  88. }
  89. }
  90. &.master {
  91. background: $primary;
  92. &:hover {
  93. .cc-info {
  94. background: $primary;
  95. }
  96. }
  97. }
  98. &.payoneer {
  99. background: $white;
  100. .type-brand {
  101. h4 {
  102. color: $body-color;
  103. }
  104. }
  105. .cc-number {
  106. h6 {
  107. color: $dark;
  108. }
  109. }
  110. .cc-holder-exp {
  111. h5 {
  112. color: $dark;
  113. }
  114. .exp {
  115. color: $dark;
  116. strong {
  117. color: $dark;
  118. }
  119. }
  120. }
  121. &:hover {
  122. .cc-info {
  123. background: $white;
  124. }
  125. }
  126. }
  127. }
  128. .cc-info {
  129. // background : #070707;
  130. padding : 15px 20px 20px;
  131. // margin-bottom: 30px;
  132. border-radius : 0px;
  133. // margin-top : 30px;
  134. // margin: 10px;
  135. position : absolute;
  136. bottom : -100%;
  137. left : 0;
  138. right : 0;
  139. z-index : 1;
  140. transition : all 0.15s ease-in-out;
  141. p {
  142. margin-bottom: 0px;
  143. margin-top : 5px;
  144. color : rgba(255, 255, 255, 0.5);
  145. strong {
  146. color : $white;
  147. opacity: 1;
  148. }
  149. }
  150. }