@internetstiftelsen/styleguide 5.0.4 → 5.0.6-beta.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/atoms/button/_button.scss +2 -3
- package/src/atoms/main-menu/_main-menu.scss +0 -1
- package/src/atoms/meta/_meta.scss +4 -4
- package/src/atoms/textarea/_textarea.scss +1 -1
- package/src/configurations/_wordpress.scss +2 -2
- package/src/configurations/typography/_typography.scss +18 -18
- package/src/molecules/glider/_glider-hero.scss +15 -15
- package/src/molecules/system-error/_system-error.scss +2 -2
- package/src/organisms/event-listing-item/_event-listing-item.scss +1 -5
- package/src/organisms/footer/_footer.scss +2 -2
- package/src/organisms/hero/_hero.scss +5 -5
- package/src/organisms/mega-menu/_mega-menu.scss +175 -17
- package/src/organisms/search/_search.scss +0 -1
- package/src/organisms/timeline/_timeline.scss +2 -2
- package/src/organisms/video-guide/_video-guide.scss +4 -6
package/package.json
CHANGED
|
@@ -354,8 +354,7 @@
|
|
|
354
354
|
}
|
|
355
355
|
|
|
356
356
|
@include bem.e(text) {
|
|
357
|
-
color: colors.$color-
|
|
358
|
-
text-shadow: 0 0 func.rhythm(2) colors.$color-jade-dark;
|
|
357
|
+
color: colors.$color-cyberspace;
|
|
359
358
|
}
|
|
360
359
|
|
|
361
360
|
@include bem.e(icon) {
|
|
@@ -451,7 +450,7 @@
|
|
|
451
450
|
|
|
452
451
|
@include bem.e(text) {
|
|
453
452
|
color: colors.$color-snow;
|
|
454
|
-
text-shadow: 0 0 func.rhythm(
|
|
453
|
+
text-shadow: 0 0 func.rhythm(1) colors.$color-peacock-dark;
|
|
455
454
|
}
|
|
456
455
|
|
|
457
456
|
@include bem.e(icon) {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
white-space: nowrap;
|
|
21
21
|
|
|
22
22
|
@include plumber.plumber(
|
|
23
|
-
|
|
23
|
+
$font-size: 1.7,
|
|
24
24
|
$baseline: var.$mono-baseline,
|
|
25
25
|
$leading-bottom: 0
|
|
26
26
|
);
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
|
|
64
64
|
@include bem.m(responsive) {
|
|
65
65
|
@include plumber.plumber(
|
|
66
|
-
|
|
66
|
+
$font-size: 1.4,
|
|
67
67
|
$baseline: var.$mono-baseline,
|
|
68
68
|
$leading-bottom: 0
|
|
69
69
|
);
|
|
70
70
|
|
|
71
71
|
@include breakpoint.bp-up(md) {
|
|
72
72
|
@include plumber.plumber(
|
|
73
|
-
|
|
73
|
+
$font-size: 1.6,
|
|
74
74
|
$baseline: var.$mono-baseline,
|
|
75
75
|
$leading-bottom: 0
|
|
76
76
|
);
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
@include breakpoint.bp-up(lg) {
|
|
80
80
|
@include plumber.plumber(
|
|
81
|
-
|
|
81
|
+
$font-size: 1.7,
|
|
82
82
|
$baseline:var.$mono-baseline,
|
|
83
83
|
$leading-bottom: 0
|
|
84
84
|
);
|
|
@@ -58,7 +58,7 @@ div.aligncenter {
|
|
|
58
58
|
|
|
59
59
|
figcaption {
|
|
60
60
|
@include plumber.plumber(
|
|
61
|
-
|
|
61
|
+
$font-size: 1.7,
|
|
62
62
|
$line-height: 2,
|
|
63
63
|
$leading-bottom: 0
|
|
64
64
|
);
|
|
@@ -161,7 +161,7 @@ div.aligncenter {
|
|
|
161
161
|
.wp-block-embed {
|
|
162
162
|
figcaption {
|
|
163
163
|
@include plumber.plumber(
|
|
164
|
-
|
|
164
|
+
$font-size: 1.5,
|
|
165
165
|
$line-height: 2,
|
|
166
166
|
$leading-bottom: 0
|
|
167
167
|
);
|
|
@@ -12,7 +12,7 @@ h1,
|
|
|
12
12
|
.alpha,
|
|
13
13
|
%alpha {
|
|
14
14
|
@include plumber.plumber(
|
|
15
|
-
|
|
15
|
+
$font-size: 3,
|
|
16
16
|
$line-height: 4,
|
|
17
17
|
$leading-bottom: 2,
|
|
18
18
|
$baseline: var.$headings-baseline
|
|
@@ -22,7 +22,7 @@ h1,
|
|
|
22
22
|
|
|
23
23
|
@include breakpoint.bp-up(sm) {
|
|
24
24
|
@include plumber.plumber(
|
|
25
|
-
|
|
25
|
+
$font-size: 4,
|
|
26
26
|
$line-height: 5,
|
|
27
27
|
$leading-bottom: 1,
|
|
28
28
|
$baseline: var.$headings-baseline
|
|
@@ -34,7 +34,7 @@ h2,
|
|
|
34
34
|
.beta,
|
|
35
35
|
%beta {
|
|
36
36
|
@include plumber.plumber(
|
|
37
|
-
|
|
37
|
+
$font-size: 2.44444,
|
|
38
38
|
$line-height: 3,
|
|
39
39
|
$leading-bottom: 1,
|
|
40
40
|
$baseline: var.$headings-baseline
|
|
@@ -44,7 +44,7 @@ h2,
|
|
|
44
44
|
|
|
45
45
|
@include breakpoint.bp-up(sm) {
|
|
46
46
|
@include plumber.plumber(
|
|
47
|
-
|
|
47
|
+
$font-size: 2.666666,
|
|
48
48
|
$leading-bottom: 1
|
|
49
49
|
);
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ h3,
|
|
|
56
56
|
.gamma,
|
|
57
57
|
%gamma {
|
|
58
58
|
@include plumber.plumber(
|
|
59
|
-
|
|
59
|
+
$font-size: 2.22222,
|
|
60
60
|
$line-height: 3,
|
|
61
61
|
$leading-top: 0,
|
|
62
62
|
$leading-bottom: 1
|
|
@@ -69,7 +69,7 @@ h4,
|
|
|
69
69
|
.delta,
|
|
70
70
|
%delta {
|
|
71
71
|
@include plumber.plumber(
|
|
72
|
-
|
|
72
|
+
$font-size: 1.888888,
|
|
73
73
|
$line-height: 3,
|
|
74
74
|
$leading-top: 0,
|
|
75
75
|
$leading-bottom: 1
|
|
@@ -149,7 +149,7 @@ dl {
|
|
|
149
149
|
.small,
|
|
150
150
|
small {
|
|
151
151
|
@include plumber.plumber(
|
|
152
|
-
|
|
152
|
+
$font-size: 1.5,
|
|
153
153
|
$line-height: 2,
|
|
154
154
|
$leading-bottom: 0
|
|
155
155
|
);
|
|
@@ -158,7 +158,7 @@ small {
|
|
|
158
158
|
.supersize,
|
|
159
159
|
%supersize {
|
|
160
160
|
@include plumber.plumber(
|
|
161
|
-
|
|
161
|
+
$font-size: 3,
|
|
162
162
|
$line-height: 4,
|
|
163
163
|
$leading-bottom: 1,
|
|
164
164
|
$baseline: var.$headings-baseline
|
|
@@ -168,7 +168,7 @@ small {
|
|
|
168
168
|
|
|
169
169
|
@include breakpoint.bp-up(sm) {
|
|
170
170
|
@include plumber.plumber(
|
|
171
|
-
|
|
171
|
+
$font-size: 4.5,
|
|
172
172
|
$line-height: 5,
|
|
173
173
|
$leading-bottom: 1
|
|
174
174
|
);
|
|
@@ -176,7 +176,7 @@ small {
|
|
|
176
176
|
|
|
177
177
|
@include breakpoint.bp-up(md) {
|
|
178
178
|
@include plumber.plumber(
|
|
179
|
-
|
|
179
|
+
$font-size: 7,
|
|
180
180
|
$line-height: 8,
|
|
181
181
|
$leading-bottom: 2
|
|
182
182
|
);
|
|
@@ -188,7 +188,7 @@ small {
|
|
|
188
188
|
overflow-wrap: break-word;
|
|
189
189
|
|
|
190
190
|
@include plumber.plumber(
|
|
191
|
-
|
|
191
|
+
$font-size: 4.5,
|
|
192
192
|
$line-height: 5,
|
|
193
193
|
$leading-bottom: 1
|
|
194
194
|
);
|
|
@@ -198,7 +198,7 @@ small {
|
|
|
198
198
|
overflow-wrap: normal;
|
|
199
199
|
|
|
200
200
|
@include plumber.plumber(
|
|
201
|
-
|
|
201
|
+
$font-size: 7,
|
|
202
202
|
$line-height: 8,
|
|
203
203
|
$leading-bottom: 2
|
|
204
204
|
);
|
|
@@ -259,14 +259,14 @@ small {
|
|
|
259
259
|
%preamble {
|
|
260
260
|
|
|
261
261
|
@include plumber.plumber(
|
|
262
|
-
|
|
262
|
+
$font-size: 2.55555,
|
|
263
263
|
$line-height: 4,
|
|
264
264
|
$leading-bottom: 4
|
|
265
265
|
);
|
|
266
266
|
|
|
267
267
|
@include breakpoint.bp-up(sm) {
|
|
268
268
|
@include plumber.plumber(
|
|
269
|
-
|
|
269
|
+
$font-size: 3,
|
|
270
270
|
$line-height: 4,
|
|
271
271
|
$leading-bottom: 4
|
|
272
272
|
);
|
|
@@ -275,7 +275,7 @@ small {
|
|
|
275
275
|
|
|
276
276
|
.meta {
|
|
277
277
|
@include plumber.plumber(
|
|
278
|
-
|
|
278
|
+
$font-size: 1.75,
|
|
279
279
|
$baseline: var.$mono-baseline
|
|
280
280
|
);
|
|
281
281
|
|
|
@@ -321,7 +321,7 @@ blockquote {
|
|
|
321
321
|
|
|
322
322
|
p {
|
|
323
323
|
@include plumber.plumber(
|
|
324
|
-
|
|
324
|
+
$font-size: 2.5,
|
|
325
325
|
$line-height: 3,
|
|
326
326
|
$leading-top: 1,
|
|
327
327
|
$leading-bottom: 0,
|
|
@@ -346,7 +346,7 @@ blockquote {
|
|
|
346
346
|
|
|
347
347
|
.meta {
|
|
348
348
|
@include plumber.plumber(
|
|
349
|
-
|
|
349
|
+
$font-size: 1.75,
|
|
350
350
|
$leading-bottom: 0
|
|
351
351
|
);
|
|
352
352
|
|
|
@@ -367,7 +367,7 @@ blockquote {
|
|
|
367
367
|
|
|
368
368
|
p {
|
|
369
369
|
@include plumber.plumber(
|
|
370
|
-
|
|
370
|
+
$font-size: 2.7,
|
|
371
371
|
$line-height: 4,
|
|
372
372
|
$leading-bottom: 0,
|
|
373
373
|
$leading-top: 1
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
@include plumber.plumber(
|
|
70
|
-
|
|
70
|
+
$font-size: 2,
|
|
71
71
|
$line-height: 3,
|
|
72
72
|
$leading-bottom: 1
|
|
73
73
|
);
|
|
74
74
|
|
|
75
75
|
@include breakpoint.bp-up(sm) {
|
|
76
76
|
@include plumber.plumber(
|
|
77
|
-
|
|
77
|
+
$font-size: 2.3,
|
|
78
78
|
$line-height: 3,
|
|
79
79
|
$leading-bottom: 1
|
|
80
80
|
);
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
|
|
83
83
|
@include breakpoint.bp-up(md) {
|
|
84
84
|
@include plumber.plumber(
|
|
85
|
-
|
|
85
|
+
$font-size: 3,
|
|
86
86
|
$line-height: 4,
|
|
87
87
|
$leading-bottom: 2
|
|
88
88
|
);
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
|
|
91
91
|
@include breakpoint.bp-up(lg) {
|
|
92
92
|
@include plumber.plumber(
|
|
93
|
-
|
|
93
|
+
$font-size: 4,
|
|
94
94
|
$line-height: 5,
|
|
95
95
|
$leading-bottom: 2
|
|
96
96
|
);
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
|
|
99
99
|
@include breakpoint.bp-up(xl) {
|
|
100
100
|
@include plumber.plumber(
|
|
101
|
-
|
|
101
|
+
$font-size: 5,
|
|
102
102
|
$line-height: 6,
|
|
103
103
|
$leading-bottom: 3
|
|
104
104
|
);
|
|
@@ -113,27 +113,27 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
@include plumber.plumber(
|
|
116
|
-
|
|
116
|
+
$font-size: 1.5,
|
|
117
117
|
$line-height: 2,
|
|
118
118
|
);
|
|
119
119
|
|
|
120
120
|
@include breakpoint.bp-up(sm) {
|
|
121
121
|
@include plumber.plumber(
|
|
122
|
-
|
|
122
|
+
$font-size: 2,
|
|
123
123
|
$line-height: 3,
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@include breakpoint.bp-up(lg) {
|
|
128
128
|
@include plumber.plumber(
|
|
129
|
-
|
|
129
|
+
$font-size: 2.5,
|
|
130
130
|
$line-height: 3,
|
|
131
131
|
);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@include breakpoint.bp-up(xl) {
|
|
135
135
|
@include plumber.plumber(
|
|
136
|
-
|
|
136
|
+
$font-size: 3,
|
|
137
137
|
$line-height: 4,
|
|
138
138
|
);
|
|
139
139
|
}
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
}
|
|
227
227
|
|
|
228
228
|
@include plumber.plumber(
|
|
229
|
-
|
|
229
|
+
$font-size: 2.3,
|
|
230
230
|
$line-height: 3,
|
|
231
231
|
$leading-bottom: 0,
|
|
232
232
|
$baseline: var.$headings-baseline
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
max-width: 90%;
|
|
240
240
|
|
|
241
241
|
@include plumber.plumber(
|
|
242
|
-
|
|
242
|
+
$font-size: 3,
|
|
243
243
|
$line-height: 4,
|
|
244
244
|
$leading-bottom: 0
|
|
245
245
|
);
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
max-width: 80%;
|
|
254
254
|
|
|
255
255
|
@include plumber.plumber(
|
|
256
|
-
|
|
256
|
+
$font-size: 4,
|
|
257
257
|
$line-height: 5,
|
|
258
258
|
$leading-bottom: 0
|
|
259
259
|
);
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
max-width: 70%;
|
|
267
267
|
|
|
268
268
|
@include plumber.plumber(
|
|
269
|
-
|
|
269
|
+
$font-size: 5,
|
|
270
270
|
$line-height: 6,
|
|
271
271
|
$leading-bottom: 0
|
|
272
272
|
);
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
max-width: 60%;
|
|
280
280
|
|
|
281
281
|
@include plumber.plumber(
|
|
282
|
-
|
|
282
|
+
$font-size: 6,
|
|
283
283
|
$line-height: 8,
|
|
284
284
|
$leading-bottom: 0
|
|
285
285
|
);
|
|
@@ -290,7 +290,7 @@
|
|
|
290
290
|
left: func.rhythm(8);
|
|
291
291
|
|
|
292
292
|
@include plumber.plumber(
|
|
293
|
-
|
|
293
|
+
$font-size: 7,
|
|
294
294
|
$line-height: 9,
|
|
295
295
|
$leading-bottom: 0
|
|
296
296
|
);
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
@include bem.e(heading) {
|
|
30
30
|
|
|
31
31
|
@include plumber.plumber(
|
|
32
|
-
|
|
32
|
+
$font-size: 10,
|
|
33
33
|
$line-height: 11,
|
|
34
34
|
$leading-bottom: 2
|
|
35
35
|
);
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
@include breakpoint.bp-up(md) {
|
|
42
42
|
|
|
43
43
|
@include plumber.plumber(
|
|
44
|
-
|
|
44
|
+
$font-size: 15,
|
|
45
45
|
$line-height: 16,
|
|
46
46
|
$leading-bottom: 4
|
|
47
47
|
);
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
background-color: colors.$color-snow;
|
|
19
19
|
font-size: var.$size-medium-plus;
|
|
20
20
|
|
|
21
|
-
@include bem.e(button) {
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
21
|
@include breakpoint.bp-up(md) {
|
|
26
22
|
font-size: var.$size-base;
|
|
27
23
|
}
|
|
@@ -40,7 +36,7 @@
|
|
|
40
36
|
|
|
41
37
|
@include bem.e(heading) {
|
|
42
38
|
@include plumber.plumber(
|
|
43
|
-
|
|
39
|
+
$font-size: 2.5,
|
|
44
40
|
$leading-bottom: 1
|
|
45
41
|
);
|
|
46
42
|
|
|
@@ -84,7 +84,7 @@ $footer-font-size: 18px; /* To ensure all footers on all sites have the same fon
|
|
|
84
84
|
@extend %normalize-links;
|
|
85
85
|
|
|
86
86
|
color: colors.$color-jade;
|
|
87
|
-
text-decoration:
|
|
87
|
+
text-decoration: underline;
|
|
88
88
|
|
|
89
89
|
&:hover,
|
|
90
90
|
&:focus {
|
|
@@ -310,7 +310,7 @@ $footer-font-size: 18px; /* To ensure all footers on all sites have the same fon
|
|
|
310
310
|
max-width: 300px;
|
|
311
311
|
|
|
312
312
|
@include plumber.plumber(
|
|
313
|
-
|
|
313
|
+
$font-size: 1.7,
|
|
314
314
|
$line-height: 2
|
|
315
315
|
);
|
|
316
316
|
}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
color: colors.$color-cyberspace;
|
|
77
77
|
|
|
78
78
|
@include plumber.plumber(
|
|
79
|
-
|
|
79
|
+
$font-size: 2.5,
|
|
80
80
|
$line-height: 3
|
|
81
81
|
);
|
|
82
82
|
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
|
|
169
169
|
> p {
|
|
170
170
|
@include plumber.plumber(
|
|
171
|
-
|
|
171
|
+
$font-size: 2.5,
|
|
172
172
|
$line-height: 3
|
|
173
173
|
);
|
|
174
174
|
}
|
|
@@ -321,7 +321,7 @@
|
|
|
321
321
|
@include breakpoint.bp-only(lg) {
|
|
322
322
|
.supersize {
|
|
323
323
|
@include plumber.plumber(
|
|
324
|
-
|
|
324
|
+
$font-size: 6,
|
|
325
325
|
$line-height: 7,
|
|
326
326
|
$leading-bottom: 2
|
|
327
327
|
);
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
|
|
465
465
|
.supersize {
|
|
466
466
|
@include plumber.plumber(
|
|
467
|
-
|
|
467
|
+
$font-size: 4.5,
|
|
468
468
|
$line-height: 5,
|
|
469
469
|
$leading-bottom: 1
|
|
470
470
|
);
|
|
@@ -484,7 +484,7 @@
|
|
|
484
484
|
|
|
485
485
|
.supersize {
|
|
486
486
|
@include plumber.plumber(
|
|
487
|
-
|
|
487
|
+
$font-size: 7,
|
|
488
488
|
$line-height: 8,
|
|
489
489
|
$leading-bottom: 2
|
|
490
490
|
);
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
$border-color: color.adjust(colors.$color-jade, $lightness: -5%);
|
|
14
14
|
|
|
15
15
|
@include mixin.organism(mega-menu) {
|
|
16
|
-
z-index:
|
|
16
|
+
z-index: z_index(middlegroundImportant);
|
|
17
17
|
padding-right: 0;
|
|
18
18
|
padding-left: 0;
|
|
19
19
|
transition: transform 0.25s ease-out;
|
|
20
|
-
background-color:
|
|
20
|
+
background-color: currentColor;
|
|
21
21
|
|
|
22
22
|
&[aria-hidden='true'] {
|
|
23
23
|
display: none;
|
|
@@ -43,35 +43,182 @@ $border-color: color.adjust(colors.$color-jade, $lightness: -5%);
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
@include bem.e(wrapper) {
|
|
46
|
-
padding-top: func.rhythm(3);
|
|
47
|
-
|
|
48
46
|
@include breakpoint.bp-down(md) {
|
|
49
47
|
padding-right: func.rhythm(1);
|
|
50
48
|
padding-left: func.rhythm(1);
|
|
49
|
+
border-bottom: 1px solid currentColor;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@include breakpoint.bp-up(lg) {
|
|
53
|
+
padding-top: func.rhythm(3);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include bem.e(column) {
|
|
58
|
+
padding-bottom: func.rhythm(2);
|
|
59
|
+
|
|
60
|
+
@include breakpoint.bp-down(md) {
|
|
61
|
+
padding-left: 0;
|
|
62
|
+
padding-right: 0;
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@include bem.e(buttons-list) {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: stretch;
|
|
70
|
+
margin: 0;
|
|
71
|
+
padding: 0;
|
|
72
|
+
list-style: none;
|
|
73
|
+
|
|
74
|
+
@include bem.e(item) {
|
|
75
|
+
width: 50%;
|
|
76
|
+
flex-grow: 1;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
margin: 0;
|
|
79
|
+
padding: 0;
|
|
80
|
+
|
|
81
|
+
& + & {
|
|
82
|
+
border-left: 1px solid currentColor;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
@include bem.e(link) {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
align-items: center;
|
|
90
|
+
padding-top: func.rhythm(2);
|
|
91
|
+
padding-bottom: func.rhythm(2);
|
|
92
|
+
text-align: center;
|
|
93
|
+
color: colors.$color-cyberspace;
|
|
94
|
+
text-decoration: none;
|
|
95
|
+
font-family: var.$font-family-headings;
|
|
96
|
+
border: 0;
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
appearance: none;
|
|
99
|
+
width: 100%;
|
|
100
|
+
height: 100%;
|
|
101
|
+
|
|
102
|
+
&[aria-expanded='true'] {
|
|
103
|
+
background-color: currentColor;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
svg {
|
|
107
|
+
width: var.$icon-size-large * 1.25;
|
|
108
|
+
height: var.$icon-size-large * 1.25;
|
|
109
|
+
margin-bottom: func.rhythm(1);
|
|
110
|
+
pointer-events: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
span {
|
|
114
|
+
pointer-events: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include breakpoint.bp-up(lg) {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@include bem.e(search-container) {
|
|
124
|
+
background-color: currentcolor;
|
|
125
|
+
padding-top: func.rhythm(2);
|
|
126
|
+
padding-bottom: func.rhythm(2);
|
|
127
|
+
|
|
128
|
+
&[aria-hidden='true'] {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
@include bem.e(topic) {
|
|
134
|
+
display: flex;
|
|
135
|
+
justify-content: space-between;
|
|
136
|
+
align-items: center;
|
|
137
|
+
border-top: 1px solid currentColor;
|
|
138
|
+
|
|
139
|
+
@include breakpoint.bp-up(lg) {
|
|
140
|
+
background-color: transparent;
|
|
141
|
+
border-top: 0;
|
|
142
|
+
margin-bottom: func.rhythm(1);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
@include bem.e(topic-button) {
|
|
147
|
+
margin-left: auto;
|
|
148
|
+
align-self: stretch;
|
|
149
|
+
padding-left: func.rhythm(1.5);
|
|
150
|
+
padding-right: func.rhythm(1.5);
|
|
151
|
+
border-left: 1px solid currentColor;
|
|
152
|
+
|
|
153
|
+
@include breakpoint.bp-up(lg) {
|
|
154
|
+
display: none;
|
|
155
|
+
pointer-events: none;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&[aria-expanded='true'] {
|
|
159
|
+
background-color: currentColor;
|
|
160
|
+
|
|
161
|
+
svg {
|
|
162
|
+
transform: rotate(-180deg);
|
|
163
|
+
}
|
|
51
164
|
}
|
|
52
165
|
}
|
|
53
166
|
|
|
54
167
|
@include bem.e(list) {
|
|
55
|
-
margin-top:
|
|
168
|
+
margin-top: 0;
|
|
169
|
+
background-color: currentColor;
|
|
170
|
+
margin-bottom: 0;
|
|
171
|
+
padding-top: 0;
|
|
172
|
+
padding-bottom: 0;
|
|
173
|
+
|
|
174
|
+
&[aria-hidden='true'] {
|
|
175
|
+
display: none;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@include breakpoint.bp-up(lg) {
|
|
179
|
+
margin-top: func.rhythm(1);
|
|
180
|
+
background-color: transparent;
|
|
181
|
+
border-bottom: 0;
|
|
182
|
+
|
|
183
|
+
&[aria-hidden='true'] {
|
|
184
|
+
display: initial;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
56
187
|
|
|
57
188
|
@include bem.e(topic) {
|
|
58
|
-
margin-top:
|
|
59
|
-
margin-bottom:
|
|
60
|
-
|
|
61
|
-
border-bottom: 1px solid $border-color;
|
|
189
|
+
margin-top: 0;
|
|
190
|
+
margin-bottom: 0;
|
|
191
|
+
border-bottom: 1px solid currentColor;
|
|
62
192
|
font-family: var.$font-family-headings;
|
|
63
193
|
|
|
64
|
-
|
|
65
|
-
|
|
194
|
+
> a {
|
|
195
|
+
padding: func.rhythm(1) func.rhythm(3.5);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
@include breakpoint.bp-up(lg) {
|
|
199
|
+
margin-top: func.rhythm(2);
|
|
200
|
+
margin-bottom: func.rhythm(0.5);
|
|
201
|
+
padding: func.rhythm(1) func.rhythm(1);
|
|
202
|
+
border-bottom: 0;
|
|
203
|
+
|
|
204
|
+
> a {
|
|
205
|
+
padding: 0;
|
|
206
|
+
}
|
|
66
207
|
}
|
|
67
208
|
}
|
|
68
209
|
|
|
69
210
|
@include bem.e(item) {
|
|
70
|
-
margin: 0
|
|
71
|
-
|
|
211
|
+
margin: 0;
|
|
212
|
+
border-bottom: 1px solid currentColor;
|
|
72
213
|
|
|
73
|
-
|
|
74
|
-
border-
|
|
214
|
+
&:last-child {
|
|
215
|
+
border-bottom: 0;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
@include breakpoint.bp-up(lg) {
|
|
219
|
+
padding: func.rhythm(1) func.rhythm(1);
|
|
220
|
+
margin-bottom: func.rhythm(0.5);
|
|
221
|
+
border-bottom: 0;
|
|
75
222
|
}
|
|
76
223
|
}
|
|
77
224
|
|
|
@@ -97,8 +244,14 @@ $border-color: color.adjust(colors.$color-jade, $lightness: -5%);
|
|
|
97
244
|
@include bem.e(link) {
|
|
98
245
|
display: inline-flex;
|
|
99
246
|
align-items: baseline;
|
|
247
|
+
width: 100%;
|
|
100
248
|
color: colors.$color-cyberspace;
|
|
101
249
|
text-decoration: none;
|
|
250
|
+
padding: func.rhythm(1) func.rhythm(3.5);
|
|
251
|
+
|
|
252
|
+
@include bem.m(sub-level) {
|
|
253
|
+
padding: func.rhythm(1) func.rhythm(5);
|
|
254
|
+
}
|
|
102
255
|
|
|
103
256
|
&:hover {
|
|
104
257
|
&:not(span) {
|
|
@@ -106,15 +259,20 @@ $border-color: color.adjust(colors.$color-jade, $lightness: -5%);
|
|
|
106
259
|
}
|
|
107
260
|
}
|
|
108
261
|
|
|
262
|
+
@include breakpoint.bp-up(lg) {
|
|
263
|
+
padding: 0;
|
|
264
|
+
}
|
|
265
|
+
|
|
109
266
|
@include bem.m(large) {
|
|
110
267
|
display: block;
|
|
111
|
-
|
|
268
|
+
width: 100%;
|
|
269
|
+
padding: func.rhythm(1.5) func.rhythm(2);
|
|
112
270
|
font-family: var.$font-family-headings;
|
|
113
|
-
font-size: func.to_rem(23px);
|
|
114
271
|
white-space: nowrap;
|
|
115
272
|
|
|
116
273
|
@include breakpoint.bp-up(lg) {
|
|
117
274
|
padding: 0;
|
|
275
|
+
font-size: func.to_rem(23px);
|
|
118
276
|
}
|
|
119
277
|
}
|
|
120
278
|
|
|
@@ -341,7 +341,7 @@ html {
|
|
|
341
341
|
|
|
342
342
|
@include bem.e(heading) {
|
|
343
343
|
@include plumber.plumber(
|
|
344
|
-
|
|
344
|
+
$font-size: 2,
|
|
345
345
|
$line-height: 3,
|
|
346
346
|
$leading-top: 0,
|
|
347
347
|
$leading-bottom: 0,
|
|
@@ -350,7 +350,7 @@ html {
|
|
|
350
350
|
|
|
351
351
|
@include breakpoint.bp-up(sm) {
|
|
352
352
|
@include plumber.plumber(
|
|
353
|
-
|
|
353
|
+
$font-size: 2.2,
|
|
354
354
|
$line-height: 3,
|
|
355
355
|
$leading-top: 0,
|
|
356
356
|
$leading-bottom: 0,
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
@use "sass:color";
|
|
3
1
|
@use '../../configurations/mixins' as mixin;
|
|
4
2
|
@use '../../configurations/bem' as bem;
|
|
5
3
|
@use '../../configurations/config' as config;
|
|
@@ -10,6 +8,7 @@
|
|
|
10
8
|
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
11
9
|
@use '../../vendor/grid/grid' as grid;
|
|
12
10
|
@use '../../vendor/baseline/plumber' as plumber;
|
|
11
|
+
@use 'sass:color';
|
|
13
12
|
|
|
14
13
|
@include mixin.organism(video-guide) {
|
|
15
14
|
flex-direction: column;
|
|
@@ -82,7 +81,6 @@
|
|
|
82
81
|
text-align: center;
|
|
83
82
|
padding-left: func.rhythm(2);
|
|
84
83
|
padding-right: func.rhythm(2);
|
|
85
|
-
|
|
86
84
|
transform: translateY(-75%);
|
|
87
85
|
|
|
88
86
|
@include breakpoint.bp-up(md) {
|
|
@@ -108,7 +106,7 @@
|
|
|
108
106
|
func.to_rem(1px) func.to_rem(1px) func.to_rem(2px) rgba(colors.$color-black, 0.6);
|
|
109
107
|
|
|
110
108
|
@include plumber.plumber(
|
|
111
|
-
|
|
109
|
+
$font-size: 3,
|
|
112
110
|
$line-height: 4,
|
|
113
111
|
$leading-bottom: 1,
|
|
114
112
|
$baseline: var.$headings-baseline
|
|
@@ -116,7 +114,7 @@
|
|
|
116
114
|
|
|
117
115
|
@include breakpoint.bp-up(sm) {
|
|
118
116
|
@include plumber.plumber(
|
|
119
|
-
|
|
117
|
+
$font-size: 4.5,
|
|
120
118
|
$line-height: 5,
|
|
121
119
|
$leading-bottom: 1
|
|
122
120
|
);
|
|
@@ -124,7 +122,7 @@
|
|
|
124
122
|
|
|
125
123
|
@include breakpoint.bp-up(lg) {
|
|
126
124
|
@include plumber.plumber(
|
|
127
|
-
|
|
125
|
+
$font-size: 7,
|
|
128
126
|
$line-height: 8,
|
|
129
127
|
$leading-bottom: 2
|
|
130
128
|
);
|