-
Notifications
You must be signed in to change notification settings - Fork 1
/
paymentform.css
163 lines (143 loc) · 2.65 KB
/
paymentform.css
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
157
158
159
160
161
162
163
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #d7f7ff;
font-family: Arial, Helvetica, sans-serif;
}
.wrapper {
background-color: #fff;
width: 500px;
padding: 25px;
margin: 25px auto 0;
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.wrapper h2 {
background-color: #fcfcfc;
color: #21cdd3;
font-size: 24px;
padding: 10px;
margin-bottom: 8px;
text-align: center;
border: 1px dashed #21cdd3;
}
.wrapper h4 {
padding-bottom: 5px;
color: #21cdd3;
}
.input_group {
margin-bottom: 8px;
width: 100%;
position: relative;
display: flex;
flex-direction: row;
padding: 5px;
}
.input_box {
width: 100%;
margin-right: 12px;
position: relative;
}
.input_box:last-child {
margin-right: 0;
}
.input_box .name {
padding: 14px 10px 14px 50px;
width: 100%;
background-color: #fcfcfc;
border: 1px solid #0003;
outline: none;
letter-spacing: 1px;
transition: 0.3s;
border-radius: 3px;
color: #333;
}
.input_box .name:focus,
.dob:focus {
-webkit-box-shadow: 0 0 2px 1px #21cdd3;
-moz-box-shadow: 0 0 2px 1px #21cdd3;
box-shadow: 0 0 2px 1px #21cdd3;
border: 1px solid #21cdd3;
}
.input_box .icon {
width: 48px;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0px;
left: 0px;
bottom: 0px;
color: #333;
background-color: #f1f1f1;
border-radius: 2px 0 0 2px;
transition: 0.3s;
font-size: 20px;
pointer-events: none;
border: 1px solid #00000003;
border-right: none;
}
.name:focus + .icon {
background-color: #21cdd3;
color: #fff;
border-right: 1px solid #21cdd3;
border: none;
transition: 1s;
}
.dob {
width: 30%;
padding: 14px;
text-align: center;
background-color: #fcfcfc;
transition: 0.3s;
outline: none;
border: 1px solid #c0bfbf;
border-radius: 3px;
}
.radio {
display: none;
}
.input_box label {
width: 50%;
padding: 13px;
background-color: #fcfcfc;
float: left;
text-align: center;
border: 1px solid #c0bfbf;
}
.input_box label:first-of-type {
border-top-left-radius: 3px;
border-bottom-right-radius: 3px;
border-right: none;
}
.input_box label:last-of-type {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
.radio:checked + label {
background-color: #21cdd3;
color: #fff;
transition: 0.5s;
}
.input_box button {
width: 100%;
background-color: #21cdd3;
border: none;
color: #fff;
padding: 15px;
border-right: 4px;
font-size: 16px;
transition: all 0.3s ease;
border-radius: 8px;
}
.input_box button:hover {
cursor: pointer;
background-color: #05b1a3;
}
#amount {
text-align: center;
padding: 10px 20px;
}