gent_styleguide 6.0.0-beta2 → 6.0.0-beta21

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 (56) 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.svg +97 -73
  4. package/build/styleguide/fonts/gent-icons-v6.ttf +0 -0
  5. package/build/styleguide/fonts/gent-icons-v6.woff +0 -0
  6. package/build/styleguide/fonts/gent-icons-v6.woff2 +0 -0
  7. package/build/styleguide/img/iconfont/for-children.svg +6 -0
  8. package/build/styleguide/img/iconfont/music.svg +13 -0
  9. package/build/styleguide/img/iconfont/sign-language.svg +3 -0
  10. package/build/styleguide/img/iconfont/spoken-language.svg +3 -0
  11. package/build/styleguide/img/iconfont/threads.svg +3 -0
  12. package/build/styleguide/img/iconfont/tiktok.svg +3 -0
  13. package/build/styleguide/img/iconfont/uit-met-vlieg.svg +4 -0
  14. package/build/styleguide/img/iconfont/uitpas.svg +4 -0
  15. package/build/styleguide/js/accordion.functions-min.js +1 -1
  16. package/build/styleguide/js/accordion.functions.js +2 -2
  17. package/build/styleguide/sass/00-mixins/themify/_themify.scss +44 -0
  18. package/build/styleguide/sass/11-base/base/_base.scss +1 -8
  19. package/build/styleguide/sass/11-base/fonts/_icons.scss +121 -73
  20. package/build/styleguide/sass/11-base/grid/_grid.scss +1 -1
  21. package/build/styleguide/sass/11-base/grid/flexbox-grid/mixins/_grid-mixins.scss +1 -1
  22. package/build/styleguide/sass/21-atoms/heading/_heading.scss +51 -5
  23. package/build/styleguide/sass/21-atoms/heading/css/_background-title.scss +6 -6
  24. package/build/styleguide/sass/21-atoms/heading/css/_overview-title.scss +2 -0
  25. package/build/styleguide/sass/21-atoms/link/_link.scss +17 -13
  26. package/build/styleguide/sass/21-atoms/list/_list.scss +10 -2
  27. package/build/styleguide/sass/21-atoms/paragraph/_paragraph.scss +10 -0
  28. package/build/styleguide/sass/21-atoms/table/_table.scss +4 -4
  29. package/build/styleguide/sass/31-molecules/accordion/_accordion.scss +14 -4
  30. package/build/styleguide/sass/31-molecules/breadcrumbs/_breadcrumbs.scss +6 -5
  31. package/build/styleguide/sass/31-molecules/checkboxes-with-filter/_checkboxes-with-filter.scss +5 -0
  32. package/build/styleguide/sass/31-molecules/display-switcher/_display-switcher.scss +6 -0
  33. package/build/styleguide/sass/31-molecules/feature-block/_feature-block.scss +4 -2
  34. package/build/styleguide/sass/31-molecules/highlight/_highlight.scss +5 -0
  35. package/build/styleguide/sass/31-molecules/main-menu/_main-menu.scss +38 -47
  36. package/build/styleguide/sass/31-molecules/modal/_modal.scss +8 -10
  37. package/build/styleguide/sass/31-molecules/opening-hours/_opening-hours.scss +12 -10
  38. package/build/styleguide/sass/31-molecules/partner-block/_partner-block.scss +3 -3
  39. package/build/styleguide/sass/31-molecules/status-message/_status-message.scss +4 -19
  40. package/build/styleguide/sass/31-molecules/table-of-contents/_table-of-contents.scss +1 -1
  41. package/build/styleguide/sass/31-molecules/tabs/_tabs.scss +2 -2
  42. package/build/styleguide/sass/31-molecules/teaser/_teaser.scss +40 -27
  43. package/build/styleguide/sass/41-organisms/content-header/_content-header.scss +1 -1
  44. package/build/styleguide/sass/41-organisms/filter/_filter.scss +2 -4
  45. package/build/styleguide/sass/41-organisms/footer/_footer.scss +3 -1
  46. package/build/styleguide/sass/41-organisms/footer/css/_social-list.scss +2 -2
  47. package/build/styleguide/sass/41-organisms/multistep-form/_multistep-form.scss +1 -1
  48. package/build/styleguide/sass/41-organisms/programme/_programme.scss +7 -8
  49. package/build/styleguide/sass/41-organisms/theme-footer/_theme-footer.scss +5 -5
  50. package/build/styleguide/sass/41-organisms/timeline/_timeline.scss +7 -3
  51. package/build/styleguide/sass/61-layouts/detail-layout/_detail-layout.scss +10 -6
  52. package/build/styleguide/sass/61-layouts/filter-layout/_filter-layout.scss +1 -1
  53. package/build/styleguide/sass/61-layouts/overview-layout/_overview-layout.scss +11 -11
  54. package/build/styleguide/sass/61-layouts/sidebar-right-layout/_sidebar-right-layout.scss +1 -1
  55. package/build/styleguide/sass/molecules.scss +1 -1
  56. package/package.json +1 -1
@@ -191,18 +191,20 @@ $week-breakpoint: '(min-width: 750px)';
191
191
  outline-offset: 0;
192
192
  cursor: pointer;
193
193
 
194
- &[tabindex='0'] > span,
195
- &:hover > span {
196
- @include theme('border-color', 'color-zero', 'opening-hours-color');
197
- border: 2px solid;
198
- }
194
+ &[tabindex='0'] {
195
+ > span {
196
+ @include bold-text;
197
+ }
199
198
 
200
- &[tabindex='0'] > span {
201
- @include bold-text;
202
- }
199
+ & > span,
200
+ &:hover > span {
201
+ @include theme('border-color', 'color-zero', 'opening-hours-color');
202
+ border: 2px solid;
203
+ }
203
204
 
204
- &[tabindex='0'] .openinghours--details {
205
- display: block;
205
+ .openinghours--details {
206
+ display: block;
207
+ }
206
208
  }
207
209
  }
208
210
 
@@ -66,7 +66,7 @@
66
66
  ul {
67
67
  align-items: center;
68
68
  justify-content: space-between;
69
- gap: 30px 60px; // sass-lint:disable-line no-misspelled-properties
69
+ gap: 30px 60px;
70
70
 
71
71
  @include tablet {
72
72
  justify-content: flex-start;
@@ -98,8 +98,8 @@
98
98
  display: block;
99
99
  border: 0;
100
100
 
101
- &[href^="http://"],
102
- &[href^="https://"] {
101
+ &[href^="http://"]:not([href*="gent.be"]),
102
+ &[href^="https://"]:not([href*="gent.be"]) {
103
103
  &:not(.no-icon):not(.tag) {
104
104
  margin-right: 0;
105
105
  }
@@ -13,7 +13,7 @@
13
13
  margin-top: 20px;
14
14
  margin-right: 0;
15
15
  margin-bottom: 20px;
16
- padding: 40px;
16
+ padding: 100px 40px 40px;
17
17
  border-bottom: 3px solid;
18
18
  font-size: .9rem;
19
19
 
@@ -25,16 +25,16 @@
25
25
  &::before {
26
26
  @include theme('color', 'color-info', 'info-message-icon-color');
27
27
 
28
- display: block;
28
+ position: absolute;
29
+ top: 40px;
30
+ left: 40px;
29
31
  width: calc($status-message-icon-size + 20px);
30
- margin-right: 0;
31
32
  padding-bottom: 20px;
32
33
  font-size: $status-message-icon-size;
33
34
  line-height: $status-message-icon-size;
34
35
  text-align: left;
35
36
 
36
37
  @include phablet {
37
- position: absolute;
38
38
  top: 60px;
39
39
  left: 60px;
40
40
  padding-right: 20px;
@@ -83,21 +83,6 @@
83
83
  }
84
84
  }
85
85
 
86
- > * {
87
- &:not(a) {
88
- @include phablet {
89
- display: inline-block;
90
- vertical-align: top;
91
- }
92
- }
93
-
94
- &:not(a, i) {
95
- @include phablet {
96
- width: calc(100% - ($status-message-icon-size + 25px));
97
- }
98
- }
99
- }
100
-
101
86
  > p {
102
87
  &:last-child {
103
88
  margin: 0;
@@ -2,7 +2,7 @@
2
2
  @include theme('background-color', 'color-tertiary-light', 'table-of-contents-background-color');
3
3
  @include medium-text;
4
4
  padding: 1.5rem;
5
- container-type: inline-size; // sass-lint:disable-line no-misspelled-properties
5
+ container-type: inline-size;
6
6
 
7
7
  h4 {
8
8
  margin-top: 0;
@@ -37,8 +37,8 @@
37
37
  a,
38
38
  a[href^="mailto:"],
39
39
  a[download],
40
- a[href^="http://"],
41
- a[href^="https://"] {
40
+ a[href^="http://"]:not([href*="gent.be"]),
41
+ a[href^="https://"]:not([href*="gent.be"]) {
42
42
  @include reset-link-background;
43
43
  @include theme('color', 'color-tertiary', 'default-text-color');
44
44
 
@@ -27,9 +27,14 @@
27
27
  span {
28
28
  @include icon('calendar');
29
29
 
30
+ display: flex;
31
+ flex-wrap: wrap;
32
+ align-items: center;
33
+ line-height: 1;
34
+
30
35
  &::before {
31
36
  position: relative;
32
- top: 6px;
37
+ margin-right: 5px;
33
38
  font-size: 1.2rem;
34
39
  }
35
40
  }
@@ -44,17 +49,17 @@
44
49
  }
45
50
  }
46
51
 
47
- .teaser-links {
48
- margin: 20px 0;
49
- list-style-type: none;
52
+ ul {
53
+ margin: 20px 0 20px 20px;
54
+ }
50
55
 
51
- li {
52
- @include medium-text();
53
- }
56
+ .teaser-links,
57
+ ol {
58
+ margin: 20px 0;
59
+ }
54
60
 
55
- a {
56
- @include normal-text();
57
- }
61
+ .teaser-links {
62
+ list-style-type: none;
58
63
  }
59
64
 
60
65
  a.read-more {
@@ -93,15 +98,26 @@
93
98
  order: 1;
94
99
 
95
100
  .tags-label-wrapper {
101
+ display: flex;
96
102
  position: absolute;
97
103
  top: -15px;
98
104
  left: 20px;
105
+ flex-direction: row;
106
+ flex-wrap: wrap;
99
107
  margin: 0;
108
+ padding: 0 20px 0 0;
100
109
  z-index: 3;
101
110
 
102
- .label ~ .tag-list-wrapper {
103
- top: -4px;
104
- margin-left: 5px;
111
+ .label {
112
+ margin: 0 10px 10px 0;
113
+ }
114
+
115
+ ul {
116
+ margin: 0;
117
+
118
+ > li {
119
+ margin: 0 10px 10px 0;
120
+ }
105
121
  }
106
122
 
107
123
  .tag-list-wrapper {
@@ -117,6 +133,7 @@
117
133
  order: 2;
118
134
  height: 100%;
119
135
  padding: 0 20px 20px;
136
+ font-size: .9rem;
120
137
 
121
138
  > i {
122
139
  float: left;
@@ -124,7 +141,7 @@
124
141
 
125
142
  &::before {
126
143
  display: block;
127
- font-size: 38px;
144
+ font-size: 1.9rem;
128
145
 
129
146
  @include phablet {
130
147
  margin-bottom: 20px;
@@ -143,13 +160,6 @@
143
160
  }
144
161
  }
145
162
  }
146
-
147
- p {
148
- @include theme('color', 'default-text-color', 'help-text-color');
149
- margin: 20px 0;
150
- font-size: .8rem;
151
- line-height: 1.4rem;
152
- }
153
163
  }
154
164
  }
155
165
 
@@ -160,7 +170,7 @@
160
170
  &.no-image,
161
171
  .teaser--no-images & {
162
172
  h3 {
163
- margin: 0;
173
+ margin: 0 0 20px;
164
174
  }
165
175
 
166
176
  .content__second {
@@ -182,7 +192,7 @@
182
192
  &.no-image,
183
193
  .teaser--no-images & {
184
194
  h3 {
185
- margin: 0;
195
+ margin: 0 0 20px;
186
196
  }
187
197
 
188
198
  .content__second {
@@ -201,8 +211,11 @@
201
211
  }
202
212
 
203
213
  .content__second {
214
+ display: flex;
204
215
  position: absolute;
205
216
  bottom: 0;
217
+ flex-direction: column;
218
+ align-items: flex-start;
206
219
  order: 1;
207
220
  width: 100%;
208
221
  height: auto;
@@ -217,12 +230,12 @@
217
230
  }
218
231
 
219
232
  .date {
220
- display: inline-block;
221
- margin: -6px 0 0;
233
+ margin: 0;
222
234
  z-index: 1;
223
235
 
224
236
  span {
225
237
  @include theme('background-color', 'color-none', 'heading-with-light-bg-background-color');
238
+
226
239
  padding: 5px 10px;
227
240
  line-height: 1.2;
228
241
  box-decoration-break: clone;
@@ -363,8 +376,8 @@
363
376
  @include bold-text;
364
377
 
365
378
  i {
366
- margin-right: .3rem;
367
- font-size: 1.5em;
379
+ margin-right: 6px;
380
+ font-size: 1.5rem;
368
381
  vertical-align: middle;
369
382
  }
370
383
  }
@@ -76,7 +76,7 @@
76
76
 
77
77
  .left {
78
78
  position: absolute;
79
- bottom: .1rem;
79
+ bottom: 3px;
80
80
  }
81
81
 
82
82
  h1 {
@@ -115,18 +115,16 @@
115
115
  }
116
116
 
117
117
  > .modal-content {
118
- margin-bottom: 30px;
119
-
120
118
  @include desktop {
119
+ margin-bottom: 30px;
121
120
  padding: 0;
122
121
  overflow: visible;
123
122
  }
124
123
  }
125
124
 
126
125
  > .modal-actions {
127
- margin-top: 10px;
128
-
129
126
  @include desktop {
127
+ margin-top: 10px;
130
128
  padding-right: 0;
131
129
  padding-left: 0;
132
130
  border: 0;
@@ -19,7 +19,7 @@
19
19
  max-width: $bp-max-content;
20
20
  padding-right: 0;
21
21
  padding-left: 0;
22
- gap: $grid-gutter-width; // sass-lint:disable-line no-misspelled-properties
22
+ gap: $grid-gutter-width;
23
23
  }
24
24
  }
25
25
 
@@ -130,6 +130,7 @@
130
130
  flex-wrap: wrap;
131
131
  align-items: center;
132
132
  padding: 20px;
133
+ gap: 20px;
133
134
 
134
135
  @media (min-width: $bp-max-content + 53px) {
135
136
  padding: 20px 0;
@@ -187,6 +188,7 @@
187
188
  /// Links in the footer should never have icons.
188
189
  ///
189
190
  [class*="cs--"] & a {
191
+ &[href^="http://"]:not(.no-icon):not(.tag),
190
192
  &[href^="https://"]:not(.no-icon):not(.tag) {
191
193
  margin-right: inherit;
192
194
 
@@ -17,8 +17,8 @@
17
17
 
18
18
  &,
19
19
  &[download]:not(.button),
20
- &[href^="http://"]:not(.button),
21
- &[href^="https://"]:not(.button) {
20
+ &[href^="http://"]:not(.button):not([href*="gent.be"]),
21
+ &[href^="https://"]:not(.button):not([href*="gent.be"]) {
22
22
  @include theme('background-color', 'color-quaternary--lighten-2', 'button-secondary-background');
23
23
  @include theme('color', 'color-zero', 'button-secondary-color');
24
24
 
@@ -3,7 +3,7 @@ $grid-gutter-width: $gutter-width;
3
3
  .form--multistep {
4
4
  display: flex;
5
5
  flex-direction: column;
6
- gap: $grid-gutter-width; // sass-lint:disable-line no-misspelled-properties
6
+ gap: $grid-gutter-width;
7
7
 
8
8
  @include desktop {
9
9
  display: flex;
@@ -1,14 +1,13 @@
1
- .programme {
2
- .programme__inner {
3
- @include theme('background-color', 'color-tertiary-light');
4
-
5
- padding: 24px;
1
+ .programme-wrapper {
2
+ @include theme('background-color', 'color-tertiary-light');
3
+ padding: 24px;
6
4
 
7
- @include desktop {
8
- padding: 120px 135px;
9
- }
5
+ @include desktop {
6
+ padding: 120px 135px;
10
7
  }
8
+ }
11
9
 
10
+ .programme {
12
11
  .read-more {
13
12
  font-size: .8rem;
14
13
  line-height: normal;
@@ -111,9 +111,9 @@
111
111
  a {
112
112
  &,
113
113
  &[download]:not(.button),
114
- &[href^="http://"]:not(.button),
115
- &[href^="https://"]:not(.button) {
116
- @include theme('background-color', 'color-quaternary--lighten-2', 'button-secondary-background');
114
+ &[href^="http://"]:not(.button):not([href*="gent.be"]),
115
+ &[href^="https://"]:not(.button):not([href*="gent.be"]) {
116
+ @include theme('background-color', 'button-secondary-background');
117
117
  }
118
118
  }
119
119
  }
@@ -171,8 +171,8 @@
171
171
  a {
172
172
  &,
173
173
  &[download]:not(.button),
174
- &[href^="http://"]:not(.button),
175
- &[href^="https://"]:not(.button) {
174
+ &[href^="http://"]:not(.button):not([href*="gent.be"]),
175
+ &[href^="https://"]:not(.button):not([href*="gent.be"]) {
176
176
  @include theme('color', 'color-zero');
177
177
  @include theme('background-color', 'color-none');
178
178
  }
@@ -322,9 +322,11 @@ dl.timeline {
322
322
  &.timeline-slot-reverse {
323
323
  .item {
324
324
  & > dd {
325
- padding-right: calc(#{$timeline-m-left-padding} + #{$timeline-m-right-padding});
326
- padding-left: calc(#{$gutter-width*.5});
327
- grid-area: right;
325
+ @include desktop {
326
+ padding-right: calc(#{$timeline-m-left-padding} + #{$timeline-m-right-padding});
327
+ padding-left: calc(#{$gutter-width*.5});
328
+ grid-area: right;
329
+ }
328
330
  }
329
331
 
330
332
  // Alternating timeline-slots get alternating styling (left/right).
@@ -512,6 +514,7 @@ dl.roadmap {
512
514
  display: block;
513
515
  width: $roadmap-img-mobile-size;
514
516
  height: $roadmap-img-mobile-size;
517
+ margin-top: 0;
515
518
  margin-bottom: 15px;
516
519
 
517
520
  @include desktop {
@@ -520,6 +523,7 @@ dl.roadmap {
520
523
  left: 0;
521
524
  width: $roadmap-img-desktop-size;
522
525
  height: $roadmap-img-desktop-size;
526
+ margin-top: 20px;
523
527
  }
524
528
  }
525
529
 
@@ -60,9 +60,9 @@
60
60
  // @todo: + .teasers
61
61
  & + .summary-box,
62
62
  & + .table-of-contents,
63
- & + .partner-block {
63
+ & + .partner-block,
64
+ & + p {
64
65
  @include col(12);
65
-
66
66
  margin-top: -150px;
67
67
 
68
68
  @include tablet {
@@ -70,10 +70,13 @@
70
70
  }
71
71
  }
72
72
 
73
- + .partner-block {
73
+ + .partner-block,
74
+ + p {
75
+ position: relative;
74
76
  max-width: 100%;
75
77
  padding: 20px;
76
78
  background-color: color('white');
79
+ z-index: 1;
77
80
 
78
81
  @include tablet {
79
82
  padding: 60px;
@@ -91,8 +94,8 @@
91
94
  margin-bottom: 60px;
92
95
 
93
96
  @include desktop {
94
- margin-top: 120px;
95
- margin-bottom: 120px;
97
+ margin-top: 100px;
98
+ margin-bottom: 100px;
96
99
  }
97
100
  }
98
101
 
@@ -173,7 +176,8 @@
173
176
 
174
177
  .w12,
175
178
  > .timeline-wrapper,
176
- > .programme-wrapper {
179
+ > .programme-wrapper,
180
+ > .roadmap-wrapper {
177
181
  @include col(12);
178
182
  @include extra-wide;
179
183
  }
@@ -6,7 +6,7 @@ $grid-gutter-width: 65px;
6
6
  display: flex;
7
7
  flex-wrap: wrap;
8
8
  margin: 70px auto 80px;
9
- gap: $grid-gutter-width; // sass-lint:disable-line no-misspelled-properties
9
+ gap: $grid-gutter-width;
10
10
 
11
11
  .sidebar {
12
12
  @include desktop {
@@ -16,17 +16,17 @@
16
16
 
17
17
  .overview-layout {
18
18
  @extend %content-container;
19
- margin-bottom: 4rem;
19
+ margin-bottom: 80px;
20
20
 
21
21
  > .content-header-container {
22
- margin-right: -1rem;
23
- margin-left: -1rem;
22
+ margin-right: -20px;
23
+ margin-left: -20px;
24
24
 
25
25
  @include tablet {
26
- width: calc(100% + 6.75rem * 2);
27
- margin-left: -6.75rem;
28
- padding-right: 6.75rem;
29
- padding-left: 6.75rem;
26
+ width: calc(100% + 135px * 2);
27
+ margin-left: -135px;
28
+ padding-right: 135px;
29
+ padding-left: 135px;
30
30
  }
31
31
 
32
32
  &:not(.image) {
@@ -38,22 +38,22 @@
38
38
  @include col(12);
39
39
 
40
40
  position: relative;
41
- margin-top: -7.5rem;
41
+ margin-top: -150px;
42
42
  z-index: 1;
43
43
 
44
44
  @include tablet {
45
- margin-top: -6rem;
45
+ margin-top: -120px;
46
46
  }
47
47
  }
48
48
 
49
49
  + .partner-block,
50
50
  + p {
51
51
  max-width: 100%;
52
- padding: 1rem;
52
+ padding: 20px;
53
53
  background-color: color('white');
54
54
 
55
55
  @include tablet {
56
- padding: 3rem;
56
+ padding: 60px;
57
57
  }
58
58
  }
59
59
  }
@@ -4,7 +4,7 @@
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
6
  margin-bottom: 4rem;
7
- gap: $grid-gutter-width; // sass-lint:disable-line no-misspelled-properties
7
+ gap: $grid-gutter-width;
8
8
 
9
9
  .sidebar {
10
10
  width: 100%;
@@ -10,8 +10,8 @@
10
10
  @import "31-molecules/feature-block/_feature-block.scss";
11
11
  @import "31-molecules/file-download/_file-download.scss";
12
12
  @import "31-molecules/file-upload/_file-upload.scss";
13
- @import "31-molecules/form-actions/_form-actions.scss";
14
13
  @import "31-molecules/form-item/_form-item.scss";
14
+ @import "31-molecules/form-actions/_form-actions.scss";
15
15
  @import "31-molecules/form-row/_form-row.scss";
16
16
  @import "31-molecules/form-steps/_form-steps.scss";
17
17
  @import "31-molecules/gentinfo/_gentinfo.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gent_styleguide",
3
- "version": "6.0.0-beta2",
3
+ "version": "6.0.0-beta21",
4
4
  "description": "Styleguide Stad.Gent",
5
5
  "devDependencies": {
6
6
  "@babel/core": "^7.20.12",