@asd20/ui 3.2.395 → 3.2.398
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
|
@@ -129,7 +129,7 @@ $accent: var(--color__accent);
|
|
|
129
129
|
font-weight: bold;
|
|
130
130
|
color: var(--color__accent-s20);
|
|
131
131
|
white-space: nowrap;
|
|
132
|
-
margin-right: space(0.
|
|
132
|
+
margin-right: space(0.5);
|
|
133
133
|
}
|
|
134
134
|
.time {
|
|
135
135
|
font-size: 0.75rem;
|
|
@@ -145,7 +145,8 @@ $accent: var(--color__accent);
|
|
|
145
145
|
font-size: 0.75rem;
|
|
146
146
|
margin-bottom: 0.5em;
|
|
147
147
|
display: none;
|
|
148
|
-
|
|
148
|
+
margin-right: space(0.5);
|
|
149
|
+
// white-space: nowrap;
|
|
149
150
|
}
|
|
150
151
|
.description {
|
|
151
152
|
display: none;
|
|
@@ -158,7 +159,7 @@ $accent: var(--color__accent);
|
|
|
158
159
|
}
|
|
159
160
|
.start-time {
|
|
160
161
|
margin-top: space(0.125);
|
|
161
|
-
display:
|
|
162
|
+
display: block;
|
|
162
163
|
font-size: 0.875rem;
|
|
163
164
|
margin-left: space(0.5);
|
|
164
165
|
}
|
|
@@ -167,6 +168,7 @@ $accent: var(--color__accent);
|
|
|
167
168
|
margin-top: space(0.125);
|
|
168
169
|
margin-bottom: 0;
|
|
169
170
|
font-size: 0.875rem;
|
|
171
|
+
margin-left: space(0.5);
|
|
170
172
|
}
|
|
171
173
|
}
|
|
172
174
|
&--all-day {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
{{ title }}
|
|
18
18
|
<span class="version" v-if="version" v-html="version"></span>
|
|
19
19
|
</div>
|
|
20
|
+
<asd20-district-logo link="https://www.asd20.org"/>
|
|
20
21
|
</h1>
|
|
21
22
|
<slot />
|
|
22
23
|
</header>
|
|
@@ -25,9 +26,11 @@
|
|
|
25
26
|
<script>
|
|
26
27
|
import Asd20Button from '../../atoms/Asd20Button'
|
|
27
28
|
import Asd20Icon from '../../atoms/Asd20Icon'
|
|
29
|
+
import Asd20DistrictLogo from '../../atoms/Asd20DistrictLogo'
|
|
30
|
+
|
|
28
31
|
export default {
|
|
29
32
|
name: 'Asd20AppHeader',
|
|
30
|
-
components: { Asd20Button, Asd20Icon },
|
|
33
|
+
components: { Asd20Button, Asd20Icon, Asd20DistrictLogo },
|
|
31
34
|
props: {
|
|
32
35
|
title: { type: String, default: '' },
|
|
33
36
|
icon: { type: String, default: '' },
|
|
@@ -47,21 +50,28 @@ export default {
|
|
|
47
50
|
display: flex;
|
|
48
51
|
align-items: center;
|
|
49
52
|
flex-shrink: 0;
|
|
50
|
-
border-bottom: 1px solid var(--color__tertiary);
|
|
51
53
|
background: white;
|
|
52
54
|
flex-wrap: wrap;
|
|
55
|
+
border-bottom: 1px solid var(--color__tertiary);
|
|
53
56
|
|
|
54
57
|
&__title {
|
|
55
58
|
display: flex;
|
|
56
59
|
align-items: center;
|
|
57
60
|
flex-shrink: 0;
|
|
58
61
|
padding: space(0.5) 0;
|
|
62
|
+
// width: 100vw;
|
|
63
|
+
// border-bottom: 1px solid var(--color__tertiary);
|
|
59
64
|
}
|
|
60
65
|
|
|
61
66
|
h1 {
|
|
62
67
|
margin: 0;
|
|
63
68
|
font-size: 1rem;
|
|
64
69
|
color: var(--color__primary);
|
|
70
|
+
flex-grow: 1;
|
|
71
|
+
width: 100%;
|
|
72
|
+
border-bottom: 1px solid var(--color__tertiary);
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
65
75
|
.asd20-icon {
|
|
66
76
|
margin: 0 space(0.5);
|
|
67
77
|
}
|
|
@@ -145,6 +155,14 @@ export default {
|
|
|
145
155
|
|
|
146
156
|
@media (max-width: 480px) {
|
|
147
157
|
.asd20-app-header {
|
|
158
|
+
&__title {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
flex-shrink: 0;
|
|
162
|
+
padding: space(0.5) 0;
|
|
163
|
+
width: 100vw;
|
|
164
|
+
border-bottom: 1px solid var(--color__tertiary);
|
|
165
|
+
}
|
|
148
166
|
}
|
|
149
167
|
}
|
|
150
168
|
</style>
|
|
@@ -237,8 +237,8 @@ export default {
|
|
|
237
237
|
bottom: 0;
|
|
238
238
|
// bottom: space(7);
|
|
239
239
|
background: var(--website-menu__open-background-color, white);
|
|
240
|
-
|
|
241
|
-
overflow-y: scroll !important;
|
|
240
|
+
overflow: auto;
|
|
241
|
+
// overflow-y: scroll !important;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
.asd20-table-of-contents {
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
262
262
|
flex-grow: 0;
|
|
263
263
|
justify-content: space-between;
|
|
264
264
|
align-items: center;
|
|
265
|
-
padding: space(
|
|
265
|
+
padding: space(1) space(1);
|
|
266
266
|
cursor: pointer;
|
|
267
267
|
transition: background asd20-speed(1) ease-in-out;
|
|
268
268
|
box-shadow: 0 -1px 0 0 var(--website-menu__divider-color) inset;
|
|
@@ -305,7 +305,6 @@ export default {
|
|
|
305
305
|
top: 0;
|
|
306
306
|
right: 0;
|
|
307
307
|
bottom: 0;
|
|
308
|
-
// overflow-y: scroll;
|
|
309
308
|
&__back {
|
|
310
309
|
display: flex;
|
|
311
310
|
justify-content: flex-start;
|
|
@@ -343,7 +342,7 @@ export default {
|
|
|
343
342
|
}
|
|
344
343
|
|
|
345
344
|
.asd20-site-menu__items {
|
|
346
|
-
overflow-y: scroll
|
|
345
|
+
overflow-y: scroll; /* has to be scroll, not auto */
|
|
347
346
|
// -webkit-overflow-scrolling: touch;
|
|
348
347
|
}
|
|
349
348
|
|
|
@@ -39,16 +39,6 @@
|
|
|
39
39
|
:items="actionItems"
|
|
40
40
|
/> -->
|
|
41
41
|
|
|
42
|
-
<transition name="slide">
|
|
43
|
-
<asd20-site-menu
|
|
44
|
-
ref="siteMenu"
|
|
45
|
-
v-show="menuOpen"
|
|
46
|
-
:active="menuOpen"
|
|
47
|
-
@update:active="$emit('update:menuOpen', $event)"
|
|
48
|
-
:sections="navigation"
|
|
49
|
-
v-scroll-lock="menuOpen"
|
|
50
|
-
/>
|
|
51
|
-
</transition>
|
|
52
42
|
<transition name="slide">
|
|
53
43
|
<asd20-action-menu
|
|
54
44
|
v-show="(mq === 'lg' || mq === 'xl') && isLoaded"
|
|
@@ -66,6 +56,25 @@
|
|
|
66
56
|
@update:active="$emit('update:menuOpen', $event)"
|
|
67
57
|
/> -->
|
|
68
58
|
</transition>
|
|
59
|
+
|
|
60
|
+
<transition name="slide">
|
|
61
|
+
<asd20-site-menu
|
|
62
|
+
ref="siteMenu"
|
|
63
|
+
v-show="menuOpen"
|
|
64
|
+
:active="menuOpen"
|
|
65
|
+
@update:active="$emit('update:menuOpen', $event)"
|
|
66
|
+
:sections="navigation"
|
|
67
|
+
/>
|
|
68
|
+
<!-- <asd20-site-menu
|
|
69
|
+
ref="siteMenu"
|
|
70
|
+
v-show="menuOpen"
|
|
71
|
+
:active="menuOpen"
|
|
72
|
+
@update:active="$emit('update:menuOpen', $event)"
|
|
73
|
+
:sections="navigation"
|
|
74
|
+
v-scroll-lock="menuOpen"
|
|
75
|
+
/> -->
|
|
76
|
+
</transition>
|
|
77
|
+
|
|
69
78
|
<transition name="slide">
|
|
70
79
|
<asd20-site-search
|
|
71
80
|
v-show="searchOpen"
|