@asd20/ui 3.2.837 → 3.2.839
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
|
@@ -57,6 +57,7 @@ export default {
|
|
|
57
57
|
classes[`asd20-logo--reversed`] = this.reversed
|
|
58
58
|
classes[`asd20-logo--wrappable`] = this.wrappable
|
|
59
59
|
classes[`asd20-logo--noSubtitle`] = !this.subtitle
|
|
60
|
+
classes[`asd20-logo--emptyNav`] = this.title === "Academy District 20 Insider"
|
|
60
61
|
return classes
|
|
61
62
|
},
|
|
62
63
|
abbreviatedTitle() {
|
|
@@ -200,6 +201,9 @@ export default {
|
|
|
200
201
|
font-size: 1rem;
|
|
201
202
|
padding: 0.5rem 0;
|
|
202
203
|
}
|
|
204
|
+
&--emptyNav {
|
|
205
|
+
margin-left: space(1);
|
|
206
|
+
}
|
|
203
207
|
}
|
|
204
208
|
|
|
205
209
|
@media (min-width: 768px) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="classes">
|
|
3
3
|
<asd20-action-menu-item
|
|
4
|
+
v-if="!emptyNav"
|
|
4
5
|
ref="menuButton"
|
|
5
6
|
id="menu-toggle-button"
|
|
6
7
|
aria-owns="main-menu-list"
|
|
@@ -46,6 +47,7 @@ export default {
|
|
|
46
47
|
condensed: { type: Boolean, default: false },
|
|
47
48
|
desktop: { type: Boolean, default: false },
|
|
48
49
|
zoomed: { type: Boolean, default: false },
|
|
50
|
+
emptyNav: { type: Boolean, default: false },
|
|
49
51
|
},
|
|
50
52
|
computed: {
|
|
51
53
|
size() {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
:zoomed="zoomed"
|
|
11
11
|
:desktop="desktop"
|
|
12
12
|
@keyboardTriggeredLastAction="keyboardTriggeredLastAction = $event"
|
|
13
|
+
:emptyNav="emptyNav"
|
|
13
14
|
>
|
|
14
15
|
<!-- <asd20-district-logo
|
|
15
16
|
v-show="
|
|
@@ -137,6 +138,9 @@ export default {
|
|
|
137
138
|
mq() {
|
|
138
139
|
return this.$mq || 'sm'
|
|
139
140
|
},
|
|
141
|
+
emptyNav() {
|
|
142
|
+
return this.navigation.length <= 1
|
|
143
|
+
},
|
|
140
144
|
},
|
|
141
145
|
mounted() {
|
|
142
146
|
this.desktop = window.innerWidth >= 1024
|
|
@@ -214,14 +214,6 @@ export default {
|
|
|
214
214
|
flex-shrink: 0;
|
|
215
215
|
overflow-y: auto;
|
|
216
216
|
margin-top: space(2.25);
|
|
217
|
-
nav {
|
|
218
|
-
#menu-toggle-button {
|
|
219
|
-
display: none;
|
|
220
|
-
}
|
|
221
|
-
.asd20-picker {
|
|
222
|
-
margin-left: space(1);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
217
|
.logo-header {
|
|
226
218
|
--fill-one: rgba(255, 255, 255, 1);
|
|
227
219
|
--fill-two: rgba(255, 255, 255, 0.625);
|