123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276 |
- /** STRIPE **/
- /* Conteneur principal du plugin stripe */
- .stripe {
-
- }
- #stripes {
- }
- /* formulaire d'édition de stripeapi */
- .stripe .stripeapi-form {
-
- }
- #stripeapi-form {
- }
- html{
- --card-color: #cacaca;
- --text-color: #e1e1e1;
- }
- .card-container {
- display: flex;
- flex-direction: row;
- align-items: center;
- margin: auto;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- }
- .card-container {
- -webkit-perspective: 1000;
- perspective: 1000;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- }
- .card-container *[class*="col-md-"] {
- padding: 0;
- }
- .card-container .card {
- position: relative;
- width: 420px;
- height: 250px;
- border-radius: 17px;
- box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.1);
- transition: all 1s;
- -webkit-transform-style: preserve-3d;
- transform-style: preserve-3d;
- }
- .card-container .card .front {
- position: absolute;
- background: var(--card-color);
- border-radius: 15px;
- padding: 50px;
- width: 100%;
- height: 100%;
- transform: translateZ(1px);
- -webkit-transform: translateZ(1px);
- transition: background 0.3s;
- z-index: 50;
- 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%);
- -webkit-backface-visibility: hidden;
- backface-visibility: hidden;
- }
- .card-container .card .front .type {
- position: absolute;
- width: 75px;
- height: 45px;
- top: 20px;
- right: 20px;
- }
- .card-container .card .type i {
- font-size: 3.5em;
- color: white;
- }
- /*Mastercard*/
- /*.card-container .card .type i.fab.fa-cc-mastercard {
- color: #F79E1B;
- position: relative;
- }
- .card-container .card .type i.fab.fa-cc-mastercard:after {
- content: "\f1f1";
- display: inline-block;
- left: 0;
- position: absolute;
- top: 0;
- color: #EB001B;
- overflow: hidden;
- width: 50%;
- }*/
- .card-container .card .front .card_number {
- position: absolute;
- font-size: 26px;
- font-weight: 500;
- letter-spacing: -1px;
- top: 110px;
- color: var(--text-color);
- word-spacing: 3px;
- transition: color 0.5s;
- }
- .card-container .card .front .date {
- position: absolute;
- bottom: 40px;
- right: 55px;
- width: 90px;
- height: 35px;
- color: var(--text-color);
- transition: color 0.5s;
- }
- .card-container .card .front .date .date_value {
- font-size: 12px;
- position: absolute;
- margin-left: 22px;
- margin-top: 12px;
- color: var(--text-color);
- font-weight: 500;
- transition: color 0.5s;
- }
- .card-container .card .front .date:after {
- content: 'MOIS / ANNÉE';
- position: absolute;
- display: block;
- font-size: 7px;
- margin-left: 22px;
- }
- .card-container .card .front .date:before {
- content: 'exp. \a fin';
- position: absolute;
- display: block;
- font-size: 8px;
- white-space: pre;
- margin-top: 8px;
- }
- .card-container .card .front .fullname {
- position: absolute;
- font-size: 20px;
- bottom: 40px;
- color: var(--text-color);
- transition: color 0.5s;
- }
- .card-container .card .back {
- position: absolute;
- width: 100%;
- border-radius: 17px;
- height: 100%;
- background: var(--card-color);
- -webkit-transform: rotateY(180deg);
- transform: rotateY(180deg);
- }
- .card-container .card .back .magnetic {
- position: absolute;
- width: 100%;
- height: 50px;
- background: rgba(0, 0, 0, 0.7);
- margin-top: 25px;
- }
- .card-container .card .back .bar {
- position: absolute;
- width: 80%;
- height: 37px;
- background: rgba(255, 255, 255, 0.7);
- left: 10px;
- margin-top: 100px;
- }
- .card-container .card .back .seccode {
- font-size: 13px;
- color: var(--text-color);
- font-weight: 500;
- position: absolute;
- top: 100px;
- right: 40px;
- }
- .card-container .card .back .chip {
- bottom: 45px;
- left: 10px;
- }
- .card-container .card .back .disclaimer {
- position: absolute;
- width: 65%;
- left: 80px;
- color: #f1f1f1;
- font-size: 8px;
- bottom: 50px;
- }
- .card-container input {
- display: block;
- width: 95%;
- height: 30px;
- padding-left: 10px;
- padding-top: 3px;
- padding-bottom: 3px;
- margin: 7px;
- margin-top: 5px;
- margin-bottom: 10px;
- border-radius: 20px;
- background: rgba(0, 0, 0, 0.05);
- border: none;
- transition: background 0.5s;
- }
- .card-container input::placeholder,
- .card-container input:-ms-input-placeholder,
- .card-container input::-moz-placeholder,
- .card-container input::-webkit-input-placeholder {
- font-size: 0.75em;
- }
- .card-container input:focus {
- outline-width: 0;
- background: rgba(31, 134, 252, 0.15);
- transition: background 0.5s;
- }
- .card-container label {
- padding-left: 8px;
- color: #444;
- margin-bottom: 0;
- font-size: 0.8em;
- }
- .card-container *[class="col-md-6"] input {
- width: 90%;
- }
- .card-container .buy-button {
- position: relative;
- height: 35px;
- margin: 15px auto;
- margin-top: 10px;
- margin-bottom: 0px;
- border-radius: 1.5rem;
- border: none;
- background: #42C2DF;
- color: white;
- transition: background 0.4s;
- cursor: pointer;
- }
- .card-container .buy-button span.button-loading {
- /*font-size: 0.9rem;*/
- }
- .card-container .buy-button span.button-loading,
- .card-container .buy-button span.button-active {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translateX(-50%) translateY(-50%);
- width: 90%;
- text-align: center;
- }
- .card-container .buy-button i {
- font-size: 0.9em;
- }
- .card-container .buy-button:hover {
- background: #3594A9;
- transition: background 0.4s;
- }
- .chip {
- position: absolute;
- width: 55px;
- height: 40px;
- background: #bbb;
- border-radius: 7px;
- }
- .chip:after {
- content: '';
- display: block;
- width: 35px;
- height: 25px;
- border-radius: 4px;
- position: absolute;
- top: 0;
- bottom: 0;
- margin: auto;
- background: #ddd;
- }
|