gent_styleguide 6.0.0-beta21 → 6.0.0-beta23

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.
@@ -47,8 +47,14 @@
47
47
 
48
48
  line-height: initial;
49
49
 
50
- &::after {
51
- content: none;
50
+ &,
51
+ &[href^="http://"],
52
+ &[href^="https://"] {
53
+ &:not(.no-icon):not(.tag) {
54
+ &::after {
55
+ content: '';
56
+ }
57
+ }
52
58
  }
53
59
  }
54
60
 
@@ -73,29 +73,16 @@
73
73
  }
74
74
 
75
75
  li {
76
- flex: 1 1 calc(100% / 2 - 60px);
77
- width: calc(100% /2);
78
- min-width: 70px;
79
- max-width: 150px;
76
+ width: auto;
77
+ height: 100px;
80
78
  margin: 0;
81
-
82
- @include tablet {
83
- flex-basis: calc(100% / 3 - 60px);
84
- flex-grow: 0;
85
- width: calc(100% / 3);
86
- }
87
-
88
- @include desktop {
89
- flex-basis: calc(100% / 4 - 60px);
90
- width: calc(100% / 4);
91
- min-width: 100px;
92
- max-width: 200px;
93
- }
94
79
  }
95
80
  }
96
81
 
97
82
  a {
98
83
  display: block;
84
+ width: auto;
85
+ height: 100%;
99
86
  border: 0;
100
87
 
101
88
  &[href^="http://"]:not([href*="gent.be"]),
@@ -108,6 +95,8 @@
108
95
 
109
96
  figure,
110
97
  img {
98
+ width: auto;
111
99
  max-width: 100%;
100
+ height: 100%;
112
101
  }
113
102
  }
@@ -286,7 +286,6 @@ dl.timeline {
286
286
  @include desktop {
287
287
  padding-right: calc(#{$timeline-dt-left-padding} + #{$timeline-dt-right-padding});
288
288
  padding-left: calc(#{$gutter-width*.5});
289
- text-align: right;
290
289
  grid-area: left;
291
290
 
292
291
  .timeline-slot-title {
@@ -310,6 +309,11 @@ dl.timeline {
310
309
  }
311
310
  }
312
311
 
312
+ .timeline-slot-title button,
313
+ .timeline-slot-date {
314
+ text-align: right;
315
+ }
316
+
313
317
  &::after {
314
318
  display: none;
315
319
  }
@@ -367,7 +371,6 @@ dl.timeline {
367
371
  @include desktop {
368
372
  padding-right: calc(#{$timeline-dt-left-padding} + #{$timeline-dt-right-padding});
369
373
  padding-left: calc(#{$gutter-width*.5});
370
- text-align: right;
371
374
  grid-area: left;
372
375
 
373
376
  .timeline-slot-title {
@@ -391,6 +394,11 @@ dl.timeline {
391
394
  }
392
395
  }
393
396
 
397
+ .timeline-slot-title button,
398
+ .timeline-slot-date {
399
+ text-align: right;
400
+ }
401
+
394
402
  &::after {
395
403
  display: none;
396
404
  }
@@ -409,6 +417,24 @@ dl.timeline {
409
417
  &::after {
410
418
  bottom: calc(100% - $gutter-width*.5);
411
419
  }
420
+
421
+ .timeline-slot-title {
422
+ &::after {
423
+ @include theme('border-color', 'color-tertiary-pastel', 'timeline-line-color');
424
+
425
+ position: absolute;
426
+ top: 0;
427
+ right: calc(100% + 24px);
428
+ bottom: 50%;
429
+ border-left: $timeline-border solid;
430
+ content: '';
431
+ z-index: 0;
432
+
433
+ @include desktop {
434
+ right: calc(100% + $timeline-dt-right-padding - $timeline-border/2);
435
+ }
436
+ }
437
+ }
412
438
  }
413
439
 
414
440
  &:first-of-type {
@@ -131,20 +131,22 @@
131
131
  }
132
132
  }
133
133
 
134
- > .partner-block {
134
+ > .quote-wrapper,
135
+ > .partner-block,
136
+ > .roadmap-wrapper,
137
+ > .programme-wrapper,
138
+ > .timeline-wrapper {
135
139
  @include desktop {
136
140
  @include col(12);
141
+
142
+ padding: 0;
137
143
  }
138
144
  }
139
145
 
140
146
  > .quote-wrapper {
141
- @include desktop {
142
- @include col(12);
143
-
144
- > .quote {
145
- @include col(7);
146
- @include col-offset(4);
147
- }
147
+ > .quote {
148
+ @include col(7);
149
+ @include col-offset(4);
148
150
  }
149
151
  }
150
152
 
@@ -174,10 +176,7 @@
174
176
  @include col(12);
175
177
  }
176
178
 
177
- .w12,
178
- > .timeline-wrapper,
179
- > .programme-wrapper,
180
- > .roadmap-wrapper {
179
+ .w12 {
181
180
  @include col(12);
182
181
  @include extra-wide;
183
182
  }
@@ -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-item/_form-item.scss";
14
13
  @import "31-molecules/form-actions/_form-actions.scss";
14
+ @import "31-molecules/form-item/_form-item.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-beta21",
3
+ "version": "6.0.0-beta23",
4
4
  "description": "Styleguide Stad.Gent",
5
5
  "devDependencies": {
6
6
  "@babel/core": "^7.20.12",