1717 & .form__row--your--address {
1818 .form__field--postcode {
1919 display : flex ;
20+ flex-direction : column ;
2021
2122 .form__field--text {
2223 width : 100% ;
2324 }
2425
2526 .form__btn {
26- width : auto ;
27+ width : 100 % ;
2728 }
2829 }
2930 }
4041.form__fieldset {
4142 h1 {
4243 text-transform : inherit ;
43- color : $colour-deep-violet ;
44+ color : $colour--white ;
4445 }
4546}
4647
@@ -54,16 +55,23 @@ form,
5455form a ,
5556input {
5657 font-family : $body-font ;
57- color : $colour-deep-violet ;
58+ color : $colour--white ;
59+ @include font-size ($field-font-size );
60+ font-weight : 500 ;
61+ }
62+
63+ form a {
64+ color : $colour--white ;
5865}
5966
6067input [type = " email" ],
6168input [type = " number" ],
6269input [type = " text" ],
70+ input [type = " tel" ],
6371select ,
6472textarea {
65- border : 1px solid $colour-deep-violet ;
66- @include placeholder (#757575 , 18px , $body-font );
73+ border : 1px solid $colour--field-border ;
74+ @include placeholder ($colour--placeholder , 18px , $body-font , 22 px , 700 , 20 px , 24 px );
6775}
6876
6977
@@ -122,8 +130,8 @@ textarea {
122130 left : 0 ;
123131 width : 0.5em ;
124132 height : 0.5em ;
125- border-left : 2px solid $colour-dark-purple ;
126- border-top : 2px solid $colour-dark-purple ;
133+ border-left : 2px solid $colour--white ;
134+ border-top : 2px solid $colour--white ;
127135 transform : rotate (-45deg );
128136 }
129137}
139147 @include font-size ($h3-font-size );
140148}
141149.form__row--giftaid p {
142- text-align : left ;
150+ text-align : center ;
151+ @include font-size ($field-font-size );
152+ font-weight : 500 ;
143153}
144154.form__subcopy--bfpo {
145155 font-size : 16px ;
@@ -158,24 +168,19 @@ button.payment-button {
158168 padding : 18px 30px ;
159169}
160170
161- button [type = " submit" ],
162- #comicrelief_payinbundle_payment_card ,
163- #comicrelief_payinbundle_payment_directdebit {
164- @extend .btn--deep-violet ;
165- }
166171// Apple Pay button only shows when supported
167172#comicrelief_payinbundle_payment_apple_pay {
168173 display : none ;
169174 // fallback if apple pay styling doesn't come through
170175 // making sure this doesn't stick out if apple styling does come through
171- height : 54 px ;
172- @extend .btn--black ;
176+ height : 55 px ;
177+ @extend button .cta ;
173178 // apple pay styling
174179 & :after {
175180 margin-top : -1px ;
176181 height : 55px ;
177182 -webkit-appearance : -apple-pay-button ;
178- -apple-pay-button-style : black ;
183+ -apple-pay-button-style : white ;
179184 }
180185}
181186// PayPal fallback styling
@@ -187,14 +192,91 @@ button[type="submit"],
187192
188193.form__row--giftaid {
189194 .giftaid-title {
190- width : 185 px ;
191- margin : 15px auto ;
195+ width : 220 px ;
196+ margin : 15px auto ;
192197 height : 105px ;
193- background : url ($image-path + " gift_aid_logo.png" ) no-repeat center ;
198+ background : url ($image-path + " gift_aid_logo--white .png" ) no-repeat center ;
194199 background-size : contain ;
195200
196201 @include breakpoint ($screen-lg ) {
197- margin : 15px auto 15px 0 ;
202+ margin : 15px auto 15px ;
198203 }
199204 }
200205}
206+
207+ label , legend , .form__field-label {
208+ @include font-size ($field-label-font-size );
209+ margin-bottom : 10px ;
210+ font-weight : 700 ;
211+ }
212+
213+ #field-label--giftaid {
214+ font-weight : 500 ;
215+ }
216+
217+ .form__field-additional-text {
218+ font-family : $montserrat ;
219+ @include font-size ($form-error-font-size );
220+ font-weight : 500 ;
221+
222+ a {
223+ font-family : inherit ;
224+ font-size : inherit ;
225+ line-height : inherit ;
226+ font-weight : inherit ;
227+ border-bottom : 1px solid $colour--white ;
228+ }
229+ }
230+
231+ .form-error {
232+ padding : 6px ;
233+ width : 100% ;
234+ background-color : $colour--error-msg-bg ;
235+ @include border-radius (8px );
236+ @include font-size ($form-error-font-size );
237+ font-weight : 500 ;
238+
239+ & :before {
240+ width : 16px ;
241+ height : 16px ;
242+ }
243+ }
244+
245+ #field-wrapper--accountHolder {
246+ .form__field-wrapper--checkbox {
247+ min-height : 45px ;
248+ }
249+ .form__field.form__field--checkbox {
250+ height : 40px ;
251+ width : 40px ;
252+ top : 0 ;
253+ left : 0 ;
254+
255+ & + span {
256+ top : 0 ;
257+ left : 0 ;
258+ }
259+
260+ @include breakpoint ($screen-md ) {
261+ top : 3px ;
262+ & + span {
263+ top : 3px ;
264+ }
265+ }
266+ }
267+ #field-label--accountHolder {
268+ padding-left : 5px ;
269+
270+ @include breakpoint ($screen-md ) {
271+ padding-left : 10px ;
272+ }
273+ }
274+ }
275+
276+ #address-detail {
277+ .form__fieldset.form__field--wrapper {
278+ label .form__field-label span {
279+ font-weight : 500 !important ;
280+ }
281+ }
282+ }
0 commit comments