@asd20/ui 3.2.566 → 3.2.567
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/organisms/Asd20PageHeader/index.vue +5 -4
- package/src/components/organisms/Asd20VideoHeader/index.vue +4 -3
- package/src/components/templates/Asd20DetailTemplate/index.vue +3 -0
- package/src/components/templates/Asd20DistrictVideoTemplate/index.vue +99 -15
package/package.json
CHANGED
|
@@ -308,8 +308,12 @@ export default {
|
|
|
308
308
|
background: rgba(255, 255, 255, 0.9);
|
|
309
309
|
border-radius: 3rem;
|
|
310
310
|
padding: 0 0 0 0.5em;
|
|
311
|
-
|
|
311
|
+
.asd20-select-input {
|
|
312
|
+
margin-bottom: 0;
|
|
312
313
|
color: var(--website-page__foreground-color) !important;
|
|
314
|
+
&__select-wrapper {
|
|
315
|
+
flex-grow: 0;
|
|
316
|
+
}
|
|
313
317
|
}
|
|
314
318
|
}
|
|
315
319
|
.asd20-language-loader {
|
|
@@ -325,9 +329,6 @@ export default {
|
|
|
325
329
|
--line-color: currentColor !important;
|
|
326
330
|
}
|
|
327
331
|
}
|
|
328
|
-
&::v-deep .asd20-select-input {
|
|
329
|
-
margin-bottom: 0;
|
|
330
|
-
}
|
|
331
332
|
}
|
|
332
333
|
|
|
333
334
|
&__top {
|
|
@@ -93,8 +93,8 @@ export default {
|
|
|
93
93
|
object-fit: cover;
|
|
94
94
|
}
|
|
95
95
|
& /deep/ .notification-group--status .notifications {
|
|
96
|
-
padding: 0.
|
|
97
|
-
border-radius:
|
|
96
|
+
padding: 0.375em;
|
|
97
|
+
border-radius: 3rem;
|
|
98
98
|
background: rgba(255, 255, 255, 0.95);
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -113,7 +113,7 @@ export default {
|
|
|
113
113
|
// flex-direction: column;
|
|
114
114
|
|
|
115
115
|
& /deep/ .notification-group--status {
|
|
116
|
-
margin-left: -0.5rem;
|
|
116
|
+
// margin-left: -0.5rem;
|
|
117
117
|
.asd20-notification {
|
|
118
118
|
margin: 0;
|
|
119
119
|
padding: 0 !important;
|
|
@@ -122,6 +122,7 @@ export default {
|
|
|
122
122
|
|
|
123
123
|
& /deep/ .notification-group--floating {
|
|
124
124
|
margin-right: 0;
|
|
125
|
+
margin-left: 0.25rem;
|
|
125
126
|
}
|
|
126
127
|
}
|
|
127
128
|
.scroll-down-indicator {
|
|
@@ -41,8 +41,9 @@
|
|
|
41
41
|
reversed
|
|
42
42
|
></asd20-organization-picker>
|
|
43
43
|
</client-only>
|
|
44
|
-
|
|
44
|
+
<!-- </template>
|
|
45
45
|
<template slot="top"> -->
|
|
46
|
+
|
|
46
47
|
<div
|
|
47
48
|
:class="
|
|
48
49
|
activeNotificationsByType.floating.length > 0
|
|
@@ -50,19 +51,34 @@
|
|
|
50
51
|
: 'notification-wrapper'
|
|
51
52
|
"
|
|
52
53
|
>
|
|
53
|
-
<
|
|
54
|
-
<
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
<div class="weather-status-and-translation-container">
|
|
55
|
+
<client-only>
|
|
56
|
+
<Asd20LanguageTranslation
|
|
57
|
+
:class="{
|
|
58
|
+
'translation-button-adjust':
|
|
59
|
+
activeNotificationsByType.floating.length > 0 ||
|
|
60
|
+
activeNotificationsByType.status.length > 0,
|
|
61
|
+
}"
|
|
62
|
+
v-if="languageCode"
|
|
63
|
+
reversed
|
|
64
|
+
:languageCode="languageCode"
|
|
65
|
+
v-on="$listeners"
|
|
63
66
|
/>
|
|
64
|
-
</
|
|
65
|
-
|
|
67
|
+
</client-only>
|
|
68
|
+
<client-only>
|
|
69
|
+
<a
|
|
70
|
+
class="weather-link"
|
|
71
|
+
href="https://www.asd20.org/alerts-and-communication/weather-related-communication/"
|
|
72
|
+
>
|
|
73
|
+
<asd20-notification-group
|
|
74
|
+
:notifications="activeNotificationsByType.status"
|
|
75
|
+
group-type="status"
|
|
76
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
77
|
+
@toggle-all="$emit('toggle-all')"
|
|
78
|
+
/>
|
|
79
|
+
</a>
|
|
80
|
+
</client-only>
|
|
81
|
+
</div>
|
|
66
82
|
|
|
67
83
|
<client-only>
|
|
68
84
|
<asd20-notification-group
|
|
@@ -136,6 +152,7 @@ import Asd20FeedsSection from '../../../components/organisms/Asd20FeedsSection'
|
|
|
136
152
|
import Asd20VideoHeader from '../../../components/organisms/Asd20VideoHeader'
|
|
137
153
|
import Asd20VideoHeaderContent from '../../../components/organisms/Asd20VideoHeaderContent'
|
|
138
154
|
import Asd20SecondaryHeader from '../../../components/organisms/Asd20SecondaryHeader'
|
|
155
|
+
import Asd20LanguageTranslation from '../../molecules/Asd20LanguageTranslation'
|
|
139
156
|
|
|
140
157
|
export default {
|
|
141
158
|
name: 'Asd20DistrictVideoTemplate',
|
|
@@ -143,6 +160,9 @@ export default {
|
|
|
143
160
|
mixins: [pageTemplateMixin],
|
|
144
161
|
|
|
145
162
|
directives: { scrollTrack },
|
|
163
|
+
props: {
|
|
164
|
+
languageCode: { type: String, default: 'en' },
|
|
165
|
+
},
|
|
146
166
|
|
|
147
167
|
computed: {
|
|
148
168
|
mq() {
|
|
@@ -163,6 +183,7 @@ export default {
|
|
|
163
183
|
Asd20VideoHeader,
|
|
164
184
|
Asd20VideoHeaderContent,
|
|
165
185
|
Asd20SecondaryHeader,
|
|
186
|
+
Asd20LanguageTranslation,
|
|
166
187
|
},
|
|
167
188
|
}
|
|
168
189
|
</script>
|
|
@@ -186,9 +207,45 @@ export default {
|
|
|
186
207
|
margin-top: space(2.25);
|
|
187
208
|
|
|
188
209
|
.asd20-video-header {
|
|
210
|
+
.weather-status-and-translation-container {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex-direction: row;
|
|
213
|
+
}
|
|
214
|
+
.asd20-language-translation {
|
|
215
|
+
position: absolute;
|
|
216
|
+
top: 1rem;
|
|
217
|
+
right: 0.5rem;
|
|
218
|
+
flex-grow: 1;
|
|
219
|
+
background: rgba(255, 255, 255, 0.9);
|
|
220
|
+
border-radius: 3rem;
|
|
221
|
+
.asd20-select-input {
|
|
222
|
+
// padding-left: 0.5em;
|
|
223
|
+
padding: 0.375rem;
|
|
224
|
+
// flex-grow: 1;
|
|
225
|
+
color: currentColor;
|
|
226
|
+
font-family: Ariel, Arial, Helvetica, sans-serif;
|
|
227
|
+
&__select-wrapper {
|
|
228
|
+
display: none;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
.asd20-icon {
|
|
232
|
+
width: 24px !important;
|
|
233
|
+
height: 24px !important;
|
|
234
|
+
--line-color: currentColor !important;
|
|
235
|
+
--fill-color: var(--color__accent) !important;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
.asd20-language-loader {
|
|
239
|
+
order: 1;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.translation-button-adjust {
|
|
243
|
+
top: 3.5rem;
|
|
244
|
+
}
|
|
189
245
|
.weather-link {
|
|
190
246
|
text-decoration: none;
|
|
191
|
-
border-radius:
|
|
247
|
+
border-radius: 3rem;
|
|
248
|
+
margin-top: 0.25rem;
|
|
192
249
|
}
|
|
193
250
|
.asd20-organization-picker {
|
|
194
251
|
display: none;
|
|
@@ -237,8 +294,35 @@ export default {
|
|
|
237
294
|
}
|
|
238
295
|
}
|
|
239
296
|
|
|
240
|
-
@media (min-width:
|
|
297
|
+
@media (min-width: 668px) {
|
|
241
298
|
.asd20-district-video-template {
|
|
299
|
+
.asd20-video-header {
|
|
300
|
+
.weather-status-and-translation-container {
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
}
|
|
303
|
+
.asd20-language-translation {
|
|
304
|
+
position: relative;
|
|
305
|
+
top: 0;
|
|
306
|
+
right: 0;
|
|
307
|
+
.asd20-select-input {
|
|
308
|
+
padding: 0 0 0 0;
|
|
309
|
+
padding-left: 0.5em;
|
|
310
|
+
&__select-wrapper {
|
|
311
|
+
display: inherit;
|
|
312
|
+
flex-grow: 0;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
.asd20-icon {
|
|
316
|
+
width: 24px !important;
|
|
317
|
+
height: 24px !important;
|
|
318
|
+
--line-color: currentColor !important;
|
|
319
|
+
--fill-color: var(--color__accent) !important;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
.translation-button-adjust {
|
|
323
|
+
top: 0;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
242
326
|
.asd20-video-header-content {
|
|
243
327
|
// position: absolute;
|
|
244
328
|
top: inherit;
|