@asd20/ui 3.2.828 → 3.2.829
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
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
<div>
|
|
3
|
+
<div class="photostrip"></div>
|
|
4
|
+
|
|
5
|
+
<section class="asd20-primary-header" aria-label="Primary message">
|
|
6
|
+
<asd20-messaging id="main" v-bind="firstMessage"></asd20-messaging>
|
|
7
|
+
<div class="image-container">
|
|
8
|
+
<img
|
|
9
|
+
class="background-image"
|
|
10
|
+
:src="pageHeaderContent.imageUrl"
|
|
11
|
+
alt=""
|
|
12
|
+
/>
|
|
13
|
+
</div>
|
|
14
|
+
</section>
|
|
15
|
+
</div>
|
|
8
16
|
</template>
|
|
9
17
|
|
|
10
18
|
<script>
|
|
@@ -66,7 +74,20 @@ export default {
|
|
|
66
74
|
<style lang="scss" scoped>
|
|
67
75
|
@import '../../../design/_variables.scss';
|
|
68
76
|
@import '../../../design/_mixins.scss';
|
|
77
|
+
.photostrip {
|
|
78
|
+
height: 25vh;
|
|
79
|
+
width: 100%;
|
|
80
|
+
background-image: url(https://asd20websitestorage.blob.core.windows.net/asd20-images/page-images/ASD20PhotoStrip.jpg);
|
|
81
|
+
background-size: cover;
|
|
82
|
+
background-position: center;
|
|
83
|
+
background-attachment: scroll;
|
|
84
|
+
position: relative;
|
|
85
|
+
background-repeat: repeat-x;
|
|
86
|
+
animation: leftscroll 2000s infinite linear;
|
|
87
|
+
border-top: 20px solid var(--color__primary);
|
|
88
|
+
border-bottom: 20px solid var(--color__primary);
|
|
69
89
|
|
|
90
|
+
}
|
|
70
91
|
.asd20-primary-header {
|
|
71
92
|
position: relative;
|
|
72
93
|
display: flex;
|
|
@@ -80,7 +101,8 @@ export default {
|
|
|
80
101
|
|
|
81
102
|
color: var(--color__primary);
|
|
82
103
|
padding: space(3) space(1) space(3) space(1);
|
|
83
|
-
margin-top: space(1);
|
|
104
|
+
// margin-top: space(1);
|
|
105
|
+
|
|
84
106
|
.asd20-messaging {
|
|
85
107
|
margin-right: 0;
|
|
86
108
|
padding-top: space(2);
|
|
@@ -120,18 +142,18 @@ export default {
|
|
|
120
142
|
}
|
|
121
143
|
}
|
|
122
144
|
|
|
123
|
-
&::before {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
145
|
+
// &::before {
|
|
146
|
+
// content: '';
|
|
147
|
+
// display: block;
|
|
148
|
+
// position: absolute;
|
|
149
|
+
// width: 100%;
|
|
150
|
+
// top: space(-1);
|
|
151
|
+
// left: 0;
|
|
152
|
+
// height: space(3);
|
|
153
|
+
// background-image: url('https://asd20websitestorage.blob.core.windows.net/asd20-images/page-images/asd20-header-divider.jpg');
|
|
154
|
+
// background-size: cover;
|
|
155
|
+
// background-position: 55% top;
|
|
156
|
+
// }
|
|
135
157
|
.image-container {
|
|
136
158
|
width: 100%;
|
|
137
159
|
text-align: center;
|
|
@@ -142,7 +164,20 @@ export default {
|
|
|
142
164
|
}
|
|
143
165
|
}
|
|
144
166
|
}
|
|
167
|
+
|
|
168
|
+
@keyframes leftscroll {
|
|
169
|
+
from {
|
|
170
|
+
background-position: 0%;
|
|
171
|
+
}
|
|
172
|
+
to {
|
|
173
|
+
background-position: 10000%;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
145
177
|
@media (min-width: 1024px) {
|
|
178
|
+
.photostrip {
|
|
179
|
+
height: 40vh;
|
|
180
|
+
}
|
|
146
181
|
.asd20-primary-header {
|
|
147
182
|
flex-direction: row;
|
|
148
183
|
justify-content: space-between;
|
|
@@ -28,38 +28,6 @@
|
|
|
28
28
|
></asd20-notification-group>
|
|
29
29
|
</client-only>
|
|
30
30
|
|
|
31
|
-
<!-- Page Header -->
|
|
32
|
-
|
|
33
|
-
<!-- <asd20-choice-header
|
|
34
|
-
id="page-header"
|
|
35
|
-
v-if="pageHeaderContent"
|
|
36
|
-
v-bind="pageHeaderContent"
|
|
37
|
-
>
|
|
38
|
-
<asd20-district-logo slot="top" v-show="mq !== 'sm' && mq !== 'md'" />
|
|
39
|
-
|
|
40
|
-
<template slot="top">
|
|
41
|
-
<client-only>
|
|
42
|
-
<asd20-notification-group
|
|
43
|
-
:notifications="activeNotificationsByType.status"
|
|
44
|
-
group-type="status"
|
|
45
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
46
|
-
@toggle-all="$emit('toggle-all')"
|
|
47
|
-
/>
|
|
48
|
-
</client-only>
|
|
49
|
-
|
|
50
|
-
<client-only>
|
|
51
|
-
<asd20-notification-group
|
|
52
|
-
class="asd20-notification-group--floating"
|
|
53
|
-
:notifications="activeNotificationsByType.floating"
|
|
54
|
-
:total-dismissed-notifications="totalDismissedNotifications"
|
|
55
|
-
group-type="floating"
|
|
56
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
57
|
-
@toggle-all="$emit('toggle-all')"
|
|
58
|
-
></asd20-notification-group>
|
|
59
|
-
</client-only>
|
|
60
|
-
</template>
|
|
61
|
-
</asd20-choice-header> -->
|
|
62
|
-
|
|
63
31
|
<!-- Headers -->
|
|
64
32
|
<section class="logo-header">
|
|
65
33
|
<client-only>
|
|
@@ -119,87 +87,10 @@
|
|
|
119
87
|
</template>
|
|
120
88
|
</section>
|
|
121
89
|
|
|
122
|
-
<!-- <asd20-primary-header
|
|
123
|
-
id="page-header"
|
|
124
|
-
heading="Apply for School Choice"
|
|
125
|
-
lead="We are now accepting applications for students living in, and out of, our district for the 2022-23 school year."
|
|
126
|
-
:callsToAction="[
|
|
127
|
-
{
|
|
128
|
-
label: 'Browse our Schools',
|
|
129
|
-
url: 'https://schools.asd20.org',
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
label: 'More about School Choice',
|
|
133
|
-
url: '/school-choice',
|
|
134
|
-
},
|
|
135
|
-
]"
|
|
136
|
-
>
|
|
137
|
-
</asd20-primary-header> -->
|
|
138
|
-
|
|
139
|
-
<!-- <asd20-secondary-header
|
|
140
|
-
heading="Register for Kindergarten"
|
|
141
|
-
lead="Early Kindergarten registration is now open."
|
|
142
|
-
:call-to-action="{
|
|
143
|
-
url: 'https://www.asd20.org/academics/kindergarten',
|
|
144
|
-
label: 'Register for Kindergarten',
|
|
145
|
-
}"
|
|
146
|
-
></asd20-secondary-header> -->
|
|
147
|
-
|
|
148
|
-
<!-- <asd20-tertiary-header
|
|
149
|
-
heading="Attend our Job Fair"
|
|
150
|
-
lead="We're hiring and hope you can attend our Job Fair on March 5, 2022, from 9 a.m. – 3 p.m."
|
|
151
|
-
:call-to-action="{
|
|
152
|
-
url:
|
|
153
|
-
'https://www.asd20.org/announcements/academy-district-20-job-fair/',
|
|
154
|
-
label: 'Register for our Job Fair',
|
|
155
|
-
}"
|
|
156
|
-
></asd20-tertiary-header> -->
|
|
157
90
|
<asd20-primary-header v-if="messages.length > 0" :messages="messages" />
|
|
158
91
|
<asd20-secondary-header v-if="messages.length > 1" :messages="messages" />
|
|
159
92
|
<asd20-tertiary-header v-if="messages.length > 2" :messages="messages" />
|
|
160
93
|
|
|
161
|
-
<!-- <asd20-return-to-school-header
|
|
162
|
-
id="page-header"
|
|
163
|
-
v-if="pageHeaderContent"
|
|
164
|
-
v-bind="pageHeaderContent"
|
|
165
|
-
>
|
|
166
|
-
<asd20-district-logo slot="top" v-show="mq !== 'sm' && mq !== 'md'" />
|
|
167
|
-
|
|
168
|
-
<template slot="top">
|
|
169
|
-
<client-only>
|
|
170
|
-
<asd20-notification-group
|
|
171
|
-
:notifications="activeNotificationsByType.status"
|
|
172
|
-
group-type="status"
|
|
173
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
174
|
-
@toggle-all="$emit('toggle-all')"
|
|
175
|
-
/>
|
|
176
|
-
</client-only>
|
|
177
|
-
|
|
178
|
-
<client-only>
|
|
179
|
-
<asd20-notification-group
|
|
180
|
-
class="asd20-notification-group--floating"
|
|
181
|
-
:notifications="activeNotificationsByType.floating"
|
|
182
|
-
:total-dismissed-notifications="totalDismissedNotifications"
|
|
183
|
-
group-type="floating"
|
|
184
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
185
|
-
@toggle-all="$emit('toggle-all')"
|
|
186
|
-
></asd20-notification-group>
|
|
187
|
-
</client-only>
|
|
188
|
-
</template>
|
|
189
|
-
</asd20-return-to-school-header> -->
|
|
190
|
-
|
|
191
|
-
<!-- <asd20-page-content
|
|
192
|
-
:primary-messages="primaryMessages"
|
|
193
|
-
:secondary-messages="secondaryMessages"
|
|
194
|
-
>
|
|
195
|
-
<slot />
|
|
196
|
-
|
|
197
|
-
<asd20-factoids-section
|
|
198
|
-
v-if="factoids && factoids.length > 0"
|
|
199
|
-
:factoids="factoids"
|
|
200
|
-
/>
|
|
201
|
-
</asd20-page-content> -->
|
|
202
|
-
|
|
203
94
|
<asd20-feeds-section
|
|
204
95
|
:announcements="announcements"
|
|
205
96
|
:announcements-feed-props="announcementsFeedProps"
|
|
@@ -416,9 +307,12 @@ export default {
|
|
|
416
307
|
width: 100%;
|
|
417
308
|
}
|
|
418
309
|
.double-notification-wrapper {
|
|
310
|
+
position: absolute;
|
|
311
|
+
top: space(1);
|
|
312
|
+
right: space(0.5);
|
|
419
313
|
display: flex;
|
|
420
314
|
flex-direction: row;
|
|
421
|
-
justify-content:
|
|
315
|
+
justify-content: flex-end;
|
|
422
316
|
width: 100%;
|
|
423
317
|
align-items: center;
|
|
424
318
|
flex-wrap: wrap;
|
|
@@ -428,6 +322,7 @@ export default {
|
|
|
428
322
|
top: 20%;
|
|
429
323
|
}
|
|
430
324
|
}
|
|
325
|
+
|
|
431
326
|
.asd20-primary-header,
|
|
432
327
|
.asd20-secondary-header,
|
|
433
328
|
.asd20-tertiary-header {
|
|
@@ -458,7 +353,7 @@ export default {
|
|
|
458
353
|
right: 0 !important;
|
|
459
354
|
}
|
|
460
355
|
.double-notification-wrapper {
|
|
461
|
-
padding-right: space(1);
|
|
356
|
+
// padding-right: space(1);
|
|
462
357
|
justify-content: flex-end !important;
|
|
463
358
|
}
|
|
464
359
|
}
|