@internetstiftelsen/styleguide 4.1.13 → 5.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/dist/assets/js/iconToggle.js +1 -2
- package/dist/assets/js/parallax.js +0 -2
- package/dist/assets/js/textToggle.js +0 -1
- package/dist/assets/js/track.js +2 -2
- package/dist/assets/js/youtube.js +2 -1
- package/dist/components.js +0 -4
- package/dist/molecules/glider/glider-hero.js +1 -2
- package/dist/molecules/modal/modal.js +2 -2
- package/dist/molecules/overview-navigation/overview-navigation.js +1 -2
- package/dist/organisms/mailchimp/mailchimp.js +2 -1
- package/dist/organisms/tabs/tabs.js +3 -2
- package/dist/organisms/timeline/timeline.js +2 -4
- package/package.json +23 -18
- package/src/app.js +1 -15
- package/src/app.scss +85 -88
- package/src/assets/js/iconToggle.js +2 -2
- package/src/assets/js/parallax.js +0 -2
- package/src/assets/js/textToggle.js +1 -1
- package/src/assets/js/track.js +2 -2
- package/src/assets/js/youtube.js +2 -1
- package/src/atoms/archive-link/archive-link.config.js +1 -1
- package/src/atoms/archive-link/archive-link.scss +24 -17
- package/src/atoms/button/_button.scss +216 -210
- package/src/atoms/checkbox/_checkbox.scss +33 -26
- package/src/atoms/checkbox/checkbox.config.js +1 -1
- package/src/atoms/file/_file.scss +23 -13
- package/src/atoms/file/file.config.js +1 -1
- package/src/atoms/grid-toggle/_grid-toggle.scss +11 -6
- package/src/atoms/grid-toggle/grid-toggle.config.js +1 -1
- package/src/atoms/height-limiter/_height-limiter.scss +21 -14
- package/src/atoms/height-limiter/height-limiter.config.js +1 -1
- package/src/atoms/hr/hr.config.js +1 -1
- package/src/atoms/icon/icon.config.js +2 -2
- package/src/atoms/input/_input.scss +23 -16
- package/src/atoms/input/input.config.js +1 -1
- package/src/atoms/label/label.config.js +1 -1
- package/src/atoms/label/label.scss +11 -5
- package/src/atoms/logotype/_logotype.scss +3 -2
- package/src/atoms/logotype/logotype.config.js +3 -3
- package/src/atoms/main-menu/_main-menu.scss +67 -60
- package/src/atoms/main-menu/main-menu.config.js +1 -1
- package/src/atoms/meta/_meta.scss +44 -33
- package/src/atoms/meta/meta.config.js +2 -2
- package/src/atoms/paging/_paging.scss +27 -21
- package/src/atoms/paging/paging.config.js +1 -1
- package/src/atoms/password-toggle/_password-toggle.scss +9 -6
- package/src/atoms/password-toggle/password-toggle.config.js +1 -1
- package/src/atoms/progress/_progress.scss +19 -11
- package/src/atoms/progress/progress.config.js +1 -1
- package/src/atoms/quote/_quote.scss +17 -10
- package/src/atoms/quote/quote.config.js +1 -1
- package/src/atoms/radiobutton/_radiobutton.scss +33 -26
- package/src/atoms/radiobutton/radiobutton.config.js +1 -1
- package/src/atoms/range/_range.scss +46 -39
- package/src/atoms/range/range.config.js +1 -1
- package/src/atoms/rating/_rating.scss +11 -4
- package/src/atoms/rating/rating.config.js +1 -1
- package/src/atoms/ribbon/_ribbon.scss +17 -10
- package/src/atoms/ribbon/ribbon.config.js +1 -1
- package/src/atoms/select/_select.scss +18 -10
- package/src/atoms/select/select.config.js +1 -1
- package/src/atoms/skip/_skip.scss +9 -6
- package/src/atoms/skip/skip.config.js +1 -1
- package/src/atoms/spinner/_spinner.scss +4 -3
- package/src/atoms/spinner/spinner.config.js +1 -1
- package/src/atoms/tag/_tag.scss +26 -19
- package/src/atoms/tag/tag.config.js +1 -1
- package/src/atoms/textarea/_textarea.scss +22 -13
- package/src/atoms/textarea/textarea.config.js +1 -1
- package/src/atoms/toggle-button/toggle-button.config.js +1 -1
- package/src/atoms/tooltip/_tooltip.scss +28 -21
- package/src/atoms/tooltip/tooltip.config.js +1 -1
- package/src/base/_grid.scss +4 -4
- package/src/base/_normalize.scss +122 -120
- package/src/base/fonts/_fonts.scss +1 -1
- package/src/brandbook/goto10/goto10.config.js +1 -1
- package/src/brandbook/internetstiftelsen/bildman/303/251r/bildman/303/251r.config.js +1 -1
- package/src/brandbook/internetstiftelsen/identitet/identitet.config.js +1 -1
- package/src/brandbook/internetstiftelsen/tonalitet och spr/303/245kbruk/tonalitet och spr/303/245kbruk.config.js" +1 -1
- package/src/components.js +0 -2
- package/src/configurations/_bem.scss +30 -27
- package/src/configurations/_config.scss +24 -23
- package/src/configurations/_extends.scss +38 -34
- package/src/configurations/_functions.scss +25 -9
- package/src/configurations/_mixins.scss +23 -19
- package/src/configurations/_recaptcha.scss +2 -2
- package/src/configurations/_variables.scss +40 -46
- package/src/configurations/_wordpress.scss +69 -62
- package/src/configurations/colors/_background-colors.scss +3 -2
- package/src/configurations/colors/_colors-functions.scss +41 -39
- package/src/configurations/colors/_colors.scss +4 -4
- package/src/configurations/colors/_text-colors.scss +3 -2
- package/src/configurations/colors/_wordpress-colors.scss +3 -2
- package/src/configurations/colors/colors.config.js +1 -1
- package/src/configurations/favicon/favicon.config.js +1 -1
- package/src/configurations/forms/_fields.scss +28 -23
- package/src/configurations/grid/_grid.scss +33 -28
- package/src/configurations/grid/grid.config.js +1 -1
- package/src/configurations/icons.json +1 -1
- package/src/configurations/typography/_typography.scss +113 -105
- package/src/configurations/typography/readme.md +1 -1
- package/src/configurations/typography/typography.config.js +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/alert/alert.config.js +1 -1
- package/src/molecules/breadcrumb/_breadcrumb.scss +43 -35
- package/src/molecules/breadcrumb/breadcrumb.config.js +1 -1
- package/src/molecules/byline/_byline.scss +30 -21
- package/src/molecules/byline/byline.config.js +1 -1
- package/src/molecules/card/_card.scss +87 -77
- package/src/molecules/context-menu/_context-menu.scss +32 -15
- package/src/molecules/context-menu/context-menu.config.js +11 -11
- package/src/molecules/continue-video-guide/continue-video-guide.config.js +1 -1
- package/src/molecules/continue-video-guide/continue-video-guide.scss +37 -28
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.config.js +1 -1
- package/src/molecules/cookie-disclaimer/cookie-disclaimer.scss +32 -23
- package/src/molecules/download/_download.scss +38 -30
- package/src/molecules/download/download.config.js +1 -1
- package/src/molecules/form/form.config.js +1 -1
- package/src/molecules/form-control/_form-control.scss +66 -58
- package/src/molecules/form-control/form-control.config.js +1 -1
- 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/glider/glider-hero.js +1 -3
- package/src/molecules/glider/glider.config.js +1 -1
- package/src/molecules/icon-overlay/_icon-overlay.scss +29 -20
- package/src/molecules/icon-overlay/icon-overlay.config.js +1 -1
- package/src/molecules/info-box/_info-box.scss +31 -22
- package/src/molecules/info-box/info-box.config.js +1 -1
- package/src/molecules/input-group/_input-group.scss +23 -13
- package/src/molecules/input-group/input-group.config.js +1 -1
- package/src/molecules/modal/_modal.scss +77 -65
- package/src/molecules/modal/modal.js +2 -2
- package/src/molecules/multi-select/_multi-select.scss +44 -33
- package/src/molecules/multi-select/multi-select.js +3 -3
- package/src/molecules/natural-language-form/_natural-language-form.scss +33 -23
- package/src/molecules/natural-language-form/natural-language-form.config.js +4 -4
- package/src/molecules/overview-navigation/_overview-navigation.scss +54 -45
- package/src/molecules/overview-navigation/overview-navigation.js +2 -2
- package/src/molecules/readspeaker/_readspeaker.scss +1 -1
- package/src/molecules/share/_share.scss +23 -15
- package/src/molecules/share/share.config.js +1 -1
- package/src/molecules/submenu/_submenu.scss +77 -69
- package/src/molecules/submenu/submenu.config.js +1 -1
- package/src/molecules/system-error/_system-error.scss +26 -17
- package/src/molecules/system-error/system-error.config.js +1 -1
- package/src/molecules/table/_table.scss +50 -42
- package/src/molecules/table/table.config.js +1 -1
- package/src/molecules/teaser-news-list/_teaser-news-list.scss +21 -12
- package/src/molecules/teaser-news-list/teaser-news-list.config.js +1 -1
- package/src/organisms/accordion/_accordion.scss +64 -54
- package/src/organisms/accordion/accordion.config.js +1 -1
- package/src/organisms/domain-search/_domain-search.scss +54 -45
- package/src/organisms/domain-search/domain-search.config.js +1 -1
- 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/filter/filter.config.js +1 -1
- package/src/organisms/footer/_footer.scss +121 -111
- package/src/organisms/footer/footer.config.js +1 -1
- package/src/organisms/header/_header.scss +24 -14
- package/src/organisms/header/header.config.js +1 -1
- 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 +37 -38
- package/src/organisms/mailchimp/_mailchimp.scss +53 -43
- package/src/organisms/mailchimp/mailchimp.config.js +1 -1
- package/src/organisms/mailchimp/mailchimp.js +2 -1
- package/src/organisms/mega-menu/_mega-menu.scss +55 -45
- package/src/organisms/mega-menu/mega-menu.config.js +1 -1
- package/src/organisms/members-service-product/_members-service-product.scss +29 -18
- package/src/organisms/members-service-product/members-service-product.config.js +6 -8
- package/src/organisms/podcast/_podcast-episodes.scss +85 -75
- package/src/organisms/podcast/_podcast-player.scss +73 -64
- package/src/organisms/podcast/podcast.config.js +1 -1
- 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/search-result/search-result.config.js +1 -1
- package/src/organisms/sections/_sections.scss +41 -31
- package/src/organisms/sections/sections.config.js +1 -1
- package/src/organisms/tabs/_tabs.scss +58 -46
- package/src/organisms/tabs/tabs.config.js +1 -1
- package/src/organisms/tabs/tabs.js +3 -2
- package/src/organisms/timeline/_timeline.scss +92 -81
- package/src/organisms/timeline/timeline.config.js +1 -1
- package/src/organisms/timeline/timeline.js +3 -2
- package/src/organisms/video-guide/VideoGuidePlayback.js +1 -1
- package/src/organisms/video-guide/_video-guide.scss +148 -138
- package/src/organisms/video-guide/video-guide.config.js +1 -1
- package/src/organisms/video-guide/video-guide.js +2 -2
- package/src/pages/animate-footer/animate-footer.config.js +181 -2
- package/src/pages/bredbandskollen/bredbandskollen.config.js +1 -1
- package/src/pages/conditional/conditional.config.js +1 -1
- package/src/pages/dark-mode/dark-mode.config.js +1 -1
- package/src/pages/internetguider/internetguider.config.js +1 -1
- package/src/pages/magazine/magazine.config.js +1 -1
- package/src/pages/mailchimp-newsletter/mailchimp-newsletter.config.js +1 -1
- package/src/pages/responsive-position/responsive-position.config.js +1 -1
- package/src/pages/search/search.config.js +1 -1
- package/src/pages/wordpress-blocks/wordpress-blocks.config.js +1 -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 +29 -26
- 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 +41 -37
- 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 +28 -25
- package/src/utilities/_misc.scss +3 -2
- package/src/utilities/_padding.scss +26 -23
- 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,27 +1,37 @@
|
|
|
1
|
-
@charset
|
|
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/extends';
|
|
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
|
+
@use '../../utilities/hide';
|
|
13
|
+
|
|
14
|
+
/* Extends */
|
|
5
15
|
%header {
|
|
6
16
|
display: flex;
|
|
7
17
|
position: relative;
|
|
8
18
|
flex-direction: column;
|
|
9
19
|
width: 100%;
|
|
10
|
-
padding: rhythm(2) rhythm(5) rhythm(2) rhythm(2);
|
|
20
|
+
padding: func.rhythm(2) func.rhythm(5) func.rhythm(2) func.rhythm(2);
|
|
11
21
|
border: 0;
|
|
12
22
|
background: transparent;
|
|
13
|
-
box-shadow: inset 0 -1px 1px rgba(
|
|
14
|
-
font-family:
|
|
15
|
-
font-size:
|
|
23
|
+
box-shadow: inset 0 -1px 1px rgba(colors.$color-cyberspace, 0.2);
|
|
24
|
+
font-family: var.$font-family-headings;
|
|
25
|
+
font-size: func.to_rem(17px);
|
|
16
26
|
text-align: left;
|
|
17
27
|
-webkit-appearance: none;
|
|
18
28
|
|
|
19
|
-
@include bp-up(md) {
|
|
20
|
-
font-size:
|
|
29
|
+
@include breakpoint.bp-up(md) {
|
|
30
|
+
font-size: func.to_rem(18px);
|
|
21
31
|
}
|
|
22
32
|
|
|
23
|
-
@include bp-up(xl) {
|
|
24
|
-
font-size:
|
|
33
|
+
@include breakpoint.bp-up(xl) {
|
|
34
|
+
font-size: func.to_rem(20px);
|
|
25
35
|
}
|
|
26
36
|
|
|
27
37
|
&::before,
|
|
@@ -30,8 +40,8 @@
|
|
|
30
40
|
display: block;
|
|
31
41
|
position: absolute;
|
|
32
42
|
top: 50%;
|
|
33
|
-
right:
|
|
34
|
-
width:
|
|
43
|
+
right: func.to_rem(23px);
|
|
44
|
+
width: var.$icon-size-small;
|
|
35
45
|
height: 3px;
|
|
36
46
|
transform: translateY(-50%);
|
|
37
47
|
transform-origin: center center;
|
|
@@ -44,7 +54,7 @@
|
|
|
44
54
|
}
|
|
45
55
|
|
|
46
56
|
&::after {
|
|
47
|
-
right:
|
|
57
|
+
right: func.to_rem(13px);
|
|
48
58
|
transform: rotate(-45deg);
|
|
49
59
|
}
|
|
50
60
|
|
|
@@ -60,7 +70,7 @@
|
|
|
60
70
|
}
|
|
61
71
|
}
|
|
62
72
|
|
|
63
|
-
@include bp-up(md) {
|
|
73
|
+
@include breakpoint.bp-up(md) {
|
|
64
74
|
flex-direction: row;
|
|
65
75
|
align-items: center;
|
|
66
76
|
}
|
|
@@ -75,7 +85,7 @@
|
|
|
75
85
|
|
|
76
86
|
%is-visible {
|
|
77
87
|
visibility: visible;
|
|
78
|
-
max-height: 10000em;
|
|
88
|
+
max-height: 10000em; /* Rediculous height */
|
|
79
89
|
overflow: visible;
|
|
80
90
|
transition: visibility 0s ease, max-height 0.25s ease, opacity 0.25s ease;
|
|
81
91
|
opacity: 1;
|
|
@@ -90,9 +100,9 @@
|
|
|
90
100
|
opacity: 0;
|
|
91
101
|
}
|
|
92
102
|
|
|
93
|
-
|
|
103
|
+
/* Styling before Accordion script kicks in */
|
|
94
104
|
.js-accordion {
|
|
95
|
-
@include e(header) {
|
|
105
|
+
@include bem.e(header) {
|
|
96
106
|
@extend %header;
|
|
97
107
|
|
|
98
108
|
margin-bottom: 0;
|
|
@@ -103,7 +113,7 @@
|
|
|
103
113
|
}
|
|
104
114
|
}
|
|
105
115
|
|
|
106
|
-
@include e(panel) {
|
|
116
|
+
@include bem.e(panel) {
|
|
107
117
|
@extend %panel;
|
|
108
118
|
}
|
|
109
119
|
}
|
|
@@ -111,7 +121,7 @@
|
|
|
111
121
|
.js {
|
|
112
122
|
.js-accordion {
|
|
113
123
|
|
|
114
|
-
@include e(header) {
|
|
124
|
+
@include bem.e(header) {
|
|
115
125
|
border-bottom: 1px solid var(--snow-color);
|
|
116
126
|
|
|
117
127
|
&[aria-expanded='true'] {
|
|
@@ -125,17 +135,17 @@
|
|
|
125
135
|
}
|
|
126
136
|
}
|
|
127
137
|
|
|
128
|
-
@include organism(accordion) {
|
|
129
|
-
background-color: color.adjust(
|
|
138
|
+
@include mixin.organism(accordion) {
|
|
139
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 4%);
|
|
130
140
|
|
|
131
|
-
@include e(panel) {
|
|
141
|
+
@include bem.e(panel) {
|
|
132
142
|
&[aria-hidden='false'],
|
|
133
143
|
&:not([aria-hidden='true']) {
|
|
134
144
|
@extend %is-visible;
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
147
|
|
|
138
|
-
@include m(transparent) {
|
|
148
|
+
@include bem.m(transparent) {
|
|
139
149
|
background-color: transparent;
|
|
140
150
|
|
|
141
151
|
[class*='header'] {
|
|
@@ -151,7 +161,7 @@
|
|
|
151
161
|
}
|
|
152
162
|
}
|
|
153
163
|
|
|
154
|
-
@include organism(accordion) {
|
|
164
|
+
@include mixin.organism(accordion) {
|
|
155
165
|
margin: 0;
|
|
156
166
|
padding: 0;
|
|
157
167
|
background-position: top left;
|
|
@@ -160,27 +170,27 @@
|
|
|
160
170
|
&::before {
|
|
161
171
|
@extend %u-visuallyhidden;
|
|
162
172
|
|
|
163
|
-
content:
|
|
173
|
+
content: var.$namespace;
|
|
164
174
|
}
|
|
165
175
|
|
|
166
|
-
@include e(row) {
|
|
176
|
+
@include bem.e(row) {
|
|
167
177
|
pointer-events: none;
|
|
168
178
|
}
|
|
169
179
|
|
|
170
|
-
@include e(header) {
|
|
180
|
+
@include bem.e(header) {
|
|
171
181
|
@extend %header;
|
|
172
182
|
|
|
173
|
-
@include m(inline) {
|
|
183
|
+
@include bem.m(inline) {
|
|
174
184
|
display: inline-flex;
|
|
175
185
|
width: auto;
|
|
176
186
|
|
|
177
187
|
button {
|
|
178
|
-
padding-right: rhythm(5);
|
|
188
|
+
padding-right: func.rhythm(5);
|
|
179
189
|
padding-left: 0;
|
|
180
190
|
}
|
|
181
191
|
}
|
|
182
192
|
|
|
183
|
-
@include m(no-border) {
|
|
193
|
+
@include bem.m(no-border) {
|
|
184
194
|
button[role='tab'] {
|
|
185
195
|
border-bottom: 0;
|
|
186
196
|
box-shadow: none;
|
|
@@ -191,13 +201,13 @@
|
|
|
191
201
|
}
|
|
192
202
|
}
|
|
193
203
|
|
|
194
|
-
@include m(background) {
|
|
204
|
+
@include bem.m(background) {
|
|
195
205
|
button {
|
|
196
206
|
box-shadow: none;
|
|
197
207
|
}
|
|
198
208
|
}
|
|
199
209
|
|
|
200
|
-
@include m(no-content) {
|
|
210
|
+
@include bem.m(no-content) {
|
|
201
211
|
button {
|
|
202
212
|
cursor: default;
|
|
203
213
|
pointer-events: none;
|
|
@@ -209,42 +219,42 @@
|
|
|
209
219
|
}
|
|
210
220
|
}
|
|
211
221
|
|
|
212
|
-
@include e(time) {
|
|
222
|
+
@include bem.e(time) {
|
|
213
223
|
margin-top: 0;
|
|
214
|
-
margin-right: rhythm(2);
|
|
224
|
+
margin-right: func.rhythm(2);
|
|
215
225
|
padding-top: 0;
|
|
216
226
|
padding-bottom: 0;
|
|
217
227
|
|
|
218
|
-
@include bp-up(md) {
|
|
228
|
+
@include breakpoint.bp-up(md) {
|
|
219
229
|
font-size: 90%;
|
|
220
230
|
}
|
|
221
231
|
}
|
|
222
232
|
}
|
|
223
233
|
|
|
224
|
-
@include e(panel) {
|
|
234
|
+
@include bem.e(panel) {
|
|
225
235
|
@extend %panel;
|
|
226
236
|
|
|
227
|
-
|
|
228
|
-
@include e(content) {
|
|
237
|
+
/* Nested to prevent padding when JS is disabled */
|
|
238
|
+
@include bem.e(content) {
|
|
229
239
|
position: relative;
|
|
230
|
-
padding: rhythm(3);
|
|
240
|
+
padding: func.rhythm(3);
|
|
231
241
|
|
|
232
242
|
> :last-child {
|
|
233
243
|
margin-bottom: 0;
|
|
234
244
|
}
|
|
235
245
|
}
|
|
236
246
|
|
|
237
|
-
@include m(transparent) {
|
|
247
|
+
@include bem.m(transparent) {
|
|
238
248
|
background-color: transparent;
|
|
239
249
|
}
|
|
240
250
|
|
|
241
|
-
@include m(ash) {
|
|
251
|
+
@include bem.m(ash) {
|
|
242
252
|
border-radius: 0;
|
|
243
|
-
background-color: color.adjust(
|
|
253
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 4%);
|
|
244
254
|
}
|
|
245
255
|
}
|
|
246
256
|
|
|
247
|
-
@include e(title) {
|
|
257
|
+
@include bem.e(title) {
|
|
248
258
|
margin-top: 0;
|
|
249
259
|
margin-bottom: 0;
|
|
250
260
|
padding-top: 0;
|
|
@@ -257,16 +267,16 @@
|
|
|
257
267
|
}
|
|
258
268
|
}
|
|
259
269
|
|
|
260
|
-
@include e(logo) {
|
|
261
|
-
margin-bottom: rhythm(2);
|
|
270
|
+
@include bem.e(logo) {
|
|
271
|
+
margin-bottom: func.rhythm(2);
|
|
262
272
|
|
|
263
|
-
@include bp-up(sm) {
|
|
264
|
-
margin-right: rhythm(2);
|
|
273
|
+
@include breakpoint.bp-up(sm) {
|
|
274
|
+
margin-right: func.rhythm(2);
|
|
265
275
|
margin-bottom: 0;
|
|
266
276
|
}
|
|
267
277
|
}
|
|
268
278
|
|
|
269
|
-
@include e(list) {
|
|
279
|
+
@include bem.e(list) {
|
|
270
280
|
display: inline-block;
|
|
271
281
|
margin-bottom: 0;
|
|
272
282
|
|
|
@@ -283,23 +293,23 @@
|
|
|
283
293
|
}
|
|
284
294
|
}
|
|
285
295
|
|
|
286
|
-
@include e(item) {
|
|
296
|
+
@include bem.e(item) {
|
|
287
297
|
display: flex;
|
|
288
298
|
align-items: center;
|
|
289
299
|
margin-left: 0;
|
|
290
300
|
pointer-events: initial;
|
|
291
301
|
}
|
|
292
302
|
|
|
293
|
-
@include e(flag) {
|
|
294
|
-
margin-right: rhythm(1);
|
|
295
|
-
font-size:
|
|
303
|
+
@include bem.e(flag) {
|
|
304
|
+
margin-right: func.rhythm(1);
|
|
305
|
+
font-size: func.to_rem(32px);
|
|
296
306
|
line-height: 1;
|
|
297
307
|
}
|
|
298
308
|
}
|
|
299
309
|
}
|
|
300
310
|
|
|
301
311
|
.no-js {
|
|
302
|
-
@include organism(accordion) {
|
|
312
|
+
@include mixin.organism(accordion) {
|
|
303
313
|
> [class*='panel'] {
|
|
304
314
|
@extend %is-visible;
|
|
305
315
|
}
|
|
@@ -1,13 +1,22 @@
|
|
|
1
|
-
@charset
|
|
1
|
+
@charset "UTF-8";
|
|
2
2
|
@use "sass:color";
|
|
3
|
-
|
|
4
|
-
@
|
|
5
|
-
|
|
3
|
+
@use '../../configurations/mixins' as mixin;
|
|
4
|
+
@use '../../configurations/extends';
|
|
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.organism(domain-search) {
|
|
14
|
+
padding: func.rhythm(2) 0 func.rhythm(1) 0;
|
|
6
15
|
|
|
7
16
|
&:not([class*='is-in-mega-menu']) {
|
|
8
17
|
display: none;
|
|
9
18
|
position: absolute;
|
|
10
|
-
z-index: z_index(middlegroundImportant);
|
|
19
|
+
z-index: func.z_index(middlegroundImportant);
|
|
11
20
|
bottom: 0;
|
|
12
21
|
transform: translateY(0);
|
|
13
22
|
transition: transform 0.25s ease-out;
|
|
@@ -25,7 +34,7 @@
|
|
|
25
34
|
}
|
|
26
35
|
}
|
|
27
36
|
|
|
28
|
-
@include bp-up(xl) {
|
|
37
|
+
@include breakpoint.bp-up(xl) {
|
|
29
38
|
display: flex;
|
|
30
39
|
}
|
|
31
40
|
|
|
@@ -40,110 +49,110 @@
|
|
|
40
49
|
}
|
|
41
50
|
|
|
42
51
|
a {
|
|
43
|
-
color:
|
|
52
|
+
color: colors.$color-cyberspace;
|
|
44
53
|
text-decoration: underline;
|
|
45
54
|
|
|
46
55
|
&:hover,
|
|
47
56
|
&:focus {
|
|
48
|
-
border-bottom:
|
|
57
|
+
border-bottom: func.to_rem(2px) solid colors.$color-jade;
|
|
49
58
|
border-radius: 0;
|
|
50
59
|
background-color: transparent;
|
|
51
60
|
text-decoration: none;
|
|
52
61
|
}
|
|
53
62
|
|
|
54
63
|
[class*='icon'] {
|
|
55
|
-
transform: translateY(
|
|
64
|
+
transform: translateY(func.to_rem(2px));
|
|
56
65
|
}
|
|
57
66
|
}
|
|
58
67
|
|
|
59
|
-
@include bp-up(md) {
|
|
60
|
-
padding: rhythm(3) rhythm(1);
|
|
68
|
+
@include breakpoint.bp-up(md) {
|
|
69
|
+
padding: func.rhythm(3) func.rhythm(1);
|
|
61
70
|
}
|
|
62
71
|
|
|
63
|
-
@include e(list-container) {
|
|
64
|
-
padding: 0 rhythm(1) 0 rhythm(1);
|
|
72
|
+
@include bem.e(list-container) {
|
|
73
|
+
padding: 0 func.rhythm(1) 0 func.rhythm(1);
|
|
65
74
|
}
|
|
66
75
|
|
|
67
|
-
@include e(input) {
|
|
76
|
+
@include bem.e(input) {
|
|
68
77
|
display: block;
|
|
69
|
-
width: calc(100% - #{rhythm(2)});
|
|
70
|
-
margin-right: rhythm(2);
|
|
71
|
-
padding: rhythm(1) rhythm(2);
|
|
78
|
+
width: calc(100% - #{func.rhythm(2)});
|
|
79
|
+
margin-right: func.rhythm(2);
|
|
80
|
+
padding: func.rhythm(1) func.rhythm(2);
|
|
72
81
|
transition: padding 0.25s ease-out;
|
|
73
82
|
border: 0;
|
|
74
|
-
border-radius:
|
|
75
|
-
background-color: color.adjust(
|
|
83
|
+
border-radius: var.$border-radius;
|
|
84
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 4%);
|
|
76
85
|
letter-spacing: -0.1px;
|
|
77
86
|
-webkit-appearance: none;
|
|
78
87
|
|
|
79
|
-
@include bp-up(md) {
|
|
80
|
-
font-size:
|
|
88
|
+
@include breakpoint.bp-up(md) {
|
|
89
|
+
font-size: func.to_rem(32px);
|
|
81
90
|
}
|
|
82
91
|
|
|
83
|
-
@include m(force-focus-look) {
|
|
84
|
-
background-color: color.adjust(
|
|
92
|
+
@include bem.m(force-focus-look) {
|
|
93
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 4%);
|
|
85
94
|
|
|
86
95
|
&:focus {
|
|
87
|
-
background-color: color.adjust(
|
|
96
|
+
background-color: color.adjust(colors.$color-ash, $lightness: 4%);
|
|
88
97
|
}
|
|
89
98
|
}
|
|
90
99
|
}
|
|
91
100
|
|
|
92
|
-
@include e(list) {
|
|
101
|
+
@include bem.e(list) {
|
|
93
102
|
display: flex;
|
|
94
103
|
flex-wrap: wrap;
|
|
95
|
-
padding: rhythm(1) 0 0 0;
|
|
104
|
+
padding: func.rhythm(1) 0 0 0;
|
|
96
105
|
|
|
97
106
|
li {
|
|
98
|
-
padding: rhythm(1) 0;
|
|
107
|
+
padding: func.rhythm(1) 0;
|
|
99
108
|
white-space: nowrap;
|
|
100
109
|
|
|
101
110
|
+ li {
|
|
102
|
-
border-top: 1px solid
|
|
111
|
+
border-top: 1px solid colors.$color-concrete;
|
|
103
112
|
|
|
104
|
-
@include bp-up(md) {
|
|
113
|
+
@include breakpoint.bp-up(md) {
|
|
105
114
|
padding-bottom: 0;
|
|
106
115
|
border-top: 0;
|
|
107
116
|
}
|
|
108
117
|
}
|
|
109
118
|
|
|
110
119
|
a {
|
|
111
|
-
padding: 0 rhythm(1);
|
|
120
|
+
padding: 0 func.rhythm(1);
|
|
112
121
|
border-bottom: 0;
|
|
113
|
-
font-size:
|
|
122
|
+
font-size: func.to_rem(var.$size-medium-plus);
|
|
114
123
|
text-decoration: underline;
|
|
115
124
|
|
|
116
|
-
@include bp-up(md) {
|
|
125
|
+
@include breakpoint.bp-up(md) {
|
|
117
126
|
padding: 0;
|
|
118
127
|
}
|
|
119
128
|
}
|
|
120
129
|
}
|
|
121
130
|
}
|
|
122
131
|
|
|
123
|
-
@include bp-up(md) {
|
|
132
|
+
@include breakpoint.bp-up(md) {
|
|
124
133
|
|
|
125
|
-
@include e(pretext) {
|
|
126
|
-
font-size:
|
|
134
|
+
@include bem.e(pretext) {
|
|
135
|
+
font-size: func.to_rem(32px);
|
|
127
136
|
}
|
|
128
137
|
}
|
|
129
138
|
|
|
130
|
-
@include e(submit) {
|
|
139
|
+
@include bem.e(submit) {
|
|
131
140
|
flex-shrink: 0;
|
|
132
|
-
padding-right: rhythm(4);
|
|
133
|
-
padding-left: rhythm(4);
|
|
134
|
-
font-size:
|
|
141
|
+
padding-right: func.rhythm(4);
|
|
142
|
+
padding-left: func.rhythm(4);
|
|
143
|
+
font-size: func.to_rem(24px);
|
|
135
144
|
|
|
136
|
-
@include bp-down(md) {
|
|
137
|
-
font-size:
|
|
145
|
+
@include breakpoint.bp-down(md) {
|
|
146
|
+
font-size: func.to_rem(var.$size-base);
|
|
138
147
|
}
|
|
139
148
|
|
|
140
|
-
@include bp-down(sm) {
|
|
141
|
-
padding: rhythm(0.6) rhythm(1);
|
|
142
|
-
font-size:
|
|
149
|
+
@include breakpoint.bp-down(sm) {
|
|
150
|
+
padding: func.rhythm(0.6) func.rhythm(1);
|
|
151
|
+
font-size: func.to_rem(var.$size-small);
|
|
143
152
|
}
|
|
144
153
|
}
|
|
145
154
|
|
|
146
|
-
@include bp-up(xl) {
|
|
155
|
+
@include breakpoint.bp-up(xl) {
|
|
147
156
|
display: none;
|
|
148
157
|
}
|
|
149
158
|
}
|
|
@@ -1,64 +1,74 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
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
|
+
@use '../../vendor/baseline/plumber' as plumber;
|
|
2
12
|
|
|
3
|
-
@include organism(event-listing-item) {
|
|
13
|
+
@include mixin.organism(event-listing-item) {
|
|
4
14
|
position: relative;
|
|
5
|
-
padding: rhythm(2);
|
|
15
|
+
padding: func.rhythm(2);
|
|
6
16
|
border-left: 4px solid;
|
|
7
|
-
border-radius:
|
|
8
|
-
background-color:
|
|
9
|
-
font-size:
|
|
17
|
+
border-radius: var.$border-radius;
|
|
18
|
+
background-color: colors.$color-snow;
|
|
19
|
+
font-size: var.$size-medium-plus;
|
|
10
20
|
|
|
11
|
-
@include e(button) {
|
|
21
|
+
@include bem.e(button) {
|
|
12
22
|
|
|
13
23
|
}
|
|
14
24
|
|
|
15
|
-
@include bp-up(md) {
|
|
16
|
-
font-size:
|
|
25
|
+
@include breakpoint.bp-up(md) {
|
|
26
|
+
font-size: var.$size-base;
|
|
17
27
|
}
|
|
18
28
|
|
|
19
|
-
@include e(upper) {
|
|
29
|
+
@include bem.e(upper) {
|
|
20
30
|
position: static;
|
|
21
31
|
flex-direction: column;
|
|
22
|
-
margin-bottom: rhythm(1);
|
|
32
|
+
margin-bottom: func.rhythm(1);
|
|
23
33
|
}
|
|
24
34
|
|
|
25
|
-
@include e(lower) {
|
|
35
|
+
@include bem.e(lower) {
|
|
26
36
|
align-items: center;
|
|
27
37
|
justify-content: space-between;
|
|
28
|
-
margin-top: rhythm(1);
|
|
38
|
+
margin-top: func.rhythm(1);
|
|
29
39
|
}
|
|
30
40
|
|
|
31
|
-
@include e(heading) {
|
|
32
|
-
@include plumber(
|
|
33
|
-
|
|
41
|
+
@include bem.e(heading) {
|
|
42
|
+
@include plumber.plumber(
|
|
43
|
+
var.$font-size: 2.5,
|
|
34
44
|
$leading-bottom: 1
|
|
35
45
|
);
|
|
36
46
|
|
|
37
|
-
font-family:
|
|
47
|
+
font-family: var.$font-family-headings;
|
|
38
48
|
line-height: 1.75rem;
|
|
39
49
|
}
|
|
40
50
|
|
|
41
|
-
@include e(footer) {
|
|
42
|
-
margin-bottom: rhythm(2);
|
|
43
|
-
margin-top: rhythm(2);
|
|
51
|
+
@include bem.e(footer) {
|
|
52
|
+
margin-bottom: func.rhythm(2);
|
|
53
|
+
margin-top: func.rhythm(2);
|
|
44
54
|
|
|
45
|
-
@include bp-up(sm-xs) {
|
|
55
|
+
@include breakpoint.bp-up(sm-xs) {
|
|
46
56
|
margin-bottom: 0;
|
|
47
57
|
margin-top: 0;
|
|
48
58
|
}
|
|
49
59
|
}
|
|
50
60
|
|
|
51
|
-
@include e(button) {
|
|
52
|
-
margin-right: rhythm(1);
|
|
53
|
-
margin-left: rhythm(1);
|
|
61
|
+
@include bem.e(button) {
|
|
62
|
+
margin-right: func.rhythm(1);
|
|
63
|
+
margin-left: func.rhythm(1);
|
|
54
64
|
}
|
|
55
65
|
|
|
56
|
-
@include e(icon-wrapper) {
|
|
66
|
+
@include bem.e(icon-wrapper) {
|
|
57
67
|
display: flex;
|
|
58
68
|
align-items: center;
|
|
59
69
|
}
|
|
60
70
|
|
|
61
|
-
@include e(icon) {
|
|
62
|
-
margin-right: rhythm(1);
|
|
71
|
+
@include bem.e(icon) {
|
|
72
|
+
margin-right: func.rhythm(1);
|
|
63
73
|
}
|
|
64
74
|
}
|
|
@@ -1,48 +1,59 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
12
|
+
@use '../../vendor/baseline/plumber' as plumber;
|
|
13
|
+
|
|
14
|
+
@include mixin.organism(features-box) {
|
|
15
|
+
padding: func.rhythm(2) func.rhythm(3) func.rhythm(3) func.rhythm(3);
|
|
16
|
+
border-radius: var.$border-radius;
|
|
17
|
+
|
|
18
|
+
@include breakpoint.bp-up(lg) {
|
|
19
|
+
padding: func.rhythm(3) func.rhythm(4) func.rhythm(4) func.rhythm(4);
|
|
9
20
|
}
|
|
10
21
|
|
|
11
|
-
@include m(large-text) {
|
|
12
|
-
@include bp-up(lg) {
|
|
13
|
-
padding: rhythm(4) rhythm(6) rhythm(6) rhythm(6);
|
|
22
|
+
@include bem.m(large-text) {
|
|
23
|
+
@include breakpoint.bp-up(lg) {
|
|
24
|
+
padding: func.rhythm(4) func.rhythm(6) func.rhythm(6) func.rhythm(6);
|
|
14
25
|
}
|
|
15
26
|
}
|
|
16
27
|
|
|
17
|
-
@include e(list) {
|
|
28
|
+
@include bem.e(list) {
|
|
18
29
|
margin: 0;
|
|
19
30
|
padding: 0;
|
|
20
31
|
list-style: none;
|
|
21
32
|
|
|
22
|
-
@include e(item) {
|
|
33
|
+
@include bem.e(item) {
|
|
23
34
|
display: flex;
|
|
24
|
-
margin-bottom: rhythm(2);
|
|
35
|
+
margin-bottom: func.rhythm(2);
|
|
25
36
|
|
|
26
37
|
a {
|
|
27
38
|
@extend %link-styles;
|
|
28
39
|
}
|
|
29
40
|
}
|
|
30
41
|
|
|
31
|
-
@include e(icon) {
|
|
42
|
+
@include bem.e(icon) {
|
|
32
43
|
display: flex;
|
|
33
|
-
margin-right: rhythm(2);
|
|
44
|
+
margin-right: func.rhythm(2);
|
|
34
45
|
|
|
35
46
|
> svg {
|
|
36
|
-
margin-top: rhythm(0.5);
|
|
47
|
+
margin-top: func.rhythm(0.5);
|
|
37
48
|
}
|
|
38
49
|
|
|
39
|
-
@include bp-up(lg) {
|
|
40
|
-
margin-right: rhythm(4);
|
|
50
|
+
@include breakpoint.bp-up(lg) {
|
|
51
|
+
margin-right: func.rhythm(4);
|
|
41
52
|
}
|
|
42
53
|
}
|
|
43
54
|
}
|
|
44
55
|
|
|
45
|
-
@include e(button) {
|
|
56
|
+
@include bem.e(button) {
|
|
46
57
|
display: flex;
|
|
47
58
|
flex-grow: 1;
|
|
48
59
|
justify-content: center;
|