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.
- package/build/css/main.css +1 -1
- package/build/styleguide/fonts/gent-icons-v6.eot +0 -0
- package/build/styleguide/fonts/gent-icons-v6.svg +97 -73
- package/build/styleguide/fonts/gent-icons-v6.ttf +0 -0
- package/build/styleguide/fonts/gent-icons-v6.woff +0 -0
- package/build/styleguide/fonts/gent-icons-v6.woff2 +0 -0
- package/build/styleguide/img/iconfont/for-children.svg +6 -0
- package/build/styleguide/img/iconfont/music.svg +13 -0
- package/build/styleguide/img/iconfont/sign-language.svg +3 -0
- package/build/styleguide/img/iconfont/spoken-language.svg +3 -0
- package/build/styleguide/img/iconfont/threads.svg +3 -0
- package/build/styleguide/img/iconfont/tiktok.svg +3 -0
- package/build/styleguide/img/iconfont/uit-met-vlieg.svg +4 -0
- package/build/styleguide/img/iconfont/uitpas.svg +4 -0
- package/build/styleguide/js/accordion.functions-min.js +1 -1
- package/build/styleguide/js/accordion.functions.js +2 -2
- package/build/styleguide/sass/00-mixins/themify/_themify.scss +44 -0
- package/build/styleguide/sass/11-base/base/_base.scss +1 -8
- package/build/styleguide/sass/11-base/fonts/_icons.scss +121 -73
- package/build/styleguide/sass/11-base/grid/_grid.scss +1 -1
- package/build/styleguide/sass/11-base/grid/flexbox-grid/mixins/_grid-mixins.scss +1 -1
- package/build/styleguide/sass/21-atoms/heading/_heading.scss +51 -5
- package/build/styleguide/sass/21-atoms/heading/css/_background-title.scss +6 -6
- package/build/styleguide/sass/21-atoms/heading/css/_overview-title.scss +2 -0
- package/build/styleguide/sass/21-atoms/link/_link.scss +17 -13
- package/build/styleguide/sass/21-atoms/list/_list.scss +10 -2
- package/build/styleguide/sass/21-atoms/paragraph/_paragraph.scss +10 -0
- package/build/styleguide/sass/21-atoms/table/_table.scss +4 -4
- package/build/styleguide/sass/31-molecules/accordion/_accordion.scss +14 -4
- package/build/styleguide/sass/31-molecules/breadcrumbs/_breadcrumbs.scss +6 -5
- package/build/styleguide/sass/31-molecules/checkboxes-with-filter/_checkboxes-with-filter.scss +5 -0
- package/build/styleguide/sass/31-molecules/display-switcher/_display-switcher.scss +6 -0
- package/build/styleguide/sass/31-molecules/feature-block/_feature-block.scss +4 -2
- package/build/styleguide/sass/31-molecules/highlight/_highlight.scss +5 -0
- package/build/styleguide/sass/31-molecules/main-menu/_main-menu.scss +38 -47
- package/build/styleguide/sass/31-molecules/modal/_modal.scss +8 -10
- package/build/styleguide/sass/31-molecules/opening-hours/_opening-hours.scss +12 -10
- package/build/styleguide/sass/31-molecules/partner-block/_partner-block.scss +3 -3
- package/build/styleguide/sass/31-molecules/status-message/_status-message.scss +4 -19
- package/build/styleguide/sass/31-molecules/table-of-contents/_table-of-contents.scss +1 -1
- package/build/styleguide/sass/31-molecules/tabs/_tabs.scss +2 -2
- package/build/styleguide/sass/31-molecules/teaser/_teaser.scss +40 -27
- package/build/styleguide/sass/41-organisms/content-header/_content-header.scss +1 -1
- package/build/styleguide/sass/41-organisms/filter/_filter.scss +2 -4
- package/build/styleguide/sass/41-organisms/footer/_footer.scss +3 -1
- package/build/styleguide/sass/41-organisms/footer/css/_social-list.scss +2 -2
- package/build/styleguide/sass/41-organisms/multistep-form/_multistep-form.scss +1 -1
- package/build/styleguide/sass/41-organisms/programme/_programme.scss +7 -8
- package/build/styleguide/sass/41-organisms/theme-footer/_theme-footer.scss +5 -5
- package/build/styleguide/sass/41-organisms/timeline/_timeline.scss +7 -3
- package/build/styleguide/sass/61-layouts/detail-layout/_detail-layout.scss +10 -6
- package/build/styleguide/sass/61-layouts/filter-layout/_filter-layout.scss +1 -1
- package/build/styleguide/sass/61-layouts/overview-layout/_overview-layout.scss +11 -11
- package/build/styleguide/sass/61-layouts/sidebar-right-layout/_sidebar-right-layout.scss +1 -1
- package/build/styleguide/sass/molecules.scss +1 -1
- package/package.json +1 -1
|
@@ -15,8 +15,19 @@ h5,
|
|
|
15
15
|
%h5 {
|
|
16
16
|
@include bold-text;
|
|
17
17
|
|
|
18
|
+
margin-top: 40px;
|
|
18
19
|
font-style: normal;
|
|
19
20
|
|
|
21
|
+
&:first-child {
|
|
22
|
+
margin-top: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// If the heading is preceded by any empty first-child element, strip its top
|
|
26
|
+
// margin.
|
|
27
|
+
*:first-child:empty + & {
|
|
28
|
+
margin-top: 0;
|
|
29
|
+
}
|
|
30
|
+
|
|
20
31
|
button {
|
|
21
32
|
display: flex;
|
|
22
33
|
padding: 0;
|
|
@@ -37,23 +48,58 @@ h5,
|
|
|
37
48
|
h1,
|
|
38
49
|
.h1,
|
|
39
50
|
%h1 {
|
|
40
|
-
margin:
|
|
51
|
+
margin-bottom: 20px;
|
|
52
|
+
|
|
53
|
+
& + h2,
|
|
54
|
+
& + .h2 {
|
|
55
|
+
margin-top: 0;
|
|
56
|
+
}
|
|
41
57
|
}
|
|
42
58
|
|
|
43
59
|
h2,
|
|
44
60
|
.h2,
|
|
45
61
|
%h2 {
|
|
46
|
-
margin:
|
|
62
|
+
margin-bottom: 15px;
|
|
63
|
+
|
|
64
|
+
@include mobile {
|
|
65
|
+
margin-bottom: 20px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& + h3,
|
|
69
|
+
& + .h3 {
|
|
70
|
+
margin-top: 0;
|
|
71
|
+
}
|
|
47
72
|
}
|
|
48
73
|
|
|
49
74
|
h3,
|
|
50
75
|
.h3,
|
|
51
|
-
%h3
|
|
76
|
+
%h3 {
|
|
77
|
+
margin-bottom: 15px;
|
|
78
|
+
|
|
79
|
+
& + h4,
|
|
80
|
+
& + .h4 {
|
|
81
|
+
margin-top: 0;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
52
85
|
h4,
|
|
53
86
|
.h4,
|
|
54
|
-
%h4
|
|
87
|
+
%h4 {
|
|
88
|
+
margin-bottom: 15px;
|
|
89
|
+
|
|
90
|
+
& + h5,
|
|
91
|
+
& + .h5 {
|
|
92
|
+
margin-top: 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
55
96
|
h5,
|
|
56
97
|
.h5,
|
|
57
98
|
%h5 {
|
|
58
|
-
margin:
|
|
99
|
+
margin-bottom: 15px;
|
|
100
|
+
|
|
101
|
+
& + h6,
|
|
102
|
+
& + .h6 {
|
|
103
|
+
margin-top: 0;
|
|
104
|
+
}
|
|
59
105
|
}
|
|
@@ -11,21 +11,21 @@ h6,
|
|
|
11
11
|
.h5,
|
|
12
12
|
.h6 {
|
|
13
13
|
&[class*="bg-"] {
|
|
14
|
-
span {
|
|
15
|
-
padding: .
|
|
14
|
+
> span {
|
|
15
|
+
padding: 2.5px 10px;
|
|
16
16
|
box-decoration-break: clone;
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
&.bg-primary {
|
|
21
|
-
span {
|
|
21
|
+
> span {
|
|
22
22
|
@include theme('color', 'color-none', 'heading-with-bg-color');
|
|
23
23
|
@include theme('background-color', 'color-primary', 'heading-with-bg-background-color');
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
&.bg-none {
|
|
28
|
-
span {
|
|
28
|
+
> span {
|
|
29
29
|
@include theme('color', 'color-zero', 'heading-with-white-bg-color');
|
|
30
30
|
@include theme('background-color', 'color-none', 'heading-with-white-bg-background-color');
|
|
31
31
|
}
|
|
@@ -35,8 +35,8 @@ h6,
|
|
|
35
35
|
h1,
|
|
36
36
|
.h1 {
|
|
37
37
|
&[class^="bg-"] {
|
|
38
|
-
span {
|
|
39
|
-
padding:
|
|
38
|
+
> span {
|
|
39
|
+
padding: 3px 15px;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -9,6 +9,7 @@ a {
|
|
|
9
9
|
position: relative;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
word-wrap: break-word;
|
|
12
|
+
word-break: break-word;
|
|
12
13
|
|
|
13
14
|
&::before,
|
|
14
15
|
&::after {
|
|
@@ -49,8 +50,8 @@ a {
|
|
|
49
50
|
|
|
50
51
|
&[download] {
|
|
51
52
|
&:not(.no-icon):not(.tag),
|
|
52
|
-
&[href^="http://"],
|
|
53
|
-
&[href^="https://"] {
|
|
53
|
+
&[href^="http://"]:not([href*="gent.be"]),
|
|
54
|
+
&[href^="https://"]:not([href*="gent.be"]) {
|
|
54
55
|
@include button-icon;
|
|
55
56
|
@include icon(download, 'after');
|
|
56
57
|
|
|
@@ -72,8 +73,8 @@ a {
|
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
&.button:not(.no-icon):not([class^="icon-"]):not([download]) {
|
|
75
|
-
&[href^="http://"],
|
|
76
|
-
&[href^="https://"] {
|
|
76
|
+
&[href^="http://"]:not([href*="gent.be"]),
|
|
77
|
+
&[href^="https://"]:not([href*="gent.be"]) {
|
|
77
78
|
@include button-icon;
|
|
78
79
|
@include icon(arrow-right-top, 'after');
|
|
79
80
|
}
|
|
@@ -93,13 +94,16 @@ a {
|
|
|
93
94
|
|
|
94
95
|
}
|
|
95
96
|
|
|
96
|
-
&.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not(.back):not(.refresh),
|
|
97
|
-
&.button:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not([class*="icon-"])
|
|
97
|
+
&.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not([href*="gent.be"]):not(.back):not(.refresh),
|
|
98
|
+
&.button:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not([class*="icon-"]),
|
|
99
|
+
&.standalone-link[href*="gent.be"],
|
|
100
|
+
&.button[href*="gent.be"] {
|
|
98
101
|
@extend %a-arrow-animation;
|
|
99
102
|
}
|
|
100
103
|
|
|
101
104
|
|
|
102
|
-
&.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not(.back):not(.refresh)
|
|
105
|
+
&.standalone-link:not([href^="mailto:"]):not([href^="tel:"]):not([download]):not([href^="http://"]):not([href^="https://"]):not([href*="gent.be"]):not(.back):not(.refresh),
|
|
106
|
+
&.standalone-link[href*="gent.be"] {
|
|
103
107
|
@include icon(arrow-right, after);
|
|
104
108
|
}
|
|
105
109
|
|
|
@@ -127,8 +131,8 @@ a {
|
|
|
127
131
|
///
|
|
128
132
|
/// External links get an indicator.
|
|
129
133
|
///
|
|
130
|
-
&[href^="http://"]:not(.no-icon):not(.tag),
|
|
131
|
-
&[href^="https://"]:not(.no-icon):not(.tag) {
|
|
134
|
+
&[href^="http://"]:not(.no-icon):not(.tag):not([href*="gent.be"]),
|
|
135
|
+
&[href^="https://"]:not(.no-icon):not(.tag):not([href*="gent.be"]) {
|
|
132
136
|
@include icon(arrow-right-top, after);
|
|
133
137
|
|
|
134
138
|
&[download]:not(.button):not(.no-icon) {
|
|
@@ -273,8 +277,8 @@ a {
|
|
|
273
277
|
/// External links other than group Ghent get an indicator.
|
|
274
278
|
///
|
|
275
279
|
%a-remove-indicator {
|
|
276
|
-
&[href^="http://"],
|
|
277
|
-
&[href^="https://"] {
|
|
280
|
+
&[href^="http://"]:not([href*="gent.be"]),
|
|
281
|
+
&[href^="https://"]:not([href*="gent.be"]) {
|
|
278
282
|
&:not([download]):not(.standalone-link) {
|
|
279
283
|
margin-right: 0;
|
|
280
284
|
|
|
@@ -300,8 +304,8 @@ a {
|
|
|
300
304
|
}
|
|
301
305
|
|
|
302
306
|
&.button {
|
|
303
|
-
&[href^="http://"]:not(.no-icon),
|
|
304
|
-
&[href^="https://"]:not(.no-icon) {
|
|
307
|
+
&[href^="http://"]:not(.no-icon):not([href*="gent.be"]),
|
|
308
|
+
&[href^="https://"]:not(.no-icon):not([href*="gent.be"]) {
|
|
305
309
|
@extend %a-arrow-animation;
|
|
306
310
|
@include icon(arrow-right);
|
|
307
311
|
|
|
@@ -144,8 +144,8 @@ ul {
|
|
|
144
144
|
&[href^="mailto:"]:not(.button),
|
|
145
145
|
&[href^="tel:"]:not(.button),
|
|
146
146
|
&[download]:not(.button),
|
|
147
|
-
&[href^="http://"]:not(.button),
|
|
148
|
-
&[href^="https://"]:not(.button) {
|
|
147
|
+
&[href^="http://"]:not(.button):not([href*="gent.be"]),
|
|
148
|
+
&[href^="https://"]:not(.button):not([href*="gent.be"]) {
|
|
149
149
|
&::after {
|
|
150
150
|
display: none; // hide default link icons
|
|
151
151
|
}
|
|
@@ -227,6 +227,7 @@ ol {
|
|
|
227
227
|
|
|
228
228
|
& > li {
|
|
229
229
|
position: relative;
|
|
230
|
+
padding-left: 40px;
|
|
230
231
|
counter-increment: item;
|
|
231
232
|
|
|
232
233
|
&::before {
|
|
@@ -236,6 +237,7 @@ ol {
|
|
|
236
237
|
width: 30px;
|
|
237
238
|
height: 30px;
|
|
238
239
|
margin-right: 10px;
|
|
240
|
+
margin-left: -40px;
|
|
239
241
|
font-size: .9rem;
|
|
240
242
|
line-height: 177.778%;
|
|
241
243
|
text-align: center;
|
|
@@ -244,6 +246,12 @@ ol {
|
|
|
244
246
|
}
|
|
245
247
|
}
|
|
246
248
|
|
|
249
|
+
@for $i from 1 through 20 {
|
|
250
|
+
ol[start="#{$i}"] {
|
|
251
|
+
counter-reset: item #{$i - 1};
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
247
255
|
dl {
|
|
248
256
|
dt,
|
|
249
257
|
dd {
|
|
@@ -5,7 +5,7 @@ div.table-list {
|
|
|
5
5
|
|
|
6
6
|
.list-description,
|
|
7
7
|
caption {
|
|
8
|
-
@include theme('color', '
|
|
8
|
+
@include theme('color', 'help-text-color', 'table-caption-color');
|
|
9
9
|
|
|
10
10
|
position: absolute;
|
|
11
11
|
bottom: 0;
|
|
@@ -53,7 +53,7 @@ div.responsive-table {
|
|
|
53
53
|
tr {
|
|
54
54
|
&:nth-of-type(even) th:not([scope="col"]) th:not([scope="row"]),
|
|
55
55
|
&:nth-of-type(even) td {
|
|
56
|
-
@include theme('background-color', 'color-secondary
|
|
56
|
+
@include theme('background-color', 'color-secondary-light', 'table-row-color');
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
&:nth-of-type(n) {
|
|
@@ -74,7 +74,7 @@ div.responsive-table {
|
|
|
74
74
|
|
|
75
75
|
&:nth-of-type(odd) th:not([scope="col"]),
|
|
76
76
|
&:nth-of-type(odd) td {
|
|
77
|
-
@include theme('background-color', 'color-
|
|
77
|
+
@include theme('background-color', 'color-secondary-light', 'table-row-color');
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
@@ -106,7 +106,7 @@ div.table-list {
|
|
|
106
106
|
font-size: .9rem;
|
|
107
107
|
|
|
108
108
|
&:nth-child(even) {
|
|
109
|
-
@include theme('background-color', 'color-secondary
|
|
109
|
+
@include theme('background-color', 'color-secondary', 'table-list-row-color');
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
&::before {
|
|
17
17
|
position: absolute;
|
|
18
18
|
right: 0;
|
|
19
|
-
transition: transform .2s ease-in-out;
|
|
19
|
+
transition: transform .2s ease-out-in-out;
|
|
20
20
|
font-size: 1.4rem;
|
|
21
21
|
line-height: 1.2;
|
|
22
22
|
}
|
|
@@ -29,9 +29,14 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
.accordion--content {
|
|
32
|
-
|
|
32
|
+
max-height: 0;
|
|
33
|
+
transition: max-height .75s ease-out;
|
|
33
34
|
overflow: hidden;
|
|
34
35
|
|
|
36
|
+
&.accordion--expanded {
|
|
37
|
+
max-height: 9999px;
|
|
38
|
+
}
|
|
39
|
+
|
|
35
40
|
&:focus,
|
|
36
41
|
&:focus-within {
|
|
37
42
|
overflow: unset; // The overflow is needed for the accordion animation only
|
|
@@ -80,7 +85,7 @@ dl.accordion {
|
|
|
80
85
|
min-height: 1.8rem;
|
|
81
86
|
margin: 0 .75rem 0 0;
|
|
82
87
|
padding: .13rem .25rem;
|
|
83
|
-
transition: transform .2s ease-in-out;
|
|
88
|
+
transition: transform .2s ease-out-in-out;
|
|
84
89
|
font-size: 1.2rem;
|
|
85
90
|
text-align: left;
|
|
86
91
|
}
|
|
@@ -153,9 +158,14 @@ dl.accordion {
|
|
|
153
158
|
}
|
|
154
159
|
|
|
155
160
|
.accordion--link--content {
|
|
156
|
-
|
|
161
|
+
max-height: 0;
|
|
162
|
+
transition: max-height .75s ease-out;
|
|
157
163
|
overflow: hidden;
|
|
158
164
|
|
|
165
|
+
&.accordion--expanded {
|
|
166
|
+
max-height: 9999px;
|
|
167
|
+
}
|
|
168
|
+
|
|
159
169
|
&:focus,
|
|
160
170
|
&:focus-within {
|
|
161
171
|
overflow: unset; // The overflow is needed for the accordion animation only
|
|
@@ -14,8 +14,9 @@
|
|
|
14
14
|
|
|
15
15
|
display: inline-flex;
|
|
16
16
|
align-items: center;
|
|
17
|
-
margin-right:
|
|
17
|
+
margin-right: 8px;
|
|
18
18
|
margin-bottom: 0;
|
|
19
|
+
padding-left: 0;
|
|
19
20
|
|
|
20
21
|
&::before {
|
|
21
22
|
display: none;
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
&::after {
|
|
25
26
|
@include theme('color', 'color-primary', 'breadcrumb-arrows-color');
|
|
26
27
|
|
|
27
|
-
margin: 0 0 0
|
|
28
|
+
margin: 0 0 0 8px;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
&:last-of-type {
|
|
@@ -70,10 +71,10 @@
|
|
|
70
71
|
a {
|
|
71
72
|
@include bold-text;
|
|
72
73
|
|
|
73
|
-
padding: 0
|
|
74
|
+
padding: 0 7px;
|
|
74
75
|
border-color: transparent;
|
|
75
76
|
outline: 2px solid currentColor;
|
|
76
|
-
line-height:
|
|
77
|
+
line-height: 19px;
|
|
77
78
|
|
|
78
79
|
&:hover,
|
|
79
80
|
&:focus {
|
|
@@ -104,7 +105,7 @@
|
|
|
104
105
|
align-items: center;
|
|
105
106
|
|
|
106
107
|
li:not(.expandable) {
|
|
107
|
-
min-width:
|
|
108
|
+
min-width: 60px;
|
|
108
109
|
|
|
109
110
|
a,
|
|
110
111
|
span {
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
padding: 60px;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
h2,
|
|
13
|
+
h3 {
|
|
13
14
|
@include theme('color', 'color-none', 'feature-block-primary-color');
|
|
15
|
+
|
|
16
|
+
margin-bottom: 20px;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
19
|
> :first-child {
|
|
@@ -25,7 +28,6 @@
|
|
|
25
28
|
@include theme('color', 'color-zero', 'feature-block-secondary-color');
|
|
26
29
|
@include theme('background-color', 'color-secondary', 'feature-block-secondary-background-color');
|
|
27
30
|
|
|
28
|
-
h1,
|
|
29
31
|
h2,
|
|
30
32
|
h3 {
|
|
31
33
|
@include theme('color', 'color-zero', 'feature-block-secondary-color');
|
|
@@ -14,7 +14,7 @@ nav.menu {
|
|
|
14
14
|
|
|
15
15
|
&::before {
|
|
16
16
|
order: 0;
|
|
17
|
-
margin-right:
|
|
17
|
+
margin-right: 10px;
|
|
18
18
|
margin-left: 0;
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -37,18 +37,18 @@ nav.menu {
|
|
|
37
37
|
|
|
38
38
|
li {
|
|
39
39
|
display: inline-block;
|
|
40
|
-
margin-right:
|
|
40
|
+
margin-right: 20px;
|
|
41
41
|
|
|
42
42
|
a,
|
|
43
43
|
a[href^="mailto:"],
|
|
44
44
|
a[download],
|
|
45
|
-
a[href^="http://"],
|
|
46
|
-
a[href^="https://"] {
|
|
45
|
+
a[href^="http://"]:not([href*="gent.be"]),
|
|
46
|
+
a[href^="https://"]:not([href*="gent.be"]) {
|
|
47
47
|
@include reset-link-background;
|
|
48
48
|
@include link-underlined;
|
|
49
49
|
|
|
50
50
|
margin-bottom: 0;
|
|
51
|
-
padding:
|
|
51
|
+
padding: 10px 0;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
a.active {
|
|
@@ -67,8 +67,8 @@ nav.menu {
|
|
|
67
67
|
.modal-header {
|
|
68
68
|
position: absolute;
|
|
69
69
|
right: 0;
|
|
70
|
-
margin-top:
|
|
71
|
-
margin-right:
|
|
70
|
+
margin-top: 20px;
|
|
71
|
+
margin-right: 10px;
|
|
72
72
|
z-index: 7;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -79,36 +79,21 @@ nav.menu {
|
|
|
79
79
|
|
|
80
80
|
.header {
|
|
81
81
|
position: relative;
|
|
82
|
-
margin: 12px $gutter-width
|
|
82
|
+
margin: 12px $gutter-width;
|
|
83
83
|
|
|
84
|
-
&::before
|
|
85
|
-
&::after {
|
|
84
|
+
&::before {
|
|
86
85
|
@include theme('border-color', 'color-primary--lighten-4', 'header-border-bottom');
|
|
87
86
|
|
|
88
87
|
position: absolute;
|
|
89
88
|
top: 100%;
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
left: -30px;
|
|
90
|
+
width: 100vw;
|
|
91
|
+
height: 20px;
|
|
92
92
|
margin-top: 12px;
|
|
93
93
|
border-top: 2px solid;
|
|
94
94
|
content: '';
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
&::before {
|
|
98
|
-
left: -$gutter-width;
|
|
99
|
-
width: 60px + $gutter-width;
|
|
100
|
-
border-right: 2px solid;
|
|
101
|
-
border-top-right-radius: border-radius('radius-4');
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&::after {
|
|
105
|
-
right: -$gutter-width;
|
|
106
|
-
// viewport - ::before + border-width + gutter-width
|
|
107
|
-
width: calc(100% - 60px + 2px + #{$gutter-width});
|
|
108
|
-
border-left: 2px solid;
|
|
109
|
-
border-top-left-radius: border-radius('radius-4');
|
|
110
|
-
}
|
|
111
|
-
|
|
112
97
|
button {
|
|
113
98
|
position: absolute;
|
|
114
99
|
right: 0;
|
|
@@ -124,14 +109,12 @@ nav.menu {
|
|
|
124
109
|
li {
|
|
125
110
|
@include tablet {
|
|
126
111
|
display: inline-block;
|
|
127
|
-
margin-right:
|
|
112
|
+
margin-right: 20px;
|
|
128
113
|
}
|
|
129
114
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
margin-top: .8rem;
|
|
134
|
-
}
|
|
115
|
+
@include theme('border-color', 'color-primary-light');
|
|
116
|
+
margin-bottom: 0;
|
|
117
|
+
border-bottom: 1px solid;
|
|
135
118
|
|
|
136
119
|
a,
|
|
137
120
|
a[href^="mailto:"],
|
|
@@ -139,10 +122,22 @@ nav.menu {
|
|
|
139
122
|
a[href^="http://"],
|
|
140
123
|
a[href^="https://"] {
|
|
141
124
|
@include reset-link-background;
|
|
142
|
-
@include
|
|
125
|
+
@include icon('chevron-right', 'after');
|
|
143
126
|
|
|
144
|
-
|
|
127
|
+
display: block;
|
|
128
|
+
padding: 10px 20px;
|
|
145
129
|
line-height: 1.4rem;
|
|
130
|
+
|
|
131
|
+
&:hover {
|
|
132
|
+
@include theme('background-color', 'color-primary-light');
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&::after {
|
|
136
|
+
position: absolute;
|
|
137
|
+
top: 50%;
|
|
138
|
+
right: 30px;
|
|
139
|
+
margin-top: -13px;
|
|
140
|
+
}
|
|
146
141
|
}
|
|
147
142
|
|
|
148
143
|
a.active {
|
|
@@ -154,28 +149,24 @@ nav.menu {
|
|
|
154
149
|
|
|
155
150
|
.language-switcher {
|
|
156
151
|
display: block;
|
|
152
|
+
margin: 0 24px;
|
|
153
|
+
|
|
154
|
+
&:not(:last-child) {
|
|
155
|
+
@include theme('border-color', 'color-primary--lighten-4');
|
|
156
|
+
border-bottom: 2px solid;
|
|
157
|
+
}
|
|
157
158
|
|
|
158
159
|
ul {
|
|
159
160
|
display: flex;
|
|
160
161
|
flex-wrap: wrap;
|
|
161
162
|
justify-content: center;
|
|
162
163
|
margin: 0;
|
|
163
|
-
padding:
|
|
164
|
+
padding: 12px 0;
|
|
164
165
|
|
|
165
166
|
li {
|
|
166
|
-
padding:
|
|
167
|
+
padding: 12px;
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
}
|
|
170
|
-
|
|
171
|
-
.menu-links,
|
|
172
|
-
.language-switcher {
|
|
173
|
-
margin: 0 1.2rem;
|
|
174
|
-
|
|
175
|
-
&:not(:last-child) {
|
|
176
|
-
@include theme('border-color', 'color-primary--lighten-4');
|
|
177
|
-
border-bottom: 2px solid;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
171
|
}
|
|
181
172
|
}
|
|
@@ -53,15 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
> .modal-actions {
|
|
56
|
-
position: fixed;
|
|
57
|
-
bottom: 0;
|
|
58
|
-
left: 0;
|
|
59
|
-
margin-top: -76px;
|
|
60
56
|
padding-top: 30px;
|
|
61
|
-
|
|
62
|
-
@include tablet {
|
|
63
|
-
position: static;
|
|
64
|
-
}
|
|
65
57
|
}
|
|
66
58
|
}
|
|
67
59
|
}
|
|
@@ -125,6 +117,12 @@
|
|
|
125
117
|
padding: 16px 70px 60px;
|
|
126
118
|
}
|
|
127
119
|
|
|
120
|
+
figure {
|
|
121
|
+
img {
|
|
122
|
+
width: auto;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
128
126
|
p {
|
|
129
127
|
&:last-child {
|
|
130
128
|
margin-bottom: 0;
|
|
@@ -143,13 +141,13 @@
|
|
|
143
141
|
flex-shrink: 0;
|
|
144
142
|
align-items: center;
|
|
145
143
|
width: 100%;
|
|
146
|
-
padding: 30px 20px
|
|
144
|
+
padding: 30px 20px;
|
|
147
145
|
z-index: z('modal', 'actions');
|
|
148
146
|
|
|
149
147
|
@include tablet {
|
|
150
148
|
position: relative;
|
|
151
149
|
margin-top: -15px;
|
|
152
|
-
padding: 0 70px
|
|
150
|
+
padding: 0 70px 30px;
|
|
153
151
|
}
|
|
154
152
|
}
|
|
155
153
|
|