@asd20/ui 3.2.432 → 3.2.435
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/molecules/Asd20Picker/index.vue +34 -8
- package/src/components/organisms/Asd20AppHeader/index.vue +13 -0
- package/src/components/organisms/Asd20ImageHeader/index.vue +21 -19
- package/src/components/organisms/Asd20OrganizationPicker/index.vue +72 -18
- package/src/components/organisms/Asd20PageHeader/index.vue +17 -24
- package/src/components/organisms/Asd20SecondaryHeader/index.vue +2 -2
- package/src/components/organisms/Asd20SiteNavigation/index.vue +4 -8
- package/src/components/organisms/Asd20VideoHeader/index.vue +6 -4
- package/src/components/organisms/Asd20VideoHeaderContent/index.vue +3 -3
- package/src/components/templates/Asd20AppTemplate/index.vue +19 -1
- package/src/components/templates/Asd20DetailImageTemplate/index.vue +1 -1
- package/src/components/templates/Asd20DistrictHomeTemplate/index.vue +23 -21
- package/src/components/templates/Asd20DistrictVideoTemplate/index.vue +61 -26
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div class="asd20-picker" :class="{ 'asd20-picker--reversed': reversed }">
|
|
3
3
|
<slot />
|
|
4
4
|
<asd20-button
|
|
5
|
+
class="picker-button"
|
|
5
6
|
:label="buttonLabel"
|
|
6
7
|
@click.native="open = true"
|
|
7
8
|
icon="chevron"
|
|
@@ -21,6 +22,9 @@
|
|
|
21
22
|
:icon="modalIcon"
|
|
22
23
|
>
|
|
23
24
|
<asd20-viewport scrollable>
|
|
25
|
+
<asd20-list-item class="district-link">
|
|
26
|
+
<a href="https://asd20.org">Academy District 20 Website</a>
|
|
27
|
+
</asd20-list-item>
|
|
24
28
|
<asd20-accordion :opened="true" label="Favorites">
|
|
25
29
|
<transition-group name="fade" mode="in-out">
|
|
26
30
|
<!-- <asd20-checkbox
|
|
@@ -66,6 +70,7 @@
|
|
|
66
70
|
:icon="icon"
|
|
67
71
|
v-on:eventLabelClick="catchFavorites"
|
|
68
72
|
/> -->
|
|
73
|
+
|
|
69
74
|
<div
|
|
70
75
|
class="favorite-list-item"
|
|
71
76
|
v-for="item in categoryItem.itemsSorted"
|
|
@@ -89,12 +94,13 @@
|
|
|
89
94
|
</template>
|
|
90
95
|
|
|
91
96
|
<script>
|
|
92
|
-
import Asd20Checkbox from '../../atoms/Asd20Checkbox'
|
|
97
|
+
// import Asd20Checkbox from '../../atoms/Asd20Checkbox'
|
|
93
98
|
import Asd20Modal from '../../molecules/Asd20Modal'
|
|
94
99
|
import Asd20Button from '../../atoms/Asd20Button'
|
|
95
100
|
import Asd20Icon from '../../atoms/Asd20Icon'
|
|
96
101
|
import Asd20Accordion from '../../molecules/Asd20Accordion'
|
|
97
102
|
import Asd20Viewport from '../../atoms/Asd20Viewport'
|
|
103
|
+
import Asd20ListItem from '../../molecules/Asd20ListItem'
|
|
98
104
|
|
|
99
105
|
// Functionality
|
|
100
106
|
import { setCookie, getCookie } from '../../../helpers/cookieRecipe'
|
|
@@ -104,12 +110,13 @@ export default {
|
|
|
104
110
|
name: 'Asd20Picker',
|
|
105
111
|
|
|
106
112
|
components: {
|
|
107
|
-
Asd20Checkbox,
|
|
113
|
+
// Asd20Checkbox,
|
|
108
114
|
Asd20Modal,
|
|
109
115
|
Asd20Button,
|
|
110
116
|
Asd20Icon,
|
|
111
117
|
Asd20Accordion,
|
|
112
118
|
Asd20Viewport,
|
|
119
|
+
Asd20ListItem,
|
|
113
120
|
},
|
|
114
121
|
props: {
|
|
115
122
|
// All items of that type that exist
|
|
@@ -236,6 +243,9 @@ export default {
|
|
|
236
243
|
.asd20-picker {
|
|
237
244
|
position: relative;
|
|
238
245
|
display: flex;
|
|
246
|
+
.picker-button {
|
|
247
|
+
// margin: space(0.1) space(0);
|
|
248
|
+
}
|
|
239
249
|
.favorite-list-item {
|
|
240
250
|
display: flex;
|
|
241
251
|
align-items: center;
|
|
@@ -259,7 +269,8 @@ export default {
|
|
|
259
269
|
}
|
|
260
270
|
.asd20-button {
|
|
261
271
|
position: relative;
|
|
262
|
-
margin-left: space(
|
|
272
|
+
margin-left: space(0.5);
|
|
273
|
+
padding: space(0.5) space(0.25);
|
|
263
274
|
&::before {
|
|
264
275
|
content: '';
|
|
265
276
|
position: absolute;
|
|
@@ -282,20 +293,35 @@ export default {
|
|
|
282
293
|
}
|
|
283
294
|
|
|
284
295
|
.asd20-picker__modal {
|
|
296
|
+
.district-link {
|
|
297
|
+
margin-left: space(0.5) !important;
|
|
298
|
+
font-weight: bold;
|
|
299
|
+
font-size: 1rem;
|
|
300
|
+
a {
|
|
301
|
+
color: var(--website-page__title-color);
|
|
302
|
+
text-decoration: none;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
285
305
|
height: min-content;
|
|
286
306
|
&::v-deep .asd20-accordion__content {
|
|
287
307
|
padding: 0;
|
|
288
308
|
}
|
|
289
|
-
&::v-deep .asd20-checkbox {
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}
|
|
309
|
+
// &::v-deep .asd20-checkbox {
|
|
310
|
+
// margin-left: space(1);
|
|
311
|
+
// width: auto;
|
|
312
|
+
// }
|
|
293
313
|
}
|
|
294
314
|
|
|
295
315
|
@media (min-width: 1024px) {
|
|
316
|
+
.asd20-picker {
|
|
317
|
+
.picker-button {
|
|
318
|
+
margin: space(0.75);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
296
321
|
.asd20-picker__modal {
|
|
297
322
|
&::v-deep .asd20-modal {
|
|
298
|
-
width:
|
|
323
|
+
width: 40vw;
|
|
324
|
+
min-width: 400px;
|
|
299
325
|
flex-grow: 0;
|
|
300
326
|
height: min-content;
|
|
301
327
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<header class="asd20-app-header">
|
|
3
3
|
<asd20-button
|
|
4
|
+
v-show="!zoomed"
|
|
4
5
|
class="back-button"
|
|
5
6
|
icon="chevron"
|
|
6
7
|
:icon-angle="-90"
|
|
@@ -38,6 +39,18 @@ export default {
|
|
|
38
39
|
backLink: { type: String, default: 'https://www.asd20.org' },
|
|
39
40
|
backLabel: { type: String, default: 'asd20.org' },
|
|
40
41
|
},
|
|
42
|
+
data: () => ({
|
|
43
|
+
zoomed: false,
|
|
44
|
+
}),
|
|
45
|
+
mounted() {
|
|
46
|
+
this.zoomed = window.innerHeight <= 500
|
|
47
|
+
window.addEventListener('resize', this.handleResize)
|
|
48
|
+
},
|
|
49
|
+
methods: {
|
|
50
|
+
handleResize() {
|
|
51
|
+
this.zoomed = window.innerHeight <= 500
|
|
52
|
+
},
|
|
53
|
+
},
|
|
41
54
|
}
|
|
42
55
|
</script>
|
|
43
56
|
|
|
@@ -6,16 +6,15 @@
|
|
|
6
6
|
role="banner"
|
|
7
7
|
>
|
|
8
8
|
<div class="asd20-image-header__top" v-if="organizationOptions.length > 0">
|
|
9
|
-
<asd20-district-logo
|
|
9
|
+
<!-- <asd20-district-logo
|
|
10
10
|
v-show="
|
|
11
11
|
organization.title === 'Academy District 20' &&
|
|
12
12
|
mq !== 'sm' &&
|
|
13
13
|
mq !== 'md'
|
|
14
14
|
"
|
|
15
|
-
></asd20-district-logo>
|
|
15
|
+
></asd20-district-logo> -->
|
|
16
16
|
<client-only>
|
|
17
17
|
<asd20-organization-picker
|
|
18
|
-
v-show="organization.title !== 'Academy District 20'"
|
|
19
18
|
:organization-options="organizationOptions"
|
|
20
19
|
:organization="organization"
|
|
21
20
|
></asd20-organization-picker>
|
|
@@ -142,7 +141,7 @@
|
|
|
142
141
|
<script>
|
|
143
142
|
import scrollTrack from '../../../directives/scroll-track'
|
|
144
143
|
import Asd20Button from '../../atoms/Asd20Button'
|
|
145
|
-
import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
144
|
+
// import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
146
145
|
import Asd20OrganizationPicker from '../../../components/organisms/Asd20OrganizationPicker'
|
|
147
146
|
import Asd20Breadcrumb from '../../../components/atoms/Asd20Breadcrumb'
|
|
148
147
|
import Asd20LanguageTranslation from '../../molecules/Asd20LanguageTranslation'
|
|
@@ -154,7 +153,7 @@ export default {
|
|
|
154
153
|
name: 'Asd20ImageHeader',
|
|
155
154
|
components: {
|
|
156
155
|
Asd20Button,
|
|
157
|
-
Asd20DistrictLogo,
|
|
156
|
+
// Asd20DistrictLogo,
|
|
158
157
|
Asd20OrganizationPicker,
|
|
159
158
|
Asd20Breadcrumb,
|
|
160
159
|
Asd20TagGroup,
|
|
@@ -322,13 +321,13 @@ export default {
|
|
|
322
321
|
align-items: center;
|
|
323
322
|
padding: space(0.5) space(1);
|
|
324
323
|
|
|
325
|
-
&::v-deep .asd20-picker {
|
|
324
|
+
&::v-deep .asd20-organization-picker {
|
|
326
325
|
display: none;
|
|
327
326
|
}
|
|
328
327
|
|
|
329
|
-
&::v-deep .asd20-district-logo {
|
|
330
|
-
|
|
331
|
-
}
|
|
328
|
+
// &::v-deep .asd20-district-logo {
|
|
329
|
+
// display: none;
|
|
330
|
+
// }
|
|
332
331
|
|
|
333
332
|
&::v-deep .notification-group--status {
|
|
334
333
|
margin-top: space(0.5);
|
|
@@ -488,7 +487,7 @@ export default {
|
|
|
488
487
|
}
|
|
489
488
|
|
|
490
489
|
&::after {
|
|
491
|
-
top: space(
|
|
490
|
+
top: space(6);
|
|
492
491
|
bottom: space(-2);
|
|
493
492
|
right: space(0);
|
|
494
493
|
left: space(4);
|
|
@@ -532,18 +531,18 @@ export default {
|
|
|
532
531
|
);
|
|
533
532
|
}
|
|
534
533
|
}
|
|
535
|
-
&::v-deep .asd20-picker {
|
|
534
|
+
&::v-deep .asd20-organization-picker {
|
|
536
535
|
display: flex;
|
|
537
|
-
margin: space(
|
|
536
|
+
margin: space(0) auto space(0) space(0);
|
|
538
537
|
}
|
|
539
538
|
|
|
540
|
-
&::v-deep .asd20-district-logo {
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
}
|
|
539
|
+
// &::v-deep .asd20-district-logo {
|
|
540
|
+
// height: space(1.5);
|
|
541
|
+
// margin: space(1) auto space(1) 0;
|
|
542
|
+
// display: block;
|
|
543
|
+
// --fill-one: var(--color__primary);
|
|
544
|
+
// --fill-two: var(--color__secondary-t30);
|
|
545
|
+
// }
|
|
547
546
|
&__image {
|
|
548
547
|
max-height: 60vh;
|
|
549
548
|
}
|
|
@@ -569,6 +568,9 @@ export default {
|
|
|
569
568
|
flex-shrink: 0;
|
|
570
569
|
}
|
|
571
570
|
}
|
|
571
|
+
&__top {
|
|
572
|
+
margin: space(0.5) 0;
|
|
573
|
+
}
|
|
572
574
|
|
|
573
575
|
.back {
|
|
574
576
|
padding: 0;
|
|
@@ -1,26 +1,37 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
:items="organizationOptions"
|
|
6
|
-
:itemsByCategory="orgItemsByCategory"
|
|
7
|
-
:modalLabel="modalLabel"
|
|
8
|
-
:reversed="reversed"
|
|
2
|
+
<div
|
|
3
|
+
class="asd20-organization-picker"
|
|
4
|
+
:class="{ 'asd20-organization-picker--reversed': reversed }"
|
|
9
5
|
>
|
|
10
|
-
<asd20-
|
|
11
|
-
:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
:
|
|
15
|
-
:
|
|
16
|
-
|
|
6
|
+
<asd20-picker
|
|
7
|
+
:class="{ 'asd20-picker--reversed': reversed }"
|
|
8
|
+
icon="star"
|
|
9
|
+
cookieLabel="OrganizationPicker"
|
|
10
|
+
:items="organizationOptions"
|
|
11
|
+
:itemsByCategory="orgItemsByCategory"
|
|
12
|
+
:modalLabel="modalLabel"
|
|
17
13
|
:reversed="reversed"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
>
|
|
15
|
+
<asd20-district-logo
|
|
16
|
+
v-show="organization.title === 'Academy District 20'"
|
|
17
|
+
></asd20-district-logo>
|
|
18
|
+
<asd20-logo
|
|
19
|
+
v-show="organization.title !== 'Academy District 20'"
|
|
20
|
+
:title="orgTitle"
|
|
21
|
+
:subtitle="orgLevel"
|
|
22
|
+
:image="organization.logoImageUrl"
|
|
23
|
+
:link="organization.website"
|
|
24
|
+
:size="logoSize"
|
|
25
|
+
bordered
|
|
26
|
+
:reversed="reversed"
|
|
27
|
+
:abbreviated="abbreviated"
|
|
28
|
+
/>
|
|
29
|
+
</asd20-picker>
|
|
30
|
+
</div>
|
|
21
31
|
</template>
|
|
22
32
|
|
|
23
33
|
<script>
|
|
34
|
+
import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
24
35
|
import Asd20Picker from '../../molecules/Asd20Picker'
|
|
25
36
|
import Asd20Logo from '../../atoms/Asd20Logo'
|
|
26
37
|
import {
|
|
@@ -31,6 +42,7 @@ import {
|
|
|
31
42
|
export default {
|
|
32
43
|
name: 'Asd20OrganizationPicker',
|
|
33
44
|
components: {
|
|
45
|
+
Asd20DistrictLogo,
|
|
34
46
|
Asd20Picker,
|
|
35
47
|
Asd20Logo,
|
|
36
48
|
},
|
|
@@ -46,6 +58,9 @@ export default {
|
|
|
46
58
|
},
|
|
47
59
|
|
|
48
60
|
computed: {
|
|
61
|
+
// mq() {
|
|
62
|
+
// return this.$mq || 'sm'
|
|
63
|
+
// },
|
|
49
64
|
orgItemsByCategory() {
|
|
50
65
|
let categories = ['Elementary', 'Middle', 'High']
|
|
51
66
|
let sorted = []
|
|
@@ -83,4 +98,43 @@ export default {
|
|
|
83
98
|
}
|
|
84
99
|
</script>
|
|
85
100
|
|
|
86
|
-
<style lang="scss" scoped
|
|
101
|
+
<style lang="scss" scoped>
|
|
102
|
+
@import '../../../design/_variables.scss';
|
|
103
|
+
@import '../../../design/_mixins.scss';
|
|
104
|
+
|
|
105
|
+
.asd20-organization-picker {
|
|
106
|
+
.asd20-district-logo {
|
|
107
|
+
margin: auto;
|
|
108
|
+
padding-left: space(0.25);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
@media (min-width: 768px) {
|
|
112
|
+
.asd20-organization-picker {
|
|
113
|
+
.asd20-district-logo {
|
|
114
|
+
height: space(1.5);
|
|
115
|
+
padding-left: 0 !important;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
@media (min-width: 1024px) {
|
|
121
|
+
.asd20-organization-picker {
|
|
122
|
+
.asd20-district-logo {
|
|
123
|
+
height: space(1.5);
|
|
124
|
+
margin: space(1) auto space(1) 0;
|
|
125
|
+
display: block;
|
|
126
|
+
--fill-one: var(--color__primary);
|
|
127
|
+
--fill-two: var(--color__secondary-t30);
|
|
128
|
+
}
|
|
129
|
+
&--reversed {
|
|
130
|
+
.asd20-district-logo {
|
|
131
|
+
height: space(1.5);
|
|
132
|
+
margin: space(1) auto space(1) 0;
|
|
133
|
+
display: block;
|
|
134
|
+
--fill-one: white;
|
|
135
|
+
--fill-two: white;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
</style>
|
|
@@ -6,16 +6,8 @@
|
|
|
6
6
|
role="banner"
|
|
7
7
|
>
|
|
8
8
|
<div class="asd20-page-header__top" v-if="organizationOptions.length > 0">
|
|
9
|
-
<asd20-district-logo
|
|
10
|
-
v-show="
|
|
11
|
-
organization.title === 'Academy District 20' &&
|
|
12
|
-
mq !== 'sm' &&
|
|
13
|
-
mq !== 'md'
|
|
14
|
-
"
|
|
15
|
-
></asd20-district-logo>
|
|
16
9
|
<client-only>
|
|
17
10
|
<asd20-organization-picker
|
|
18
|
-
v-show="organization.title !== 'Academy District 20'"
|
|
19
11
|
:organization-options="organizationOptions"
|
|
20
12
|
:organization="organization"
|
|
21
13
|
></asd20-organization-picker>
|
|
@@ -142,7 +134,7 @@
|
|
|
142
134
|
<script>
|
|
143
135
|
import scrollTrack from '../../../directives/scroll-track'
|
|
144
136
|
import Asd20Button from '../../atoms/Asd20Button'
|
|
145
|
-
import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
137
|
+
// import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
146
138
|
import Asd20OrganizationPicker from '../../../components/organisms/Asd20OrganizationPicker'
|
|
147
139
|
import Asd20Breadcrumb from '../../../components/atoms/Asd20Breadcrumb'
|
|
148
140
|
import Asd20LanguageTranslation from '../../molecules/Asd20LanguageTranslation'
|
|
@@ -154,7 +146,7 @@ export default {
|
|
|
154
146
|
name: 'Asd20PageHeader',
|
|
155
147
|
components: {
|
|
156
148
|
Asd20Button,
|
|
157
|
-
Asd20DistrictLogo,
|
|
149
|
+
// Asd20DistrictLogo,
|
|
158
150
|
Asd20OrganizationPicker,
|
|
159
151
|
Asd20Breadcrumb,
|
|
160
152
|
Asd20TagGroup,
|
|
@@ -323,13 +315,13 @@ export default {
|
|
|
323
315
|
align-items: center;
|
|
324
316
|
padding: space(0.5) space(1);
|
|
325
317
|
|
|
326
|
-
&::v-deep .asd20-picker {
|
|
318
|
+
&::v-deep .asd20-organization-picker {
|
|
327
319
|
display: none;
|
|
328
320
|
}
|
|
329
321
|
|
|
330
|
-
&::v-deep .asd20-district-logo {
|
|
331
|
-
|
|
332
|
-
}
|
|
322
|
+
// &::v-deep .asd20-district-logo {
|
|
323
|
+
// display: none;
|
|
324
|
+
// }
|
|
333
325
|
|
|
334
326
|
&::v-deep .notification-group--status {
|
|
335
327
|
margin-top: space(0.5);
|
|
@@ -460,7 +452,7 @@ export default {
|
|
|
460
452
|
padding: 0;
|
|
461
453
|
}
|
|
462
454
|
&::after {
|
|
463
|
-
top: space(
|
|
455
|
+
top: space(6);
|
|
464
456
|
bottom: space(-2);
|
|
465
457
|
right: space(0);
|
|
466
458
|
left: space(4);
|
|
@@ -513,21 +505,22 @@ export default {
|
|
|
513
505
|
}
|
|
514
506
|
}
|
|
515
507
|
|
|
516
|
-
&::v-deep .asd20-picker {
|
|
508
|
+
&::v-deep .asd20-organization-picker {
|
|
517
509
|
display: flex;
|
|
518
|
-
margin: space(
|
|
510
|
+
margin: space(0) auto space(0) space(0);
|
|
519
511
|
}
|
|
520
512
|
|
|
521
|
-
&::v-deep .asd20-district-logo {
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
}
|
|
513
|
+
// &::v-deep .asd20-district-logo {
|
|
514
|
+
// height: space(1.5);
|
|
515
|
+
// margin: space(1) auto space(1) 0;
|
|
516
|
+
// display: block;
|
|
517
|
+
// --fill-one: var(--color__primary);
|
|
518
|
+
// --fill-two: var(--color__secondary-t30);
|
|
519
|
+
// }
|
|
528
520
|
|
|
529
521
|
&__top {
|
|
530
522
|
padding: 0 space(3);
|
|
523
|
+
margin: space(0.5) 0;
|
|
531
524
|
}
|
|
532
525
|
&__tools {
|
|
533
526
|
flex-direction: row-reverse;
|
|
@@ -38,7 +38,7 @@ export default {
|
|
|
38
38
|
// background-image: var(--website-homepage-header__secondary-background-style);
|
|
39
39
|
// background-position: bottom right !important;
|
|
40
40
|
// background-size: cover !important;
|
|
41
|
-
padding: space(3) space(1) space(
|
|
41
|
+
padding: space(3) space(1) space(2) space(1);
|
|
42
42
|
|
|
43
43
|
&::v-deep .asd20-messaging__heading {
|
|
44
44
|
@include fluid-type($base-font-size * 1.5, $base-font-size * 2);
|
|
@@ -117,7 +117,7 @@ export default {
|
|
|
117
117
|
}
|
|
118
118
|
@media (min-width: 1024px) {
|
|
119
119
|
.asd20-secondary-header {
|
|
120
|
-
padding: space(3);
|
|
120
|
+
padding: space(3) space(3) space(2) space(3);
|
|
121
121
|
&::v-deep .lead {
|
|
122
122
|
width: 80%;
|
|
123
123
|
}
|
|
@@ -12,18 +12,14 @@
|
|
|
12
12
|
:collapsed="collapsed"
|
|
13
13
|
@keyboardTriggeredLastAction="keyboardTriggeredLastAction = $event"
|
|
14
14
|
>
|
|
15
|
-
<asd20-district-logo
|
|
15
|
+
<!-- <asd20-district-logo
|
|
16
16
|
v-show="
|
|
17
17
|
organization.title === 'Academy District 20' &&
|
|
18
18
|
(mq === 'sm' || mq === 'md')
|
|
19
19
|
"
|
|
20
|
-
></asd20-district-logo>
|
|
20
|
+
></asd20-district-logo> -->
|
|
21
21
|
<client-only>
|
|
22
22
|
<asd20-organization-picker
|
|
23
|
-
v-show="
|
|
24
|
-
organization.title !== 'Academy District 20' &&
|
|
25
|
-
(mq === 'sm' || mq === 'md')
|
|
26
|
-
"
|
|
27
23
|
:organization-options="organizationOptions"
|
|
28
24
|
:organization="organization"
|
|
29
25
|
logoSize="xs"
|
|
@@ -95,7 +91,7 @@ import Asd20ActionMenu from '../../../components/organisms/Asd20ActionMenu'
|
|
|
95
91
|
import Asd20SiteMenu from '../../../components/organisms/Asd20SiteMenu'
|
|
96
92
|
import Asd20SiteSearch from '../../../components/organisms/Asd20SiteSearch'
|
|
97
93
|
import Asd20Navbar from '../../../components/organisms/Asd20Navbar'
|
|
98
|
-
import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
94
|
+
// import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
99
95
|
import Asd20OrganizationPicker from '../../../components/organisms/Asd20OrganizationPicker'
|
|
100
96
|
|
|
101
97
|
import VScrollLock from 'v-scroll-lock'
|
|
@@ -108,7 +104,7 @@ export default {
|
|
|
108
104
|
Asd20SiteMenu,
|
|
109
105
|
Asd20SiteSearch,
|
|
110
106
|
Asd20Navbar,
|
|
111
|
-
Asd20DistrictLogo,
|
|
107
|
+
// Asd20DistrictLogo,
|
|
112
108
|
Asd20OrganizationPicker,
|
|
113
109
|
},
|
|
114
110
|
props: {
|
|
@@ -86,7 +86,8 @@ export default {
|
|
|
86
86
|
.background-image {
|
|
87
87
|
display: block;
|
|
88
88
|
// position: absolute;
|
|
89
|
-
height:
|
|
89
|
+
height: 80vh;
|
|
90
|
+
min-height: 500px;
|
|
90
91
|
width: 100%;
|
|
91
92
|
z-index: -1;
|
|
92
93
|
object-fit: cover;
|
|
@@ -101,7 +102,8 @@ export default {
|
|
|
101
102
|
--fill-one: rgba(255, 255, 255, 1);
|
|
102
103
|
--fill-two: rgba(255, 255, 255, 0.625);
|
|
103
104
|
|
|
104
|
-
position:
|
|
105
|
+
position: absolute;
|
|
106
|
+
right: 0;
|
|
105
107
|
z-index: 100;
|
|
106
108
|
padding: space(0.5) space(1);
|
|
107
109
|
display: flex;
|
|
@@ -231,8 +233,8 @@ export default {
|
|
|
231
233
|
padding: 0;
|
|
232
234
|
z-index: 3;
|
|
233
235
|
position: absolute;
|
|
234
|
-
margin: space(2) space(
|
|
235
|
-
width:
|
|
236
|
+
margin: space(2) space(1) space(2) space(2);
|
|
237
|
+
width: 95%;
|
|
236
238
|
}
|
|
237
239
|
.scroll-down-indicator {
|
|
238
240
|
display: block;
|
|
@@ -57,7 +57,7 @@ export default {
|
|
|
57
57
|
// background: rgba(51, 92, 155, 0.7);
|
|
58
58
|
background: var(--website-homepage-header__background-color);
|
|
59
59
|
padding: space(1);
|
|
60
|
-
height:
|
|
60
|
+
height: auto;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&::v-deep .asd20-messaging__heading {
|
|
@@ -95,7 +95,7 @@ export default {
|
|
|
95
95
|
.header-messaging-section {
|
|
96
96
|
// border-bottom: 10px solid var(--color__accent);
|
|
97
97
|
&::v-deep .asd20-messaging__content {
|
|
98
|
-
margin
|
|
98
|
+
margin: space(2) 0;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
126
126
|
padding: space(1);
|
|
127
127
|
margin-left: space(2);
|
|
128
128
|
.asd20-messaging__content {
|
|
129
|
-
|
|
129
|
+
margin: 0;
|
|
130
130
|
}
|
|
131
131
|
.asd20-messaging__heading {
|
|
132
132
|
@include fluid-type($base-font-size * 1.5, $base-font-size * 2);
|
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
</template>
|
|
36
36
|
</asd20-app-header>
|
|
37
37
|
<nav
|
|
38
|
-
class="
|
|
38
|
+
:class="
|
|
39
|
+
zoomed
|
|
40
|
+
? 'asd20-app-template__toolbar asd20-app-template__toolbar-zoomed'
|
|
41
|
+
: 'asd20-app-template__toolbar'
|
|
42
|
+
"
|
|
39
43
|
v-if="searchable || $slots['toolbar-start'] || $slots['toolbar-end']"
|
|
40
44
|
>
|
|
41
45
|
<slot name="toolbar-start"></slot>
|
|
@@ -168,7 +172,17 @@ export default {
|
|
|
168
172
|
|
|
169
173
|
data: () => ({
|
|
170
174
|
sidebarOpen: false,
|
|
175
|
+
zoomed: false,
|
|
171
176
|
}),
|
|
177
|
+
mounted() {
|
|
178
|
+
this.zoomed = window.innerHeight <= 500
|
|
179
|
+
window.addEventListener('resize', this.handleResize)
|
|
180
|
+
},
|
|
181
|
+
methods: {
|
|
182
|
+
handleResize() {
|
|
183
|
+
this.zoomed = window.innerHeight <= 500
|
|
184
|
+
},
|
|
185
|
+
},
|
|
172
186
|
}
|
|
173
187
|
</script>
|
|
174
188
|
|
|
@@ -192,6 +206,7 @@ export default {
|
|
|
192
206
|
border-bottom: 1px solid var(--color__tertiary);
|
|
193
207
|
flex-shrink: 0;
|
|
194
208
|
display: flex;
|
|
209
|
+
flex-wrap: wrap;
|
|
195
210
|
align-items: center;
|
|
196
211
|
.asd20-search-field {
|
|
197
212
|
flex-grow: 1;
|
|
@@ -202,6 +217,9 @@ export default {
|
|
|
202
217
|
}
|
|
203
218
|
}
|
|
204
219
|
}
|
|
220
|
+
&__toolbar-zoomed {
|
|
221
|
+
flex-wrap: nowrap;
|
|
222
|
+
}
|
|
205
223
|
|
|
206
224
|
&__main {
|
|
207
225
|
position: relative;
|
|
@@ -60,7 +60,13 @@
|
|
|
60
60
|
|
|
61
61
|
<!-- Headers -->
|
|
62
62
|
<section class="logo-header">
|
|
63
|
-
<
|
|
63
|
+
<client-only>
|
|
64
|
+
<asd20-organization-picker
|
|
65
|
+
:organization-options="organizationOptions"
|
|
66
|
+
:organization="organization"
|
|
67
|
+
></asd20-organization-picker>
|
|
68
|
+
</client-only>
|
|
69
|
+
<slot name="top" />
|
|
64
70
|
<template>
|
|
65
71
|
<div class="header-notifications">
|
|
66
72
|
<client-only>
|
|
@@ -210,7 +216,9 @@ import Asd20PageFooter from '../../../components/organisms/Asd20PageFooter'
|
|
|
210
216
|
import Asd20SiteNavigation from '../../../components/organisms/Asd20SiteNavigation'
|
|
211
217
|
import Asd20QuicklinksMenu from '../../../components/organisms/Asd20QuicklinksMenu'
|
|
212
218
|
// import Asd20PageContent from '../../../components/organisms/Asd20PageContent'
|
|
213
|
-
import
|
|
219
|
+
import Asd20OrganizationPicker from '../../../components/organisms/Asd20OrganizationPicker'
|
|
220
|
+
|
|
221
|
+
// import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
214
222
|
import Asd20NotificationGroup from '@asd20/notifications-ui/src/components/Asd20NotificationGroup'
|
|
215
223
|
// import Asd20FactoidsSection from '../../../components/organisms/Asd20FactoidsSection'
|
|
216
224
|
import Asd20FeedsSection from '../../../components/organisms/Asd20FeedsSection'
|
|
@@ -239,7 +247,8 @@ export default {
|
|
|
239
247
|
Asd20PageFooter,
|
|
240
248
|
Asd20SiteNavigation,
|
|
241
249
|
Asd20QuicklinksMenu,
|
|
242
|
-
Asd20DistrictLogo,
|
|
250
|
+
// Asd20DistrictLogo,
|
|
251
|
+
Asd20OrganizationPicker,
|
|
243
252
|
Asd20NotificationGroup,
|
|
244
253
|
// Asd20FactoidsSection,
|
|
245
254
|
Asd20FeedsSection,
|
|
@@ -277,8 +286,8 @@ export default {
|
|
|
277
286
|
display: flex;
|
|
278
287
|
justify-content: space-between;
|
|
279
288
|
align-items: center;
|
|
280
|
-
|
|
281
|
-
|
|
289
|
+
.asd20-organization-picker {
|
|
290
|
+
display: none;
|
|
282
291
|
}
|
|
283
292
|
& /deep/ .notification-group--status .notifications {
|
|
284
293
|
padding: 0.25em;
|
|
@@ -352,6 +361,7 @@ export default {
|
|
|
352
361
|
display: block;
|
|
353
362
|
margin-left: space(3);
|
|
354
363
|
margin-top: 0;
|
|
364
|
+
|
|
355
365
|
.logo-header {
|
|
356
366
|
--fill-one: #0e2c6c;
|
|
357
367
|
--fill-two: #9fa1a2;
|
|
@@ -360,19 +370,11 @@ export default {
|
|
|
360
370
|
z-index: 3;
|
|
361
371
|
display: flex;
|
|
362
372
|
justify-content: space-between;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
// right: -0.6em !important;
|
|
369
|
-
// }
|
|
370
|
-
// }
|
|
371
|
-
// }
|
|
372
|
-
.asd20-district-logo {
|
|
373
|
-
margin: space(1) space(1) space(1) space(1);
|
|
374
|
-
line-height: 2;
|
|
375
|
-
min-width: 30rem;
|
|
373
|
+
.asd20-organization-picker {
|
|
374
|
+
display: inherit;
|
|
375
|
+
.asd20-district-logo {
|
|
376
|
+
height: space(3) !important;
|
|
377
|
+
}
|
|
376
378
|
}
|
|
377
379
|
.header-notifications {
|
|
378
380
|
display: flex;
|
|
@@ -392,8 +394,8 @@ export default {
|
|
|
392
394
|
}
|
|
393
395
|
}
|
|
394
396
|
}
|
|
395
|
-
#site-navigation .asd20-district-logo {
|
|
396
|
-
|
|
397
|
-
}
|
|
397
|
+
// #site-navigation .asd20-district-logo {
|
|
398
|
+
// display: none;
|
|
399
|
+
// }
|
|
398
400
|
}
|
|
399
401
|
</style>
|
|
@@ -33,28 +33,35 @@
|
|
|
33
33
|
v-if="pageHeaderContent"
|
|
34
34
|
v-bind="pageHeaderContent"
|
|
35
35
|
>
|
|
36
|
-
<asd20-district-logo slot="top" v-show="mq !== 'sm' && mq !== 'md'" />
|
|
37
|
-
|
|
38
36
|
<template slot="top">
|
|
39
37
|
<client-only>
|
|
40
|
-
<asd20-
|
|
41
|
-
:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
/>
|
|
46
|
-
</client-only>
|
|
47
|
-
|
|
48
|
-
<client-only>
|
|
49
|
-
<asd20-notification-group
|
|
50
|
-
class="asd20-notification-group--floating"
|
|
51
|
-
:notifications="activeNotificationsByType.floating"
|
|
52
|
-
:total-dismissed-notifications="totalDismissedNotifications"
|
|
53
|
-
group-type="floating"
|
|
54
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
55
|
-
@toggle-all="$emit('toggle-all')"
|
|
56
|
-
></asd20-notification-group>
|
|
38
|
+
<asd20-organization-picker
|
|
39
|
+
:organization-options="organizationOptions"
|
|
40
|
+
:organization="organization"
|
|
41
|
+
reversed
|
|
42
|
+
></asd20-organization-picker>
|
|
57
43
|
</client-only>
|
|
44
|
+
<div class="notification-wrapper">
|
|
45
|
+
<client-only>
|
|
46
|
+
<asd20-notification-group
|
|
47
|
+
:notifications="activeNotificationsByType.status"
|
|
48
|
+
group-type="status"
|
|
49
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
50
|
+
@toggle-all="$emit('toggle-all')"
|
|
51
|
+
/>
|
|
52
|
+
</client-only>
|
|
53
|
+
|
|
54
|
+
<client-only>
|
|
55
|
+
<asd20-notification-group
|
|
56
|
+
class="asd20-notification-group--floating"
|
|
57
|
+
:notifications="activeNotificationsByType.floating"
|
|
58
|
+
:total-dismissed-notifications="totalDismissedNotifications"
|
|
59
|
+
group-type="floating"
|
|
60
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
61
|
+
@toggle-all="$emit('toggle-all')"
|
|
62
|
+
></asd20-notification-group>
|
|
63
|
+
</client-only>
|
|
64
|
+
</div>
|
|
58
65
|
</template>
|
|
59
66
|
<asd20-video-header-content :messages="messages">
|
|
60
67
|
<slot />
|
|
@@ -108,7 +115,8 @@ import Asd20SkipTo from '../../../components/atoms/Asd20SkipTo'
|
|
|
108
115
|
import Asd20PageFooter from '../../../components/organisms/Asd20PageFooter'
|
|
109
116
|
import Asd20SiteNavigation from '../../../components/organisms/Asd20SiteNavigation'
|
|
110
117
|
import Asd20QuicklinksMenu from '../../../components/organisms/Asd20QuicklinksMenu'
|
|
111
|
-
import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
118
|
+
// import Asd20DistrictLogo from '../../../components/atoms/Asd20DistrictLogo'
|
|
119
|
+
import Asd20OrganizationPicker from '../../../components/organisms/Asd20OrganizationPicker'
|
|
112
120
|
import Asd20NotificationGroup from '@asd20/notifications-ui/src/components/Asd20NotificationGroup'
|
|
113
121
|
// import Asd20FactoidsSection from '../../../components/organisms/Asd20FactoidsSection'
|
|
114
122
|
import Asd20FeedsSection from '../../../components/organisms/Asd20FeedsSection'
|
|
@@ -134,7 +142,8 @@ export default {
|
|
|
134
142
|
Asd20PageFooter,
|
|
135
143
|
Asd20SiteNavigation,
|
|
136
144
|
Asd20QuicklinksMenu,
|
|
137
|
-
Asd20DistrictLogo,
|
|
145
|
+
// Asd20DistrictLogo,
|
|
146
|
+
Asd20OrganizationPicker,
|
|
138
147
|
Asd20NotificationGroup,
|
|
139
148
|
// Asd20FactoidsSection,
|
|
140
149
|
Asd20FeedsSection,
|
|
@@ -162,9 +171,20 @@ export default {
|
|
|
162
171
|
flex-shrink: 0;
|
|
163
172
|
overflow-y: auto;
|
|
164
173
|
margin-top: space(2.25);
|
|
174
|
+
|
|
175
|
+
.asd20-video-header {
|
|
176
|
+
.asd20-organization-picker {
|
|
177
|
+
display: none;
|
|
178
|
+
}
|
|
179
|
+
.notification-wrapper {
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: row;
|
|
182
|
+
justify-content: space-between;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
165
185
|
.asd20-video-header-content {
|
|
166
|
-
position: absolute;
|
|
167
|
-
top: space(2);
|
|
186
|
+
// position: absolute;
|
|
187
|
+
// top: space(2);
|
|
168
188
|
}
|
|
169
189
|
}
|
|
170
190
|
.asd20-notification-group--floating {
|
|
@@ -187,8 +207,9 @@ export default {
|
|
|
187
207
|
@media (min-width: 667px) {
|
|
188
208
|
.asd20-district-video-template {
|
|
189
209
|
.asd20-video-header-content {
|
|
210
|
+
position: absolute;
|
|
190
211
|
top: inherit;
|
|
191
|
-
bottom:
|
|
212
|
+
bottom: 0%;
|
|
192
213
|
}
|
|
193
214
|
}
|
|
194
215
|
}
|
|
@@ -208,8 +229,22 @@ export default {
|
|
|
208
229
|
// }
|
|
209
230
|
// }
|
|
210
231
|
}
|
|
211
|
-
|
|
212
|
-
|
|
232
|
+
.asd20-video-header {
|
|
233
|
+
.asd20-video-header-content {
|
|
234
|
+
bottom: 20%;
|
|
235
|
+
}
|
|
236
|
+
.asd20-organization-picker {
|
|
237
|
+
display: inherit !important;
|
|
238
|
+
.asd20-district-logo {
|
|
239
|
+
height: space(2.25) !important;
|
|
240
|
+
}
|
|
241
|
+
.asd20-picker {
|
|
242
|
+
.picker-button {
|
|
243
|
+
margin: space(1);
|
|
244
|
+
padding: space(0.75);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
213
248
|
}
|
|
214
249
|
}
|
|
215
250
|
</style>
|