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
@@ -31,7 +31,7 @@
31
31
  &::after {
32
32
  display: block;
33
33
  position: relative;
34
- top: -1.1rem;
34
+ top: -1rem;
35
35
  left: .25rem;
36
36
  text-indent: 0;
37
37
  }
@@ -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
@@ -9,6 +9,7 @@
9
9
  }
10
10
 
11
11
  html {
12
+ height: 100%;
12
13
  background: color('white');
13
14
  font: $default-font-weight $default-font-size $default-font-family;
14
15
  line-height: $default-line-height;
@@ -25,6 +26,7 @@ body {
25
26
  }
26
27
 
27
28
  position: relative;
29
+ min-height: 100%;
28
30
  }
29
31
 
30
32
  ::selection {
@@ -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;
@@ -13,7 +13,7 @@ ol {
13
13
  margin: 0 0 10px;
14
14
 
15
15
  &:last-child {
16
- margin: 0;
16
+ margin-right: 0;
17
17
  }
18
18
  }
19
19
 
@@ -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
  }
@@ -6,9 +6,19 @@ a.site-logo {
6
6
  font-size: 0;
7
7
 
8
8
  &::before {
9
- @include spot-image('logo', 4rem);
10
- min-width: 4rem;
11
- height: 3rem;
9
+ @include spot-image('logo', 80px);
10
+ width: 63.3px;
11
+ height: 44px;
12
+
13
+ .is-frontpage & {
14
+ width: 63.3px;
15
+ height: 44px;
16
+
17
+ @include tablet {
18
+ width: 92px;
19
+ height: 64px;
20
+ }
21
+ }
12
22
  }
13
23
 
14
24
  &:hover,
@@ -23,7 +33,7 @@ a.site-logo {
23
33
 
24
34
  &::before {
25
35
  @include tablet {
26
- margin-right: .7rem;
36
+ margin-right: 14px;
27
37
  }
28
38
  }
29
39
  }
@@ -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
  }
@@ -1,4 +1,5 @@
1
1
  .breadcrumb {
2
+ margin: 0 0 20px;
2
3
  clear: both;
3
4
 
4
5
  ul,
@@ -12,6 +13,7 @@
12
13
  display: inline-flex;
13
14
  align-items: center;
14
15
  margin-right: .4rem;
16
+ margin-bottom: 0;
15
17
 
16
18
  &::before {
17
19
  display: none;
@@ -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
  }
@@ -3,13 +3,13 @@
3
3
  @include theme('background-color', 'color-info-light', 'info-message-background');
4
4
  @include theme('border-color', 'color-info', 'info-message-icon-color');
5
5
 
6
- $status-message-icon-size: 2.1rem;
6
+ $status-message-icon-size: 2rem;
7
7
 
8
8
  display: flex;
9
9
  position: relative;
10
10
  flex-direction: column;
11
- max-width: 40rem;
12
- margin-top: 1rem;
11
+ max-width: 970px;
12
+ margin-top: 20px;
13
13
  margin-right: 0;
14
14
  margin-bottom: 1rem;
15
15
  padding: 2rem;
@@ -24,10 +24,14 @@
24
24
  width: $status-message-icon-size;
25
25
  margin-right: 0;
26
26
  margin-bottom: 1rem;
27
- font-size: 2rem;
27
+ font-size: $status-message-icon-size;
28
28
  line-height: $status-message-icon-size;
29
29
  text-align: center;
30
30
 
31
+ &::before {
32
+ font-size: $status-message-icon-size;
33
+ }
34
+
31
35
  @include phablet {
32
36
  align-self: flex-start;
33
37
  }
@@ -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;