@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.
Files changed (145) hide show
  1. package/package.json +18 -18
  2. package/src/app.scss +85 -88
  3. package/src/atoms/archive-link/archive-link.scss +24 -17
  4. package/src/atoms/button/_button.scss +209 -203
  5. package/src/atoms/checkbox/_checkbox.scss +33 -26
  6. package/src/atoms/file/_file.scss +23 -13
  7. package/src/atoms/grid-toggle/_grid-toggle.scss +11 -6
  8. package/src/atoms/height-limiter/_height-limiter.scss +21 -14
  9. package/src/atoms/input/_input.scss +23 -16
  10. package/src/atoms/label/label.scss +11 -5
  11. package/src/atoms/logotype/_logotype.scss +3 -2
  12. package/src/atoms/main-menu/_main-menu.scss +67 -60
  13. package/src/atoms/meta/_meta.scss +44 -33
  14. package/src/atoms/meta/meta.config.js +1 -1
  15. package/src/atoms/paging/_paging.scss +27 -21
  16. package/src/atoms/password-toggle/_password-toggle.scss +9 -6
  17. package/src/atoms/progress/_progress.scss +19 -11
  18. package/src/atoms/quote/_quote.scss +17 -10
  19. package/src/atoms/radiobutton/_radiobutton.scss +33 -26
  20. package/src/atoms/range/_range.scss +46 -39
  21. package/src/atoms/rating/_rating.scss +11 -4
  22. package/src/atoms/ribbon/_ribbon.scss +16 -9
  23. package/src/atoms/select/_select.scss +18 -10
  24. package/src/atoms/skip/_skip.scss +9 -6
  25. package/src/atoms/spinner/_spinner.scss +4 -3
  26. package/src/atoms/tag/_tag.scss +26 -19
  27. package/src/atoms/textarea/_textarea.scss +22 -13
  28. package/src/atoms/tooltip/_tooltip.scss +28 -21
  29. package/src/base/_grid.scss +4 -4
  30. package/src/base/_normalize.scss +29 -27
  31. package/src/base/fonts/_fonts.scss +1 -1
  32. package/src/components.js +0 -2
  33. package/src/configurations/_bem.scss +10 -7
  34. package/src/configurations/_config.scss +11 -10
  35. package/src/configurations/_extends.scss +38 -34
  36. package/src/configurations/_functions.scss +23 -7
  37. package/src/configurations/_mixins.scss +23 -19
  38. package/src/configurations/_recaptcha.scss +2 -2
  39. package/src/configurations/_variables.scss +19 -25
  40. package/src/configurations/_wordpress.scss +64 -57
  41. package/src/configurations/colors/_background-colors.scss +3 -2
  42. package/src/configurations/colors/_colors-functions.scss +41 -39
  43. package/src/configurations/colors/_colors.scss +1 -1
  44. package/src/configurations/colors/_text-colors.scss +3 -2
  45. package/src/configurations/colors/_wordpress-colors.scss +3 -2
  46. package/src/configurations/forms/_fields.scss +28 -23
  47. package/src/configurations/grid/_grid.scss +33 -28
  48. package/src/configurations/typography/_typography.scss +113 -105
  49. package/src/configurations/typography/readme.md +1 -1
  50. package/src/globals.scss +16 -18
  51. package/src/isolated-footer.scss +25 -25
  52. package/src/molecules/alert/_alert.scss +44 -35
  53. package/src/molecules/breadcrumb/_breadcrumb.scss +43 -35
  54. package/src/molecules/byline/_byline.scss +30 -21
  55. package/src/molecules/card/_card.scss +87 -77
  56. package/src/molecules/context-menu/_context-menu.scss +32 -15
  57. package/src/molecules/continue-video-guide/continue-video-guide.scss +37 -28
  58. package/src/molecules/cookie-disclaimer/cookie-disclaimer.scss +32 -23
  59. package/src/molecules/download/_download.scss +38 -30
  60. package/src/molecules/form-control/_form-control.scss +66 -58
  61. package/src/molecules/glider/_glider-course.scss +29 -23
  62. package/src/molecules/glider/_glider-hero.scss +112 -104
  63. package/src/molecules/glider/_glider.scss +36 -30
  64. package/src/molecules/icon-overlay/_icon-overlay.scss +29 -20
  65. package/src/molecules/info-box/_info-box.scss +31 -22
  66. package/src/molecules/input-group/_input-group.scss +23 -13
  67. package/src/molecules/modal/_modal.scss +77 -65
  68. package/src/molecules/multi-select/_multi-select.scss +44 -33
  69. package/src/molecules/natural-language-form/_natural-language-form.scss +33 -23
  70. package/src/molecules/overview-navigation/_overview-navigation.scss +54 -45
  71. package/src/molecules/readspeaker/_readspeaker.scss +1 -1
  72. package/src/molecules/share/_share.scss +23 -15
  73. package/src/molecules/submenu/_submenu.scss +77 -69
  74. package/src/molecules/system-error/_system-error.scss +26 -17
  75. package/src/molecules/table/_table.scss +50 -42
  76. package/src/molecules/teaser-news-list/_teaser-news-list.scss +21 -12
  77. package/src/organisms/accordion/_accordion.scss +59 -49
  78. package/src/organisms/domain-search/_domain-search.scss +54 -45
  79. package/src/organisms/event-listing-item/_event-listing-item.scss +36 -26
  80. package/src/organisms/features-box/_features-box.scss +30 -19
  81. package/src/organisms/filter/_filter.scss +15 -10
  82. package/src/organisms/footer/_footer.scss +119 -109
  83. package/src/organisms/header/_header.scss +24 -14
  84. package/src/organisms/hero/_hero--bbk.scss +50 -38
  85. package/src/organisms/hero/_hero--dynamic-headline.scss +49 -39
  86. package/src/organisms/hero/_hero.scss +222 -207
  87. package/src/organisms/hero/hero.config.js +2 -2
  88. package/src/organisms/mailchimp/_mailchimp.scss +52 -42
  89. package/src/organisms/mega-menu/_mega-menu.scss +55 -45
  90. package/src/organisms/members-service-product/_members-service-product.scss +29 -18
  91. package/src/organisms/members-service-product/members-service-product.config.js +5 -5
  92. package/src/organisms/podcast/_podcast-episodes.scss +85 -75
  93. package/src/organisms/podcast/_podcast-player.scss +73 -64
  94. package/src/organisms/schedule/_schedule.scss +92 -82
  95. package/src/organisms/search/_search.scss +68 -58
  96. package/src/organisms/search-result/_search-result.scss +50 -40
  97. package/src/organisms/sections/_sections.scss +41 -31
  98. package/src/organisms/tabs/_tabs.scss +58 -46
  99. package/src/organisms/timeline/_timeline.scss +92 -81
  100. package/src/organisms/video-guide/_video-guide.scss +148 -138
  101. package/src/pages/animate-footer/animate-footer.config.js +180 -1
  102. package/src/print.scss +1 -1
  103. package/src/structures/_article.scss +39 -28
  104. package/src/structures/_core-values.scss +14 -2
  105. package/src/structures/_manifest.scss +4 -4
  106. package/src/structures/_section.scss +32 -20
  107. package/src/structures/_site.scss +19 -7
  108. package/src/theme/_dark-mode.scss +14 -13
  109. package/src/theme/_theme.scss +28 -25
  110. package/src/utilities/_align.scss +1 -1
  111. package/src/utilities/_border.scss +5 -3
  112. package/src/utilities/_box-shadow.scss +5 -2
  113. package/src/utilities/_display.scss +1 -1
  114. package/src/utilities/_fill.scss +5 -4
  115. package/src/utilities/_flex.scss +1 -1
  116. package/src/utilities/_font-size.scss +6 -5
  117. package/src/utilities/_fonts.scss +6 -5
  118. package/src/utilities/_gutter.scss +3 -2
  119. package/src/utilities/_hide.scss +17 -15
  120. package/src/utilities/_icons.scss +37 -33
  121. package/src/utilities/_indent.scss +8 -6
  122. package/src/utilities/_links.scss +22 -18
  123. package/src/utilities/_lists.scss +19 -14
  124. package/src/utilities/_manifest.scss +27 -27
  125. package/src/utilities/_margin.scss +20 -17
  126. package/src/utilities/_misc.scss +3 -2
  127. package/src/utilities/_padding.scss +18 -15
  128. package/src/utilities/_position.scss +3 -2
  129. package/src/utilities/_show.scss +7 -6
  130. package/src/utilities/_text.scss +1 -1
  131. package/src/utilities/_vertical-align.scss +1 -1
  132. package/src/utilities/_wrap.scss +1 -1
  133. package/src/utilities/_z-index.scss +7 -6
  134. package/src/utilities/tab-highlighting/_tab-highlighting.scss +6 -5
  135. package/src/vendor/baseline/_plumber.scss +14 -13
  136. package/src/vendor/grid/_breakpoints.scss +17 -13
  137. package/src/vendor/grid/_flex.scss +8 -4
  138. package/src/vendor/grid/_functions.scss +9 -6
  139. package/src/vendor/grid/_grid-framework.scss +14 -9
  140. package/src/vendor/grid/_grid.scss +19 -16
  141. package/src/vendor/grid/_spacing.scss +8 -3
  142. package/src/atoms/toggle-high-contrast/readme.md +0 -6
  143. package/src/atoms/toggle-high-contrast/toggle-high-contrast.config.js +0 -8
  144. package/src/atoms/toggle-high-contrast/toggle-high-contrast.js +0 -10
  145. 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://stage.goto10.se/app/uploads/2024/05/toppbild-goto-10-linkoping-1-.jpg.webp',
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://stage.goto10.se/app/uploads/2024/05/toppbild-goto-10-linkoping-1-.jpg.webp',
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 'UTF-8';
2
-
3
- @include organism(mailchimp) {
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($color-cyberspace, 0.2);
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: $border-radius;
13
- background-color: $color-snow;
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: $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: $border-radius;
46
- background-color: $color-cyberspace;
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: $color-jade;
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 $color-ash;
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
- $border-color: color.adjust($color-jade, $lightness: -5%);
4
-
5
- @include organism(mega-menu) {
6
- z-index: z_index(middlegroundImportant);
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: $color-jade-light;
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: $font-family-headings;
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: $color-cyberspace;
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: $font-family-headings;
103
- font-size: rem(23px);
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: $icon-size-smallest;
113
- height: $icon-size-smallest;
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 'UTF-8';
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 $color-concrete;
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(#{rem(612px)} + #{($indent * 2)});
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://www.skolfederation.se/wp-content/uploads/2017/02/logo_gotit.png',
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://www.skolfederation.se/wp-content/uploads/2017/02/logo_gotit.png',
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: 'MV Nordic AB',
65
- logo: 'https://www.skolfederation.se/wp-content/uploads/2016/10/MV-Nordic_logotyp-180x34.png',
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://www.skolfederation.se/wp-content/uploads/2015/04/NoK_Logo_35mm.gif',
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
  }