@iamproperty/components 3.8.0 → 4.0.0
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/assets/css/components/actionbar-global.css +1 -0
- package/assets/css/components/actionbar-global.css.map +1 -0
- package/assets/css/components/actionbar.css +1 -0
- package/assets/css/components/actionbar.css.map +1 -0
- package/assets/css/components/collapsible-side.css +1 -0
- package/assets/css/components/collapsible-side.css.map +1 -0
- package/assets/css/components/dialog.css +1 -1
- package/assets/css/components/dialog.css.map +1 -1
- package/assets/css/components/forms.css +1 -1
- package/assets/css/components/forms.css.map +1 -1
- package/assets/css/components/header.css +1 -1
- package/assets/css/components/header.css.map +1 -1
- package/assets/css/components/lists.css.map +1 -1
- package/assets/css/components/nav-global.css +1 -0
- package/assets/css/components/nav-global.css.map +1 -0
- package/assets/css/components/nav.css +1 -1
- package/assets/css/components/nav.css.map +1 -1
- package/assets/css/components/nav.docs.css +1 -0
- package/assets/css/components/nav.docs.css.map +1 -0
- package/assets/css/components/nav.old.css +1 -0
- package/assets/css/components/nav.old.css.map +1 -0
- package/assets/css/components/pagination.css.map +1 -1
- package/assets/css/components/property-searchbar.css +1 -1
- package/assets/css/components/property-searchbar.css.map +1 -1
- package/assets/css/components/table.css +1 -1
- package/assets/css/components/table.css.map +1 -1
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +2 -2
- package/assets/js/components/actionbar/actionbar.component.js +305 -0
- package/assets/js/components/actionbar/actionbar.component.min.js +53 -0
- package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -0
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/card/card.component.min.js +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.js +96 -0
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +27 -0
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -0
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +2 -2
- package/assets/js/components/nav/nav.component.js +294 -0
- package/assets/js/components/nav/nav.component.min.js +51 -0
- package/assets/js/components/nav/nav.component.min.js.map +1 -0
- package/assets/js/components/notification/notification.component.min.js +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/table/table.component.js +33 -0
- package/assets/js/components/table/table.component.min.js +12 -11
- package/assets/js/components/table/table.component.min.js.map +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +1 -1
- package/assets/js/dynamic.min.js +3 -3
- package/assets/js/dynamic.min.js.map +1 -1
- package/assets/js/modules/dialogs.js +3 -0
- package/assets/js/modules/helpers.js +0 -13
- package/assets/js/modules/table.js +1 -1
- package/assets/js/scripts.bundle.js +15 -14
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +2 -2
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/sass/_corefiles.scss +2 -0
- package/assets/sass/_functions/mixins.scss +25 -0
- package/assets/sass/_functions/variables.scss +1 -1
- package/assets/sass/components/actionbar-global.scss +89 -0
- package/assets/sass/components/actionbar.scss +254 -0
- package/assets/sass/components/collapsible-side.scss +327 -0
- package/assets/sass/components/dialog.scss +10 -0
- package/assets/sass/components/forms.scss +29 -0
- package/assets/sass/components/nav-global.scss +630 -0
- package/assets/sass/components/nav.docs.scss +54 -0
- package/assets/sass/components/nav.old.scss +965 -0
- package/assets/sass/components/nav.scss +450 -782
- package/assets/sass/components/table.scss +9 -1
- package/assets/sass/foundations/buttons.scss +57 -32
- package/assets/sass/foundations/links.scss +1 -1
- package/assets/sass/foundations/reboot.scss +5 -3
- package/assets/ts/components/actionbar/README.md +55 -0
- package/assets/ts/components/actionbar/actionbar.component.ts +396 -0
- package/assets/ts/components/collapsible-side/README.md +38 -0
- package/assets/ts/components/collapsible-side/collapsible-side.component.ts +134 -0
- package/assets/ts/components/nav/README.md +68 -0
- package/assets/ts/components/nav/nav.component.ts +370 -0
- package/assets/ts/components/table/table.component.ts +65 -0
- package/assets/ts/modules/dialogs.ts +6 -0
- package/assets/ts/modules/helpers.ts +0 -17
- package/assets/ts/modules/table.ts +5 -5
- package/dist/components.es.js +1368 -1113
- package/dist/components.umd.js +188 -44
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Actionbar/Actionbar.vue +20 -0
- package/src/components/Actionbar/README.md +40 -0
- package/src/components/CollapsibleSideMenu/CollapsibleSideMenu.vue +20 -0
- package/src/components/CollapsibleSideMenu/README.md +23 -0
- package/src/components/Nav/Nav.vue +20 -195
- package/src/components/Nav/README.md +43 -13
- package/src/components/Nav-old/Nav.vue +213 -0
- package/src/components/Nav-old/README.md +23 -0
- package/src/index.js +8 -0
- package/src/components/Nav/Nav.spec.js +0 -35
|
@@ -1,965 +1,633 @@
|
|
|
1
1
|
@use "../_func" as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@if $compatible != "true" {
|
|
10
|
-
|
|
11
|
-
@include invert-colours();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: column;
|
|
16
|
-
flex-wrap: nowrap;
|
|
17
|
-
width: rem(375);
|
|
18
|
-
|
|
19
|
-
@include media-breakpoint-up(sm) {
|
|
20
|
-
width: 100%;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
> .container {
|
|
24
|
-
|
|
25
|
-
padding-top: rem(16);
|
|
26
|
-
padding-bottom: 1rem;
|
|
27
|
-
flex-shrink: 0;
|
|
28
|
-
overflow: visible;
|
|
29
|
-
}
|
|
3
|
+
:host{
|
|
4
|
+
display: flex!important;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
align-items: center;
|
|
30
8
|
}
|
|
31
|
-
// #endregion
|
|
32
9
|
|
|
33
|
-
|
|
34
|
-
.nav {
|
|
35
|
-
|
|
36
|
-
overflow-x: hidden;
|
|
37
|
-
font-weight: bold;
|
|
38
|
-
|
|
39
|
-
&__inner,
|
|
40
|
-
&__menu--account {
|
|
10
|
+
::slotted(.brand) {
|
|
41
11
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
flex-wrap: nowrap;
|
|
12
|
+
margin-right: auto;
|
|
13
|
+
}
|
|
45
14
|
|
|
46
|
-
|
|
15
|
+
.btn-menu {
|
|
16
|
+
|
|
17
|
+
padding: 0;
|
|
18
|
+
margin: 0 0 0 rem(32);
|
|
19
|
+
text-align: center;
|
|
20
|
+
height: rem(48);
|
|
21
|
+
padding-block: rem(12);
|
|
22
|
+
line-height: rem(24);
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
position: relative;
|
|
25
|
+
background: none;
|
|
26
|
+
border: none;
|
|
27
|
+
width: rem(24);
|
|
28
|
+
text-indent: -1000%;
|
|
29
|
+
color: var(--colour-brand);
|
|
30
|
+
|
|
31
|
+
i {
|
|
32
|
+
font-size: rem(24);
|
|
33
|
+
line-height: rem(24);
|
|
34
|
+
position: absolute;
|
|
35
|
+
text-indent: 0px;
|
|
47
36
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
width: rem(24);
|
|
38
|
+
text-align: center;
|
|
39
|
+
top: rem(12);
|
|
40
|
+
right: 0;
|
|
41
|
+
margin: 0!important;
|
|
42
|
+
transition: none!important;
|
|
54
43
|
}
|
|
55
44
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
padding-bottom: rem(16);
|
|
45
|
+
i + i {
|
|
46
|
+
display: none;
|
|
59
47
|
}
|
|
60
48
|
|
|
61
|
-
|
|
62
|
-
font-size: rem(36);
|
|
49
|
+
&.selected {
|
|
63
50
|
|
|
64
|
-
|
|
65
|
-
|
|
51
|
+
i {
|
|
52
|
+
display: none;
|
|
66
53
|
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.nav__logo img {
|
|
71
|
-
height: rem(36);
|
|
72
|
-
width: auto;
|
|
73
|
-
|
|
74
|
-
@include media-breakpoint-up(sm) {
|
|
75
|
-
height: rem(60);
|
|
76
|
-
width: auto;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.nav__search-btn,
|
|
81
|
-
.nav__menu-btn {
|
|
82
|
-
|
|
83
|
-
display: flex;
|
|
84
54
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
width: rem(24);
|
|
88
|
-
text-indent: -300%;
|
|
89
|
-
overflow: hidden;
|
|
90
|
-
position: relative;
|
|
91
|
-
cursor: pointer;
|
|
92
|
-
|
|
93
|
-
color: var(--colour-link);
|
|
94
|
-
|
|
95
|
-
&:hover,
|
|
96
|
-
&:focus {
|
|
97
|
-
|
|
98
|
-
color: var(--colour-hover);
|
|
55
|
+
i + i {
|
|
56
|
+
display: inline;
|
|
99
57
|
}
|
|
58
|
+
}
|
|
100
59
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
60
|
+
@media screen and (max-width: 62em) {
|
|
61
|
+
> .btn {
|
|
62
|
+
display: contents;
|
|
105
63
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
height:
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
background: currentColor;
|
|
115
|
-
transform-origin: 50% 50%;
|
|
116
|
-
transition: transform 0.5s, width 0.5s;
|
|
64
|
+
display: contents;
|
|
65
|
+
color: inherit!important;
|
|
66
|
+
padding: 0!important;
|
|
67
|
+
margin: 0;
|
|
68
|
+
font-weight: normal!important;
|
|
69
|
+
line-height: inherit;
|
|
70
|
+
font-size: inherit;
|
|
71
|
+
transition: none!important;
|
|
117
72
|
}
|
|
118
73
|
}
|
|
119
|
-
}
|
|
120
74
|
|
|
121
|
-
|
|
75
|
+
@include media-breakpoint-up(sm) {
|
|
122
76
|
|
|
123
|
-
|
|
77
|
+
margin: 0 0 0 rem(48);
|
|
78
|
+
width: auto;
|
|
79
|
+
padding-right: rem(24 + 6);
|
|
124
80
|
text-indent: 0;
|
|
125
|
-
overflow: visible;
|
|
126
|
-
}
|
|
127
|
-
.icon {
|
|
128
|
-
height: rem(32);
|
|
129
|
-
width: rem(32);
|
|
130
|
-
margin-top: rem(-8);
|
|
131
|
-
margin-left: rem(-1);
|
|
132
|
-
transition: opacity 0.5s;
|
|
133
|
-
color: inherit;
|
|
134
|
-
|
|
135
|
-
&__outline {
|
|
136
81
|
|
|
137
|
-
|
|
138
|
-
|
|
82
|
+
&.selected {
|
|
83
|
+
text-indent: -1000%;
|
|
139
84
|
}
|
|
140
85
|
}
|
|
141
|
-
}
|
|
142
86
|
|
|
143
|
-
|
|
144
|
-
display: flex;
|
|
87
|
+
@include media-breakpoint-up(md) {
|
|
145
88
|
|
|
146
|
-
|
|
89
|
+
width: fit-content;
|
|
90
|
+
height: auto;
|
|
91
|
+
margin: 0 0 0 3rem!important;
|
|
92
|
+
padding: 0!important;
|
|
93
|
+
text-indent: 0;
|
|
94
|
+
padding-right: 0!important;
|
|
147
95
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
&:before,
|
|
152
|
-
&:after {
|
|
153
|
-
width: 100%;
|
|
96
|
+
&.selected {
|
|
97
|
+
text-indent: 0;
|
|
154
98
|
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
.nav__account-btn {
|
|
159
|
-
|
|
160
|
-
label {
|
|
161
|
-
font-size: rem(18);
|
|
162
|
-
text-indent: 0;
|
|
163
|
-
overflow: visible;
|
|
164
|
-
color: var(--colour-body);
|
|
165
|
-
height: rem(48);
|
|
166
|
-
line-height: rem(48);
|
|
167
|
-
display: block;
|
|
168
|
-
border-top: 1px solid var(--colour-border);
|
|
169
|
-
border-bottom: 1px solid var(--colour-border);
|
|
170
|
-
}
|
|
171
|
-
.icon {
|
|
172
|
-
height: rem(28);
|
|
173
|
-
width: rem(28);
|
|
174
|
-
margin-top: rem(-8);
|
|
175
|
-
margin-right: rem(8);
|
|
176
|
-
transition: opacity 0.5s;
|
|
177
|
-
color: inherit;
|
|
178
99
|
|
|
179
|
-
|
|
100
|
+
.btn {
|
|
101
|
+
@media screen and (prefers-color-scheme: light) {
|
|
102
|
+
|
|
103
|
+
@include reset-colours();
|
|
180
104
|
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
105
|
+
&:is(:hover,:focus){
|
|
106
|
+
color: var(--colour-inverted);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
186
109
|
|
|
187
|
-
|
|
188
|
-
|
|
110
|
+
margin: 0!important;
|
|
111
|
+
display: flex;
|
|
112
|
+
|
|
113
|
+
span {
|
|
114
|
+
order: 2;
|
|
115
|
+
}
|
|
189
116
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
117
|
+
i[class*=fa-] {
|
|
118
|
+
position: relative;
|
|
119
|
+
position: static;
|
|
120
|
+
vertical-align: bottom;
|
|
121
|
+
display: inline-block;
|
|
122
|
+
font-size: 1.2rem;
|
|
123
|
+
margin-right: 1rem!important;
|
|
124
|
+
line-height: 1em;
|
|
125
|
+
}
|
|
196
126
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
padding-left: rem(20 - 6)
|
|
127
|
+
i[class*=fa-] + i[class*=fa-] {
|
|
128
|
+
display: none;
|
|
129
|
+
}
|
|
201
130
|
}
|
|
202
131
|
}
|
|
203
132
|
}
|
|
204
133
|
|
|
205
|
-
// #
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
@include media-breakpoint-up(md) {
|
|
210
|
-
|
|
211
|
-
.nav__menu--search {
|
|
212
|
-
display: none;
|
|
134
|
+
// #region mobile and tablet menu
|
|
135
|
+
@media screen and (max-width: 62em) {
|
|
136
|
+
:host > .container {
|
|
137
|
+
display: contents;
|
|
213
138
|
}
|
|
214
139
|
|
|
215
|
-
|
|
216
|
-
|
|
140
|
+
.menu__outer {
|
|
141
|
+
|
|
217
142
|
position: absolute;
|
|
218
|
-
top:
|
|
143
|
+
top: rem(96);
|
|
219
144
|
left: 0;
|
|
220
145
|
width: 100%;
|
|
146
|
+
height: calc(100vh - #{rem(96)});
|
|
147
|
+
overflow: hidden;
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
transition: background 0.5s;
|
|
221
150
|
|
|
222
|
-
|
|
223
|
-
height: calc(100vh - 5rem);
|
|
224
|
-
display: block;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
// #endregion
|
|
228
|
-
|
|
229
|
-
// #region nav account
|
|
230
|
-
|
|
231
|
-
.services {
|
|
232
|
-
line-height: 2rem;
|
|
151
|
+
&:has(.menu.open) {
|
|
233
152
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
justify-content: space-between;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.service--active {
|
|
240
|
-
&:before {
|
|
241
|
-
content: "";
|
|
242
|
-
height: 1em;
|
|
243
|
-
width: 1em;
|
|
244
|
-
display: inline-block;
|
|
245
|
-
background: var(--colour-secondary);
|
|
246
|
-
margin-right: 0.5rem;
|
|
247
|
-
margin-bottom: -0.1em;
|
|
248
|
-
border-radius: 50%;
|
|
153
|
+
background: rgba(0,0,0,0.2);
|
|
154
|
+
backdrop-filter: blur(2px);
|
|
249
155
|
}
|
|
250
156
|
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
.credits {
|
|
254
|
-
border: 2px solid var(--colour-primary);
|
|
255
|
-
padding: 1rem;
|
|
256
|
-
margin-bottom: 2rem;
|
|
257
|
-
border-radius: rem(10);
|
|
258
|
-
|
|
259
|
-
.h5,
|
|
260
|
-
ul {
|
|
261
|
-
padding-inline: 1rem;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
> *:last-child {
|
|
266
|
-
margin-bottom: 0!important;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
// #endregion
|
|
270
157
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
.nav__inner {
|
|
275
|
-
background-color: transparent;
|
|
158
|
+
.menu::-webkit-scrollbar {
|
|
159
|
+
width: 6px;
|
|
276
160
|
}
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
161
|
+
|
|
162
|
+
.menu::-webkit-scrollbar-track {
|
|
163
|
+
border: 0!important;
|
|
280
164
|
}
|
|
281
|
-
|
|
282
|
-
.
|
|
283
|
-
|
|
284
|
-
--colour-link: var(--colour-link-theme);
|
|
285
|
-
--colour-hover: var(--colour-hover-theme);
|
|
286
|
-
--colour-active: var(--colour-active-theme);
|
|
287
|
-
*/
|
|
165
|
+
|
|
166
|
+
.menu::-webkit-scrollbar-thumb {
|
|
167
|
+
border: 0!important;
|
|
288
168
|
}
|
|
289
|
-
}
|
|
290
|
-
// #endregion
|
|
291
169
|
|
|
292
|
-
|
|
293
|
-
.nav__menu--secondary {
|
|
294
|
-
flex-grow: 1;
|
|
170
|
+
.menu {
|
|
295
171
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
172
|
+
overscroll-behavior: contain;
|
|
173
|
+
width: calc(#{rem(375)} - var(--scrollbar-width));
|
|
174
|
+
background-color: var(--colour-canvas-2);
|
|
175
|
+
position: absolute;
|
|
176
|
+
height: calc(100vh - #{rem(96)});
|
|
177
|
+
left: 100%;
|
|
178
|
+
top: 0;
|
|
179
|
+
padding: 0 rem(24) 0 rem(24);
|
|
180
|
+
z-index: var(--index-menu);
|
|
181
|
+
overflow: auto;
|
|
182
|
+
transition: all 1s ease-out;
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
flex-wrap: nowrap;
|
|
306
186
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
border-bottom: 1px solid var(--colour-border);
|
|
187
|
+
> * {
|
|
188
|
+
flex-shrink: 0;
|
|
310
189
|
}
|
|
311
190
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
display: inline-block;
|
|
316
|
-
font-size: rem(18);
|
|
317
|
-
line-height: rem(36);
|
|
318
|
-
text-decoration: none;
|
|
319
|
-
font-weight: bold;
|
|
191
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
192
|
+
--colour-link: var(--colour-white);
|
|
193
|
+
@include invert-colours();
|
|
320
194
|
}
|
|
321
195
|
|
|
322
|
-
|
|
323
|
-
|
|
196
|
+
// The menu is always white unless in dark mode
|
|
197
|
+
@media screen and (prefers-color-scheme: light) {
|
|
198
|
+
|
|
199
|
+
background-color: var(--colour-white);
|
|
200
|
+
@include reset-colours();
|
|
201
|
+
}
|
|
324
202
|
|
|
325
|
-
|
|
326
|
-
|
|
203
|
+
@media (forced-colors: active) {
|
|
204
|
+
|
|
205
|
+
outline: 1px solid white;
|
|
206
|
+
}
|
|
327
207
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
208
|
+
&:before {
|
|
209
|
+
content: "";
|
|
210
|
+
position: absolute;
|
|
211
|
+
display: block ;
|
|
212
|
+
top: 0;
|
|
213
|
+
left: 0;
|
|
214
|
+
width: 100%;
|
|
215
|
+
border-top: 2px solid var(--colour-border);
|
|
216
|
+
z-index: 1;
|
|
332
217
|
}
|
|
333
|
-
}
|
|
334
218
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
--colour-link: white;
|
|
342
|
-
--colour-hover: white;
|
|
343
|
-
--colour-active: white;
|
|
344
|
-
--colour-heading: white;
|
|
345
|
-
--colour-underline: white;
|
|
346
|
-
--colour-border: white;
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
a,
|
|
350
|
-
.link {
|
|
351
|
-
display: inline-block;
|
|
352
|
-
font-size: rem(15);
|
|
353
|
-
padding: rem(8) 0 rem(8) 0;
|
|
354
|
-
text-decoration: none;
|
|
219
|
+
&.open {
|
|
220
|
+
left: calc(100% - (#{rem(375)} - var(--scrollbar-width)) );
|
|
221
|
+
-webkit-box-shadow: 0 6px 12px 0px rgba(0,0,0,0.2);
|
|
222
|
+
box-shadow: 0 6px 12px 0px rgba(0,0,0,0.2);
|
|
223
|
+
pointer-events: all;
|
|
224
|
+
}
|
|
355
225
|
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
text-decoration: underline!important;
|
|
226
|
+
&.closed * {
|
|
227
|
+
display: none!important;
|
|
359
228
|
}
|
|
360
229
|
}
|
|
361
230
|
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
// #endregion
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
// #region Sticky nav
|
|
368
|
-
.nav {
|
|
369
|
-
|
|
370
|
-
position: sticky;
|
|
371
|
-
top: 0;
|
|
372
|
-
left: 0;
|
|
373
|
-
width: 100%;
|
|
374
|
-
z-index: var(--index-menu);
|
|
375
|
-
|
|
376
|
-
&.is-stuck {
|
|
377
|
-
|
|
378
|
-
-webkit-box-shadow: 0 4px 20px -10px rgba(51,51,51,0.25);
|
|
379
|
-
box-shadow: 0 4px 20px -10px rgba(51,51,51,0.25);
|
|
231
|
+
.menu__secondary {
|
|
232
|
+
display: none;
|
|
380
233
|
}
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
nav + main > *:first-child {
|
|
384
|
-
padding-top: 2rem;
|
|
385
|
-
}
|
|
386
234
|
|
|
235
|
+
.has-secondary .menu__secondary {
|
|
236
|
+
display: block;
|
|
237
|
+
margin-left: -1.5rem;
|
|
238
|
+
margin-right: -1.5rem;
|
|
239
|
+
padding-left: 1.5rem;
|
|
240
|
+
padding-right: 1.5rem;
|
|
241
|
+
padding-bottom: 3rem!important;
|
|
242
|
+
flex-grow: 1;
|
|
243
|
+
position: relative;
|
|
387
244
|
|
|
388
|
-
|
|
245
|
+
@media screen and (prefers-color-scheme: light) {
|
|
246
|
+
background-color: #EEEEEE;
|
|
247
|
+
}
|
|
389
248
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
249
|
+
.container {
|
|
250
|
+
display: contents;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
394
253
|
|
|
395
|
-
|
|
396
|
-
|
|
254
|
+
::slotted(a:not([slot="logo"])) {
|
|
255
|
+
display: block!important;
|
|
256
|
+
line-height: rem(20)!important;
|
|
257
|
+
padding: rem(24) 0!important;
|
|
258
|
+
margin: 0!important;
|
|
259
|
+
flex-shrink: 0;
|
|
260
|
+
font-size: 1rem!important;
|
|
261
|
+
font-weight: normal!important;
|
|
397
262
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
263
|
+
&:after {
|
|
264
|
+
content: "";
|
|
265
|
+
display: block;
|
|
266
|
+
height: 2px;
|
|
267
|
+
width: 100%!important;
|
|
268
|
+
background-color: var(--colour-border)!important;
|
|
269
|
+
top: calc(100% - 2px)!important;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
407
272
|
|
|
408
|
-
|
|
273
|
+
*:is(.has-search, .has-actions) .menu__primary{
|
|
409
274
|
|
|
410
|
-
|
|
275
|
+
display: block;
|
|
276
|
+
padding-bottom: rem(48);
|
|
411
277
|
}
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
.nav__menu--account {
|
|
415
|
-
z-index: 2;
|
|
416
|
-
height: 100vh;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.nav:has(#showMenu:checked){
|
|
420
|
-
min-height: 100vh;
|
|
421
|
-
}
|
|
422
278
|
|
|
423
|
-
|
|
424
|
-
#showAccount:checked ~ .nav__menu--account {
|
|
425
|
-
|
|
426
|
-
height: 100vh;
|
|
427
|
-
overflow: visible;
|
|
428
|
-
overflow-x: auto;
|
|
429
|
-
left: 0;
|
|
430
|
-
|
|
431
|
-
@include media-breakpoint-up(sm) {
|
|
279
|
+
.menu:not(.has-secondary) .menu__primary{
|
|
432
280
|
|
|
433
|
-
|
|
281
|
+
display: block;
|
|
282
|
+
padding-bottom: rem(48);
|
|
434
283
|
}
|
|
435
|
-
}
|
|
436
284
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
#showAccount ~ .nav__menu--account {
|
|
285
|
+
::slotted(button) {
|
|
440
286
|
|
|
441
|
-
display:
|
|
287
|
+
display: block!important;
|
|
288
|
+
margin: 0 0 rem(24) 0!important;
|
|
289
|
+
width: 100%!important;
|
|
290
|
+
max-width: 100%!important;
|
|
291
|
+
text-align: center!important;
|
|
292
|
+
flex-shrink: 0;
|
|
442
293
|
}
|
|
443
294
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
left: 0;
|
|
447
|
-
width: 100%;
|
|
448
|
-
height: auto;
|
|
295
|
+
.has-actions slot[name="actions"]{
|
|
449
296
|
display: block;
|
|
450
|
-
|
|
451
|
-
border-top: rem(5) solid var(--colour-primary);
|
|
452
|
-
border-bottom: 1px solid var(--colour-border-light);
|
|
453
|
-
-webkit-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
|
|
454
|
-
-moz-box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
|
|
455
|
-
box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
|
|
297
|
+
padding-bottom: rem(24);
|
|
456
298
|
}
|
|
457
|
-
}
|
|
458
299
|
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
#showMenu:checked ~ div .nav__menu--secondary,
|
|
462
|
-
#showMenu:not(:checked) ~ #showSearch:checked ~ div .nav__menu--search {
|
|
463
|
-
display: block;
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
#showMenu:checked ~ div .nav__menu-btn label,
|
|
469
|
-
#showSearch:checked ~ div .nav__search-btn label {
|
|
470
|
-
|
|
471
|
-
border: 0;
|
|
472
|
-
|
|
473
|
-
.icon {
|
|
474
|
-
opacity: 0;
|
|
300
|
+
slot[name="actions"]::slotted(button){
|
|
301
|
+
margin-top: 0!important;
|
|
475
302
|
}
|
|
476
|
-
&:before {
|
|
477
|
-
width: 100%;
|
|
478
|
-
transform: rotate(45deg);
|
|
479
|
-
}
|
|
480
|
-
&:after {
|
|
481
303
|
|
|
304
|
+
// Search
|
|
305
|
+
.dialog__wrapper {
|
|
482
306
|
width: 100%;
|
|
483
|
-
|
|
307
|
+
margin: 0 0 rem(48) 0!important;
|
|
308
|
+
flex-shrink: 0;
|
|
484
309
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
@include media-breakpoint-up(sm) {
|
|
488
|
-
|
|
489
|
-
#showMenu:checked ~ .nav__bg {
|
|
490
|
-
content: " ";
|
|
491
|
-
position: absolute;
|
|
492
|
-
top: 0;
|
|
493
|
-
left: 0;
|
|
494
|
-
width: 100vw;
|
|
495
|
-
height: 100vh;
|
|
496
|
-
background: rgba(0,0,0,0.5);
|
|
497
|
-
z-index: 1;
|
|
498
|
-
|
|
310
|
+
.dialog__wrapper > .btn {
|
|
311
|
+
display: none;
|
|
499
312
|
}
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
@include media-breakpoint-up(md) {
|
|
503
|
-
|
|
504
|
-
.nav__bg {
|
|
505
|
-
display: none;
|
|
313
|
+
.dialog__wrapper dialog {
|
|
314
|
+
display: contents;
|
|
506
315
|
}
|
|
507
316
|
}
|
|
508
|
-
|
|
509
317
|
// #endregion
|
|
510
318
|
|
|
511
|
-
// #region
|
|
512
|
-
@
|
|
513
|
-
|
|
514
|
-
.nav .nav__mobile-bar {
|
|
319
|
+
// #region tablet tweaks
|
|
320
|
+
@media screen and (max-width: 62em) and (min-width: 36em) {
|
|
515
321
|
|
|
516
|
-
|
|
322
|
+
.menu {
|
|
323
|
+
padding-right: rem(40)!important;
|
|
517
324
|
}
|
|
518
325
|
|
|
326
|
+
.has-secondary .menu__secondary {
|
|
519
327
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
#showMenu:checked ~ .nav__inner,
|
|
525
|
-
.nav__inner {
|
|
526
|
-
overflow: visible;
|
|
527
|
-
position: static;
|
|
528
|
-
width: 100%;
|
|
529
|
-
}
|
|
328
|
+
margin-right: rem(-40)!important;
|
|
329
|
+
padding-right: rem(40)!important;
|
|
530
330
|
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
331
|
+
&:before {
|
|
332
|
+
width: calc(100% - 4rem) !important
|
|
333
|
+
}
|
|
534
334
|
}
|
|
335
|
+
::slotted(button) {
|
|
535
336
|
|
|
536
|
-
|
|
537
|
-
.nav__menu--secondary {
|
|
538
|
-
display: flex;
|
|
337
|
+
width: auto!important;
|
|
539
338
|
}
|
|
339
|
+
}
|
|
340
|
+
// #endregion
|
|
540
341
|
|
|
541
|
-
|
|
342
|
+
// #region desktop
|
|
343
|
+
@include media-breakpoint-up(md) {
|
|
542
344
|
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
345
|
+
:host {
|
|
346
|
+
max-width: 100%!important;
|
|
347
|
+
padding: 0!important;
|
|
547
348
|
}
|
|
548
|
-
|
|
549
|
-
.nav__search-btn,
|
|
550
|
-
.nav__btn {
|
|
551
|
-
order: 2;
|
|
552
|
-
margin-left: 1rem;
|
|
553
349
|
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
padding-top: 0;
|
|
560
|
-
}
|
|
561
|
-
.nav__menu > .list-unstyled {
|
|
562
|
-
margin-left: -1.5rem!important;
|
|
563
|
-
margin-right: -1.5rem!important;
|
|
564
|
-
width: calc(100% + 3rem);
|
|
565
|
-
margin-bottom: 0;
|
|
566
|
-
//text-align: right;
|
|
567
|
-
padding-top: 0;
|
|
568
|
-
padding-left: 1.5rem;
|
|
569
|
-
padding-right: 1.5rem;
|
|
570
|
-
|
|
571
|
-
> li {
|
|
572
|
-
display: inline-block;
|
|
573
|
-
padding-left: 1rem;
|
|
574
|
-
padding-right: 1rem;
|
|
350
|
+
:host > .container {
|
|
351
|
+
padding-block: rem(24)!important;
|
|
352
|
+
display: flex;
|
|
353
|
+
flex-wrap: nowrap;
|
|
354
|
+
align-items: center;
|
|
575
355
|
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
border-right: 1px solid var(--colour-border);
|
|
579
|
-
}
|
|
580
|
-
> a {
|
|
581
|
-
line-height: 1.75rem;
|
|
582
|
-
}
|
|
583
|
-
> a.current {
|
|
584
|
-
border-left: none;
|
|
585
|
-
padding-left: 0;
|
|
586
|
-
border-bottom: rem(3) solid var(--colour-info);
|
|
587
|
-
}
|
|
356
|
+
&:has(.has-secondary) {
|
|
357
|
+
padding-top: rem(24 + 40)!important;
|
|
588
358
|
}
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
.nav__account-btn {
|
|
592
|
-
max-width: fit-content!important;
|
|
593
359
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
border: none!important;
|
|
597
|
-
padding-top: 0.5rem;
|
|
598
|
-
position: relative;
|
|
599
|
-
padding-right: 2.5rem;
|
|
600
|
-
|
|
601
|
-
&:after {
|
|
602
|
-
content: "";
|
|
603
|
-
position: absolute;
|
|
604
|
-
top: calc(50% + 0.5rem);
|
|
605
|
-
right: 0;
|
|
606
|
-
width: 1.5em;
|
|
607
|
-
height: 1.5em;
|
|
608
|
-
background: currentColor;
|
|
609
|
-
mask-image: var(--icon-arrow);
|
|
610
|
-
mask-size: 50%;
|
|
611
|
-
mask-repeat: no-repeat;
|
|
612
|
-
mask-position: 50% 50%;
|
|
613
|
-
-webkit-mask-image: var(--icon-arrow);
|
|
614
|
-
-webkit-mask-size: 50%;
|
|
615
|
-
-webkit-mask-repeat: no-repeat;
|
|
616
|
-
-webkit-mask-position: 50% 50%;
|
|
617
|
-
transition: transform 0.2s ease-in-out;
|
|
618
|
-
transform: rotate(90deg) translate(-50%, 0);
|
|
619
|
-
}
|
|
360
|
+
> * {
|
|
361
|
+
margin-bottom: 0!important;
|
|
620
362
|
}
|
|
621
363
|
}
|
|
622
364
|
|
|
623
|
-
.
|
|
624
|
-
|
|
625
|
-
padding-top: 0;
|
|
365
|
+
.btn-menu {
|
|
366
|
+
display: none;
|
|
626
367
|
}
|
|
627
368
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
// #endregion
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
// #region Nav secondary DESKTOP
|
|
634
|
-
@include media-breakpoint-up(md) {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
.nav__menu--secondary {
|
|
638
|
-
background-color: var(--colour-primary);
|
|
639
|
-
@include invert-colours();
|
|
640
|
-
|
|
641
|
-
.nav__section-link {
|
|
642
|
-
pointer-events: all;
|
|
643
|
-
}
|
|
369
|
+
.buttons-holder {
|
|
370
|
+
display: contents;
|
|
644
371
|
}
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
372
|
+
.buttons-holder .btn-menu {
|
|
373
|
+
display: inline-block;
|
|
374
|
+
order: 2;
|
|
648
375
|
}
|
|
649
376
|
|
|
650
|
-
.
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
> li {
|
|
657
|
-
display: inline-block;
|
|
658
|
-
padding-left: 1rem;
|
|
659
|
-
padding-right: 1rem;
|
|
660
|
-
border: none!important;
|
|
661
|
-
padding-block: 0;
|
|
662
|
-
position: relative;
|
|
663
|
-
|
|
664
|
-
a,
|
|
665
|
-
.nav__section-link {
|
|
666
|
-
display: block;
|
|
667
|
-
line-height: 2.25rem;
|
|
668
|
-
padding-block: 0.5rem;
|
|
669
|
-
cursor: pointer;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
ul {
|
|
673
|
-
display: none;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
&:hover,
|
|
677
|
-
&:focus,
|
|
678
|
-
&:focus-within {
|
|
679
|
-
|
|
680
|
-
> .nav__section-link {
|
|
681
|
-
|
|
682
|
-
color: var(--colour-selected);
|
|
683
|
-
}
|
|
377
|
+
.menu,
|
|
378
|
+
.menu__outer,
|
|
379
|
+
.menu__primary {
|
|
380
|
+
display: contents;
|
|
381
|
+
}
|
|
684
382
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
position: absolute;
|
|
689
|
-
top: 100%;
|
|
690
|
-
left: 0;
|
|
691
|
-
padding-top: rem(16);
|
|
383
|
+
.menu__secondary {
|
|
384
|
+
display: none;
|
|
385
|
+
}
|
|
692
386
|
|
|
693
|
-
|
|
694
|
-
box-shadow: 0 4px 20px -10px rgba(51,51,51,0.25);
|
|
387
|
+
.has-secondary .menu__secondary {
|
|
695
388
|
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
389
|
+
background-color: var(--colour-canvas-2);
|
|
390
|
+
display: block;
|
|
391
|
+
position: absolute;
|
|
392
|
+
top: 0;
|
|
393
|
+
left: 0;
|
|
394
|
+
width: 100%;
|
|
699
395
|
|
|
700
|
-
|
|
396
|
+
@media screen and (prefers-color-scheme: light) {
|
|
701
397
|
|
|
702
|
-
|
|
703
|
-
|
|
398
|
+
background-color: #EEEEEE;
|
|
399
|
+
@include reset-colours();
|
|
400
|
+
}
|
|
704
401
|
|
|
705
|
-
|
|
402
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
706
403
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
li.nav__download {
|
|
711
|
-
background: var(--colour-admin);
|
|
712
|
-
padding-top: rem(16);
|
|
713
|
-
|
|
714
|
-
& + li.nav__download {
|
|
715
|
-
padding-top: 0;
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
a {
|
|
720
|
-
white-space: nowrap;
|
|
721
|
-
padding: 0;
|
|
722
|
-
line-height: 3rem;
|
|
723
|
-
|
|
724
|
-
.icon {
|
|
725
|
-
display: inline-block;
|
|
726
|
-
font-size: 1.5em;
|
|
727
|
-
padding: 0;
|
|
728
|
-
margin: -0.15em 0.25em 0 0;
|
|
729
|
-
}
|
|
730
|
-
}
|
|
731
|
-
}
|
|
732
|
-
}
|
|
404
|
+
|
|
405
|
+
@include invert-colours();
|
|
733
406
|
}
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
.nav__menu--secondary > .container > .logout-button {
|
|
737
|
-
display: none;
|
|
738
|
-
}
|
|
739
|
-
|
|
740
|
-
}
|
|
741
|
-
// #endregion
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
// #region Nav account Desktop
|
|
745
407
|
|
|
746
408
|
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
409
|
+
.container {
|
|
410
|
+
margin-left: auto;
|
|
411
|
+
margin-right: auto;
|
|
412
|
+
padding: var(--container-padding)!important;
|
|
413
|
+
padding-top: rem(8)!important;
|
|
414
|
+
padding-bottom: rem(8)!important;
|
|
415
|
+
text-align: right;
|
|
753
416
|
}
|
|
417
|
+
}
|
|
754
418
|
|
|
755
|
-
|
|
419
|
+
::slotted(a[slot="secondary"]) {
|
|
420
|
+
font-size: rem(14)!important;
|
|
756
421
|
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
display: flex;
|
|
762
|
-
flex-wrap: wrap;
|
|
763
|
-
gap: 2rem;
|
|
764
|
-
|
|
765
|
-
align-items: start;
|
|
422
|
+
&:after {
|
|
423
|
+
top: calc(100% - 0.25em)!important;
|
|
424
|
+
}
|
|
425
|
+
}
|
|
766
426
|
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
.credits {
|
|
427
|
+
::slotted(a:not([slot="logo"])),
|
|
428
|
+
::slotted(button) {
|
|
770
429
|
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
430
|
+
margin-bottom: 0!important;
|
|
431
|
+
margin-right: 0!important;
|
|
432
|
+
}
|
|
774
433
|
|
|
775
|
-
|
|
434
|
+
::slotted(a:not([slot="logo"])) {
|
|
776
435
|
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
width: 100%;
|
|
781
|
-
flex-shrink: 0;
|
|
782
|
-
min-width: 100%;
|
|
783
|
-
margin-bottom: 1rem;
|
|
784
|
-
}
|
|
436
|
+
margin-left: rem(32)!important;
|
|
437
|
+
font-size: rem(16)!important;
|
|
438
|
+
font-weight: normal!important;
|
|
785
439
|
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}
|
|
440
|
+
&:after {
|
|
441
|
+
display: none;
|
|
442
|
+
}
|
|
790
443
|
}
|
|
791
|
-
}
|
|
792
|
-
// #endregion
|
|
793
444
|
|
|
445
|
+
::slotted(button) {
|
|
794
446
|
|
|
795
|
-
|
|
796
|
-
|
|
447
|
+
margin-left: rem(48)!important;
|
|
448
|
+
}
|
|
797
449
|
|
|
798
|
-
|
|
450
|
+
.has-actions slot[name="actions"]{
|
|
451
|
+
display: block;
|
|
452
|
+
padding-left: rem(48);
|
|
453
|
+
}
|
|
799
454
|
|
|
800
|
-
|
|
455
|
+
// Search bar
|
|
456
|
+
slot[name="actions"]::slotted(button) {
|
|
801
457
|
|
|
802
|
-
|
|
803
|
-
margin-bottom: -5rem;
|
|
458
|
+
margin-left: rem(12)!important;
|
|
804
459
|
}
|
|
805
460
|
|
|
806
|
-
|
|
461
|
+
:host([data-search]) slot[name="actions"] {
|
|
807
462
|
|
|
808
|
-
|
|
463
|
+
padding-left: 0!important;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
#search-wrapper {
|
|
809
467
|
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
@include media-breakpoint-up(md) {
|
|
814
|
-
--bs-bg-opacity: 1;
|
|
815
|
-
}
|
|
816
|
-
}
|
|
468
|
+
margin-left: rem(24)!important;
|
|
469
|
+
position: static;
|
|
470
|
+
}
|
|
817
471
|
|
|
472
|
+
#search-dialog[open] {
|
|
473
|
+
position: absolute;
|
|
474
|
+
top: auto;
|
|
475
|
+
bottom: 0;
|
|
476
|
+
left: 0;
|
|
477
|
+
width: 100%;
|
|
478
|
+
padding-block: rem(24);
|
|
479
|
+
padding-inline: 0;
|
|
480
|
+
background-color: transparent;
|
|
818
481
|
|
|
819
|
-
|
|
482
|
+
text-align: right;
|
|
483
|
+
border-radius: 0;
|
|
484
|
+
box-shadow: none;
|
|
820
485
|
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
width: 100vw!important;
|
|
826
|
-
max-width: 100vw!important;
|
|
827
|
-
-webkit-transform: translateX(-50%);
|
|
828
|
-
-ms-transform: translateX(-50%);
|
|
829
|
-
transform: translateX(-50%);
|
|
830
|
-
|
|
831
|
-
background: rgba(0,0,0,.6);
|
|
832
|
-
height: calc(100vh - 8rem);
|
|
833
|
-
|
|
834
|
-
pointer-events: none;
|
|
835
|
-
padding-top: 0;
|
|
836
|
-
|
|
837
|
-
.container {
|
|
838
|
-
padding: 0 rem(60 - 36) 1rem rem(60 - 36)!important;
|
|
839
|
-
max-width: rem(1440)!important;
|
|
840
|
-
text-align: left;
|
|
841
|
-
pointer-events: all;
|
|
842
|
-
display: flex;
|
|
843
|
-
|
|
844
|
-
> div {
|
|
845
|
-
padding: rem(36);
|
|
846
|
-
}
|
|
847
|
-
}
|
|
486
|
+
.container {
|
|
487
|
+
|
|
488
|
+
padding: var(--container-padding);
|
|
489
|
+
padding-bottom: 0;
|
|
848
490
|
}
|
|
849
491
|
}
|
|
850
|
-
}
|
|
851
|
-
// #endregion
|
|
852
492
|
|
|
853
|
-
|
|
854
|
-
.nav--inline-search {
|
|
493
|
+
:host(.search-open) {
|
|
855
494
|
|
|
856
|
-
|
|
857
|
-
position: relative;
|
|
858
|
-
.form-control__wrapper .form-control {
|
|
859
|
-
padding-right: 3rem;
|
|
860
|
-
}
|
|
495
|
+
background: #E6EAEC!important;
|
|
861
496
|
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
right: 0;
|
|
866
|
-
margin: 0;
|
|
867
|
-
z-index: var(--index-focus);
|
|
868
|
-
border-color: transparent;
|
|
869
|
-
background: transparent;
|
|
870
|
-
padding: 0.85rem 0rem;
|
|
871
|
-
|
|
872
|
-
.icon {
|
|
873
|
-
stroke: currentColor;
|
|
874
|
-
}
|
|
497
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
498
|
+
|
|
499
|
+
background: var(--colour-canvas-2)!important;
|
|
875
500
|
}
|
|
876
|
-
}
|
|
877
501
|
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
margin-right: 0!important;
|
|
502
|
+
.buttons-holder,
|
|
503
|
+
#search-button {
|
|
504
|
+
display: none;
|
|
882
505
|
}
|
|
506
|
+
}
|
|
883
507
|
|
|
884
|
-
|
|
885
|
-
min-width: rem(350);
|
|
886
|
-
position: relative;
|
|
887
|
-
|
|
888
|
-
.form-control__wrapper {
|
|
889
|
-
margin-bottom: 0;
|
|
890
|
-
display: flex;
|
|
891
|
-
align-items: center;
|
|
508
|
+
:host(.search-open.bg-primary) {
|
|
892
509
|
|
|
893
|
-
|
|
894
|
-
white-space: nowrap;
|
|
895
|
-
padding-right: 1rem;
|
|
896
|
-
}
|
|
510
|
+
background: var(--colour-primary)!important;
|
|
897
511
|
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
}
|
|
512
|
+
.suffix,
|
|
513
|
+
#search {
|
|
514
|
+
border: 2px solid #B3C1C5;
|
|
515
|
+
color: white;
|
|
516
|
+
}
|
|
517
|
+
#search {
|
|
518
|
+
border-right: 0;
|
|
906
519
|
}
|
|
907
520
|
}
|
|
908
|
-
}
|
|
909
|
-
// #endregion
|
|
910
521
|
|
|
911
|
-
//
|
|
912
|
-
|
|
913
|
-
.nav--admin {
|
|
914
|
-
.nav__logo {
|
|
915
|
-
height: 3rem;
|
|
522
|
+
// backdrop
|
|
523
|
+
.backdrop {
|
|
916
524
|
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
525
|
+
content: "";
|
|
526
|
+
display: block;
|
|
527
|
+
position: absolute;
|
|
528
|
+
top: 100%;
|
|
529
|
+
left: 0;
|
|
530
|
+
height: calc(100vh - var(--nav-height));
|
|
531
|
+
width: 100%;
|
|
532
|
+
z-index: -1;
|
|
533
|
+
pointer-events: none;
|
|
534
|
+
transition: background 0.5s;
|
|
535
|
+
|
|
536
|
+
&.show {
|
|
537
|
+
|
|
538
|
+
pointer-events: all;
|
|
539
|
+
background: rgba(0,0,0,0.2);
|
|
540
|
+
backdrop-filter: blur(2px);
|
|
920
541
|
}
|
|
921
542
|
}
|
|
922
543
|
}
|
|
923
544
|
// #endregion
|
|
924
545
|
|
|
925
|
-
// #region
|
|
546
|
+
// #region Menus
|
|
547
|
+
::slotted(.nav--menu) {
|
|
548
|
+
overscroll-behavior: contain;
|
|
549
|
+
width: calc(#{rem(375)} - var(--scrollbar-width));
|
|
550
|
+
background-color: var(--colour-canvas-2);
|
|
551
|
+
position: absolute;
|
|
552
|
+
height: calc(100vh - #{rem(96)});
|
|
553
|
+
left: 100%;
|
|
554
|
+
top: 0;
|
|
555
|
+
padding: 0 rem(24) 0 rem(24);
|
|
556
|
+
z-index: var(--index-menu);
|
|
557
|
+
overflow: auto;
|
|
558
|
+
transition: all 1s ease-out;
|
|
559
|
+
display: flex;
|
|
560
|
+
flex-direction: column;
|
|
561
|
+
flex-wrap: nowrap;
|
|
926
562
|
|
|
927
|
-
|
|
563
|
+
> * {
|
|
564
|
+
flex-shrink: 0;
|
|
565
|
+
}
|
|
928
566
|
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
567
|
+
@media screen and (prefers-color-scheme: dark) {
|
|
568
|
+
--colour-link: var(--colour-white);
|
|
569
|
+
@include invert-colours();
|
|
932
570
|
}
|
|
933
571
|
|
|
934
|
-
|
|
572
|
+
// The menu is always white unless in dark mode
|
|
573
|
+
@media screen and (prefers-color-scheme: light) {
|
|
935
574
|
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
display: block!important;
|
|
939
|
-
}
|
|
575
|
+
background-color: var(--colour-white);
|
|
576
|
+
@include reset-colours();
|
|
940
577
|
}
|
|
941
578
|
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
left: 0;
|
|
947
|
-
pointer-events: none;
|
|
948
|
-
background: transparent;
|
|
579
|
+
@media (forced-colors: active) {
|
|
580
|
+
|
|
581
|
+
outline: 1px solid white;
|
|
582
|
+
}
|
|
949
583
|
|
|
584
|
+
&:before {
|
|
585
|
+
display: block ;
|
|
586
|
+
width: 100%;
|
|
587
|
+
border-top: 2px solid var(--colour-border);
|
|
588
|
+
z-index: 1;
|
|
589
|
+
padding-block: rem(24);
|
|
590
|
+
margin: 0;
|
|
591
|
+
font-family: $headings-font-family;
|
|
592
|
+
font-style: $headings-font-style;
|
|
593
|
+
font-weight: $headings-font-weight;
|
|
594
|
+
color: $headings-color;
|
|
595
|
+
clear: both;
|
|
596
|
+
font-size: rem(map-get($heading-sizes,"h3_fs"));
|
|
597
|
+
line-height: rem(map-get($heading-sizes,"h3_lh"));
|
|
598
|
+
max-width: var(--content-max-width);
|
|
599
|
+
|
|
950
600
|
@include media-breakpoint-up(sm) {
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
601
|
+
|
|
602
|
+
font-size: rem(map-get($heading-sizes,"h3_fs_sm"));
|
|
603
|
+
line-height: rem(map-get($heading-sizes,"h3_lh_sm"));
|
|
954
604
|
}
|
|
605
|
+
}
|
|
955
606
|
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
}
|
|
959
|
-
> .container:not(:first-child) {
|
|
960
|
-
pointer-events: all;
|
|
961
|
-
}
|
|
607
|
+
&:before {
|
|
608
|
+
content: attr(data-title);
|
|
962
609
|
}
|
|
610
|
+
|
|
611
|
+
@include media-breakpoint-up(md) {
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
height: calc(100vh - var(--nav-height));
|
|
615
|
+
top: 100%;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
::slotted(.nav--menu.open) {
|
|
620
|
+
left: calc(100% - (#{rem(375)} - var(--scrollbar-width)) );
|
|
621
|
+
-webkit-box-shadow: 0 6px 12px 0px rgba(0,0,0,0.2);
|
|
622
|
+
box-shadow: 0 6px 12px 0px rgba(0,0,0,0.2);
|
|
623
|
+
pointer-events: all;
|
|
963
624
|
}
|
|
964
625
|
|
|
626
|
+
@media screen and (max-width: 62em) {
|
|
627
|
+
:host(.open) .menu__outer {
|
|
628
|
+
|
|
629
|
+
background: rgba(0,0,0,0.2);
|
|
630
|
+
backdrop-filter: blur(2px);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
965
633
|
// #endregion
|