2
2
3
3
exports [` NewsletterPreference component renders correctly and displays marketing information 1` ] = `
4
4
.emotion-0 {
5
- font - size : 14px ;
6
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
7
- line - height : 1.333 ;
5
+ font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
6
+ font - size : 0.875rem ;
7
+ line - height : 1.3 ;
8
+ font - weight : 400 ;
9
+ font - style : normal ;
10
+ -- source - text - decoration - thickness : 2px ;
11
+ lineheight : 1.333 ;
8
12
margin - top : 12px ;
9
13
}
10
14
@@ -14,17 +18,12 @@ exports[`NewsletterPreference component renders correctly and displays marketing
14
18
display : - webkit - flex ;
15
19
display : - ms - flexbox ;
16
20
display : flex ;
17
- - webkit - align - items : center ;
18
- - webkit - box - align : center ;
19
- - ms - flex - align : center ;
20
- align - items : center ;
21
- min - height : 44px ;
22
- cursor : pointer ;
23
21
- webkit - align - items : flex - start ;
24
22
- webkit - box - align : flex - start ;
25
23
- ms - flex - align : flex - start ;
26
24
align - items : flex - start ;
27
- margin - bottom : 12px ;
25
+ padding : 10px 0 ;
26
+ cursor : pointer ;
28
27
}
29
28
30
29
.emotion-1:hover input {
@@ -118,7 +117,7 @@ html:not(.src-focus-disabled) .emotion-2:focus {
118
117
- moz - transform : rotate (45deg );
119
118
- ms - transform : rotate (45deg );
120
119
transform : rotate (45deg );
121
- top : 14 px ;
120
+ top : 15 px ;
122
121
left : 9px ;
123
122
pointer - events : none ;
124
123
}
@@ -150,19 +149,6 @@ html:not(.src-focus-disabled) .emotion-2:focus {
150
149
}
151
150
}
152
151
153
- @supports ((appearance: none) or (-webkit-appearance: none) or (-moz-appearance: none)) {
154
- .emotion - 3 {
155
- top: 15px ;
156
- left : 9px ;
157
- }
158
- }
159
-
160
- @supports ((appearance: none) or (-webkit-appearance: none) or (-moz-appearance: none)) {
161
- .emotion - 3 {
162
- top: 5px ;
163
- }
164
- }
165
-
166
152
.emotion-4 {
167
153
cursor : pointer ;
168
154
}
@@ -176,12 +162,6 @@ html:not(.src-focus-disabled) .emotion-2:focus {
176
162
-- source - text - decoration - thickness : 2px ;
177
163
color : #121212 ;
178
164
width : 100 % ;
179
- font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
180
- font - size : 1.0625rem ;
181
- line - height : 1.3 ;
182
- font - weight : 400 ;
183
- font - style : normal ;
184
- -- source - text - decoration - thickness : 2px ;
185
165
margin - top : 1px ;
186
166
}
187
167
@@ -190,13 +170,14 @@ html:not(.src-focus-disabled) .emotion-2:focus {
190
170
}
191
171
192
172
.emotion-6 {
193
- font - size : 14px ;
194
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
173
+ font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
174
+ font - size : 0.875rem ;
175
+ line - height : 1.3 ;
176
+ font - weight : 700 ;
177
+ font - style : normal ;
178
+ -- source - text - decoration - thickness : 2px ;
195
179
cursor : pointer ;
196
- font - size : 14px ;
197
180
line - height : 22px ;
198
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
199
- font - weight : bold ;
200
181
margin : 0 ;
201
182
}
202
183
@@ -302,9 +283,13 @@ html:not(.src-focus-disabled) .emotion-2:focus {
302
283
303
284
exports [` NewsletterPreference component will select the checkbox when the selected prop is passed 1` ] = `
304
285
.emotion-0 {
305
- font - size : 14px ;
306
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
307
- line - height : 1.333 ;
286
+ font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
287
+ font - size : 0.875rem ;
288
+ line - height : 1.3 ;
289
+ font - weight : 400 ;
290
+ font - style : normal ;
291
+ -- source - text - decoration - thickness : 2px ;
292
+ lineheight : 1.333 ;
308
293
margin - top : 12px ;
309
294
}
310
295
@@ -314,17 +299,12 @@ exports[`NewsletterPreference component will select the checkbox when the select
314
299
display : - webkit - flex ;
315
300
display : - ms - flexbox ;
316
301
display : flex ;
317
- - webkit - align - items : center ;
318
- - webkit - box - align : center ;
319
- - ms - flex - align : center ;
320
- align - items : center ;
321
- min - height : 44px ;
322
- cursor : pointer ;
323
302
- webkit - align - items : flex - start ;
324
303
- webkit - box - align : flex - start ;
325
304
- ms - flex - align : flex - start ;
326
305
align - items : flex - start ;
327
- margin - bottom : 12px ;
306
+ padding : 10px 0 ;
307
+ cursor : pointer ;
328
308
}
329
309
330
310
.emotion-1:hover input {
@@ -418,7 +398,7 @@ html:not(.src-focus-disabled) .emotion-2:focus {
418
398
- moz - transform : rotate (45deg );
419
399
- ms - transform : rotate (45deg );
420
400
transform : rotate (45deg );
421
- top : 14 px ;
401
+ top : 15 px ;
422
402
left : 9px ;
423
403
pointer - events : none ;
424
404
}
@@ -450,19 +430,6 @@ html:not(.src-focus-disabled) .emotion-2:focus {
450
430
}
451
431
}
452
432
453
- @supports ((appearance: none) or (-webkit-appearance: none) or (-moz-appearance: none)) {
454
- .emotion - 3 {
455
- top: 15px ;
456
- left : 9px ;
457
- }
458
- }
459
-
460
- @supports ((appearance: none) or (-webkit-appearance: none) or (-moz-appearance: none)) {
461
- .emotion - 3 {
462
- top: 5px ;
463
- }
464
- }
465
-
466
433
.emotion-4 {
467
434
cursor : pointer ;
468
435
}
@@ -476,12 +443,6 @@ html:not(.src-focus-disabled) .emotion-2:focus {
476
443
-- source - text - decoration - thickness : 2px ;
477
444
color : #121212 ;
478
445
width : 100 % ;
479
- font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
480
- font - size : 1.0625rem ;
481
- line - height : 1.3 ;
482
- font - weight : 400 ;
483
- font - style : normal ;
484
- -- source - text - decoration - thickness : 2px ;
485
446
margin - top : 1px ;
486
447
}
487
448
@@ -490,13 +451,14 @@ html:not(.src-focus-disabled) .emotion-2:focus {
490
451
}
491
452
492
453
.emotion-6 {
493
- font - size : 14px ;
494
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
454
+ font - family : GuardianTextSans ," Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
455
+ font - size : 0.875rem ;
456
+ line - height : 1.3 ;
457
+ font - weight : 700 ;
458
+ font - style : normal ;
459
+ -- source - text - decoration - thickness : 2px ;
495
460
cursor : pointer ;
496
- font - size : 14px ;
497
461
line - height : 22px ;
498
- font - family : " Guardian Text Sans Web" ," Helvetica Neue" ,Helvetica ,Arial ," Lucida Grande" ,sans - serif ;
499
- font - weight : bold ;
500
462
margin : 0 ;
501
463
}
502
464
0 commit comments