gent_styleguide 6.0.0-alpha21 → 6.0.0-alpha22

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 (25) 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-settings/_vars.scss +0 -1
  7. package/build/styleguide/sass/11-base/fonts/_icons.scss +1 -0
  8. package/build/styleguide/sass/21-atoms/button/_button.scss +14 -16
  9. package/build/styleguide/sass/21-atoms/link/_link.scss +5 -7
  10. package/build/styleguide/sass/21-atoms/list/_list.scss +10 -29
  11. package/build/styleguide/sass/21-atoms/pubdate/_pubdate.scss +8 -2
  12. package/build/styleguide/sass/21-atoms/tag/_tag.scss +15 -11
  13. package/build/styleguide/sass/31-molecules/main-menu/_main-menu.scss +3 -15
  14. package/build/styleguide/sass/31-molecules/partner-block/_partner-block.scss +8 -0
  15. package/build/styleguide/sass/31-molecules/teaser/_teaser.scss +6 -1
  16. package/build/styleguide/sass/41-organisms/content-header/_content-header.scss +37 -32
  17. package/build/styleguide/sass/41-organisms/footer/_footer.scss +41 -22
  18. package/build/styleguide/sass/41-organisms/footer/css/_gentinfo_island.scss +0 -1
  19. package/build/styleguide/sass/41-organisms/footer/css/_social-list.scss +0 -4
  20. package/build/styleguide/sass/41-organisms/header/_header.scss +3 -3
  21. package/build/styleguide/sass/41-organisms/theme-footer/_theme-footer.scss +39 -26
  22. package/build/styleguide/sass/61-layouts/detail-layout/_detail-layout.scss +33 -27
  23. package/build/styleguide/sass/molecules.scss +0 -1
  24. package/package.json +2 -4
  25. package/build/styleguide/sass/31-molecules/mijn-gent-block/_authentication.scss +0 -154
@@ -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
  }
@@ -3,7 +3,7 @@
3
3
  header.header {
4
4
  position: relative;
5
5
  margin-bottom: .3rem;
6
- padding: .3rem 0;
6
+ padding: 20px 0;
7
7
 
8
8
  // first row
9
9
  > .content-container {
@@ -44,7 +44,6 @@ header.header {
44
44
 
45
45
  input[type=submit] {
46
46
  max-width: 0;
47
- padding: 0;
48
47
  transition: opacity .2s ease-in-out, max-width .2s ease-in-out, padding .2s ease-in-out, background-size .3s;
49
48
  box-shadow: none;
50
49
  opacity: 0;
@@ -76,7 +75,8 @@ header.header {
76
75
 
77
76
  ~ input[type=submit] {
78
77
  max-width: 9999px;
79
- padding: 0 1rem;
78
+ padding-right: 15px;
79
+ padding-left: 15px;
80
80
  opacity: 1;
81
81
  }
82
82
 
@@ -29,7 +29,6 @@
29
29
  height: 10rem;
30
30
  }
31
31
 
32
- + .newsletter,
33
32
  + .social,
34
33
  + .contact {
35
34
  padding-top: 0;
@@ -38,25 +37,36 @@
38
37
  padding-top: 2.4rem;
39
38
  }
40
39
  }
40
+
41
+
42
+
43
+ + .newsletter {
44
+ padding: 40px 30px;
45
+
46
+ @include tablet {
47
+ padding: 60px 70px;
48
+ }
49
+ }
41
50
  }
42
51
 
43
52
  .contact {
44
- @include medium-text;
53
+ @include medium-text();
45
54
  margin-right: auto;
46
55
 
47
56
  @include desktop {
48
- padding-right: 2rem;
57
+ padding-right: 40px;
49
58
  }
50
59
 
51
60
  h3 {
52
- margin-bottom: 1.5rem;
61
+ margin-bottom: 30px;
53
62
  }
54
63
 
55
64
  .icon-list {
65
+ @include medium-text();
56
66
  margin: 0;
57
67
 
58
68
  @include desktop {
59
- column-gap: gutter();
69
+ column-gap: gutter() * 2;
60
70
  column-count: 2;
61
71
  }
62
72
 
@@ -73,7 +83,6 @@
73
83
 
74
84
  &:only-child .icon-list {
75
85
  @include tablet {
76
- column-gap: gutter();
77
86
  column-count: 2;
78
87
  }
79
88
  }
@@ -82,7 +91,7 @@
82
91
  .social {
83
92
  @include tablet {
84
93
  flex-shrink: 0;
85
- width: 19.3rem;
94
+ width: 386px;
86
95
 
87
96
  &:only-child {
88
97
  width: auto;
@@ -92,12 +101,12 @@
92
101
  h4 {
93
102
  max-width: 100%;
94
103
  margin-top: 0;
95
- margin-bottom: .5rem;
104
+ margin-bottom: 10px;
96
105
  }
97
106
 
98
107
  .social-list {
99
108
  ul {
100
- width: calc(100% + 1rem);
109
+ width: calc(100% + 20px);
101
110
 
102
111
  a {
103
112
  &,
@@ -115,10 +124,10 @@
115
124
  @include medium-text;
116
125
  flex-grow: 1;
117
126
  max-width: 768px;
118
- padding: 1.5rem;
127
+ padding: 30px;
119
128
 
120
129
  @include desktop {
121
- padding: 3rem 3.5rem;
130
+ padding: 60px 70px;
122
131
  }
123
132
 
124
133
  .subscribe {
@@ -126,30 +135,30 @@
126
135
  max-width: calc(#{$bp-max-content} / 12 * 5);
127
136
  }
128
137
 
129
- a.standalone-link {
130
- top: .5rem;
138
+ .more-link {
139
+ margin-top: 20px;
131
140
  }
132
141
 
133
142
  &:not(:last-child) {
134
- padding-bottom: 5.4rem;
143
+ padding-bottom: 108px;
135
144
 
136
145
  @include desktop {
137
- padding-right: 6rem;
138
- padding-bottom: 3rem;
146
+ padding-right: 120px;
147
+ padding-bottom: 60px;
139
148
  }
140
149
  }
141
150
 
142
151
  + .social {
143
152
  @include theme('background-color', 'color-tertiary-pastel', 'theme-footer-social-background');
144
153
 
145
- max-height: 11.5rem;
146
- margin: -3rem 1rem 0;
147
- padding: 1.5rem;
154
+ max-height: 230px;
155
+ margin: -60px 20px 0;
156
+ padding: 30px;
148
157
 
149
158
  .social-list {
150
159
  ul {
151
- width: calc(100% + 1rem);
152
- margin: 0 -.25rem;
160
+ width: calc(100% + 20px);
161
+ margin: 0 -5px;
153
162
 
154
163
  a {
155
164
  &,
@@ -164,18 +173,18 @@
164
173
  }
165
174
 
166
175
  @include tablet {
167
- margin: -3rem auto 0;
168
- padding: 3.35rem;
176
+ margin: -60px auto 0;
177
+ padding: 67px;
169
178
  }
170
179
 
171
180
  @include desktop {
172
- margin: 3rem 0 0 -3.5rem;
181
+ margin: 60px 0 0 -70px;
173
182
  }
174
183
  }
175
184
  }
176
185
 
177
186
  .content-container {
178
- padding: 0 1rem;
187
+ padding: 0 20px;
179
188
 
180
189
  @media (min-width: $bp-max-content + 54px) {
181
190
  padding-right: 0;
@@ -197,7 +206,11 @@
197
206
 
198
207
  .top {
199
208
  & ~ .bottom {
200
- margin-top: 3.6rem;
209
+ margin-top: 12px;
210
+
211
+ @include tablet {
212
+ margin-top: 72px;
213
+ }
201
214
  }
202
215
  }
203
216
 
@@ -14,21 +14,21 @@
14
14
  }
15
15
 
16
16
  > .content-header-container {
17
- margin-right: -1rem;
18
- margin-left: -1rem;
17
+ margin-right: -20px;
18
+ margin-left: -20px;
19
19
 
20
20
  @include tablet {
21
- width: calc(100% + 6.75rem * 2);
22
- margin-left: -6.75rem;
23
- padding-right: 6.75rem;
24
- padding-left: 6.75rem;
21
+ width: calc(100% + 135px * 2);
22
+ margin-left: -135px;
23
+ padding-right: 135px;
24
+ padding-left: 135px;
25
25
  }
26
26
 
27
27
  &.accolade-title {
28
28
  @include tablet {
29
29
  // Set max width because the absolute title gets out of boundary.
30
30
  .left {
31
- max-width: calc(100% - (6.75rem * 2 + 1rem));
31
+ max-width: calc(100% - (135px * 2 + 20px));
32
32
  }
33
33
  }
34
34
  }
@@ -42,15 +42,15 @@
42
42
  &.image {
43
43
  & + .summary-box,
44
44
  & + .table-of-contents {
45
- margin: 1rem 0 2rem;
45
+ margin: 20px 0 40px;
46
46
 
47
47
  @include tablet {
48
- margin: 8rem 0 2rem;
48
+ margin: 120px 0 40px;
49
49
  }
50
50
 
51
51
  @include desktop {
52
- max-width: calc($bp-max-content - 28.5rem - 3rem);
53
- margin: -12.8rem 0 5rem;
52
+ max-width: calc($bp-max-content - 570px - 60px);
53
+ margin: -256px 0 100px;
54
54
  }
55
55
  }
56
56
  }
@@ -62,20 +62,20 @@
62
62
  & + .partner-block {
63
63
  @include set-layout('width-12');
64
64
 
65
- margin-top: -7.5rem;
65
+ margin-top: -150px;
66
66
 
67
67
  @include tablet {
68
- margin-top: -6rem;
68
+ margin-top: -120px;
69
69
  }
70
70
  }
71
71
 
72
72
  + .partner-block {
73
73
  max-width: 100%;
74
- padding: 1rem;
74
+ padding: 20px;
75
75
  background-color: color('white');
76
76
 
77
77
  @include tablet {
78
- padding: 3rem;
78
+ padding: 60px;
79
79
  }
80
80
  }
81
81
  }
@@ -86,13 +86,13 @@
86
86
  > aside,
87
87
  > article,
88
88
  > nav {
89
- margin-top: 3rem;
90
- margin-bottom: 3rem;
89
+ margin-top: 60px;
90
+ margin-bottom: 60px;
91
91
  }
92
92
 
93
93
  > ul,
94
94
  > ol {
95
- padding-left: 1rem;
95
+ padding-left: 20px;
96
96
  }
97
97
 
98
98
  .w9-o1 {
@@ -110,7 +110,7 @@
110
110
  }
111
111
 
112
112
  > .highlight {
113
- margin-bottom: 4.5rem;
113
+ margin-bottom: 90px;
114
114
  }
115
115
 
116
116
  > ul.accordion {
@@ -123,6 +123,12 @@
123
123
  }
124
124
  }
125
125
 
126
+ > .partner-block {
127
+ @include desktop {
128
+ @include set-layout();
129
+ }
130
+ }
131
+
126
132
  > .quote-wrapper {
127
133
  @include desktop {
128
134
  @include set-layout();
@@ -154,8 +160,8 @@
154
160
  .readspeaker-button {
155
161
  display: block;
156
162
  width: auto;
157
- margin-top: -.4rem;
158
- margin-bottom: 2rem;
163
+ margin-top: -8px;
164
+ margin-bottom: 40px;
159
165
  }
160
166
 
161
167
  .openinghours-widget[data-type="month"] {
@@ -173,7 +179,7 @@
173
179
  }
174
180
  }
175
181
 
176
- $bulb-image-width: 6rem;
182
+ $bulb-image-width: 120px;
177
183
 
178
184
  aside.top,
179
185
  aside.bottom {
@@ -182,17 +188,17 @@ aside.bottom {
182
188
  > * {
183
189
  @include theme('border-color', 'color-primary--lighten-4', 'more-info-block-border-color');
184
190
 
185
- padding-top: 3rem;
191
+ padding-top: 60px;
186
192
  border-top: 2px solid;
187
193
 
188
194
  @include tablet {
189
- padding-top: 2rem;
195
+ padding-top: 40px;
190
196
  }
191
197
 
192
198
  @include desktop {
193
199
  @include set-layout();
194
200
  width: 100%;
195
- margin-bottom: 2rem;
201
+ margin-bottom: 40px;
196
202
  margin-left: 0;
197
203
  padding-right: span(2 wide of 12);
198
204
  padding-left: span(2 wide of 12);
@@ -207,7 +213,7 @@ aside.bottom {
207
213
 
208
214
  aside.top {
209
215
  position: relative;
210
- margin: 5rem auto 0;
216
+ margin: 100px auto 0;
211
217
 
212
218
  > div:first-child {
213
219
  &::before {
@@ -215,7 +221,7 @@ aside.top {
215
221
 
216
222
  display: block;
217
223
  position: relative;
218
- margin: (-$bulb-image-width) auto 1rem;
224
+ margin: (-$bulb-image-width) auto 20px;
219
225
  z-index: z('default');
220
226
 
221
227
  @include tablet {
@@ -18,7 +18,6 @@
18
18
  @import "31-molecules/highlight/_highlight.scss";
19
19
  @import "31-molecules/language-switcher/_language-switcher.scss";
20
20
  @import "31-molecules/main-menu/_main-menu.scss";
21
- @import "31-molecules/mijn-gent-block/_authentication.scss";
22
21
  @import "31-molecules/modal/_modal.scss";
23
22
  @import "31-molecules/opening-hours/_opening-hours.scss";
24
23
  @import "31-molecules/pagination/_pagination.scss";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gent_styleguide",
3
- "version": "6.0.0-alpha21",
3
+ "version": "6.0.0-alpha22",
4
4
  "description": "Styleguide Stad.Gent",
5
5
  "devDependencies": {
6
6
  "@babel/core": "^7.20.12",
@@ -41,9 +41,7 @@
41
41
  "Jeroen Goossens",
42
42
  "Gert-Jan Meire",
43
43
  "Helena Standaert",
44
- "Bart Delrue",
45
- "Lennart Van Vaerenbergh",
46
- "Sven Vandevenne"
44
+ "Bart Delrue"
47
45
  ],
48
46
  "license": "GPL-2.0",
49
47
  "optionalDependencies": {