@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,25 +1,35 @@
|
|
|
1
|
-
@charset
|
|
2
|
-
|
|
3
|
-
@
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use "sass:color";
|
|
3
|
+
@use "sass:math";
|
|
4
|
+
@use '../../configurations/mixins' as mixin;
|
|
5
|
+
@use '../../configurations/bem' as bem;
|
|
6
|
+
@use '../../configurations/config' as config;
|
|
7
|
+
@use '../../configurations/variables' as var;
|
|
8
|
+
@use '../../configurations/functions' as func;
|
|
9
|
+
@use '../../configurations/colors/colors' as colors;
|
|
10
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
11
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
12
|
+
|
|
13
|
+
@include mixin.molecule(card) {
|
|
4
14
|
display: flex;
|
|
5
15
|
position: relative;
|
|
6
16
|
flex-direction: column;
|
|
7
17
|
height: 100%;
|
|
8
18
|
overflow: hidden;
|
|
9
|
-
border-radius:
|
|
19
|
+
border-radius: var.$border-radius;
|
|
10
20
|
|
|
11
|
-
@include e(image) {
|
|
21
|
+
@include bem.e(image) {
|
|
12
22
|
display: block;
|
|
13
23
|
width: 100%;
|
|
14
|
-
border-radius:
|
|
24
|
+
border-radius: var.$border-radius;
|
|
15
25
|
}
|
|
16
26
|
|
|
17
|
-
@include e(map) {
|
|
27
|
+
@include bem.e(map) {
|
|
18
28
|
display: block;
|
|
19
29
|
position: relative;
|
|
20
30
|
padding-top: 56.25%;
|
|
21
31
|
overflow: hidden;
|
|
22
|
-
border-radius:
|
|
32
|
+
border-radius: var.$border-radius;
|
|
23
33
|
|
|
24
34
|
> iframe {
|
|
25
35
|
position: absolute;
|
|
@@ -31,8 +41,8 @@
|
|
|
31
41
|
height: 100%;
|
|
32
42
|
}
|
|
33
43
|
|
|
34
|
-
@include bp-up(lg) {
|
|
35
|
-
min-height: rhythm(44);
|
|
44
|
+
@include breakpoint.bp-up(lg) {
|
|
45
|
+
min-height: func.rhythm(44);
|
|
36
46
|
padding-top: 0;
|
|
37
47
|
|
|
38
48
|
> iframe {
|
|
@@ -41,7 +51,7 @@
|
|
|
41
51
|
}
|
|
42
52
|
}
|
|
43
53
|
|
|
44
|
-
@include e(link) {
|
|
54
|
+
@include bem.e(link) {
|
|
45
55
|
color: var(---cyberspace-color);
|
|
46
56
|
text-decoration: none;
|
|
47
57
|
|
|
@@ -58,46 +68,46 @@
|
|
|
58
68
|
|
|
59
69
|
&:hover,
|
|
60
70
|
&:focus {
|
|
61
|
-
color:
|
|
71
|
+
color: colors.$color-ruby;
|
|
62
72
|
text-decoration: underline;
|
|
63
73
|
|
|
64
74
|
> h1,
|
|
65
75
|
> h2 {
|
|
66
76
|
> span[class*='color'] {
|
|
67
|
-
color:
|
|
77
|
+
color: colors.$color-ruby !important;
|
|
68
78
|
text-decoration: underline !important;
|
|
69
79
|
}
|
|
70
80
|
}
|
|
71
81
|
}
|
|
72
82
|
}
|
|
73
83
|
|
|
74
|
-
@include e(headline) {
|
|
75
|
-
@include e(icon) {
|
|
84
|
+
@include bem.e(headline) {
|
|
85
|
+
@include bem.e(icon) {
|
|
76
86
|
position: relative;
|
|
77
|
-
width:
|
|
78
|
-
height:
|
|
79
|
-
transform: translateY(
|
|
87
|
+
width: var.$icon-size-medium;
|
|
88
|
+
height: var.$icon-size-medium;
|
|
89
|
+
transform: translateY(func.to_rem(1px));
|
|
80
90
|
fill: currentColor;
|
|
81
91
|
}
|
|
82
92
|
}
|
|
83
93
|
|
|
84
|
-
@include e(meta) {
|
|
94
|
+
@include bem.e(meta) {
|
|
85
95
|
display: flex;
|
|
86
96
|
flex-wrap: nowrap;
|
|
87
97
|
align-items: flex-start;
|
|
88
98
|
justify-content: space-between;
|
|
89
|
-
margin-bottom: rhythm(1);
|
|
99
|
+
margin-bottom: func.rhythm(1);
|
|
90
100
|
}
|
|
91
101
|
|
|
92
|
-
@include e(content) {
|
|
102
|
+
@include bem.e(content) {
|
|
93
103
|
|
|
94
104
|
&:first-child {
|
|
95
|
-
padding: rhythm(3) 0;
|
|
105
|
+
padding: func.rhythm(3) 0;
|
|
96
106
|
}
|
|
97
107
|
|
|
98
108
|
&:not(:first-child) {
|
|
99
|
-
margin-top: rhythm(2);
|
|
100
|
-
padding-bottom: rhythm(3);
|
|
109
|
+
margin-top: func.rhythm(2);
|
|
110
|
+
padding-bottom: func.rhythm(3);
|
|
101
111
|
}
|
|
102
112
|
|
|
103
113
|
> :last-child {
|
|
@@ -105,18 +115,18 @@
|
|
|
105
115
|
}
|
|
106
116
|
}
|
|
107
117
|
|
|
108
|
-
@include e(text) {
|
|
109
|
-
margin-top: rhythm(1);
|
|
118
|
+
@include bem.e(text) {
|
|
119
|
+
margin-top: func.rhythm(1);
|
|
110
120
|
}
|
|
111
121
|
|
|
112
|
-
@include m(shadow) {
|
|
113
|
-
@include card-shadow(
|
|
122
|
+
@include bem.m(shadow) {
|
|
123
|
+
@include mixin.card-shadow(colors.$color-cyberspace, 0.2);
|
|
114
124
|
}
|
|
115
125
|
|
|
116
|
-
@include m(padded) {
|
|
126
|
+
@include bem.m(padded) {
|
|
117
127
|
background-color: var(--snow-color);
|
|
118
128
|
|
|
119
|
-
@include e(media) {
|
|
129
|
+
@include bem.e(media) {
|
|
120
130
|
flex: 0 0 auto;
|
|
121
131
|
width: 100%;
|
|
122
132
|
max-width: 100%;
|
|
@@ -124,77 +134,77 @@
|
|
|
124
134
|
border-bottom-left-radius: 0;
|
|
125
135
|
}
|
|
126
136
|
|
|
127
|
-
@include e(content) {
|
|
128
|
-
padding-right: rhythm(2);
|
|
129
|
-
padding-left: rhythm(2);
|
|
137
|
+
@include bem.e(content) {
|
|
138
|
+
padding-right: func.rhythm(2);
|
|
139
|
+
padding-left: func.rhythm(2);
|
|
130
140
|
|
|
131
141
|
p {
|
|
132
|
-
margin-top: rhythm(1);
|
|
142
|
+
margin-top: func.rhythm(1);
|
|
133
143
|
}
|
|
134
144
|
|
|
135
|
-
@include bp-up(md) {
|
|
136
|
-
padding-right: rhythm(4);
|
|
137
|
-
padding-left: rhythm(4);
|
|
145
|
+
@include breakpoint.bp-up(md) {
|
|
146
|
+
padding-right: func.rhythm(4);
|
|
147
|
+
padding-left: func.rhythm(4);
|
|
138
148
|
}
|
|
139
149
|
}
|
|
140
150
|
|
|
141
151
|
&.wp-block-iis-visualization {
|
|
142
152
|
background-color: transparent;
|
|
143
153
|
|
|
144
|
-
@include e(content) {
|
|
154
|
+
@include bem.e(content) {
|
|
145
155
|
p {
|
|
146
156
|
margin-top: 0;
|
|
147
157
|
}
|
|
148
158
|
}
|
|
149
159
|
|
|
150
160
|
&--no-padding > {
|
|
151
|
-
@include e(content) {
|
|
161
|
+
@include bem.e(content) {
|
|
152
162
|
padding: 0;
|
|
153
163
|
}
|
|
154
164
|
}
|
|
155
165
|
}
|
|
156
166
|
}
|
|
157
167
|
|
|
158
|
-
@include m(bordered) {
|
|
159
|
-
border-top:
|
|
168
|
+
@include bem.m(bordered) {
|
|
169
|
+
border-top: func.to_rem(4px) solid colors.$color-ocean;
|
|
160
170
|
}
|
|
161
171
|
|
|
162
|
-
@include e(bottom) {
|
|
163
|
-
margin-top: rhythm(2);
|
|
172
|
+
@include bem.e(bottom) {
|
|
173
|
+
margin-top: func.rhythm(2);
|
|
164
174
|
}
|
|
165
175
|
|
|
166
|
-
@include m(wide) {
|
|
176
|
+
@include bem.m(wide) {
|
|
167
177
|
height: auto;
|
|
168
178
|
|
|
169
|
-
@include bp-up(md) {
|
|
179
|
+
@include breakpoint.bp-up(md) {
|
|
170
180
|
flex-direction: row;
|
|
171
181
|
height: auto;
|
|
172
182
|
|
|
173
183
|
h1,
|
|
174
184
|
h2 {
|
|
175
|
-
font-size:
|
|
185
|
+
font-size: func.to_rem(32px);
|
|
176
186
|
line-height: 1.2;
|
|
177
187
|
}
|
|
178
188
|
|
|
179
|
-
@include e(content) {
|
|
189
|
+
@include bem.e(content) {
|
|
180
190
|
display: flex;
|
|
181
191
|
flex-basis: 50%;
|
|
182
192
|
flex-direction: column;
|
|
183
|
-
padding-top: rhythm(2);
|
|
193
|
+
padding-top: func.rhythm(2);
|
|
184
194
|
}
|
|
185
195
|
|
|
186
|
-
@include e(image) {
|
|
196
|
+
@include bem.e(image) {
|
|
187
197
|
display: block;
|
|
188
198
|
object-fit: cover;
|
|
189
199
|
object-position: 50% center;
|
|
190
200
|
}
|
|
191
201
|
|
|
192
|
-
@include e(media) {
|
|
202
|
+
@include bem.e(media) {
|
|
193
203
|
max-width: 50%;
|
|
194
204
|
margin-bottom: 0;
|
|
195
|
-
border-top-left-radius:
|
|
205
|
+
border-top-left-radius: var.$border-radius;
|
|
196
206
|
border-top-right-radius: 0;
|
|
197
|
-
border-bottom-left-radius:
|
|
207
|
+
border-bottom-left-radius: var.$border-radius;
|
|
198
208
|
}
|
|
199
209
|
|
|
200
210
|
picture {
|
|
@@ -202,33 +212,33 @@
|
|
|
202
212
|
width: 100%;
|
|
203
213
|
max-width: 50%;
|
|
204
214
|
|
|
205
|
-
@include e(media) {
|
|
215
|
+
@include bem.e(media) {
|
|
206
216
|
max-width: 100%;
|
|
207
217
|
}
|
|
208
218
|
}
|
|
209
219
|
|
|
210
|
-
@include e(bottom) {
|
|
220
|
+
@include bem.e(bottom) {
|
|
211
221
|
margin-top: 0;
|
|
212
222
|
}
|
|
213
223
|
|
|
214
|
-
@include m(flipped) {
|
|
224
|
+
@include bem.m(flipped) {
|
|
215
225
|
flex-direction: row-reverse;
|
|
216
226
|
|
|
217
|
-
@include e(media) {
|
|
218
|
-
border-top-right-radius:
|
|
227
|
+
@include bem.e(media) {
|
|
228
|
+
border-top-right-radius: var.$border-radius;
|
|
219
229
|
border-top-left-radius: 0;
|
|
220
230
|
border-bottom-left-radius: 0;
|
|
221
|
-
border-bottom-right-radius:
|
|
231
|
+
border-bottom-right-radius: var.$border-radius;
|
|
222
232
|
}
|
|
223
233
|
}
|
|
224
234
|
|
|
225
|
-
@include m(stretch) {
|
|
235
|
+
@include bem.m(stretch) {
|
|
226
236
|
height: 100%;
|
|
227
237
|
}
|
|
228
238
|
}
|
|
229
239
|
}
|
|
230
240
|
|
|
231
|
-
@include m(teaser) {
|
|
241
|
+
@include bem.m(teaser) {
|
|
232
242
|
display: block;
|
|
233
243
|
overflow: hidden;
|
|
234
244
|
|
|
@@ -242,17 +252,17 @@
|
|
|
242
252
|
&::after {
|
|
243
253
|
content: '';
|
|
244
254
|
position: absolute;
|
|
245
|
-
z-index: z_index(background);
|
|
255
|
+
z-index: func.z_index(background);
|
|
246
256
|
top: 0;
|
|
247
257
|
right: 0;
|
|
248
258
|
bottom: 0;
|
|
249
259
|
left: 0;
|
|
250
260
|
transition: opacity 0.75s ease-out;
|
|
251
|
-
border-radius:
|
|
252
|
-
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(
|
|
261
|
+
border-radius: var.$border-radius;
|
|
262
|
+
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(colors.$color-cyberspace, 0) 35%, rgba(colors.$color-cyberspace, 1) 100%);
|
|
253
263
|
}
|
|
254
264
|
|
|
255
|
-
@include e(image) {
|
|
265
|
+
@include bem.e(image) {
|
|
256
266
|
width: 100%;
|
|
257
267
|
max-width: none;
|
|
258
268
|
height: 100%;
|
|
@@ -261,10 +271,10 @@
|
|
|
261
271
|
object-fit: cover;
|
|
262
272
|
}
|
|
263
273
|
|
|
264
|
-
@include e(content) {
|
|
274
|
+
@include bem.e(content) {
|
|
265
275
|
display: flex;
|
|
266
276
|
position: absolute;
|
|
267
|
-
z-index: z_index(middleground);
|
|
277
|
+
z-index: func.z_index(middleground);
|
|
268
278
|
top: 0;
|
|
269
279
|
right: 0;
|
|
270
280
|
bottom: 0;
|
|
@@ -272,25 +282,25 @@
|
|
|
272
282
|
flex-direction: column;
|
|
273
283
|
align-content: stretch;
|
|
274
284
|
justify-content: flex-end;
|
|
275
|
-
padding: rhythm(4);
|
|
285
|
+
padding: func.rhythm(4);
|
|
276
286
|
color: var(--snow-color);
|
|
277
|
-
text-shadow:
|
|
287
|
+
text-shadow: config.$text-shadow;
|
|
278
288
|
}
|
|
279
289
|
|
|
280
|
-
@include e(link) {
|
|
290
|
+
@include bem.e(link) {
|
|
281
291
|
color: var(--snow-color);
|
|
282
292
|
}
|
|
283
293
|
|
|
284
|
-
@include e(text) {
|
|
294
|
+
@include bem.e(text) {
|
|
285
295
|
margin-top: 0;
|
|
286
296
|
color: var(--snow-color);
|
|
287
297
|
}
|
|
288
298
|
|
|
289
|
-
@include e(bottom) {
|
|
299
|
+
@include bem.e(bottom) {
|
|
290
300
|
margin-top: 0;
|
|
291
301
|
}
|
|
292
302
|
|
|
293
|
-
@include e(meta) {
|
|
303
|
+
@include bem.e(meta) {
|
|
294
304
|
* {
|
|
295
305
|
color: var(--snow-color);
|
|
296
306
|
}
|
|
@@ -301,12 +311,12 @@
|
|
|
301
311
|
}
|
|
302
312
|
}
|
|
303
313
|
|
|
304
|
-
@include m(mini) {
|
|
305
|
-
padding: rhythm(1) rhythm(2);
|
|
306
|
-
background-color:
|
|
314
|
+
@include bem.m(mini) {
|
|
315
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
316
|
+
background-color: colors.$color-snow;
|
|
307
317
|
|
|
308
|
-
@include bp-up(md) {
|
|
309
|
-
padding: rhythm(2) rhythm(3);
|
|
318
|
+
@include breakpoint.bp-up(md) {
|
|
319
|
+
padding: func.rhythm(2) func.rhythm(3);
|
|
310
320
|
}
|
|
311
321
|
}
|
|
312
322
|
}
|
|
@@ -1,27 +1,44 @@
|
|
|
1
|
-
@charset
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/extends';
|
|
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;
|
|
2
12
|
|
|
3
|
-
@include molecule(context-menu) {
|
|
13
|
+
@include mixin.molecule(context-menu) {
|
|
4
14
|
display: inline-flex;
|
|
5
15
|
position: relative;
|
|
6
16
|
flex-direction: column;
|
|
7
17
|
|
|
8
18
|
button {
|
|
19
|
+
|
|
9
20
|
span {
|
|
10
21
|
pointer-events: none;
|
|
11
22
|
}
|
|
12
|
-
}
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
&[aria-expanded='true'] {
|
|
25
|
+
> svg {
|
|
26
|
+
width: var.$icon-size-medium;
|
|
27
|
+
height: var.$icon-size-medium;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
15
31
|
|
|
32
|
+
@include bem.e(list) {
|
|
16
33
|
@extend %box-shadow;
|
|
17
34
|
|
|
18
35
|
position: absolute;
|
|
19
36
|
top: 100%;
|
|
20
|
-
left: rhythm(1);
|
|
37
|
+
left: func.rhythm(1);
|
|
21
38
|
width: auto;
|
|
22
|
-
min-width: calc(100% - #{rhythm(1)});
|
|
23
|
-
border: 1px solid
|
|
24
|
-
background-color:
|
|
39
|
+
min-width: calc(100% - #{func.rhythm(1)});
|
|
40
|
+
border: 1px solid colors.$color-concrete;
|
|
41
|
+
background-color: colors.$color-snow;
|
|
25
42
|
white-space: nowrap;
|
|
26
43
|
|
|
27
44
|
&[aria-hidden='true'],
|
|
@@ -30,30 +47,30 @@
|
|
|
30
47
|
}
|
|
31
48
|
}
|
|
32
49
|
|
|
33
|
-
@include e(item) {
|
|
50
|
+
@include bem.e(item) {
|
|
34
51
|
padding: 0;
|
|
35
52
|
|
|
36
53
|
& + & {
|
|
37
|
-
border-top: 1px solid
|
|
54
|
+
border-top: 1px solid colors.$color-concrete;
|
|
38
55
|
}
|
|
39
56
|
|
|
40
57
|
a {
|
|
41
58
|
display: block;
|
|
42
|
-
padding: rhythm(1) rhythm(2);
|
|
43
|
-
color:
|
|
59
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
60
|
+
color: colors.$color-cyberspace;
|
|
44
61
|
text-decoration: none;
|
|
45
62
|
|
|
46
63
|
&:hover,
|
|
47
64
|
&:focus {
|
|
48
|
-
background-color:
|
|
65
|
+
background-color: colors.$color-ash;
|
|
49
66
|
}
|
|
50
67
|
}
|
|
51
68
|
}
|
|
52
69
|
}
|
|
53
70
|
|
|
54
71
|
.no-js {
|
|
55
|
-
@include molecule(context-menu) {
|
|
56
|
-
@include e(list) {
|
|
72
|
+
@include mixin.molecule(context-menu) {
|
|
73
|
+
@include bem.e(list) {
|
|
57
74
|
display: initial;
|
|
58
75
|
}
|
|
59
76
|
}
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
|
|
3
|
-
@
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/bem' as bem;
|
|
4
|
+
@use '../../configurations/config' as config;
|
|
5
|
+
@use '../../configurations/variables' as var;
|
|
6
|
+
@use '../../configurations/functions' as func;
|
|
7
|
+
@use '../../configurations/colors/colors' as colors;
|
|
8
|
+
@use '../../configurations/colors/colors-functions' as colorFunc;
|
|
9
|
+
@use '../../vendor/grid/breakpoints' as breakpoint;
|
|
10
|
+
@use '../../vendor/grid/grid' as grid;
|
|
11
|
+
|
|
12
|
+
@include mixin.molecule(continue-video-guide) {
|
|
4
13
|
position: fixed;
|
|
5
14
|
bottom: 0;
|
|
6
15
|
right: 0;
|
|
7
|
-
z-index: z_index(middlegroundImportant);
|
|
16
|
+
z-index: func.z_index(middlegroundImportant);
|
|
8
17
|
width: 100px;
|
|
9
|
-
height: calc(100px + 23px + rhythm(1));
|
|
18
|
+
height: calc(100px + 23px + func.rhythm(1));
|
|
10
19
|
transform: scale(0.7);
|
|
11
20
|
display: none;
|
|
12
21
|
|
|
@@ -14,21 +23,21 @@
|
|
|
14
23
|
display: block;
|
|
15
24
|
}
|
|
16
25
|
|
|
17
|
-
@include bp-up(md) {
|
|
26
|
+
@include breakpoint.bp-up(md) {
|
|
18
27
|
transform: scale(1);
|
|
19
|
-
bottom: rhythm(2);
|
|
20
|
-
right: rhythm(2);
|
|
28
|
+
bottom: func.rhythm(2);
|
|
29
|
+
right: func.rhythm(2);
|
|
21
30
|
}
|
|
22
31
|
|
|
23
|
-
@include e(inner) {
|
|
32
|
+
@include bem.e(inner) {
|
|
24
33
|
position: relative;
|
|
25
34
|
}
|
|
26
35
|
|
|
27
|
-
@include e(progressbar) {
|
|
36
|
+
@include bem.e(progressbar) {
|
|
28
37
|
display: none;
|
|
29
38
|
}
|
|
30
39
|
|
|
31
|
-
@include e(continue) {
|
|
40
|
+
@include bem.e(continue) {
|
|
32
41
|
position: absolute;
|
|
33
42
|
z-index: 3;
|
|
34
43
|
display: flex;
|
|
@@ -36,7 +45,7 @@
|
|
|
36
45
|
justify-content: center;
|
|
37
46
|
width: 100px;
|
|
38
47
|
height: 100px;
|
|
39
|
-
border-color:
|
|
48
|
+
border-color: colors.$color-snow;
|
|
40
49
|
|
|
41
50
|
&::after {
|
|
42
51
|
content: 'Guidad tur';
|
|
@@ -45,32 +54,32 @@
|
|
|
45
54
|
left: auto;
|
|
46
55
|
right: auto;
|
|
47
56
|
bottom: 0;
|
|
48
|
-
transform: translateY(calc(100% + rhythm(1)));
|
|
57
|
+
transform: translateY(calc(100% + func.rhythm(1)));
|
|
49
58
|
text-align: center;
|
|
50
|
-
background-color:
|
|
51
|
-
font-size:
|
|
52
|
-
font-family:
|
|
53
|
-
border-radius:
|
|
54
|
-
color:
|
|
55
|
-
padding: rhythm(0.5) rhythm(1);
|
|
59
|
+
background-color: colors.$color-peacock-light;
|
|
60
|
+
font-size: var.$size-medium;
|
|
61
|
+
font-family: var.$font-family-headings;
|
|
62
|
+
border-radius: var.$border-radius;
|
|
63
|
+
color: colors.$color-cyberspace;
|
|
64
|
+
padding: func.rhythm(0.5) func.rhythm(1);
|
|
56
65
|
line-height: 1;
|
|
57
66
|
}
|
|
58
67
|
|
|
59
68
|
&:hover,
|
|
60
69
|
&:focus {
|
|
61
70
|
&::after {
|
|
62
|
-
font-size: calc(
|
|
71
|
+
font-size: calc(var.$size-medium + 1px);
|
|
63
72
|
}
|
|
64
73
|
}
|
|
65
74
|
}
|
|
66
75
|
|
|
67
|
-
@include m(has-progress) {
|
|
68
|
-
@include e(continue) {
|
|
76
|
+
@include bem.m(has-progress) {
|
|
77
|
+
@include bem.e(continue) {
|
|
69
78
|
&::after {
|
|
70
79
|
content: 'Fortsätt';
|
|
71
80
|
}
|
|
72
81
|
|
|
73
|
-
@include e(arrow) {
|
|
82
|
+
@include bem.e(arrow) {
|
|
74
83
|
width: 0;
|
|
75
84
|
height: 0;
|
|
76
85
|
border-style: solid;
|
|
@@ -92,7 +101,7 @@
|
|
|
92
101
|
}
|
|
93
102
|
}
|
|
94
103
|
|
|
95
|
-
@include e(progressbar) {
|
|
104
|
+
@include bem.e(progressbar) {
|
|
96
105
|
display: block;
|
|
97
106
|
position: absolute;
|
|
98
107
|
z-index: 2;
|
|
@@ -107,12 +116,12 @@
|
|
|
107
116
|
border-radius: 50%;
|
|
108
117
|
content: '';
|
|
109
118
|
display: block;
|
|
110
|
-
border: 4px solid rgba(
|
|
119
|
+
border: 4px solid rgba(colors.$color-snow, 0.5);
|
|
111
120
|
}
|
|
112
121
|
}
|
|
113
122
|
}
|
|
114
123
|
|
|
115
|
-
@include e(image) {
|
|
124
|
+
@include bem.e(image) {
|
|
116
125
|
position: absolute;
|
|
117
126
|
z-index: 1;
|
|
118
127
|
width: 100px;
|
|
@@ -120,7 +129,7 @@
|
|
|
120
129
|
border-radius: 50%;
|
|
121
130
|
}
|
|
122
131
|
|
|
123
|
-
@include e(close) {
|
|
132
|
+
@include bem.e(close) {
|
|
124
133
|
border-radius: 50%;
|
|
125
134
|
position: absolute;
|
|
126
135
|
top: 0;
|
|
@@ -129,7 +138,7 @@
|
|
|
129
138
|
|
|
130
139
|
&:hover,
|
|
131
140
|
&:focus {
|
|
132
|
-
background-color:
|
|
141
|
+
background-color: colors.$color-peacock !important;
|
|
133
142
|
}
|
|
134
143
|
}
|
|
135
|
-
}
|
|
144
|
+
}
|