1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` <Header /> component renders with DARK theme 1` ] = `
4
- .c5 {
4
+ .c4 {
5
5
background - color : #222222 ;
6
6
border : 1px solid #484848 ;
7
7
border - radius : 50 % ;
@@ -13,41 +13,41 @@ exports[`<Header /> component renders with DARK theme 1`] = `
13
13
width : 2.5rem ;
14
14
}
15
15
16
- .c5 :hover {
16
+ .c4 :hover {
17
17
background - color : #484848 ;
18
18
}
19
19
20
- .c5 :hover svg,
21
- .c5 :hover g {
20
+ .c4 :hover svg,
21
+ .c4 :hover g {
22
22
fill : #ffffff ;
23
23
}
24
24
25
- .c5 .active {
25
+ .c4 .active {
26
26
background - color : #e22a23 ;
27
27
border - color : #e22a23 ;
28
28
}
29
29
30
- .c5 .active svg,
31
- .c5 .active g {
30
+ .c4 .active svg,
31
+ .c4 .active g {
32
32
fill : #ffffff ;
33
33
}
34
34
35
- .c5 .light {
35
+ .c4 .light {
36
36
background - color : #ffffff ;
37
37
border - color : #c4c4c4 ;
38
38
}
39
39
40
- .c5 .light svg,
41
- .c5 .light g {
40
+ .c4 .light svg,
41
+ .c4 .light g {
42
42
fill : #707070 ;
43
43
}
44
44
45
- .c5 .light:hover svg,
46
- .c5 .light:hover g {
45
+ .c4 .light:hover svg,
46
+ .c4 .light:hover g {
47
47
fill : #707070 ;
48
48
}
49
49
50
- .c6 {
50
+ .c5 {
51
51
font - family : ' Karla' ,sans - serif ;
52
52
padding : 1.5rem ;
53
53
border - radius : 4px ;
@@ -70,10 +70,10 @@ exports[`<Header /> component renders with DARK theme 1`] = `
70
70
- webkit - flex - wrap : wrap ;
71
71
- ms - flex - wrap : wrap ;
72
72
flex - wrap : wrap ;
73
- - webkit - box - pack : justify ;
74
- - webkit - justify - content : space - between ;
75
- - ms - flex - pack : justify ;
76
- justify - content : space - between ;
73
+ - webkit - box - pack : start ;
74
+ - webkit - justify - content : start ;
75
+ - ms - flex - pack : start ;
76
+ justify - content : start ;
77
77
margin - top : 1rem ;
78
78
}
79
79
@@ -84,7 +84,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
84
84
display : inline - flex ;
85
85
}
86
86
87
- .c4 {
87
+ .c3 {
88
88
display : - webkit - inline - box ;
89
89
display : - webkit - inline - flex ;
90
90
display : - ms - inline - flexbox ;
@@ -110,23 +110,13 @@ exports[`<Header /> component renders with DARK theme 1`] = `
110
110
color : #f5f5f5 ;
111
111
}
112
112
113
- .c3 {
114
- border - bottom : 1px solid transparent ;
115
- color : #888888 ;
116
- display : - webkit - inline - box ;
117
- display : - webkit - inline - flex ;
118
- display : - ms - inline - flexbox ;
119
- display : inline - flex ;
120
- font - size : 0.875rem ;
121
- margin : 0.5rem 2rem 0 0 ;
122
- padding - bottom : 1px ;
123
- - webkit - text - decoration : none ;
124
- text - decoration : none ;
125
- }
126
-
127
- .c3:hover {
128
- border - bottom : 1px solid #f5f5f5 ;
129
- color : #f5f5f5 ;
113
+ @media (min-width:769px) {
114
+ .c0 {
115
+ -webkit-box-pack: justify ;
116
+ - webkit - justify - content : space - between ;
117
+ - ms - flex - pack : justify ;
118
+ justify - content : space - between ;
119
+ }
130
120
}
131
121
132
122
<div >
@@ -150,19 +140,12 @@ exports[`<Header /> component renders with DARK theme 1`] = `
150
140
>
151
141
About
152
142
</a >
153
- <a
154
- className = " c3"
155
- href = " //github.com/zoltantothcom/javascript-patterns"
156
- target = " _blank"
157
- >
158
- GitHub
159
- </a >
160
143
</div >
161
144
<div
162
- className = " c4 "
145
+ className = " c3 "
163
146
>
164
147
<button
165
- className = " c5 "
148
+ className = " c4 "
166
149
onClick = { [Function ]}
167
150
>
168
151
<svg
@@ -189,7 +172,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
189
172
</svg >
190
173
</button >
191
174
<button
192
- className = " c5 "
175
+ className = " c4 "
193
176
onClick = { [Function ]}
194
177
>
195
178
<svg
@@ -211,7 +194,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
211
194
</button >
212
195
</div >
213
196
<h1
214
- className = " c6 "
197
+ className = " c5 "
215
198
>
216
199
JavaScript Design Patterns
217
200
</h1 >
@@ -220,7 +203,7 @@ exports[`<Header /> component renders with DARK theme 1`] = `
220
203
` ;
221
204
222
205
exports [` <Header /> component renders with LIGHT theme 1` ] = `
223
- .c5 {
206
+ .c4 {
224
207
background - color : #f4f4f4 ;
225
208
border : 1px solid #e8e8e8 ;
226
209
border - radius : 50 % ;
@@ -232,41 +215,41 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
232
215
width : 2.5rem ;
233
216
}
234
217
235
- .c5 :hover {
218
+ .c4 :hover {
236
219
background - color : #e8e8e8 ;
237
220
}
238
221
239
- .c5 :hover svg,
240
- .c5 :hover g {
222
+ .c4 :hover svg,
223
+ .c4 :hover g {
241
224
fill : #ffffff ;
242
225
}
243
226
244
- .c5 .active {
227
+ .c4 .active {
245
228
background - color : #e22a23 ;
246
229
border - color : #e22a23 ;
247
230
}
248
231
249
- .c5 .active svg,
250
- .c5 .active g {
232
+ .c4 .active svg,
233
+ .c4 .active g {
251
234
fill : #ffffff ;
252
235
}
253
236
254
- .c5 .light {
237
+ .c4 .light {
255
238
background - color : #ffffff ;
256
239
border - color : #aaaaaa ;
257
240
}
258
241
259
- .c5 .light svg,
260
- .c5 .light g {
242
+ .c4 .light svg,
243
+ .c4 .light g {
261
244
fill : #cccccc ;
262
245
}
263
246
264
- .c5 .light:hover svg,
265
- .c5 .light:hover g {
247
+ .c4 .light:hover svg,
248
+ .c4 .light:hover g {
266
249
fill : #cccccc ;
267
250
}
268
251
269
- .c6 {
252
+ .c5 {
270
253
font - family : ' Karla' ,sans - serif ;
271
254
padding : 1.5rem ;
272
255
border - radius : 4px ;
@@ -289,10 +272,10 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
289
272
- webkit - flex - wrap : wrap ;
290
273
- ms - flex - wrap : wrap ;
291
274
flex - wrap : wrap ;
292
- - webkit - box - pack : justify ;
293
- - webkit - justify - content : space - between ;
294
- - ms - flex - pack : justify ;
295
- justify - content : space - between ;
275
+ - webkit - box - pack : start ;
276
+ - webkit - justify - content : start ;
277
+ - ms - flex - pack : start ;
278
+ justify - content : start ;
296
279
margin - top : 1rem ;
297
280
}
298
281
@@ -303,7 +286,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
303
286
display : inline - flex ;
304
287
}
305
288
306
- .c4 {
289
+ .c3 {
307
290
display : - webkit - inline - box ;
308
291
display : - webkit - inline - flex ;
309
292
display : - ms - inline - flexbox ;
@@ -329,23 +312,13 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
329
312
color : #707070 ;
330
313
}
331
314
332
- .c3 {
333
- border - bottom : 1px solid transparent ;
334
- color : #e22a23 ;
335
- display : - webkit - inline - box ;
336
- display : - webkit - inline - flex ;
337
- display : - ms - inline - flexbox ;
338
- display : inline - flex ;
339
- font - size : 0.875rem ;
340
- margin : 0.5rem 2rem 0 0 ;
341
- padding - bottom : 1px ;
342
- - webkit - text - decoration : none ;
343
- text - decoration : none ;
344
- }
345
-
346
- .c3:hover {
347
- border - bottom : 1px solid #707070 ;
348
- color : #707070 ;
315
+ @media (min-width:769px) {
316
+ .c0 {
317
+ -webkit-box-pack: justify ;
318
+ - webkit - justify - content : space - between ;
319
+ - ms - flex - pack : justify ;
320
+ justify - content : space - between ;
321
+ }
349
322
}
350
323
351
324
<div >
@@ -369,19 +342,12 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
369
342
>
370
343
About
371
344
</a >
372
- <a
373
- className = " c3"
374
- href = " //github.com/zoltantothcom/javascript-patterns"
375
- target = " _blank"
376
- >
377
- GitHub
378
- </a >
379
345
</div >
380
346
<div
381
- className = " c4 "
347
+ className = " c3 "
382
348
>
383
349
<button
384
- className = " c5 "
350
+ className = " c4 "
385
351
onClick = { [Function ]}
386
352
>
387
353
<svg
@@ -408,7 +374,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
408
374
</svg >
409
375
</button >
410
376
<button
411
- className = " c5 "
377
+ className = " c4 "
412
378
onClick = { [Function ]}
413
379
>
414
380
<svg
@@ -430,7 +396,7 @@ exports[`<Header /> component renders with LIGHT theme 1`] = `
430
396
</button >
431
397
</div >
432
398
<h1
433
- className = " c6 "
399
+ className = " c5 "
434
400
>
435
401
JavaScript Design Patterns
436
402
</h1 >
0 commit comments