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
@@ -63,7 +63,6 @@ $border-radius: (
63
63
  $z-layers: (
64
64
  'default': 1,
65
65
  'skiplink': 5,
66
- 'mijn-gent': 6,
67
66
  'language-switcher': 6,
68
67
  'boxes': (
69
68
  'spotimage': 1
@@ -28,6 +28,7 @@ $id: random(1000);
28
28
  font-size: 1.2rem;
29
29
  font-variant: normal;
30
30
  font-weight: normal;
31
+ line-height: 100%;
31
32
  speak: none; // only necessary if not using the private unicode range (firstGlyph option)
32
33
  text-decoration: none;
33
34
  text-transform: none;
@@ -16,7 +16,9 @@
16
16
  /// @author Gert-Jan Meire
17
17
  ///
18
18
  @mixin button-small {
19
- @include small-text;
19
+ @include medium-text();
20
+ padding: 4px 10px;
21
+ line-height: 175%;
20
22
  }
21
23
 
22
24
  ///
@@ -28,9 +30,8 @@
28
30
  /// @author Gert-Jan Meire
29
31
  ///
30
32
  @mixin button-medium {
31
- @include medium-text;
32
-
33
- padding: 10px 15px;
33
+ @include medium-text();
34
+ line-height: 175%;
34
35
  }
35
36
 
36
37
  ///
@@ -42,12 +43,12 @@
42
43
  /// @author Gert-Jan Meire
43
44
  ///
44
45
  @mixin button-large {
45
- @include large-text;
46
-
46
+ @include large-text();
47
47
  padding: 10px 20px;
48
+ line-height: 177.778%;
48
49
 
49
50
  &::before {
50
- font-size: .9rem;
51
+ font-size: 1.5rem;
51
52
  }
52
53
  }
53
54
 
@@ -61,13 +62,13 @@
61
62
  /// @author Thomas De Vriese
62
63
  ///
63
64
  @mixin button-extra-large {
64
- @include extra-large-text;
65
+ @include large-text();
65
66
 
66
- padding: 10px 26px;
67
- line-height: 1.7;
67
+ padding: 25px 26px;
68
+ line-height: 177.778%;
68
69
 
69
70
  &::before {
70
- font-size: 1.44rem;
71
+ font-size: 1.5rem;
71
72
  }
72
73
  }
73
74
 
@@ -107,7 +108,7 @@
107
108
  @include button-medium; // Default.
108
109
  @include bold-text;
109
110
 
110
- padding: 10px;
111
+ padding: 8px 15px;
111
112
  font-family: $default-font-family;
112
113
  text-align: center;
113
114
  cursor: pointer;
@@ -189,21 +190,18 @@
189
190
  position: relative;
190
191
  align-items: center;
191
192
  justify-content: space-between;
192
- padding: 6px 10px;
193
- line-height: 1.4rem;
194
193
  text-align: left;
195
194
 
196
195
  // Padding fix specificly for IE11.
197
196
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { // sass-lint:disable-line no-vendor-prefixes
198
197
  padding: .3em .8em 0 1.2em;
199
- line-height: 1.6;
200
198
  }
201
199
 
202
200
  &::before {
203
201
  order: 1;
204
202
  margin-left: 8px;
205
203
  float: right; // Fix for IE11 flex order property.
206
- line-height: 1.2rem;
204
+ font-size: 1.2rem;
207
205
  }
208
206
  }
209
207
 
@@ -75,7 +75,7 @@ a {
75
75
 
76
76
  &:not(.button):not(.tag)::after {
77
77
  position: absolute;
78
- top: -5px;
78
+ margin-top: 4px;
79
79
  margin-left: 5px;
80
80
  }
81
81
 
@@ -90,6 +90,10 @@ a {
90
90
  &:hover {
91
91
  @include theme('color', 'color-primary--darken-2', 'link-hover-color');
92
92
  }
93
+
94
+ &::after {
95
+ margin-top: 2px;
96
+ }
93
97
  }
94
98
 
95
99
  &.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not(.back),
@@ -101,7 +105,6 @@ a {
101
105
  &.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not(.back) {
102
106
  @include icon(arrow-right, after);
103
107
  margin-right: 1.6rem;
104
- white-space: nowrap;
105
108
  }
106
109
 
107
110
  ///
@@ -110,7 +113,6 @@ a {
110
113
  &[download]:not(.no-icon) {
111
114
  @include icon(download, after);
112
115
  margin-right: 1.6rem;
113
- white-space: nowrap;
114
116
  }
115
117
 
116
118
  ///
@@ -119,7 +121,6 @@ a {
119
121
  &[href^="mailto:"]:not(.no-icon) {
120
122
  @include icon(envelope, after);
121
123
  margin-right: 1.6rem;
122
- white-space: nowrap;
123
124
  }
124
125
 
125
126
  ///
@@ -128,7 +129,6 @@ a {
128
129
  &[href^="tel:"]:not(.no-icon) {
129
130
  @include icon(phone, after);
130
131
  margin-right: 1.6rem;
131
- white-space: nowrap;
132
132
  }
133
133
 
134
134
  ///
@@ -138,7 +138,6 @@ a {
138
138
  &[href^="https://"]:not(.no-icon):not(.tag) {
139
139
  @include icon(arrow-right-top, after);
140
140
  margin-right: 1.6rem;
141
- white-space: nowrap;
142
141
 
143
142
  &[download]:not(.button):not(.no-icon) {
144
143
  @include icon(download, after);
@@ -150,7 +149,6 @@ a {
150
149
  @include icon(arrow-left, after);
151
150
  margin-left: 1.6rem;
152
151
  padding-left: 0;
153
- white-space: nowrap;
154
152
 
155
153
  &::after {
156
154
  position: absolute;
@@ -62,7 +62,7 @@ ol {
62
62
 
63
63
  li:not(:last-of-type)::after {
64
64
  display: inline;
65
- padding: 0 .2rem 0 0;
65
+ padding: 0 4px 0 0;
66
66
  content: ',';
67
67
  }
68
68
 
@@ -73,11 +73,10 @@ ol {
73
73
  }
74
74
 
75
75
  ul {
76
- margin-left: 1rem;
76
+ margin-left: 20px;
77
77
  list-style-type: square;
78
78
 
79
- &.checkmark-list,
80
- &.checkmark-list-small {
79
+ &.checkmark-list {
81
80
  @extend %list-no-style;
82
81
 
83
82
  margin-left: 0;
@@ -86,27 +85,15 @@ ul {
86
85
  @include icon('checkmark');
87
86
 
88
87
  position: relative;
89
- padding-left: 1.6em;
88
+ padding-left: 32px;
90
89
 
91
90
  &::before {
92
91
  position: absolute;
93
92
  top: 0;
94
93
  left: 0;
95
- margin-left: -.2em;
94
+ margin-left: -4px;
96
95
  font-size: 1.6rem;
97
- line-height: 1.1;
98
- }
99
- }
100
- }
101
-
102
- &.checkmark-list-small {
103
- li {
104
- font-size: .8rem;
105
- line-height: 2.4;
106
-
107
- &::before {
108
- font-size: 1.2rem;
109
- line-height: 1.7;
96
+ line-height: 110%;
110
97
  }
111
98
  }
112
99
  }
@@ -114,26 +101,21 @@ ul {
114
101
  &.icon-list {
115
102
  @include large-text();
116
103
 
117
- margin: 0 0 2rem;
104
+ margin: 0 0 40px;
118
105
  list-style-type: none;
119
106
 
120
107
  &.inline {
121
108
  li {
122
109
  align-items: center;
123
- margin-right: .7rem;
110
+ margin-right: 13px;
124
111
  margin-bottom: 0;
125
-
126
- i {
127
- width: auto;
128
- margin-right: .2rem;
129
- }
130
112
  }
131
113
  }
132
114
 
133
115
  li {
134
116
  position: relative;
135
- margin-bottom: .8rem;
136
- padding-left: 1.6rem;
117
+ margin-bottom: 16px;
118
+ padding-left: 29px; // 24px icon size + 5px gutter.
137
119
  line-height: 1.5;
138
120
 
139
121
  &:last-child {
@@ -168,7 +150,6 @@ ul {
168
150
  position: absolute;
169
151
  top: 0;
170
152
  left: 0;
171
- font-size: 1.5em;
172
153
  line-height: 1;
173
154
  }
174
155
  }
@@ -1,8 +1,14 @@
1
1
  time[pubdate] {
2
2
  @include small-text();
3
+ @include theme('color', 'color-zero', 'default-text-color');
4
+ line-height: 1.71;
3
5
 
4
6
  h1 + & {
5
- margin-top: -1em;
6
- margin-bottom: 1em;
7
+ display: block;
8
+ margin-top: 30px;
9
+ }
10
+
11
+ .dark-background & {
12
+ @include theme('color', 'color-none', 'default-text-color-inverse');
7
13
  }
8
14
  }
@@ -5,24 +5,24 @@
5
5
  display: inline-flex;
6
6
  align-items: center;
7
7
  justify-content: space-between;
8
- padding: .7em .8em;
8
+ padding: 8px 15px;
9
9
  line-height: 1.1;
10
10
  text-decoration: none;
11
11
 
12
12
  &.filter {
13
- @include theme('background-color', 'color-quaternary--lighten-2', 'tag-filter-background-color');
13
+ @include theme('background-color', 'color-tertiary-pastel', 'button-secondary-background');
14
14
 
15
- padding-top: .4em;
16
- padding-bottom: .4em;
15
+ padding-top: 3px;
16
+ padding-bottom: 3px;
17
17
 
18
18
  &:hover button {
19
19
  @include theme('background-color', 'color-quaternary', 'tag-close-button-background-hover');
20
20
  }
21
21
 
22
22
  button {
23
- width: 1.1rem;
24
- height: 1.1rem;
25
- margin-left: .25rem;
23
+ width: 20px;
24
+ height: 20px;
25
+ margin-left: 5px;
26
26
  padding: 0;
27
27
  transition: background-color .2s ease-in-out;
28
28
  border: 0;
@@ -39,7 +39,7 @@ a.tag {
39
39
  @include theme('color', 'color-zero', 'tag-color');
40
40
  @include normal-text();
41
41
 
42
- padding: .4em .8em;
42
+ padding: 8px 15px;
43
43
  border: 0;
44
44
 
45
45
  &:not([class*=icon])::before {
@@ -49,12 +49,16 @@ a.tag {
49
49
  &:hover {
50
50
  @include theme('background-color', 'color-secondary--lighten-1', 'tag-hover-background');
51
51
  }
52
+
53
+ &::after {
54
+ margin-left: 5px;
55
+ }
52
56
  }
53
57
 
54
58
  span.tag {
55
59
  @include small-text();
56
60
 
57
- height: 1.5rem;
58
- padding-right: .5rem;
59
- padding-left: .5rem;
61
+ height: 30px;
62
+ padding-right: 10px;
63
+ padding-left: 10px;
60
64
  }
@@ -152,15 +152,9 @@ nav.menu {
152
152
  }
153
153
  }
154
154
 
155
- .authentication {
156
- padding: 1.2rem 0;
157
-
158
- .content {
159
- padding: 0;
160
- }
161
- }
162
-
163
155
  .language-switcher {
156
+ display: block;
157
+
164
158
  ul {
165
159
  display: flex;
166
160
  flex-wrap: wrap;
@@ -174,18 +168,12 @@ nav.menu {
174
168
  }
175
169
  }
176
170
 
177
- .authentication,
178
- .language-switcher {
179
- display: block;
180
- }
181
-
182
171
  .menu-links,
183
- .authentication,
184
172
  .language-switcher {
185
173
  margin: 0 1.2rem;
186
174
 
187
175
  &:not(:last-child) {
188
- @include theme('border-color', 'color-primary--lighten-4', 'mijn_gent-border-color');
176
+ @include theme('border-color', 'color-primary--lighten-4');
189
177
  border-bottom: 2px solid;
190
178
  }
191
179
  }
@@ -11,10 +11,18 @@
11
11
  &.partner__multiple {
12
12
  @include desktop {
13
13
  flex-direction: row;
14
+ align-items: stretch;
14
15
  justify-content: center;
15
16
  }
16
17
 
18
+ .partner-content {
19
+ display: flex;
20
+ align-items: center;
21
+ min-height: 100%;
22
+ }
23
+
17
24
  .intro {
25
+
18
26
  @include desktop {
19
27
  min-width: 17.5rem;
20
28
  }
@@ -109,7 +109,12 @@
109
109
  line-height: 1;
110
110
 
111
111
  &::before {
112
+ display: block;
112
113
  font-size: 38px;
114
+
115
+ @include phablet {
116
+ margin-bottom: 20px;
117
+ }
113
118
  }
114
119
 
115
120
  @include phablet {
@@ -178,7 +183,7 @@
178
183
  order: 1;
179
184
  width: 100%;
180
185
  height: auto;
181
- padding: 20px 50px 20px 20px;
186
+ padding: 20px 75px 20px 20px;
182
187
 
183
188
  h4 {
184
189
  margin: 0;
@@ -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
  }