@asd20/ui 3.2.568 → 3.2.570
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/package.json +1 -1
- package/src/components/atoms/Asd20SelectInput/index.vue +3 -2
- package/src/components/organisms/Asd20PageHeader/index.vue +25 -17
- package/src/components/organisms/Asd20VideoHeader/index.vue +1 -1
- package/src/components/templates/Asd20DetailTemplate/index.vue +3 -3
- package/src/components/templates/Asd20DistrictHomeTemplate/index.stories.js +1 -1
- package/src/components/templates/Asd20DistrictHomeTemplate/index.vue +31 -4
- package/src/components/templates/Asd20DistrictVideoTemplate/index.vue +24 -10
- package/src/components/templates/Asd20SchoolHomeTemplate/index.vue +10 -4
- package/src/components/templates/Asd20SchoolHomeVideoTemplate/index.vue +1 -1
package/package.json
CHANGED
|
@@ -89,9 +89,10 @@ $input-reversed-text-color: var(--color__accent-t100);
|
|
|
89
89
|
align-items: center;
|
|
90
90
|
font-size: 1em;
|
|
91
91
|
font-weight: normal;
|
|
92
|
+
font-family: Ariel, Arial, Helvetica, sans-serif;
|
|
92
93
|
border-radius: 2px;
|
|
93
94
|
cursor: pointer;
|
|
94
|
-
color:
|
|
95
|
+
color: var(--website-page__foreground-color);
|
|
95
96
|
padding: space(0.25) space(0.5);
|
|
96
97
|
height: space(1.25);
|
|
97
98
|
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
|
@@ -150,7 +151,7 @@ $input-reversed-text-color: var(--color__accent-t100);
|
|
|
150
151
|
}
|
|
151
152
|
|
|
152
153
|
&__label {
|
|
153
|
-
color:
|
|
154
|
+
color: var(--website-page__foreground-color);
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
&__field-wrapper {
|
|
@@ -63,7 +63,10 @@
|
|
|
63
63
|
v-if="publishDateTime"
|
|
64
64
|
:dateTime="publishDateTime"
|
|
65
65
|
/>
|
|
66
|
-
<div
|
|
66
|
+
<div
|
|
67
|
+
class="modified-meta"
|
|
68
|
+
v-if="modifiedDateTime && showModifiedDateTime"
|
|
69
|
+
>
|
|
67
70
|
<span class="date-prefix"> | Updated:</span>
|
|
68
71
|
<asd20-formatted-date :dateTime="modifiedDateTime" />
|
|
69
72
|
</div>
|
|
@@ -208,7 +211,9 @@ export default {
|
|
|
208
211
|
const modifiedDateTimeString = new Date(this.modifiedDateTime)
|
|
209
212
|
// console.log(publishDateTimeString, modifiedDateTimeString)
|
|
210
213
|
|
|
211
|
-
let publishDateTimePlusOne = new Date(
|
|
214
|
+
let publishDateTimePlusOne = new Date(
|
|
215
|
+
publishDateTimeString.setDate(publishDateTimeString.getDate() + 1)
|
|
216
|
+
)
|
|
212
217
|
// console.log(publishDateTimePlusOne, modifiedDateTimeString)
|
|
213
218
|
return modifiedDateTimeString > publishDateTimePlusOne ? true : false
|
|
214
219
|
},
|
|
@@ -302,33 +307,36 @@ export default {
|
|
|
302
307
|
color: var(--website-button__foreground-color);
|
|
303
308
|
}
|
|
304
309
|
}
|
|
310
|
+
&::v-deep .asd20-icon {
|
|
311
|
+
width: 24px !important;
|
|
312
|
+
height: 24px !important;
|
|
313
|
+
--line-color: currentColor !important;
|
|
314
|
+
--fill-color: var(--color__accent) !important;
|
|
315
|
+
g {
|
|
316
|
+
// --website-icon__line-color: var(--website-icon__line-color) !important;
|
|
317
|
+
--line-color: currentColor !important;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
305
320
|
.asd20-language-translation {
|
|
306
321
|
flex-grow: 0;
|
|
307
322
|
width: max-content;
|
|
308
323
|
background: rgba(255, 255, 255, 0.9);
|
|
309
324
|
border-radius: 3rem;
|
|
310
325
|
padding: 0 0 0 0.5em;
|
|
311
|
-
.asd20-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
326
|
+
&::v-deep .asd20-icon {
|
|
327
|
+
width: 24px !important;
|
|
328
|
+
height: 24px !important;
|
|
329
|
+
--line-color: var(--website-page__foreground-color) !important;
|
|
330
|
+
--fill-color: var(--color__accent) !important;
|
|
331
|
+
g {
|
|
332
|
+
// --website-icon__line-color: var(--website-icon__line-color) !important;
|
|
333
|
+
--line-color: var(--website-page__foreground-color) !important;
|
|
316
334
|
}
|
|
317
335
|
}
|
|
318
336
|
}
|
|
319
337
|
.asd20-language-loader {
|
|
320
338
|
order: 1;
|
|
321
339
|
}
|
|
322
|
-
&::v-deep .asd20-icon {
|
|
323
|
-
width: 24px !important;
|
|
324
|
-
height: 24px !important;
|
|
325
|
-
--line-color: currentColor !important;
|
|
326
|
-
--fill-color: var(--color__accent) !important;
|
|
327
|
-
g {
|
|
328
|
-
// --website-icon__line-color: var(--website-icon__line-color) !important;
|
|
329
|
-
--line-color: currentColor !important;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
340
|
}
|
|
333
341
|
|
|
334
342
|
&__top {
|
|
@@ -163,9 +163,9 @@ export default {
|
|
|
163
163
|
Asd20QuicklinksMenu,
|
|
164
164
|
Asd20MediaSection,
|
|
165
165
|
},
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
props: {
|
|
167
|
+
languageCode: { type: String, default: 'en' },
|
|
168
|
+
},
|
|
169
169
|
}
|
|
170
170
|
</script>
|
|
171
171
|
|
|
@@ -91,6 +91,11 @@
|
|
|
91
91
|
|
|
92
92
|
<client-only>
|
|
93
93
|
<Asd20LanguageTranslation
|
|
94
|
+
:class="
|
|
95
|
+
activeNotificationsByType.status.length > 0
|
|
96
|
+
? ''
|
|
97
|
+
: 'translation-button-adjust'
|
|
98
|
+
"
|
|
94
99
|
v-if="languageCode"
|
|
95
100
|
reversed
|
|
96
101
|
:languageCode="languageCode"
|
|
@@ -312,7 +317,7 @@ export default {
|
|
|
312
317
|
background: #fff;
|
|
313
318
|
position: relative;
|
|
314
319
|
z-index: 100;
|
|
315
|
-
padding: space(0
|
|
320
|
+
padding: space(0) space(0);
|
|
316
321
|
display: flex;
|
|
317
322
|
justify-content: space-between;
|
|
318
323
|
align-items: center;
|
|
@@ -334,12 +339,12 @@ export default {
|
|
|
334
339
|
background: rgba(255, 255, 255, 1);
|
|
335
340
|
border-radius: 50%;
|
|
336
341
|
border: 1px solid var(--website-page__alternate-background-color);
|
|
337
|
-
margin-left: 0.5rem;
|
|
342
|
+
// margin-left: 0.5rem;
|
|
338
343
|
.asd20-select-input {
|
|
339
344
|
padding: 0.25rem 0.25rem;
|
|
340
345
|
color: currentColor;
|
|
341
346
|
font-family: Ariel, Arial, Helvetica, sans-serif;
|
|
342
|
-
&
|
|
347
|
+
&__overlay-label {
|
|
343
348
|
display: none;
|
|
344
349
|
}
|
|
345
350
|
}
|
|
@@ -353,6 +358,11 @@ export default {
|
|
|
353
358
|
.asd20-language-loader {
|
|
354
359
|
order: 1;
|
|
355
360
|
}
|
|
361
|
+
.translation-button-adjust {
|
|
362
|
+
position: absolute;
|
|
363
|
+
top: space(1.375);
|
|
364
|
+
right: space(0.5);
|
|
365
|
+
}
|
|
356
366
|
& /deep/ .notification-group--status .notifications {
|
|
357
367
|
padding: 0.25em;
|
|
358
368
|
border-radius: 1em;
|
|
@@ -396,7 +406,7 @@ export default {
|
|
|
396
406
|
.double-notification-wrapper {
|
|
397
407
|
display: flex;
|
|
398
408
|
flex-direction: row;
|
|
399
|
-
justify-content:
|
|
409
|
+
justify-content: space-around;
|
|
400
410
|
width: 100%;
|
|
401
411
|
align-items: center;
|
|
402
412
|
flex-wrap: wrap;
|
|
@@ -425,6 +435,23 @@ export default {
|
|
|
425
435
|
// }
|
|
426
436
|
}
|
|
427
437
|
|
|
438
|
+
@media (min-width: 667px) {
|
|
439
|
+
.asd20-district-home-template {
|
|
440
|
+
.logo-header {
|
|
441
|
+
padding: 0 space(1);
|
|
442
|
+
}
|
|
443
|
+
.translation-button-adjust {
|
|
444
|
+
position: relative !important;
|
|
445
|
+
top: 0 !important;
|
|
446
|
+
right: 0 !important;
|
|
447
|
+
}
|
|
448
|
+
.double-notification-wrapper {
|
|
449
|
+
padding-right: space(1);
|
|
450
|
+
justify-content: flex-end !important;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
428
455
|
@media (min-width: 1024px) {
|
|
429
456
|
.asd20-district-home-template {
|
|
430
457
|
display: block;
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
|
|
69
69
|
<client-only>
|
|
70
70
|
<Asd20LanguageTranslation
|
|
71
|
-
:class="
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
71
|
+
:class="
|
|
72
|
+
activeNotificationsByType.status.length > 0
|
|
73
|
+
? ''
|
|
74
|
+
: 'translation-button-adjust'
|
|
75
|
+
"
|
|
76
76
|
v-if="languageCode"
|
|
77
77
|
reversed
|
|
78
78
|
:languageCode="languageCode"
|
|
@@ -215,7 +215,7 @@ export default {
|
|
|
215
215
|
}
|
|
216
216
|
.asd20-language-translation {
|
|
217
217
|
position: absolute;
|
|
218
|
-
top:
|
|
218
|
+
top: 3.5rem;
|
|
219
219
|
right: 0.5rem;
|
|
220
220
|
background: rgba(255, 255, 255, 0.9);
|
|
221
221
|
border-radius: 3rem;
|
|
@@ -224,7 +224,7 @@ export default {
|
|
|
224
224
|
padding: 0.25rem 0.25rem;
|
|
225
225
|
color: currentColor;
|
|
226
226
|
font-family: Ariel, Arial, Helvetica, sans-serif;
|
|
227
|
-
&
|
|
227
|
+
&__overlay-label {
|
|
228
228
|
display: none;
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -240,7 +240,9 @@ export default {
|
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
.translation-button-adjust {
|
|
243
|
-
|
|
243
|
+
position: absolute;
|
|
244
|
+
top: space(1);
|
|
245
|
+
right: space(0.5);
|
|
244
246
|
}
|
|
245
247
|
.weather-link {
|
|
246
248
|
text-decoration: none;
|
|
@@ -311,7 +313,12 @@ export default {
|
|
|
311
313
|
}
|
|
312
314
|
}
|
|
313
315
|
.translation-button-adjust {
|
|
314
|
-
|
|
316
|
+
position: absolute;
|
|
317
|
+
top: space(1);
|
|
318
|
+
right: space(0.5);
|
|
319
|
+
}
|
|
320
|
+
.double-notification-wrapper {
|
|
321
|
+
justify-content: center;
|
|
315
322
|
}
|
|
316
323
|
}
|
|
317
324
|
.asd20-video-header-content {
|
|
@@ -338,12 +345,19 @@ export default {
|
|
|
338
345
|
// }
|
|
339
346
|
}
|
|
340
347
|
.asd20-video-header {
|
|
348
|
+
.translation-button-adjust {
|
|
349
|
+
position: absolute;
|
|
350
|
+
top: space(-1) !important;
|
|
351
|
+
right: space(0) !important;
|
|
352
|
+
}
|
|
353
|
+
.double-notification-wrapper {
|
|
354
|
+
justify-content: flex-end !important;
|
|
355
|
+
}
|
|
341
356
|
.asd20-video-header-content {
|
|
342
357
|
position: absolute;
|
|
343
358
|
bottom: 20%;
|
|
344
359
|
transform: translate3d(0, calc(-70% * var(--scroll-progress)), 0);
|
|
345
360
|
animation: slide_left 1s ease-in-out 0.5s both;
|
|
346
|
-
|
|
347
361
|
.lead {
|
|
348
362
|
}
|
|
349
363
|
}
|
|
@@ -235,18 +235,18 @@ export default {
|
|
|
235
235
|
align-items: center;
|
|
236
236
|
flex-wrap: wrap;
|
|
237
237
|
justify-content: flex-end;
|
|
238
|
-
margin-right:
|
|
238
|
+
margin-right: space(1.5);
|
|
239
239
|
}
|
|
240
240
|
.asd20-language-translation {
|
|
241
241
|
background: rgba(255, 255, 255, 1);
|
|
242
242
|
border-radius: 50%;
|
|
243
243
|
border: 1px solid var(--website-page__alternate-background-color);
|
|
244
|
-
margin: 0
|
|
244
|
+
margin-left: 0.05rem;
|
|
245
245
|
.asd20-select-input {
|
|
246
246
|
padding: 0.25rem 0.25rem;
|
|
247
247
|
color: currentColor;
|
|
248
248
|
font-family: Ariel, Arial, Helvetica, sans-serif;
|
|
249
|
-
&
|
|
249
|
+
&__overlay-label {
|
|
250
250
|
display: none;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
@@ -304,8 +304,11 @@ export default {
|
|
|
304
304
|
|
|
305
305
|
@media (min-width: 667px) {
|
|
306
306
|
.asd20-school-home-template {
|
|
307
|
+
.notification-translation-container {
|
|
308
|
+
margin-right: space(1);
|
|
309
|
+
}
|
|
307
310
|
.asd20-language-translation {
|
|
308
|
-
margin: 0
|
|
311
|
+
margin-left: 0.5rem;
|
|
309
312
|
}
|
|
310
313
|
}
|
|
311
314
|
}
|
|
@@ -315,6 +318,9 @@ export default {
|
|
|
315
318
|
display: block;
|
|
316
319
|
margin-left: space(3);
|
|
317
320
|
margin-top: 0;
|
|
321
|
+
.notification-translation-container {
|
|
322
|
+
margin-right: 0.25rem;
|
|
323
|
+
}
|
|
318
324
|
.asd20-notification--status {
|
|
319
325
|
.asd20-notification__content {
|
|
320
326
|
padding-right: 0;
|