@internetstiftelsen/styleguide 4.1.13 → 5.0.0
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 +18 -18
- package/src/app.scss +85 -88
- package/src/atoms/archive-link/archive-link.scss +24 -17
- package/src/atoms/button/_button.scss +209 -203
- package/src/atoms/checkbox/_checkbox.scss +33 -26
- package/src/atoms/file/_file.scss +23 -13
- package/src/atoms/grid-toggle/_grid-toggle.scss +11 -6
- package/src/atoms/height-limiter/_height-limiter.scss +21 -14
- package/src/atoms/input/_input.scss +23 -16
- package/src/atoms/label/label.scss +11 -5
- package/src/atoms/logotype/_logotype.scss +3 -2
- package/src/atoms/main-menu/_main-menu.scss +67 -60
- package/src/atoms/meta/_meta.scss +44 -33
- package/src/atoms/meta/meta.config.js +1 -1
- package/src/atoms/paging/_paging.scss +27 -21
- package/src/atoms/password-toggle/_password-toggle.scss +9 -6
- package/src/atoms/progress/_progress.scss +19 -11
- package/src/atoms/quote/_quote.scss +17 -10
- package/src/atoms/radiobutton/_radiobutton.scss +33 -26
- package/src/atoms/range/_range.scss +46 -39
- package/src/atoms/rating/_rating.scss +11 -4
- package/src/atoms/ribbon/_ribbon.scss +16 -9
- package/src/atoms/select/_select.scss +18 -10
- package/src/atoms/skip/_skip.scss +9 -6
- package/src/atoms/spinner/_spinner.scss +4 -3
- package/src/atoms/tag/_tag.scss +26 -19
- package/src/atoms/textarea/_textarea.scss +22 -13
- package/src/atoms/tooltip/_tooltip.scss +28 -21
- package/src/base/_grid.scss +4 -4
- package/src/base/_normalize.scss +29 -27
- package/src/base/fonts/_fonts.scss +1 -1
- package/src/components.js +0 -2
- package/src/configurations/_bem.scss +10 -7
- package/src/configurations/_config.scss +11 -10
- package/src/configurations/_extends.scss +38 -34
- package/src/configurations/_functions.scss +23 -7
- package/src/configurations/_mixins.scss +23 -19
- package/src/configurations/_recaptcha.scss +2 -2
- package/src/configurations/_variables.scss +19 -25
- package/src/configurations/_wordpress.scss +64 -57
- package/src/configurations/colors/_background-colors.scss +3 -2
- package/src/configurations/colors/_colors-functions.scss +41 -39
- package/src/configurations/colors/_colors.scss +1 -1
- package/src/configurations/colors/_text-colors.scss +3 -2
- package/src/configurations/colors/_wordpress-colors.scss +3 -2
- package/src/configurations/forms/_fields.scss +28 -23
- package/src/configurations/grid/_grid.scss +33 -28
- package/src/configurations/typography/_typography.scss +113 -105
- package/src/configurations/typography/readme.md +1 -1
- package/src/globals.scss +16 -18
- package/src/isolated-footer.scss +25 -25
- package/src/molecules/alert/_alert.scss +44 -35
- package/src/molecules/breadcrumb/_breadcrumb.scss +43 -35
- package/src/molecules/byline/_byline.scss +30 -21
- package/src/molecules/card/_card.scss +87 -77
- package/src/molecules/context-menu/_context-menu.scss +32 -15
- package/src/molecules/continue-video-guide/continue-video-guide.scss +37 -28
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.scss +32 -23
- package/src/molecules/download/_download.scss +38 -30
- package/src/molecules/form-control/_form-control.scss +66 -58
- package/src/molecules/glider/_glider-course.scss +29 -23
- package/src/molecules/glider/_glider-hero.scss +112 -104
- package/src/molecules/glider/_glider.scss +36 -30
- package/src/molecules/icon-overlay/_icon-overlay.scss +29 -20
- package/src/molecules/info-box/_info-box.scss +31 -22
- package/src/molecules/input-group/_input-group.scss +23 -13
- package/src/molecules/modal/_modal.scss +77 -65
- package/src/molecules/multi-select/_multi-select.scss +44 -33
- package/src/molecules/natural-language-form/_natural-language-form.scss +33 -23
- package/src/molecules/overview-navigation/_overview-navigation.scss +54 -45
- package/src/molecules/readspeaker/_readspeaker.scss +1 -1
- package/src/molecules/share/_share.scss +23 -15
- package/src/molecules/submenu/_submenu.scss +77 -69
- package/src/molecules/system-error/_system-error.scss +26 -17
- package/src/molecules/table/_table.scss +50 -42
- package/src/molecules/teaser-news-list/_teaser-news-list.scss +21 -12
- package/src/organisms/accordion/_accordion.scss +59 -49
- package/src/organisms/domain-search/_domain-search.scss +54 -45
- package/src/organisms/event-listing-item/_event-listing-item.scss +36 -26
- package/src/organisms/features-box/_features-box.scss +30 -19
- package/src/organisms/filter/_filter.scss +15 -10
- package/src/organisms/footer/_footer.scss +119 -109
- package/src/organisms/header/_header.scss +24 -14
- package/src/organisms/hero/_hero--bbk.scss +50 -38
- package/src/organisms/hero/_hero--dynamic-headline.scss +49 -39
- package/src/organisms/hero/_hero.scss +222 -207
- package/src/organisms/hero/hero.config.js +2 -2
- package/src/organisms/mailchimp/_mailchimp.scss +52 -42
- package/src/organisms/mega-menu/_mega-menu.scss +55 -45
- package/src/organisms/members-service-product/_members-service-product.scss +29 -18
- package/src/organisms/members-service-product/members-service-product.config.js +5 -5
- package/src/organisms/podcast/_podcast-episodes.scss +85 -75
- package/src/organisms/podcast/_podcast-player.scss +73 -64
- package/src/organisms/schedule/_schedule.scss +92 -82
- package/src/organisms/search/_search.scss +68 -58
- package/src/organisms/search-result/_search-result.scss +50 -40
- package/src/organisms/sections/_sections.scss +41 -31
- package/src/organisms/tabs/_tabs.scss +58 -46
- package/src/organisms/timeline/_timeline.scss +92 -81
- package/src/organisms/video-guide/_video-guide.scss +148 -138
- package/src/pages/animate-footer/animate-footer.config.js +180 -1
- package/src/print.scss +1 -1
- package/src/structures/_article.scss +39 -28
- package/src/structures/_core-values.scss +14 -2
- package/src/structures/_manifest.scss +4 -4
- package/src/structures/_section.scss +32 -20
- package/src/structures/_site.scss +19 -7
- package/src/theme/_dark-mode.scss +14 -13
- package/src/theme/_theme.scss +28 -25
- package/src/utilities/_align.scss +1 -1
- package/src/utilities/_border.scss +5 -3
- package/src/utilities/_box-shadow.scss +5 -2
- package/src/utilities/_display.scss +1 -1
- package/src/utilities/_fill.scss +5 -4
- package/src/utilities/_flex.scss +1 -1
- package/src/utilities/_font-size.scss +6 -5
- package/src/utilities/_fonts.scss +6 -5
- package/src/utilities/_gutter.scss +3 -2
- package/src/utilities/_hide.scss +17 -15
- package/src/utilities/_icons.scss +37 -33
- package/src/utilities/_indent.scss +8 -6
- package/src/utilities/_links.scss +22 -18
- package/src/utilities/_lists.scss +19 -14
- package/src/utilities/_manifest.scss +27 -27
- package/src/utilities/_margin.scss +20 -17
- package/src/utilities/_misc.scss +3 -2
- package/src/utilities/_padding.scss +18 -15
- package/src/utilities/_position.scss +3 -2
- package/src/utilities/_show.scss +7 -6
- package/src/utilities/_text.scss +1 -1
- package/src/utilities/_vertical-align.scss +1 -1
- package/src/utilities/_wrap.scss +1 -1
- package/src/utilities/_z-index.scss +7 -6
- package/src/utilities/tab-highlighting/_tab-highlighting.scss +6 -5
- package/src/vendor/baseline/_plumber.scss +14 -13
- package/src/vendor/grid/_breakpoints.scss +17 -13
- package/src/vendor/grid/_flex.scss +8 -4
- package/src/vendor/grid/_functions.scss +9 -6
- package/src/vendor/grid/_grid-framework.scss +14 -9
- package/src/vendor/grid/_grid.scss +19 -16
- package/src/vendor/grid/_spacing.scss +8 -3
- package/src/atoms/toggle-high-contrast/readme.md +0 -6
- package/src/atoms/toggle-high-contrast/toggle-high-contrast.config.js +0 -8
- package/src/atoms/toggle-high-contrast/toggle-high-contrast.js +0 -10
- package/src/molecules/modal/modal-graph.js +0 -40
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
2
|
@use "sass:color";
|
|
3
|
-
|
|
4
|
-
@
|
|
3
|
+
@use '../../configurations/mixins' as mixin;
|
|
4
|
+
@use '../../configurations/bem' as bem;
|
|
5
|
+
@use '../../configurations/config' as config;
|
|
6
|
+
@use '../../configurations/variables' as var;
|
|
7
|
+
@use '../../configurations/functions' as func;
|
|
8
|
+
@use '../../configurations/colors/colors' as colors;
|
|
9
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
10
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
11
|
+
@use '../../vendor/grid/grid' as grid;
|
|
12
|
+
@use '../../vendor/baseline/plumber' as plumber;
|
|
13
|
+
|
|
14
|
+
@include mixin.organism(video-guide) {
|
|
5
15
|
flex-direction: column;
|
|
6
|
-
background-color:
|
|
7
|
-
border-radius:
|
|
16
|
+
background-color: colors.$color-snow;
|
|
17
|
+
border-radius: var.$border-radius;
|
|
8
18
|
overflow: hidden;
|
|
9
19
|
|
|
10
|
-
@include e(inner-wrapper) {
|
|
20
|
+
@include bem.e(inner-wrapper) {
|
|
11
21
|
width: 100%;
|
|
12
22
|
position: relative;
|
|
13
23
|
}
|
|
@@ -18,7 +28,7 @@
|
|
|
18
28
|
position: relative;
|
|
19
29
|
}
|
|
20
30
|
|
|
21
|
-
@include e(video-container) {
|
|
31
|
+
@include bem.e(video-container) {
|
|
22
32
|
position: relative;
|
|
23
33
|
padding-top: 70vh;
|
|
24
34
|
width: 100%;
|
|
@@ -26,16 +36,16 @@
|
|
|
26
36
|
flex-direction: column;
|
|
27
37
|
justify-content: center;
|
|
28
38
|
|
|
29
|
-
@include bp-up(sm) {
|
|
39
|
+
@include breakpoint.bp-up(sm) {
|
|
30
40
|
padding-top: 76.25%;
|
|
31
41
|
}
|
|
32
42
|
|
|
33
|
-
@include bp-up(md) {
|
|
43
|
+
@include breakpoint.bp-up(md) {
|
|
34
44
|
padding-top: 56.25%;
|
|
35
45
|
}
|
|
36
46
|
}
|
|
37
47
|
|
|
38
|
-
@include e(timeline-item) {
|
|
48
|
+
@include bem.e(timeline-item) {
|
|
39
49
|
position: absolute;
|
|
40
50
|
top: 0;
|
|
41
51
|
left: 0;
|
|
@@ -64,57 +74,57 @@
|
|
|
64
74
|
width: 100%;
|
|
65
75
|
}
|
|
66
76
|
|
|
67
|
-
@include e(text) {
|
|
77
|
+
@include bem.e(text) {
|
|
68
78
|
position: absolute;
|
|
69
79
|
top: 50%;
|
|
70
80
|
left: 0;
|
|
71
81
|
right: 0;
|
|
72
82
|
text-align: center;
|
|
73
|
-
padding-left: rhythm(2);
|
|
74
|
-
padding-right: rhythm(2);
|
|
83
|
+
padding-left: func.rhythm(2);
|
|
84
|
+
padding-right: func.rhythm(2);
|
|
75
85
|
|
|
76
86
|
transform: translateY(-75%);
|
|
77
87
|
|
|
78
|
-
@include bp-up(md) {
|
|
88
|
+
@include breakpoint.bp-up(md) {
|
|
79
89
|
transform: translateY(-50%);
|
|
80
|
-
padding-left: rhythm(4);
|
|
81
|
-
padding-right: rhythm(4);
|
|
90
|
+
padding-left: func.rhythm(4);
|
|
91
|
+
padding-right: func.rhythm(4);
|
|
82
92
|
}
|
|
83
93
|
|
|
84
|
-
@include bp-up(lg) {
|
|
94
|
+
@include breakpoint.bp-up(lg) {
|
|
85
95
|
transform: translateY(-50%);
|
|
86
96
|
}
|
|
87
97
|
|
|
88
|
-
@include bp-up(xl) {
|
|
89
|
-
left: rhythm(8);
|
|
90
|
-
width: calc(100% - rhythm(16));
|
|
98
|
+
@include breakpoint.bp-up(xl) {
|
|
99
|
+
left: func.rhythm(8);
|
|
100
|
+
width: calc(100% - func.rhythm(16));
|
|
91
101
|
}
|
|
92
102
|
|
|
93
|
-
@include e(headline) {
|
|
94
|
-
font-family:
|
|
95
|
-
color:
|
|
96
|
-
text-shadow: 0 0
|
|
97
|
-
0 0
|
|
98
|
-
|
|
103
|
+
@include bem.e(headline) {
|
|
104
|
+
font-family: var.$font-family-bold;
|
|
105
|
+
color: colors.$color-snow;
|
|
106
|
+
text-shadow: 0 0 func.to_rem(50px) rgba(colors.$color-black, 1),
|
|
107
|
+
0 0 func.to_rem(10px) rgba(colors.$color-black, 1),
|
|
108
|
+
func.to_rem(1px) func.to_rem(1px) func.to_rem(2px) rgba(colors.$color-black, 0.6);
|
|
99
109
|
|
|
100
|
-
@include plumber(
|
|
101
|
-
|
|
110
|
+
@include plumber.plumber(
|
|
111
|
+
var.$font-size: 3,
|
|
102
112
|
$line-height: 4,
|
|
103
113
|
$leading-bottom: 1,
|
|
104
|
-
$baseline:
|
|
114
|
+
$baseline: var.$headings-baseline
|
|
105
115
|
);
|
|
106
116
|
|
|
107
|
-
@include bp-up(sm) {
|
|
108
|
-
@include plumber(
|
|
109
|
-
|
|
117
|
+
@include breakpoint.bp-up(sm) {
|
|
118
|
+
@include plumber.plumber(
|
|
119
|
+
var.$font-size: 4.5,
|
|
110
120
|
$line-height: 5,
|
|
111
121
|
$leading-bottom: 1
|
|
112
122
|
);
|
|
113
123
|
}
|
|
114
124
|
|
|
115
|
-
@include bp-up(lg) {
|
|
116
|
-
@include plumber(
|
|
117
|
-
|
|
125
|
+
@include breakpoint.bp-up(lg) {
|
|
126
|
+
@include plumber.plumber(
|
|
127
|
+
var.$font-size: 7,
|
|
118
128
|
$line-height: 8,
|
|
119
129
|
$leading-bottom: 2
|
|
120
130
|
);
|
|
@@ -122,10 +132,10 @@
|
|
|
122
132
|
}
|
|
123
133
|
|
|
124
134
|
> a {
|
|
125
|
-
font-size:
|
|
126
|
-
font-family:
|
|
127
|
-
padding: rhythm(0.5) rhythm(2);
|
|
128
|
-
color:
|
|
135
|
+
font-size: var.$size-base * 1.3;
|
|
136
|
+
font-family: var.$font-family-headings;
|
|
137
|
+
padding: func.rhythm(0.5) func.rhythm(2);
|
|
138
|
+
color: colors.$color-peacock;
|
|
129
139
|
text-decoration: none;
|
|
130
140
|
line-height: 1;
|
|
131
141
|
position: relative;
|
|
@@ -136,7 +146,7 @@
|
|
|
136
146
|
z-index: -2;
|
|
137
147
|
width: 100%;
|
|
138
148
|
height: 100%;
|
|
139
|
-
background-color: rgba(
|
|
149
|
+
background-color: rgba(colors.$color-black, 0.7);
|
|
140
150
|
bottom: 0;
|
|
141
151
|
left: 0;
|
|
142
152
|
}
|
|
@@ -147,7 +157,7 @@
|
|
|
147
157
|
z-index: -1;
|
|
148
158
|
width: 100%;
|
|
149
159
|
height: 100%;
|
|
150
|
-
background-color:
|
|
160
|
+
background-color: colors.$color-snow;
|
|
151
161
|
bottom: 0;
|
|
152
162
|
left: 0;
|
|
153
163
|
transform-origin: right;
|
|
@@ -163,7 +173,7 @@
|
|
|
163
173
|
}
|
|
164
174
|
}
|
|
165
175
|
|
|
166
|
-
@include e(video) {
|
|
176
|
+
@include bem.e(video) {
|
|
167
177
|
display: block;
|
|
168
178
|
position: absolute;
|
|
169
179
|
left: auto;
|
|
@@ -180,51 +190,51 @@
|
|
|
180
190
|
background-size: 30% 30%;
|
|
181
191
|
}
|
|
182
192
|
|
|
183
|
-
@include bp-up(sm) {
|
|
193
|
+
@include breakpoint.bp-up(sm) {
|
|
184
194
|
left: 0;
|
|
185
195
|
}
|
|
186
196
|
|
|
187
|
-
@include bp-up(lg) {
|
|
197
|
+
@include breakpoint.bp-up(lg) {
|
|
188
198
|
width: 200px;
|
|
189
199
|
height: 200px;
|
|
190
200
|
}
|
|
191
201
|
|
|
192
|
-
@include bp-up(xxl) {
|
|
202
|
+
@include breakpoint.bp-up(xxl) {
|
|
193
203
|
width: 250px;
|
|
194
204
|
height: 250px;
|
|
195
205
|
}
|
|
196
206
|
}
|
|
197
207
|
|
|
198
|
-
@include e(controls) {
|
|
199
|
-
background-color:
|
|
208
|
+
@include bem.e(controls) {
|
|
209
|
+
background-color: colors.$color-snow;
|
|
200
210
|
display: flex;
|
|
201
211
|
align-items: center;
|
|
202
212
|
justify-content: space-between;
|
|
203
|
-
padding: rhythm(2);
|
|
213
|
+
padding: func.rhythm(2);
|
|
204
214
|
flex-direction: column-reverse;
|
|
205
215
|
overflow: hidden;
|
|
206
216
|
|
|
207
|
-
@include bp-up(sm) {
|
|
217
|
+
@include breakpoint.bp-up(sm) {
|
|
208
218
|
transform: translateX(0);
|
|
209
219
|
}
|
|
210
220
|
|
|
211
|
-
@include bp-up(md) {
|
|
221
|
+
@include breakpoint.bp-up(md) {
|
|
212
222
|
align-items: stretch;
|
|
213
223
|
flex-direction: row;
|
|
214
224
|
}
|
|
215
225
|
}
|
|
216
226
|
|
|
217
|
-
@include e(title) {
|
|
227
|
+
@include bem.e(title) {
|
|
218
228
|
line-height: 1;
|
|
219
|
-
margin-top: rhythm(1);
|
|
229
|
+
margin-top: func.rhythm(1);
|
|
220
230
|
}
|
|
221
231
|
|
|
222
|
-
@include e(chapters) {
|
|
232
|
+
@include bem.e(chapters) {
|
|
223
233
|
width: 100%;
|
|
224
234
|
display: flex;
|
|
225
235
|
flex-direction: column;
|
|
226
236
|
|
|
227
|
-
@include e(list) {
|
|
237
|
+
@include bem.e(list) {
|
|
228
238
|
width: 100%;
|
|
229
239
|
height: 100%;
|
|
230
240
|
list-style-type: none;
|
|
@@ -234,13 +244,13 @@
|
|
|
234
244
|
> li {
|
|
235
245
|
display: flex;
|
|
236
246
|
align-items: center;
|
|
237
|
-
background-color:
|
|
238
|
-
font-size:
|
|
247
|
+
background-color: colors.$color-snow;
|
|
248
|
+
font-size: var.$size-medium;
|
|
239
249
|
display: none;
|
|
240
250
|
line-height: 1;
|
|
241
251
|
|
|
242
|
-
@include bp-up(md) {
|
|
243
|
-
font-size:
|
|
252
|
+
@include breakpoint.bp-up(md) {
|
|
253
|
+
font-size: var.$size-medium-plus;
|
|
244
254
|
}
|
|
245
255
|
|
|
246
256
|
&.is-current-item {
|
|
@@ -249,16 +259,16 @@
|
|
|
249
259
|
}
|
|
250
260
|
}
|
|
251
261
|
|
|
252
|
-
@include bp-up(md) {
|
|
262
|
+
@include breakpoint.bp-up(md) {
|
|
253
263
|
align-items: stretch;
|
|
254
264
|
}
|
|
255
265
|
}
|
|
256
266
|
|
|
257
|
-
@include e(timelineposts) {
|
|
267
|
+
@include bem.e(timelineposts) {
|
|
258
268
|
z-index: 2;
|
|
259
269
|
width: 250px;
|
|
260
270
|
min-width: 250px;
|
|
261
|
-
background-color:
|
|
271
|
+
background-color: colors.$color-cyberspace;
|
|
262
272
|
position: relative;
|
|
263
273
|
transform: translateX(100%);
|
|
264
274
|
transition: transform 0.25s ease-out;
|
|
@@ -268,7 +278,7 @@
|
|
|
268
278
|
right: 0;
|
|
269
279
|
bottom: 0;
|
|
270
280
|
|
|
271
|
-
@include bp-up(md) {
|
|
281
|
+
@include breakpoint.bp-up(md) {
|
|
272
282
|
transform: translateX(0);
|
|
273
283
|
position: relative;
|
|
274
284
|
top: auto;
|
|
@@ -276,7 +286,7 @@
|
|
|
276
286
|
bottom: auto;
|
|
277
287
|
}
|
|
278
288
|
|
|
279
|
-
@include bp-up(xl) {
|
|
289
|
+
@include breakpoint.bp-up(xl) {
|
|
280
290
|
width: 350px;
|
|
281
291
|
}
|
|
282
292
|
|
|
@@ -284,7 +294,7 @@
|
|
|
284
294
|
transform: translateX(0);
|
|
285
295
|
}
|
|
286
296
|
|
|
287
|
-
@include e(list) {
|
|
297
|
+
@include bem.e(list) {
|
|
288
298
|
position: absolute;
|
|
289
299
|
top: 0;
|
|
290
300
|
left: 0;
|
|
@@ -293,13 +303,13 @@
|
|
|
293
303
|
overflow-y: auto;
|
|
294
304
|
|
|
295
305
|
dt {
|
|
296
|
-
color:
|
|
297
|
-
font-family:
|
|
298
|
-
padding: rhythm(1) rhythm(2);
|
|
306
|
+
color: colors.$color-snow;
|
|
307
|
+
font-family: var.$font-family-headings;
|
|
308
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
299
309
|
|
|
300
|
-
@include bp-up(md) {
|
|
301
|
-
padding-top: rhythm(2);
|
|
302
|
-
padding-bottom: rhythm(2);
|
|
310
|
+
@include breakpoint.bp-up(md) {
|
|
311
|
+
padding-top: func.rhythm(2);
|
|
312
|
+
padding-bottom: func.rhythm(2);
|
|
303
313
|
}
|
|
304
314
|
}
|
|
305
315
|
|
|
@@ -307,34 +317,34 @@
|
|
|
307
317
|
padding: 0;
|
|
308
318
|
margin: 0;
|
|
309
319
|
display: block;
|
|
310
|
-
border-top: 1px solid color.adjust(
|
|
320
|
+
border-top: 1px solid color.adjust(colors.$color-cyberspace, $lightness: 10%);
|
|
311
321
|
}
|
|
312
322
|
}
|
|
313
323
|
|
|
314
|
-
@include e(link) {
|
|
324
|
+
@include bem.e(link) {
|
|
315
325
|
display: flex;
|
|
316
|
-
padding: rhythm(1) rhythm(2);
|
|
317
|
-
color:
|
|
326
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
327
|
+
color: colors.$color-snow;
|
|
318
328
|
text-decoration: none;
|
|
319
|
-
font-size:
|
|
329
|
+
font-size: var.$size-medium;
|
|
320
330
|
position: relative;
|
|
321
331
|
line-height: 1.5;
|
|
322
|
-
border-left: 0 solid
|
|
332
|
+
border-left: 0 solid colors.$color-peacock;
|
|
323
333
|
transition: all 0.25s ease-out;
|
|
324
334
|
|
|
325
335
|
&::after {
|
|
326
336
|
content: attr(data-label);
|
|
327
337
|
display: block;
|
|
328
|
-
background-color:
|
|
329
|
-
color:
|
|
330
|
-
font-family:
|
|
331
|
-
padding: rhythm(1);
|
|
338
|
+
background-color: colors.$color-lemon;
|
|
339
|
+
color: colors.$color-cyberspace;
|
|
340
|
+
font-family: var.$font-family-headings;
|
|
341
|
+
padding: func.rhythm(1);
|
|
332
342
|
line-height: 1;
|
|
333
343
|
align-self: flex-end;
|
|
334
344
|
white-space: nowrap;
|
|
335
|
-
border-radius:
|
|
336
|
-
transform: translateX(rhythm(0.5));
|
|
337
|
-
margin-left: rhythm(1);
|
|
345
|
+
border-radius: var.$border-radius;
|
|
346
|
+
transform: translateX(func.rhythm(0.5));
|
|
347
|
+
margin-left: func.rhythm(1);
|
|
338
348
|
overflow: hidden;
|
|
339
349
|
transition: transform 0.25s ease-out;
|
|
340
350
|
transform: scale(0);
|
|
@@ -344,7 +354,7 @@
|
|
|
344
354
|
&:hover,
|
|
345
355
|
&:focus,
|
|
346
356
|
&.is-current {
|
|
347
|
-
background-color: color.adjust(
|
|
357
|
+
background-color: color.adjust(colors.$color-cyberspace, $lightness: 10%);
|
|
348
358
|
|
|
349
359
|
&::after {
|
|
350
360
|
overflow: visible;
|
|
@@ -354,43 +364,43 @@
|
|
|
354
364
|
}
|
|
355
365
|
|
|
356
366
|
&.is-current {
|
|
357
|
-
font-family:
|
|
358
|
-
border-left: rhythm(1) solid
|
|
367
|
+
font-family: var.$font-family-headings;
|
|
368
|
+
border-left: func.rhythm(1) solid colors.$color-peacock;
|
|
359
369
|
|
|
360
370
|
&::after {
|
|
361
|
-
background-color:
|
|
362
|
-
color:
|
|
371
|
+
background-color: colors.$color-peacock;
|
|
372
|
+
color: colors.$color-snow;
|
|
363
373
|
}
|
|
364
374
|
}
|
|
365
375
|
}
|
|
366
376
|
|
|
367
|
-
@include e(button-navigation) {
|
|
377
|
+
@include bem.e(button-navigation) {
|
|
368
378
|
transform: translateX(-100%);
|
|
369
|
-
background-color:
|
|
370
|
-
border-bottom-left-radius:
|
|
379
|
+
background-color: colors.$color-cyberspace;
|
|
380
|
+
border-bottom-left-radius: var.$border-radius;
|
|
371
381
|
|
|
372
|
-
@include bp-up(md) {
|
|
382
|
+
@include breakpoint.bp-up(md) {
|
|
373
383
|
display: none;
|
|
374
384
|
}
|
|
375
385
|
|
|
376
386
|
&.is-toggeled {
|
|
377
387
|
transform: translateX(0) scaleX(-1);
|
|
378
388
|
position: absolute;
|
|
379
|
-
right: rhythm(2);
|
|
389
|
+
right: func.rhythm(2);
|
|
380
390
|
z-index: 2;
|
|
381
391
|
}
|
|
382
392
|
}
|
|
383
393
|
}
|
|
384
394
|
|
|
385
|
-
@include e(buttons) {
|
|
395
|
+
@include bem.e(buttons) {
|
|
386
396
|
display: flex;
|
|
387
397
|
align-items: center;
|
|
388
398
|
}
|
|
389
399
|
|
|
390
|
-
@include e(button) {
|
|
400
|
+
@include bem.e(button) {
|
|
391
401
|
display: flex;
|
|
392
402
|
align-items: center;
|
|
393
|
-
margin: 0 rhythm(1);
|
|
403
|
+
margin: 0 func.rhythm(1);
|
|
394
404
|
padding: 0;
|
|
395
405
|
border: 0;
|
|
396
406
|
background-color: transparent;
|
|
@@ -403,89 +413,89 @@
|
|
|
403
413
|
cursor: not-allowed;
|
|
404
414
|
|
|
405
415
|
> svg {
|
|
406
|
-
fill:
|
|
416
|
+
fill: colors.$color-concrete;
|
|
407
417
|
}
|
|
408
418
|
}
|
|
409
419
|
|
|
410
420
|
&:hover {
|
|
411
421
|
> svg {
|
|
412
|
-
fill:
|
|
422
|
+
fill: colors.$color-peacock;
|
|
413
423
|
}
|
|
414
424
|
}
|
|
415
425
|
|
|
416
|
-
@include m(subtitles) {
|
|
426
|
+
@include bem.m(subtitles) {
|
|
417
427
|
&.is-active {
|
|
418
428
|
svg {
|
|
419
|
-
fill:
|
|
429
|
+
fill: colors.$color-peacock;
|
|
420
430
|
}
|
|
421
431
|
}
|
|
422
432
|
}
|
|
423
433
|
}
|
|
424
434
|
|
|
425
|
-
@include e(countdown) {
|
|
426
|
-
font-size:
|
|
427
|
-
padding-left: rhythm(1);
|
|
428
|
-
padding-right: rhythm(1);
|
|
435
|
+
@include bem.e(countdown) {
|
|
436
|
+
font-size: var.$size-medium-plus;
|
|
437
|
+
padding-left: func.rhythm(1);
|
|
438
|
+
padding-right: func.rhythm(1);
|
|
429
439
|
}
|
|
430
440
|
|
|
431
|
-
@include e(play-icon) {
|
|
432
|
-
width:
|
|
433
|
-
height:
|
|
441
|
+
@include bem.e(play-icon) {
|
|
442
|
+
width: var.$icon-size-large * 1.5;
|
|
443
|
+
height: var.$icon-size-large * 1.5;
|
|
434
444
|
}
|
|
435
445
|
|
|
436
|
-
@include e(rewind-icon) {
|
|
437
|
-
width:
|
|
438
|
-
height:
|
|
446
|
+
@include bem.e(rewind-icon) {
|
|
447
|
+
width: var.$icon-size-large;
|
|
448
|
+
height: var.$icon-size-large;
|
|
439
449
|
}
|
|
440
450
|
|
|
441
|
-
@include e(forward-icon) {
|
|
442
|
-
width:
|
|
443
|
-
height:
|
|
451
|
+
@include bem.e(forward-icon) {
|
|
452
|
+
width: var.$icon-size-large;
|
|
453
|
+
height: var.$icon-size-large;
|
|
444
454
|
}
|
|
445
455
|
|
|
446
|
-
@include e(subtitles-icon) {
|
|
447
|
-
width:
|
|
448
|
-
height:
|
|
456
|
+
@include bem.e(subtitles-icon) {
|
|
457
|
+
width: var.$icon-size-large * 1.2;
|
|
458
|
+
height: var.$icon-size-large * 1.2;
|
|
449
459
|
}
|
|
450
460
|
|
|
451
|
-
@include e(subtitles) {
|
|
461
|
+
@include bem.e(subtitles) {
|
|
452
462
|
text-align: center;
|
|
453
463
|
width: auto;
|
|
454
464
|
position: absolute;
|
|
455
|
-
bottom: rhythm(1);
|
|
456
|
-
right: rhythm(1);
|
|
465
|
+
bottom: func.rhythm(1);
|
|
466
|
+
right: func.rhythm(1);
|
|
457
467
|
z-index: 3;
|
|
458
|
-
font-family:
|
|
468
|
+
font-family: var.$font-family-headings;
|
|
459
469
|
min-width: 200px;
|
|
460
470
|
max-width: 300px;
|
|
461
471
|
display: none;
|
|
462
|
-
padding: rhythm(0.5) rhythm(1);
|
|
472
|
+
padding: func.rhythm(0.5) func.rhythm(1);
|
|
463
473
|
line-height: 1.7;
|
|
464
474
|
|
|
465
|
-
@include bp-up(sm) {
|
|
466
|
-
font-size:
|
|
467
|
-
padding: rhythm(1) rhythm(2);
|
|
475
|
+
@include breakpoint.bp-up(sm) {
|
|
476
|
+
font-size: var.$size-base;
|
|
477
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
468
478
|
min-width: 300px;
|
|
469
479
|
max-width: 400px;
|
|
470
480
|
}
|
|
471
481
|
|
|
472
|
-
@include bp-up(md) {
|
|
473
|
-
font-size:
|
|
474
|
-
padding: rhythm(2) rhythm(4);
|
|
482
|
+
@include breakpoint.bp-up(md) {
|
|
483
|
+
font-size: var.$size-base * 1.5;
|
|
484
|
+
padding: func.rhythm(2) func.rhythm(4);
|
|
475
485
|
min-width: 400px;
|
|
476
486
|
max-width: 600px;
|
|
477
487
|
}
|
|
478
488
|
|
|
479
|
-
@include bp-up(lg) {
|
|
480
|
-
font-size:
|
|
489
|
+
@include breakpoint.bp-up(lg) {
|
|
490
|
+
font-size: var.$size-base * 1.7;
|
|
481
491
|
min-width: 500px;
|
|
482
492
|
max-width: 700px;
|
|
483
|
-
bottom: rhythm(2);
|
|
493
|
+
bottom: func.rhythm(2);
|
|
484
494
|
align-self: flex-end;
|
|
485
|
-
right: rhythm(2);
|
|
495
|
+
right: func.rhythm(2);
|
|
486
496
|
}
|
|
487
497
|
|
|
488
|
-
@include bp-up(xxl) {
|
|
498
|
+
@include breakpoint.bp-up(xxl) {
|
|
489
499
|
max-width: 800px;
|
|
490
500
|
}
|
|
491
501
|
|
|
@@ -498,20 +508,20 @@
|
|
|
498
508
|
}
|
|
499
509
|
|
|
500
510
|
> span {
|
|
501
|
-
background-color: rgba(
|
|
502
|
-
color:
|
|
511
|
+
background-color: rgba(colors.$color-black, 0.8);
|
|
512
|
+
color: colors.$color-snow;
|
|
503
513
|
}
|
|
504
514
|
}
|
|
505
515
|
|
|
506
|
-
@include e(button-abort) {
|
|
516
|
+
@include bem.e(button-abort) {
|
|
507
517
|
position: absolute;
|
|
508
|
-
top: rhythm(1);
|
|
509
|
-
left: rhythm(1);
|
|
518
|
+
top: func.rhythm(1);
|
|
519
|
+
left: func.rhythm(1);
|
|
510
520
|
flex-grow: 0;
|
|
511
521
|
z-index: 2;
|
|
512
|
-
font-size:
|
|
522
|
+
font-size: var.$size-small;
|
|
513
523
|
|
|
514
|
-
@include bp-up(md) {
|
|
524
|
+
@include breakpoint.bp-up(md) {
|
|
515
525
|
font-size: initial;
|
|
516
526
|
}
|
|
517
527
|
}
|