gent_styleguide 6.0.0-alpha21 → 6.0.0-alpha23

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 (30) hide show
  1. package/build/css/main.css +1 -1
  2. package/build/styleguide/fonts/gent-icons-v6.eot +0 -0
  3. package/build/styleguide/fonts/gent-icons-v6.ttf +0 -0
  4. package/build/styleguide/fonts/gent-icons-v6.woff +0 -0
  5. package/build/styleguide/fonts/gent-icons-v6.woff2 +0 -0
  6. package/build/styleguide/sass/00-mixins/element-styles/_read-more-icon-link.scss +1 -1
  7. package/build/styleguide/sass/00-settings/_vars.scss +0 -1
  8. package/build/styleguide/sass/11-base/base/_base.scss +2 -0
  9. package/build/styleguide/sass/11-base/fonts/_icons.scss +1 -0
  10. package/build/styleguide/sass/21-atoms/button/_button.scss +14 -16
  11. package/build/styleguide/sass/21-atoms/link/_link.scss +5 -7
  12. package/build/styleguide/sass/21-atoms/list/_list.scss +11 -30
  13. package/build/styleguide/sass/21-atoms/logo/_logo.scss +14 -4
  14. package/build/styleguide/sass/21-atoms/pubdate/_pubdate.scss +8 -2
  15. package/build/styleguide/sass/21-atoms/tag/_tag.scss +15 -11
  16. package/build/styleguide/sass/31-molecules/breadcrumbs/_breadcrumbs.scss +2 -0
  17. package/build/styleguide/sass/31-molecules/main-menu/_main-menu.scss +3 -15
  18. package/build/styleguide/sass/31-molecules/partner-block/_partner-block.scss +8 -0
  19. package/build/styleguide/sass/31-molecules/status-message/_status-message.scss +8 -4
  20. package/build/styleguide/sass/31-molecules/teaser/_teaser.scss +6 -1
  21. package/build/styleguide/sass/41-organisms/content-header/_content-header.scss +37 -32
  22. package/build/styleguide/sass/41-organisms/footer/_footer.scss +41 -22
  23. package/build/styleguide/sass/41-organisms/footer/css/_gentinfo_island.scss +0 -1
  24. package/build/styleguide/sass/41-organisms/footer/css/_social-list.scss +0 -4
  25. package/build/styleguide/sass/41-organisms/header/_header.scss +20 -251
  26. package/build/styleguide/sass/41-organisms/theme-footer/_theme-footer.scss +39 -26
  27. package/build/styleguide/sass/61-layouts/detail-layout/_detail-layout.scss +33 -27
  28. package/build/styleguide/sass/molecules.scss +0 -1
  29. package/package.json +1 -1
  30. package/build/styleguide/sass/31-molecules/mijn-gent-block/_authentication.scss +0 -154
@@ -6,11 +6,11 @@
6
6
  flex-direction: column;
7
7
  align-items: flex-start;
8
8
  justify-content: space-between;
9
- margin-bottom: 3rem;
10
- padding: 3rem 1rem;
9
+ margin-bottom: 60px;
10
+ padding: 60px 20px;
11
11
 
12
12
  @include tablet {
13
- padding: 4.5rem 1rem;
13
+ padding: 90px 20px;
14
14
  }
15
15
 
16
16
  h1 {
@@ -18,29 +18,29 @@
18
18
  }
19
19
 
20
20
  &.image {
21
- margin-bottom: calc(100vw - 6rem);
22
- padding-bottom: 6rem;
21
+ margin-bottom: calc(100vw - 105px);
22
+ padding-bottom: 120px;
23
23
 
24
24
  @include tablet {
25
25
  flex-direction: row;
26
- margin-bottom: 8rem;
27
- padding-top: 4.5rem;
28
- padding-bottom: 4.5rem;
26
+ margin-bottom: 80px;
27
+ padding-top: 90px;
28
+ padding-bottom: 90px;
29
29
  }
30
30
 
31
31
  @include desktop {
32
- margin-bottom: 9.8rem;
32
+ margin-bottom: 196px;
33
33
  }
34
34
  }
35
35
 
36
36
  &.overlap {
37
- padding-top: 3rem;
38
- padding-bottom: 6rem;
37
+ padding-top: 60px;
38
+ padding-bottom: 120px;
39
39
 
40
40
  @include tablet {
41
41
  flex-direction: row;
42
- padding-top: 4.5rem;
43
- padding-bottom: 5.25rem;
42
+ padding-top: 90px;
43
+ padding-bottom: 105px;
44
44
  }
45
45
  }
46
46
 
@@ -53,21 +53,21 @@
53
53
  //padding-bottom: .1rem;
54
54
 
55
55
  h1 {
56
- @include accolade('bottom', 'left', 5rem, 1.75rem, 'color-none', 'color-primary');
56
+ @include accolade('bottom', 'left', 100px, 35px, 'color-none', 'color-primary');
57
57
  @include theme('background-color', 'color-primary', 'content-header-accolade-text-background');
58
58
 
59
59
  display: inline;
60
- padding: 0 .75rem;
60
+ padding: 0 15px;
61
61
  color: color('white');
62
62
  line-height: 1.1;
63
63
  box-decoration-break: clone;
64
64
  }
65
65
 
66
66
  &.breakout {
67
- padding-bottom: 2.25rem;
67
+ padding-bottom: 45px;
68
68
 
69
69
  @include tablet {
70
- padding-bottom: 2.75rem;
70
+ padding-bottom: 55px;
71
71
  }
72
72
 
73
73
  .left {
@@ -92,7 +92,7 @@
92
92
  max-width: $bp-max-content;
93
93
 
94
94
  @include tablet {
95
- padding-right: 3rem;
95
+ padding-right: 60px;
96
96
  }
97
97
 
98
98
  h1 {
@@ -100,19 +100,28 @@
100
100
  }
101
101
 
102
102
  h4 {
103
- margin: 3rem 0 1rem;
103
+ margin: 60px 0 20px;
104
104
  }
105
105
 
106
106
  .summary-text {
107
- margin: 1.5rem 0 0;
107
+ margin: 30px 0 0;
108
+
109
+ p {
110
+ font-size: 1.1rem;
111
+ line-height: 1.81;
112
+ }
108
113
 
109
114
  p:last-of-type {
110
115
  margin-bottom: 0;
111
116
  }
112
117
  }
113
118
 
119
+ time + .summary-text {
120
+ margin: 10px 0 0;
121
+ }
122
+
114
123
  .tag-list-wrapper {
115
- margin: 1rem 0 0;
124
+ margin: 20px 0 0;
116
125
 
117
126
  li,
118
127
  a {
@@ -132,9 +141,9 @@
132
141
  height: auto;
133
142
 
134
143
  @include tablet {
135
- flex: 0 0 calc(47vw - 4rem);
144
+ flex: 0 0 calc(47vw - 80px);
136
145
  width: auto;
137
- height: calc(47vw - 4rem - 9.5rem);
146
+ height: calc(47vw - 80px - 190px);
138
147
  text-align: right;
139
148
  }
140
149
 
@@ -143,29 +152,25 @@
143
152
  position: absolute;
144
153
  bottom: 0;
145
154
  width: 100%;
146
- transform: translate(0, calc(100% - 4.5rem));
155
+ padding-right: 40px;
156
+ transform: translate(0, calc(100% - 90px));
147
157
 
148
158
  @include tablet {
149
159
  position: static;
150
160
  max-width: 31.5rem;
161
+ padding: 0;
151
162
  transform: none;
152
163
  }
153
164
 
154
165
  img {
155
166
  width: 100%;
156
167
  height: auto;
157
- padding-right: 2rem;
158
-
159
-
160
- @include tablet {
161
- padding: 0;
162
- }
163
168
  }
164
169
  }
165
170
 
166
171
  @media only screen and (min-width: 1400px) {
167
- flex: 0 0 28.5rem;
168
- height: calc(28.5rem - 9.5rem);
172
+ flex: 0 0 570px;
173
+ height: calc(570px - 190px);
169
174
  }
170
175
  }
171
176
  }
@@ -1,13 +1,13 @@
1
1
  .footer {
2
- margin: 3rem -1rem 0;
2
+ margin: 60px -20px 0;
3
3
 
4
4
  @include desktop() {
5
- margin-top: 14rem;
5
+ margin-top: 280px;
6
6
  }
7
7
 
8
8
  h4 {
9
9
  margin-top: 0;
10
- margin-bottom: .75rem;
10
+ margin-bottom: 15px;
11
11
  }
12
12
 
13
13
  .content-container {
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  .footer-top {
26
- margin-bottom: 1.2rem;
26
+ margin-bottom: 24px;
27
27
  background-color: transparent;
28
28
 
29
29
  @include desktop {
@@ -34,7 +34,7 @@
34
34
  padding-top: 0;
35
35
 
36
36
  @include desktop {
37
- padding-bottom: 3.5rem;
37
+ padding-bottom: 70px;
38
38
  }
39
39
  }
40
40
 
@@ -42,24 +42,26 @@
42
42
  @include theme('background-color', 'color-tertiary-light', 'footer-background-color');
43
43
  flex: 0 0 auto;
44
44
  width: span(12 of 12);
45
- padding: 1rem 1rem 3rem;
45
+ padding: 20px 20px 60px;
46
46
 
47
+ // Gentinfo column.
47
48
  &:first-of-type {
48
- padding-bottom: 1rem;
49
+ padding-bottom: 20px;
49
50
  background-color: transparent;
50
51
  }
51
52
 
52
53
  &:nth-of-type(2) {
53
- margin-top: -3.7rem;
54
- padding-top: 4.5rem;
55
- padding-bottom: 1rem;
54
+ margin-top: -74px;
55
+ padding-top: 90px;
56
+ padding-bottom: 20px;
56
57
  }
57
58
 
58
59
  @include tablet {
59
60
  width: 50%;
60
- margin-top: -3.7rem;
61
- padding-top: 4.5rem;
61
+ margin-top: -74px;
62
+ padding-top: 90px;
62
63
 
64
+ // Gentinfo column.
63
65
  &:first-of-type {
64
66
  width: span(12 of 12);
65
67
  margin-top: 0;
@@ -68,11 +70,18 @@
68
70
  }
69
71
  }
70
72
 
73
+ @include breakpoint(1223px) {
74
+ // Gentinfo column.
75
+ &:first-of-type {
76
+ padding-right: 20px;
77
+ }
78
+ }
79
+
71
80
  @include desktop {
72
81
  width: span(3 of 12);
73
- margin-top: 2.9rem;
82
+ margin-top: 58px;
74
83
  margin-bottom: 0;
75
- padding-bottom: 1rem;
84
+ padding-bottom: 20px;
76
85
 
77
86
  &:nth-of-type(2),
78
87
  &:nth-of-type(3) {
@@ -80,6 +89,7 @@
80
89
  margin-right: $gutter-width;
81
90
  }
82
91
 
92
+ // Gentinfo column.
83
93
  &:first-of-type {
84
94
  order: 1;
85
95
  width: span(6 of 12);
@@ -87,6 +97,14 @@
87
97
  }
88
98
  }
89
99
 
100
+ @include breakpoint(1224px) {
101
+ // Gentinfo column.
102
+ &:first-of-type {
103
+ padding-right: 0;
104
+ padding-left: 0;
105
+ }
106
+ }
107
+
90
108
  a {
91
109
  @include medium-text;
92
110
  }
@@ -98,7 +116,7 @@
98
116
  }
99
117
 
100
118
  .social-list ul {
101
- margin: 0 -.25rem;
119
+ margin: 0 -5px;
102
120
  }
103
121
  }
104
122
 
@@ -108,19 +126,20 @@
108
126
  display: flex;
109
127
  flex-wrap: wrap;
110
128
  align-items: baseline;
111
- padding: 0 1rem;
129
+ padding: 0 20px;
112
130
 
113
131
  ul {
132
+ @include small-text();
114
133
  margin: 0;
115
134
  list-style: none;
116
135
  }
117
136
 
118
137
  li {
119
- margin-bottom: .2rem;
138
+ margin-bottom: 4px;
120
139
 
121
140
  @include tablet {
122
141
  display: inline-block;
123
- padding: 0 .4rem;
142
+ padding: 0 8px;
124
143
 
125
144
  &:first-of-type {
126
145
  padding-left: 0;
@@ -129,12 +148,12 @@
129
148
  }
130
149
 
131
150
  .partnership {
132
- font-size: .7rem;
151
+ @include small-text();
152
+ line-height: 150%;
133
153
 
134
154
  i.icon-district09 {
135
- margin-left: .5rem;
136
- font-size: 1.3rem;
137
- line-height: 1.6rem;
155
+ margin-left: 10px;
156
+ font-size: 1.4rem;
138
157
  vertical-align: middle;
139
158
  }
140
159
  }
@@ -55,7 +55,6 @@
55
55
  position: relative;
56
56
  top: .3rem;
57
57
  margin: 0 .2rem 0 0;
58
- font-size: 1.2rem;
59
58
  }
60
59
  }
61
60
 
@@ -36,9 +36,5 @@
36
36
  }
37
37
  }
38
38
  }
39
-
40
- i {
41
- font-size: 1.4rem;
42
- }
43
39
  }
44
40
  }
@@ -2,8 +2,6 @@
2
2
 
3
3
  header.header {
4
4
  position: relative;
5
- margin-bottom: .3rem;
6
- padding: .3rem 0;
7
5
 
8
6
  // first row
9
7
  > .content-container {
@@ -14,13 +12,22 @@ header.header {
14
12
  flex-wrap: wrap;
15
13
  }
16
14
 
17
- > :not(:first-child),
18
- > :not(.block-sg-menu-toggle) {
15
+ > :not(:first-child) {
19
16
  margin-left: gutter();
20
17
  }
21
18
 
22
19
  .site-logo {
23
20
  margin-right: auto;
21
+ padding: 20px 0;
22
+
23
+ .is-frontpage & {
24
+ align-items: flex-start;
25
+ padding: 20px 0;
26
+
27
+ @include tablet {
28
+ padding: 20px 0 0;
29
+ }
30
+ }
24
31
 
25
32
  &.subsite {
26
33
  flex: 1;
@@ -44,7 +51,8 @@ header.header {
44
51
 
45
52
  input[type=submit] {
46
53
  max-width: 0;
47
- padding: 0;
54
+ padding-right: 0;
55
+ padding-left: 0;
48
56
  transition: opacity .2s ease-in-out, max-width .2s ease-in-out, padding .2s ease-in-out, background-size .3s;
49
57
  box-shadow: none;
50
58
  opacity: 0;
@@ -76,7 +84,8 @@ header.header {
76
84
 
77
85
  ~ input[type=submit] {
78
86
  max-width: 9999px;
79
- padding: 0 1rem;
87
+ padding-right: 15px;
88
+ padding-left: 15px;
80
89
  opacity: 1;
81
90
  }
82
91
 
@@ -89,15 +98,14 @@ header.header {
89
98
  }
90
99
 
91
100
  .search--link {
92
- @include theme('background-color', 'color-primary--lighten-5', 'header-search-background-color');
101
+ @include theme('background-color', 'color-zero', 'header-search-background-color');
93
102
 
94
103
  display: block;
95
- min-width: 2.4rem;
96
- max-width: calc(.8rem + 32px);
97
- height: 2.4rem;
104
+ min-width: 44px;
105
+ max-width: calc(16px + 32px);
106
+ height: 44px;
98
107
  border-bottom: 0;
99
- border-radius: border-radius('radius-1');
100
- background: svg-as-background('search', color('gray'), 32, 32) no-repeat left .4rem center;
108
+ background: svg-as-background('search', color('white'), 24, 24) no-repeat left 10px center;
101
109
  text-indent: -9999px;
102
110
  overflow: hidden;
103
111
 
@@ -145,246 +153,7 @@ header.header {
145
153
  font-size: .9rem;
146
154
  }
147
155
 
148
- nav.breadcrumb {
149
- margin-top: .4rem;
150
- }
151
-
152
- hr {
153
- $span: percentage(math.div(2, 12));
154
-
155
- position: relative;
156
- max-width: $bp-max-content;
157
- margin-top: .3rem;
158
- margin-bottom: 2.3rem;
159
- border: 0;
160
- overflow: visible;
161
- }
162
-
163
- // Hero image, overlaps and hides breadcrumb accolade.
164
- figure.hero {
165
- $span: percentage(math.div(2, 12));
166
-
167
- display: none;
168
- position: relative;
169
- min-height: 1.6rem;
170
- // Give the image 1px margin relative to the container
171
- // so the accolade can overlap the edges
172
- // IE error fix
173
- margin: -1.7rem calc(-1rem + 1px) .3rem;
174
-
175
- @include tablet {
176
- display: block;
177
- }
178
-
179
- &.hero--mobile {
180
- display: block;
181
-
182
- &::before,
183
- &::after {
184
- content: '';
185
- }
186
-
187
- .image-wrapper,
188
- img {
189
- display: block;
190
- }
191
- }
192
-
193
- .theme {
194
- display: none;
195
- position: absolute;
196
- top: 0;
197
- right: 0;
198
- align-items: center;
199
- justify-content: center;
200
- width: 100%;
201
- height: 100%;
202
- margin: 0;
203
- padding: $gutter-width 40px;
204
- text-align: center;
205
- z-index: z('hero', 'base');
206
-
207
- @include tablet {
208
- display: flex;
209
- width: span(4 wide of 12);
210
- max-width: 23rem;
211
- height: calc(100% - 32px + 1px); // 1px to fix rendering issues
212
- }
213
-
214
- @include desktop {
215
- padding: 0 2rem;
216
- }
217
-
218
- @media (min-width: $bp-max-content) {
219
- right: calc((100% - #{$bp-max-content}) / 2);
220
- }
221
-
222
- &::before,
223
- &::after {
224
- @include theme('background-color', 'color-primary', 'hero-background-color');
225
- @include theme('border-color', 'color-primary', 'hero-background-color');
226
- position: absolute;
227
- left: 0;
228
- width: 100%;
229
- height: auto;
230
- border: 1px solid;
231
- content: '';
232
- opacity: .94;
233
- z-index: z('hero', 'overlay');
234
- }
235
-
236
- &.theme--light {
237
- &::before,
238
- &::after {
239
- @include theme('background-color', 'color-primary--lighten-5', 'hero-background-light-color');
240
- @include theme('border-color', 'color-primary--lighten-5', 'hero-background-light-color');
241
- opacity: 1;
242
- }
243
-
244
- h1 {
245
- @include theme('color', 'color-tertiary', 'hero-light-text-color');
246
- }
247
- }
248
-
249
- &::before {
250
- top: 0;
251
- bottom: 50%;
252
- border-bottom-left-radius: border-radius('radius-5');
253
- }
254
-
255
- &::after {
256
- top: 50%;
257
- bottom: 0;
258
- border-top-left-radius: border-radius('radius-5');
259
- }
260
-
261
- .theme-title {
262
- display: flex;
263
- flex-direction: column;
264
- justify-content: center;
265
- width: 100%;
266
- min-height: 100%;
267
- }
268
-
269
- img {
270
- display: inline-block;
271
- width: auto;
272
- height: 3rem;
273
- margin-bottom: 1rem;
274
-
275
- @include desktop {
276
- height: 4rem;
277
- }
278
-
279
- @media (min-width: $bp-max-content) {
280
- height: 5rem;
281
- }
282
- }
283
-
284
- figure:last-child {
285
- display: flex;
286
- flex: .6 1 auto;
287
- flex-direction: column;
288
-
289
- img {
290
- flex: 1 1 auto;
291
- margin-bottom: 0;
292
- }
293
- }
294
-
295
- h1 {
296
- @include theme('color', 'color-secondary', 'hero-text-color');
297
-
298
- margin: 0;
299
- font-size: 1.2rem;
300
-
301
- @include desktop {
302
- font-size: 1.6rem;
303
- }
304
-
305
- @media (min-width: $bp-max-content) {
306
- font-size: 2rem;
307
- }
308
-
309
- span {
310
- display: block;
311
- font-size: .9rem;
312
-
313
- @include desktop {
314
- font-size: 1.2rem;
315
- }
316
-
317
- @media (min-width: $bp-max-content) {
318
- font-size: 1.5rem;
319
- }
320
- }
321
- }
322
- }
323
-
324
- .image-wrapper {
325
- display: none;
326
-
327
- @include tablet {
328
- display: block;
329
- }
330
- }
331
-
332
- img {
333
- display: none;
334
-
335
- @include tablet {
336
- display: block;
337
- }
338
- }
339
-
340
- figcaption {
341
- @extend %content-container;
342
- display: none;
343
- right: 0;
344
- width: auto;
345
-
346
- @include tablet {
347
- display: block;
348
- position: absolute;
349
- top: calc(100% - 1.6rem);
350
- left: 60px + $gutter-width;
351
- margin: 0;
352
- padding: 8px $gutter-width 0;
353
- z-index: z('hero', 'caption');
354
- }
355
-
356
- @include desktop {
357
- left: calc(#{$span} + 2rem);
358
- }
359
-
360
- @media (min-width: $bp-max-content) {
361
- right: calc((100% - #{$bp-max-content}) / 2);
362
- left: calc(#{$span} + 2rem + (100% - #{$bp-max-content}) / 2);
363
- padding-right: 0;
364
- }
365
- }
366
-
367
- &:not(.hero--subsite) .theme ~ figcaption {
368
- left: 0;
369
- width: 100%;
370
- max-width: none;
371
- background-color: color('white');
372
-
373
- @media (min-width: $bp-max-content) {
374
- width: auto;
375
- }
376
- }
377
-
378
- &--subsite {
379
- &::before,
380
- &::after {
381
- width: 100%;
382
- }
383
- }
384
- }
385
-
386
156
  &--menu > .content-container {
387
- > .authentication,
388
157
  > .language-switcher {
389
158
  @include tablet-and-below {
390
159
  display: none;