-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
156 lines (136 loc) · 3.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
.MyFormContainer {
/* width: 100%;
max-width: 450px;
margin-left: auto;
margin-right: auto; */
padding: 0 8px;
background-color: transparent;
position: relative;
font-size: 16px;
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
}
.CustomAltaPayCloseButton {
display: none;
position: absolute;
right: 0;
top: 0;
background-color: violet;
}
.pensio_payment_form_label_cell {
color: #030711;
font-size: 18px;
line-height: 28px;
font-weight: 500;
}
#pensio_payment_form_cvc_description {
color: #6b7280;
font-size: 14px;
line-height: 20px;
font-weight: 400;
}
.pensio_payment_form_row {
margin-top: 16px;
}
#invalid_cvc, #invalid_cardholdername {
color: #e53e3e;
font-size: 14px;
line-height: 20px;
font-weight: 400;
}
/* CVC helper icon */
.pensio_payment_form_cvc_cell {
margin-top: 8px;
}
/* Creditcard expiry helper labels */
.pensio_payment_form_row.expiry_row>label[for='emonth'],
.pensio_payment_form_row.expiry_row>label[for='eyear'],
.pensio_payment_form_label_cell_divider {
display: none;
}
#creditCardNumberInput, #cvcInput, #cardholderNameInput {
width: 100%;
max-width: calc(100vw - 44px) !important;
margin-top: 8px;
padding: 8px 12px;
font-size: 16px;
line-height: 24px;
border: #9ca3af 1px solid;
border-radius: 0;
}
#creditCardNumberInput:focus, #cvcInput:focus, #cardholderNameInput:focus {
outline-style: solid;
outline-color: #cbd5e1;
outline-offset: 0px;
outline-width: 2px;
}
#emonth, #eyear {
width: 49%;
margin-top: 8px;
padding: 11px 12px;
font-size: 16px;
/* line-height: 24px; -- Lineheight is not sematically correct on input elements, so we rely on padding */
border-width: 1px;
border-color: #cbd5e1;
border-style: solid;
background-color: rgb(255 255 255 / 1);
}
#emonth:focus, #eyear:focus {
outline-style: solid;
outline-color: #030711;
outline-offset: 1px;
outline-width: 2px;
}
/* Hide card helper icons and provider selector */
#creditCardTypeIcon, #creditCardTypeSecondIcon, #selectCardLabel {
display: none;
}
#pensioCreditCardPaymentSubmitButton, #dkcPaymentButton {
width: 100%;
max-width: 100vw;
margin-top: 16px;
padding: 10px 12px;
font-size: 16px;
line-height: 24px;
background-color: #030711;
color: #fff;
border: none;
cursor: pointer;
text-transform: uppercase;
}
#pensioCreditCardPaymentSubmitButton:disabled, #dkcPaymentButton:disabled {
background-color: #9ca3af;
cursor: not-allowed;
}
</style>
</head>
<body>
<div class="MyFormContainer">
<div class="CustomAltaPayCloseButton">Close</div>
<form id="PensioPaymentForm">All content here will be replaced by the actual payment form</form>
<input id="dkcPaymentButton" class="CustomAltaPaySubmitButton" type="button" value="Pay" />
</div>
</body>
</html>