@internetstiftelsen/styleguide 4.1.13-beta.0.2 → 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 +29 -29
- 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 +40 -34
- 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
|
@@ -32,7 +32,7 @@ module.exports = {
|
|
|
32
32
|
has_tags: false,
|
|
33
33
|
has_buttons: true,
|
|
34
34
|
limited_width: false,
|
|
35
|
-
hero_image: 'https://
|
|
35
|
+
hero_image: 'https://www.goto10.se/app/uploads/2024/06/toppbild-goto-10-linkoping-1-.jpg.webp',
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -137,7 +137,7 @@ module.exports = {
|
|
|
137
137
|
has_buttons: true,
|
|
138
138
|
limited_width: false,
|
|
139
139
|
heading: 'Välkommen till Goto 10',
|
|
140
|
-
hero_image: 'https://
|
|
140
|
+
hero_image: 'https://www.goto10.se/app/uploads/2024/06/toppbild-goto-10-linkoping-1-.jpg.webp',
|
|
141
141
|
text: 'Goto 10 är en kostnadsfri mötesplats för kunskapsutbyte och innovation som drivs av Internetstiftelsen. Besök oss i Linköping, Malmö och Stockholm.',
|
|
142
142
|
},
|
|
143
143
|
},
|
|
@@ -1,26 +1,36 @@
|
|
|
1
|
-
@charset
|
|
2
|
-
|
|
3
|
-
@
|
|
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;
|
|
12
|
+
|
|
13
|
+
@include mixin.organism(mailchimp) {
|
|
4
14
|
clear: both;
|
|
5
15
|
|
|
6
|
-
@include e(wrapper) {
|
|
7
|
-
@include card-shadow(
|
|
16
|
+
@include bem.e(wrapper) {
|
|
17
|
+
@include mixin.card-shadow(colors.$color-cyberspace, 0.2);
|
|
8
18
|
|
|
9
|
-
margin-top: rhythm(4);
|
|
10
|
-
margin-bottom: rhythm(8);
|
|
11
|
-
padding: rhythm(2);
|
|
12
|
-
border-radius:
|
|
13
|
-
background-color:
|
|
19
|
+
margin-top: func.rhythm(4);
|
|
20
|
+
margin-bottom: func.rhythm(8);
|
|
21
|
+
padding: func.rhythm(2);
|
|
22
|
+
border-radius: var.$border-radius;
|
|
23
|
+
background-color: colors.$color-snow;
|
|
14
24
|
}
|
|
15
25
|
|
|
16
|
-
@include e(close) {
|
|
26
|
+
@include bem.e(close) {
|
|
17
27
|
display: none;
|
|
18
28
|
}
|
|
19
29
|
|
|
20
|
-
@include e(image-container) {
|
|
21
|
-
margin-bottom: rhythm(2);
|
|
30
|
+
@include bem.e(image-container) {
|
|
31
|
+
margin-bottom: func.rhythm(2);
|
|
22
32
|
|
|
23
|
-
@include bp-up(lg) {
|
|
33
|
+
@include breakpoint.bp-up(lg) {
|
|
24
34
|
display: flex;
|
|
25
35
|
display: -webkit-box; // Weird Sarafi bug needs this
|
|
26
36
|
width: 50%;
|
|
@@ -28,97 +38,97 @@
|
|
|
28
38
|
}
|
|
29
39
|
}
|
|
30
40
|
|
|
31
|
-
@include e(image) {
|
|
41
|
+
@include bem.e(image) {
|
|
32
42
|
display: block;
|
|
33
43
|
flex-grow: 0;
|
|
34
|
-
border-radius:
|
|
44
|
+
border-radius: var.$border-radius;
|
|
35
45
|
object-fit: cover;
|
|
36
46
|
}
|
|
37
47
|
|
|
38
|
-
@include e(image-missing) {
|
|
48
|
+
@include bem.e(image-missing) {
|
|
39
49
|
display: flex;
|
|
40
50
|
align-items: center;
|
|
41
51
|
justify-content: center;
|
|
42
52
|
width: 100%;
|
|
43
53
|
height: 100%;
|
|
44
|
-
padding: rhythm(4);
|
|
45
|
-
border-radius:
|
|
46
|
-
background-color:
|
|
54
|
+
padding: func.rhythm(4);
|
|
55
|
+
border-radius: var.$border-radius;
|
|
56
|
+
background-color: colors.$color-cyberspace;
|
|
47
57
|
|
|
48
58
|
svg {
|
|
49
59
|
width: 80%;
|
|
50
60
|
height: 80%;
|
|
51
|
-
min-height: rhythm(20);
|
|
52
|
-
fill:
|
|
61
|
+
min-height: func.rhythm(20);
|
|
62
|
+
fill: colors.$color-jade;
|
|
53
63
|
}
|
|
54
64
|
}
|
|
55
65
|
|
|
56
|
-
@include e(content) {
|
|
57
|
-
padding: 0 rhythm(3) 0 rhythm(3);
|
|
66
|
+
@include bem.e(content) {
|
|
67
|
+
padding: 0 func.rhythm(3) 0 func.rhythm(3);
|
|
58
68
|
|
|
59
|
-
@include bp-up(lg) {
|
|
60
|
-
padding-right: rhythm(4);
|
|
69
|
+
@include breakpoint.bp-up(lg) {
|
|
70
|
+
padding-right: func.rhythm(4);
|
|
61
71
|
}
|
|
62
72
|
}
|
|
63
73
|
|
|
64
|
-
@include m(sliding) {
|
|
74
|
+
@include bem.m(sliding) {
|
|
65
75
|
position: fixed;
|
|
66
|
-
z-index: z_index(foregroundMinus);
|
|
67
|
-
top: rhythm(1);
|
|
76
|
+
z-index: func.z_index(foregroundMinus);
|
|
77
|
+
top: func.rhythm(1);
|
|
68
78
|
right: -500px;
|
|
69
|
-
bottom: rhythm(1);
|
|
79
|
+
bottom: func.rhythm(1);
|
|
70
80
|
max-width: 420px;
|
|
71
81
|
transition: right ease-out 0.35s;
|
|
72
82
|
|
|
73
83
|
&.is-visible {
|
|
74
84
|
right: 0;
|
|
75
85
|
|
|
76
|
-
@include e(wrapper) {
|
|
86
|
+
@include bem.e(wrapper) {
|
|
77
87
|
display: block;
|
|
78
|
-
border: 1px solid
|
|
88
|
+
border: 1px solid colors.$color-ash;
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
91
|
|
|
82
|
-
@include bp-up(sm) {
|
|
92
|
+
@include breakpoint.bp-up(sm) {
|
|
83
93
|
top: auto;
|
|
84
94
|
}
|
|
85
95
|
|
|
86
|
-
@include e(wrapper) {
|
|
96
|
+
@include bem.e(wrapper) {
|
|
87
97
|
display: none;
|
|
88
98
|
margin-top: 0;
|
|
89
99
|
margin-bottom: 0;
|
|
90
100
|
}
|
|
91
101
|
|
|
92
|
-
@include e(row-bottom) {
|
|
102
|
+
@include bem.e(row-bottom) {
|
|
93
103
|
max-height: calc(100vh - 94px);
|
|
94
104
|
overflow-x: hidden;
|
|
95
105
|
overflow-y: auto;
|
|
96
106
|
|
|
97
|
-
@include bp-up(sm) {
|
|
107
|
+
@include breakpoint.bp-up(sm) {
|
|
98
108
|
max-height: none;
|
|
99
109
|
overflow: visible;
|
|
100
110
|
}
|
|
101
111
|
}
|
|
102
112
|
|
|
103
|
-
@include e(close) {
|
|
113
|
+
@include bem.e(close) {
|
|
104
114
|
display: flex;
|
|
105
115
|
}
|
|
106
116
|
|
|
107
|
-
@include e(image-container) {
|
|
117
|
+
@include bem.e(image-container) {
|
|
108
118
|
display: none;
|
|
109
119
|
}
|
|
110
120
|
|
|
111
|
-
@include e(content) {
|
|
121
|
+
@include bem.e(content) {
|
|
112
122
|
flex: 0 0 100%;
|
|
113
123
|
width: 100%;
|
|
114
124
|
max-width: 100%;
|
|
115
|
-
padding-right: rhythm(3);
|
|
116
|
-
padding-bottom: rhythm(2);
|
|
125
|
+
padding-right: func.rhythm(3);
|
|
126
|
+
padding-bottom: func.rhythm(2);
|
|
117
127
|
overflow-y: auto;
|
|
118
128
|
max-height: calc(100vh - 77px);
|
|
119
129
|
}
|
|
120
130
|
|
|
121
|
-
@include b(m-form__row) {
|
|
131
|
+
@include bem.b(m-form__row) {
|
|
122
132
|
flex: 0 0 100%;
|
|
123
133
|
width: 100%;
|
|
124
134
|
max-width: 100%;
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
1
2
|
@use "sass:color";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
@
|
|
6
|
-
|
|
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
|
+
|
|
13
|
+
$border-color: color.adjust(colors.$color-jade, $lightness: -5%);
|
|
14
|
+
|
|
15
|
+
@include mixin.organism(mega-menu) {
|
|
16
|
+
z-index: func.z_index(middlegroundImportant);
|
|
7
17
|
padding-right: 0;
|
|
8
18
|
padding-left: 0;
|
|
9
19
|
transition: transform 0.25s ease-out;
|
|
10
|
-
background-color:
|
|
20
|
+
background-color: colors.$color-jade-light;
|
|
11
21
|
|
|
12
22
|
&[aria-hidden='true'] {
|
|
13
23
|
display: none;
|
|
@@ -18,7 +28,7 @@ $border-color: color.adjust($color-jade, $lightness: -5%);
|
|
|
18
28
|
transform: translateY(0);
|
|
19
29
|
|
|
20
30
|
+ {
|
|
21
|
-
@include organism(domain-search) {
|
|
31
|
+
@include mixin.organism(domain-search) {
|
|
22
32
|
display: none;
|
|
23
33
|
}
|
|
24
34
|
}
|
|
@@ -32,48 +42,48 @@ $border-color: color.adjust($color-jade, $lightness: -5%);
|
|
|
32
42
|
}
|
|
33
43
|
}
|
|
34
44
|
|
|
35
|
-
@include e(wrapper) {
|
|
36
|
-
padding-top: rhythm(3);
|
|
45
|
+
@include bem.e(wrapper) {
|
|
46
|
+
padding-top: func.rhythm(3);
|
|
37
47
|
|
|
38
|
-
@include bp-down(md) {
|
|
39
|
-
padding-right: rhythm(1);
|
|
40
|
-
padding-left: rhythm(1);
|
|
48
|
+
@include breakpoint.bp-down(md) {
|
|
49
|
+
padding-right: func.rhythm(1);
|
|
50
|
+
padding-left: func.rhythm(1);
|
|
41
51
|
}
|
|
42
52
|
}
|
|
43
53
|
|
|
44
|
-
@include e(list) {
|
|
45
|
-
margin-top: rhythm(1);
|
|
54
|
+
@include bem.e(list) {
|
|
55
|
+
margin-top: func.rhythm(1);
|
|
46
56
|
|
|
47
|
-
@include e(topic) {
|
|
48
|
-
margin-top: rhythm(2);
|
|
49
|
-
margin-bottom: rhythm(0.5);
|
|
50
|
-
padding: rhythm(1) rhythm(1);
|
|
57
|
+
@include bem.e(topic) {
|
|
58
|
+
margin-top: func.rhythm(2);
|
|
59
|
+
margin-bottom: func.rhythm(0.5);
|
|
60
|
+
padding: func.rhythm(1) func.rhythm(1);
|
|
51
61
|
border-bottom: 1px solid $border-color;
|
|
52
|
-
font-family:
|
|
62
|
+
font-family: var.$font-family-headings;
|
|
53
63
|
|
|
54
64
|
&:first-child {
|
|
55
65
|
margin-top: 0;
|
|
56
66
|
}
|
|
57
67
|
}
|
|
58
68
|
|
|
59
|
-
@include e(item) {
|
|
60
|
-
margin: 0 0 rhythm(0.5) 0;
|
|
61
|
-
padding: rhythm(1) rhythm(1);
|
|
69
|
+
@include bem.e(item) {
|
|
70
|
+
margin: 0 0 func.rhythm(0.5) 0;
|
|
71
|
+
padding: func.rhythm(1) func.rhythm(1);
|
|
62
72
|
|
|
63
73
|
& + & {
|
|
64
74
|
border-top: 1px solid $border-color;
|
|
65
75
|
}
|
|
66
76
|
}
|
|
67
77
|
|
|
68
|
-
@include bp-up(lg) {
|
|
78
|
+
@include breakpoint.bp-up(lg) {
|
|
69
79
|
|
|
70
|
-
@include e(topic) {
|
|
80
|
+
@include bem.e(topic) {
|
|
71
81
|
padding: 0;
|
|
72
82
|
border-bottom: 0;
|
|
73
83
|
}
|
|
74
84
|
|
|
75
|
-
@include e(item) {
|
|
76
|
-
margin-bottom: rhythm(1);
|
|
85
|
+
@include bem.e(item) {
|
|
86
|
+
margin-bottom: func.rhythm(1);
|
|
77
87
|
padding: 0;
|
|
78
88
|
line-height: 1.3;
|
|
79
89
|
|
|
@@ -84,10 +94,10 @@ $border-color: color.adjust($color-jade, $lightness: -5%);
|
|
|
84
94
|
}
|
|
85
95
|
}
|
|
86
96
|
|
|
87
|
-
@include e(link) {
|
|
97
|
+
@include bem.e(link) {
|
|
88
98
|
display: inline-flex;
|
|
89
99
|
align-items: baseline;
|
|
90
|
-
color:
|
|
100
|
+
color: colors.$color-cyberspace;
|
|
91
101
|
text-decoration: none;
|
|
92
102
|
|
|
93
103
|
&:hover {
|
|
@@ -96,42 +106,42 @@ $border-color: color.adjust($color-jade, $lightness: -5%);
|
|
|
96
106
|
}
|
|
97
107
|
}
|
|
98
108
|
|
|
99
|
-
@include m(large) {
|
|
109
|
+
@include bem.m(large) {
|
|
100
110
|
display: block;
|
|
101
|
-
padding: 0 rhythm(1);
|
|
102
|
-
font-family:
|
|
103
|
-
font-size:
|
|
111
|
+
padding: 0 func.rhythm(1);
|
|
112
|
+
font-family: var.$font-family-headings;
|
|
113
|
+
font-size: func.to_rem(23px);
|
|
104
114
|
white-space: nowrap;
|
|
105
115
|
|
|
106
|
-
@include bp-up(lg) {
|
|
116
|
+
@include breakpoint.bp-up(lg) {
|
|
107
117
|
padding: 0;
|
|
108
118
|
}
|
|
109
119
|
}
|
|
110
120
|
|
|
111
|
-
@include e(icon) {
|
|
112
|
-
width:
|
|
113
|
-
height:
|
|
121
|
+
@include bem.e(icon) {
|
|
122
|
+
width: var.$icon-size-smallest;
|
|
123
|
+
height: var.$icon-size-smallest;
|
|
114
124
|
flex-shrink: 0;
|
|
115
|
-
margin-left: rhythm(0.5);
|
|
125
|
+
margin-left: func.rhythm(0.5);
|
|
116
126
|
}
|
|
117
127
|
}
|
|
118
128
|
|
|
119
|
-
@include bp-up(lg) {
|
|
129
|
+
@include breakpoint.bp-up(lg) {
|
|
120
130
|
padding-bottom: 0;
|
|
121
131
|
|
|
122
|
-
@include e(link) {
|
|
123
|
-
@include m(large) {
|
|
132
|
+
@include bem.e(link) {
|
|
133
|
+
@include bem.m(large) {
|
|
124
134
|
padding: 0;
|
|
125
135
|
}
|
|
126
136
|
}
|
|
127
137
|
}
|
|
128
138
|
|
|
129
|
-
@include e(search) {
|
|
130
|
-
@include e(wrapper) {
|
|
131
|
-
padding: rhythm(2) rhythm(1);
|
|
139
|
+
@include bem.e(search) {
|
|
140
|
+
@include bem.e(wrapper) {
|
|
141
|
+
padding: func.rhythm(2) func.rhythm(1);
|
|
132
142
|
|
|
133
|
-
@include bp-up(md) {
|
|
134
|
-
padding: rhythm(3) rhythm(2);
|
|
143
|
+
@include breakpoint.bp-up(md) {
|
|
144
|
+
padding: func.rhythm(3) func.rhythm(2);
|
|
135
145
|
}
|
|
136
146
|
}
|
|
137
147
|
}
|
|
@@ -1,44 +1,55 @@
|
|
|
1
|
-
@charset
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@use '../../configurations/mixins' as mixin;
|
|
3
|
+
@use '../../configurations/typography/typography';
|
|
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;
|
|
2
13
|
|
|
3
|
-
@include organism(service-product-list) {
|
|
14
|
+
@include mixin.organism(service-product-list) {
|
|
4
15
|
list-style: none;
|
|
5
|
-
margin: 0 0 rhythm(2) 0;
|
|
16
|
+
margin: 0 0 func.rhythm(2) 0;
|
|
6
17
|
padding: 0;
|
|
7
18
|
|
|
8
|
-
@include e(item) {
|
|
19
|
+
@include bem.e(item) {
|
|
9
20
|
display: flex;
|
|
10
21
|
flex-direction: column;
|
|
11
|
-
padding: rhythm(3) rhythm(2);
|
|
22
|
+
padding: func.rhythm(3) func.rhythm(2);
|
|
12
23
|
|
|
13
24
|
& + & {
|
|
14
|
-
border-top: 1px solid
|
|
25
|
+
border-top: 1px solid colors.$color-concrete;
|
|
15
26
|
}
|
|
16
27
|
|
|
17
|
-
@include bp-up(sm) {
|
|
18
|
-
padding-top: rhythm(2);
|
|
19
|
-
padding-bottom: rhythm(2);
|
|
28
|
+
@include breakpoint.bp-up(sm) {
|
|
29
|
+
padding-top: func.rhythm(2);
|
|
30
|
+
padding-bottom: func.rhythm(2);
|
|
20
31
|
flex-direction: row;
|
|
21
32
|
align-items: center;
|
|
22
33
|
}
|
|
23
34
|
}
|
|
24
35
|
|
|
25
|
-
@include e(logo) {
|
|
36
|
+
@include bem.e(logo) {
|
|
26
37
|
flex-shrink: 0;
|
|
27
38
|
|
|
28
|
-
@include e(image) {
|
|
39
|
+
@include bem.e(image) {
|
|
29
40
|
width: 100px;
|
|
30
41
|
height: auto;
|
|
31
|
-
margin-right: rhythm(4);
|
|
32
|
-
margin-bottom: rhythm(1);
|
|
42
|
+
margin-right: func.rhythm(4);
|
|
43
|
+
margin-bottom: func.rhythm(1);
|
|
33
44
|
|
|
34
|
-
@include bp-up(sm) {
|
|
45
|
+
@include breakpoint.bp-up(sm) {
|
|
35
46
|
margin-bottom: 0;
|
|
36
47
|
}
|
|
37
48
|
}
|
|
38
49
|
}
|
|
39
50
|
|
|
40
|
-
@include e(data) {
|
|
41
|
-
@include e(list) {
|
|
51
|
+
@include bem.e(data) {
|
|
52
|
+
@include bem.e(list) {
|
|
42
53
|
list-style: none;
|
|
43
54
|
margin: 0;
|
|
44
55
|
padding: 0;
|
|
@@ -53,8 +64,8 @@
|
|
|
53
64
|
}
|
|
54
65
|
|
|
55
66
|
dd {
|
|
56
|
-
max-width: calc(#{
|
|
67
|
+
max-width: calc(#{func.to_rem(612px)} + #{(var.$indent * 2)});
|
|
57
68
|
}
|
|
58
69
|
}
|
|
59
70
|
}
|
|
60
|
-
}
|
|
71
|
+
}
|
|
@@ -6,7 +6,7 @@ module.exports = {
|
|
|
6
6
|
|
|
7
7
|
context: {
|
|
8
8
|
provider: 'Gotit AB',
|
|
9
|
-
logo: 'https://
|
|
9
|
+
logo: 'https://skolfederation.se/app/uploads/2017/02/logo_gotit.png',
|
|
10
10
|
description: 'Ett IT-stöd anpassat för alla former av vuxenutbildning. Alvis stödjer vuxenutbildning i egenregi, upphandlad utbildning eller en blandning av dessa.',
|
|
11
11
|
serviceName: 'Alvis',
|
|
12
12
|
heading: 'Filtrera',
|
|
@@ -56,19 +56,19 @@ module.exports = {
|
|
|
56
56
|
items: [
|
|
57
57
|
{
|
|
58
58
|
provider: 'Gotit AB',
|
|
59
|
-
logo: 'https://
|
|
59
|
+
logo: 'https://skolfederation.se/app/uploads/2017/02/logo_gotit.png',
|
|
60
60
|
description: 'Ett IT-stöd anpassat för alla former av vuxenutbildning. Alvis stödjer vuxenutbildning i egenregi, upphandlad utbildning eller en blandning av dessa.',
|
|
61
61
|
serviceName: 'Alvis',
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
provider: '
|
|
65
|
-
logo: 'https://
|
|
64
|
+
provider: 'Lexplore Nordic AB',
|
|
65
|
+
logo: 'https://skolfederation.se/app/uploads/2017/06/lexplore_logo-180x55.png',
|
|
66
66
|
description: 'Avtalen ger dig som uppköpare eller rektor möjlighet att hjälpa elever med dyslexi eller andra läs- och skrivsvårigheter med att klara sig i skolan eller på en utbildning.',
|
|
67
67
|
serviceName: 'Det flexibla avtalet',
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
provider: 'Natur & kultur',
|
|
71
|
-
logo: 'https://
|
|
71
|
+
logo: 'https://skolfederation.se/app/uploads/2015/04/NoK_Logo_35mm.gif',
|
|
72
72
|
description: 'En digitalbok är den tryckta boken i digitalt format. Läs boken på en pekplatta, datorn eller telefon.',
|
|
73
73
|
serviceName: 'Digitalbok',
|
|
74
74
|
}
|