main.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. /** STRIPE **/
  2. /* Conteneur principal du plugin stripe */
  3. .stripe {
  4. }
  5. #stripes {
  6. }
  7. /* formulaire d'édition de stripeapi */
  8. .stripe .stripeapi-form {
  9. }
  10. #stripeapi-form {
  11. }
  12. html{
  13. --card-color: #cacaca;
  14. --text-color: #e1e1e1;
  15. }
  16. .card-container {
  17. display: flex;
  18. flex-direction: row;
  19. align-items: center;
  20. margin: auto;
  21. top: 0;
  22. bottom: 0;
  23. left: 0;
  24. right: 0;
  25. }
  26. .card-container {
  27. -webkit-perspective: 1000;
  28. perspective: 1000;
  29. -webkit-transform-style: preserve-3d;
  30. transform-style: preserve-3d;
  31. }
  32. .card-container *[class*="col-md-"] {
  33. padding: 0;
  34. }
  35. .card-container .card {
  36. position: relative;
  37. width: 420px;
  38. height: 250px;
  39. border-radius: 17px;
  40. box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.1);
  41. transition: all 1s;
  42. -webkit-transform-style: preserve-3d;
  43. transform-style: preserve-3d;
  44. }
  45. .card-container .card .front {
  46. position: absolute;
  47. background: var(--card-color);
  48. border-radius: 15px;
  49. padding: 50px;
  50. width: 100%;
  51. height: 100%;
  52. transform: translateZ(1px);
  53. -webkit-transform: translateZ(1px);
  54. transition: background 0.3s;
  55. z-index: 50;
  56. background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.04) 3px, rgba(255, 255, 255, 0.05) 4px), -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.25) 70%, rgba(255, 255, 255, 0) 90%);
  57. -webkit-backface-visibility: hidden;
  58. backface-visibility: hidden;
  59. }
  60. .card-container .card .front .type {
  61. position: absolute;
  62. width: 75px;
  63. height: 45px;
  64. top: 20px;
  65. right: 20px;
  66. }
  67. .card-container .card .type i {
  68. font-size: 3.5em;
  69. color: white;
  70. }
  71. /*Mastercard*/
  72. /*.card-container .card .type i.fab.fa-cc-mastercard {
  73. color: #F79E1B;
  74. position: relative;
  75. }
  76. .card-container .card .type i.fab.fa-cc-mastercard:after {
  77. content: "\f1f1";
  78. display: inline-block;
  79. left: 0;
  80. position: absolute;
  81. top: 0;
  82. color: #EB001B;
  83. overflow: hidden;
  84. width: 50%;
  85. }*/
  86. .card-container .card .front .card_number {
  87. position: absolute;
  88. font-size: 26px;
  89. font-weight: 500;
  90. letter-spacing: -1px;
  91. top: 110px;
  92. color: var(--text-color);
  93. word-spacing: 3px;
  94. transition: color 0.5s;
  95. }
  96. .card-container .card .front .date {
  97. position: absolute;
  98. bottom: 40px;
  99. right: 55px;
  100. width: 90px;
  101. height: 35px;
  102. color: var(--text-color);
  103. transition: color 0.5s;
  104. }
  105. .card-container .card .front .date .date_value {
  106. font-size: 12px;
  107. position: absolute;
  108. margin-left: 22px;
  109. margin-top: 12px;
  110. color: var(--text-color);
  111. font-weight: 500;
  112. transition: color 0.5s;
  113. }
  114. .card-container .card .front .date:after {
  115. content: 'MOIS / ANNÉE';
  116. position: absolute;
  117. display: block;
  118. font-size: 7px;
  119. margin-left: 22px;
  120. }
  121. .card-container .card .front .date:before {
  122. content: 'exp. \a fin';
  123. position: absolute;
  124. display: block;
  125. font-size: 8px;
  126. white-space: pre;
  127. margin-top: 8px;
  128. }
  129. .card-container .card .front .fullname {
  130. position: absolute;
  131. font-size: 20px;
  132. bottom: 40px;
  133. color: var(--text-color);
  134. transition: color 0.5s;
  135. }
  136. .card-container .card .back {
  137. position: absolute;
  138. width: 100%;
  139. border-radius: 17px;
  140. height: 100%;
  141. background: var(--card-color);
  142. -webkit-transform: rotateY(180deg);
  143. transform: rotateY(180deg);
  144. }
  145. .card-container .card .back .magnetic {
  146. position: absolute;
  147. width: 100%;
  148. height: 50px;
  149. background: rgba(0, 0, 0, 0.7);
  150. margin-top: 25px;
  151. }
  152. .card-container .card .back .bar {
  153. position: absolute;
  154. width: 80%;
  155. height: 37px;
  156. background: rgba(255, 255, 255, 0.7);
  157. left: 10px;
  158. margin-top: 100px;
  159. }
  160. .card-container .card .back .seccode {
  161. font-size: 13px;
  162. color: var(--text-color);
  163. font-weight: 500;
  164. position: absolute;
  165. top: 100px;
  166. right: 40px;
  167. }
  168. .card-container .card .back .chip {
  169. bottom: 45px;
  170. left: 10px;
  171. }
  172. .card-container .card .back .disclaimer {
  173. position: absolute;
  174. width: 65%;
  175. left: 80px;
  176. color: #f1f1f1;
  177. font-size: 8px;
  178. bottom: 50px;
  179. }
  180. .card-container input {
  181. display: block;
  182. width: 95%;
  183. height: 30px;
  184. padding-left: 10px;
  185. padding-top: 3px;
  186. padding-bottom: 3px;
  187. margin: 7px;
  188. margin-top: 5px;
  189. margin-bottom: 10px;
  190. border-radius: 20px;
  191. background: rgba(0, 0, 0, 0.05);
  192. border: none;
  193. transition: background 0.5s;
  194. }
  195. .card-container input::placeholder,
  196. .card-container input:-ms-input-placeholder,
  197. .card-container input::-moz-placeholder,
  198. .card-container input::-webkit-input-placeholder {
  199. font-size: 0.75em;
  200. }
  201. .card-container input:focus {
  202. outline-width: 0;
  203. background: rgba(31, 134, 252, 0.15);
  204. transition: background 0.5s;
  205. }
  206. .card-container label {
  207. padding-left: 8px;
  208. color: #444;
  209. margin-bottom: 0;
  210. font-size: 0.8em;
  211. }
  212. .card-container *[class="col-md-6"] input {
  213. width: 90%;
  214. }
  215. .card-container .buy-button {
  216. position: relative;
  217. height: 35px;
  218. margin: 15px auto;
  219. margin-top: 10px;
  220. margin-bottom: 0px;
  221. border-radius: 1.5rem;
  222. border: none;
  223. background: #42C2DF;
  224. color: white;
  225. transition: background 0.4s;
  226. cursor: pointer;
  227. }
  228. .card-container .buy-button span.button-loading {
  229. /*font-size: 0.9rem;*/
  230. }
  231. .card-container .buy-button span.button-loading,
  232. .card-container .buy-button span.button-active {
  233. position: absolute;
  234. top: 50%;
  235. left: 50%;
  236. transform: translateX(-50%) translateY(-50%);
  237. width: 90%;
  238. text-align: center;
  239. }
  240. .card-container .buy-button i {
  241. font-size: 0.9em;
  242. }
  243. .card-container .buy-button:hover {
  244. background: #3594A9;
  245. transition: background 0.4s;
  246. }
  247. .chip {
  248. position: absolute;
  249. width: 55px;
  250. height: 40px;
  251. background: #bbb;
  252. border-radius: 7px;
  253. }
  254. .chip:after {
  255. content: '';
  256. display: block;
  257. width: 35px;
  258. height: 25px;
  259. border-radius: 4px;
  260. position: absolute;
  261. top: 0;
  262. bottom: 0;
  263. margin: auto;
  264. background: #ddd;
  265. }