stripe.css77 lines · main
1/* stylesheet pertaining specifically to Stripe elements */
2
3@keyframes fade {
4 from {
5 opacity: 0;
6 transform: scale3D(0.95, 0.95, 0.95);
7 }
8 to {
9 opacity: 1;
10 transform: scale3D(1, 1, 1);
11 }
12}
13
14@keyframes void-animation-out {
15 0%,
16 to {
17 opacity: 1;
18 }
19}
20
21.StripeElement--webkit-autofill {
22 background: transparent !important;
23}
24
25.StripeElement {
26 width: 100%;
27}
28
29.ErrorMessage {
30 color: black;
31 position: absolute;
32 display: flex;
33 justify-content: center;
34 padding: 0 15px;
35 font-size: 13px;
36 margin-top: 0px;
37 width: 100%;
38 transform: translateY(-15px);
39 opacity: 0;
40 animation: fade 150ms ease-out;
41 animation-delay: 50ms;
42 animation-fill-mode: forwards;
43 will-change: opacity, transform;
44}
45
46.ErrorMessage svg {
47 margin-right: 10px;
48}
49
50.Result {
51 margin-top: 50px;
52 text-align: center;
53 animation: fade 200ms ease-out;
54}
55
56.ResultTitle {
57 color: black;
58 font-weight: 500;
59 margin-bottom: 8px;
60 font-size: 17px;
61 text-align: center;
62}
63
64.ResultMessage {
65 color: black;
66 font-size: 14px;
67 font-weight: 400;
68 margin-bottom: 25px;
69 line-height: 1.6em;
70 text-align: center;
71}
72
73.ResetButton {
74 border: 0;
75 cursor: pointer;
76 background: transparent;
77}