-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
207 lines (177 loc) · 3.7 KB
/
style.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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
}
body {
margin: 0;
font-family: 'Roboto', sans-serif;
}
.header {
background: #1F2229;
width: 100%;
height: 44px;
color: #FFFFFF;
}
.header-container {
width: 846px;
margin: 0px auto;
display: flex;
}
.header-heading {
color: #FFFFFF;
font-size: 14px;
font-weight: 400;
line-height: 16px;
padding: 14px 20px;
}
.header-logo {
padding: 12px 0 0;
}
.container {
width: 716px;
padding: 41px 42px 112px 42px;
margin: 0px auto;
background: #FAF6F6;
}
.container h1 {
font-size: 36px;
font-weight: 400;
line-height: 42px;
text-align: center;
margin: 0 0 30px;
}
.main-description {
font-size: 12px;
font-weight: 400;
line-height: 14px;
text-align: justify;
margin: 0 0 72px;
}
.calc-body {
padding: 0 80px 0 72px;
}
.calc-body hr {
border: none;
border-top: 1px #000 solid;
margin-bottom: 26px;
}
.main-form {
margin-bottom: 28px;
}
.form-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 37px 82px;
}
input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
appearance: none;
-moz-appearance: textfield;
}
div.custom-input {
display: flex;
flex-direction: column-reverse;
max-width: 20rem;
margin: 0 auto;
height: 54px;
}
.custom-input.hidden,
.hidden {
display: none;
}
.custom-input input {
padding: 29px 18px 9px;
border: 1px solid #000;
outline: none;
width: 204px;
height: 16px;
font-size: 12px;
font-weight: 400
}
.custom-input input.error {
border: 1px solid #FF5A5F;
}
.custom-input label.error {
order: 1;
position: relative;
color: #FF5A5F !important;
top: 60px;
}
.custom-input label {
padding-left: 1rem;
color: #000000;
font-size: 12px;
font-weight: 400;
transform: translateY(33px);
transform-origin: left top;
cursor: text;
transition: all 0.3s;
}
.custom-input input:focus ~ .label-heading,
.custom-input input:not(:placeholder-shown) ~ .label-heading {
padding: 0;
color: #212121;
transform: translate(15px, 23px);
}
.custom-checkbox {
height: 54px;
}
.custom-checkbox input {
display: none;
}
.custom-checkbox .custom__new-checkbox {
display: inline-block;
width: 25px;
height: 25px;
border: 1px solid #000000;
background: #ffffff;
}
.custom-checkbox label {
display: flex;
margin-top: 13px;
}
.custom-checkbox label input:checked ~ .custom__new-checkbox {
background: url("data:image/svg+xml;utf8, <svg width='16' height='14' viewBox='0 0 16 14' fill='none' xmlns='http://www.w3.org/2000/svg'> <line x1='0.290619' y1='8.59313' x2='7.29062' y2='13.5931' stroke='black'/> <line x1='6.5889' y1='13.7154' x2='15.5889' y2='0.715395' stroke='black'/> </svg>") no-repeat,
#ffffff;
background-position: 5px 5px;
}
.custom-checkbox-label {
order: 2;
font-size: 14px;
font-weight: 400;
white-space: nowrap;
line-height: 25px;
position: absolute;
margin-left: 40px;
}
.custom-select {
height: 54px;
position: absolute;
border: 1px solid #000000;
margin-left: 181px;
background: #ffffff;
outline: 0px;
}
.form-submit {
background: #33C4A0;
color: #FFFFFF;
padding: 19px 53px;
border: none;
margin-top: 64px;
font-size: 12px;
font-weight: 500;
line-height: 14px;
cursor: pointer;
}
.main-result-text {
padding-left: 15px;
font-size: 14px;
font-weight: 400;
margin-bottom: 12px;
}
.main-form-result {
padding-left: 53px;
font-weight: 700;
font-size: 40px;
}