@asd20/ui 3.2.836 → 3.2.838

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.836",
8
+ "version": "3.2.838",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -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() {
@@ -113,11 +113,16 @@ export default {
113
113
  font-weight: 900;
114
114
  line-height: 1.5;
115
115
  color: var(--website-homepage-header__title-color);
116
+ animation: slide_left 1.5s ease-in-out 0.5s both;
117
+ }
118
+ &::v-deep .lead {
119
+ animation: slide_left 1.25s ease-in-out 1s both;
120
+ }
121
+
116
122
  // -webkit-background-clip: text;
117
123
  // -webkit-text-fill-color: transparent;
118
124
  // background-image: url('https://asd20websitestorage.blob.core.windows.net/asd20-images/page-images/asd20-header-divider.jpg');
119
125
  // background-size: 30% auto;
120
- }
121
126
  &::v-deep .lead {
122
127
  @include fluid-type($base-font-size * 1.2, $base-font-size * 1.4);
123
128
  color: var(--website-homepage-header__foreground-color);
@@ -174,6 +179,19 @@ export default {
174
179
  }
175
180
  }
176
181
 
182
+ @keyframes slide_left {
183
+ from {
184
+ opacity: 0;
185
+ margin-left: 300px;
186
+ margin-right: -300px;
187
+ }
188
+ to {
189
+ opacity: 1;
190
+ margin-left: 0;
191
+ margin-right: 0;
192
+ }
193
+ }
194
+
177
195
  @media (min-width: 1024px) {
178
196
  .photostrip {
179
197
  height: 40vh;
@@ -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
@@ -27,7 +27,7 @@ const wrapper = {
27
27
  floating: [],
28
28
  status: [],
29
29
  }
30
- return boolean('Show Notifications', true)
30
+ return boolean('Show Notifications', false)
31
31
  ? notifications || empty
32
32
  : empty
33
33
  },
@@ -45,7 +45,7 @@
45
45
  : 'notification-wrapper'
46
46
  "
47
47
  >
48
- <client-only>
48
+ <!-- <client-only>
49
49
  <a
50
50
  class="weather-link"
51
51
  href="https://www.asd20.org/alerts-and-communication/weather-related-communication/"
@@ -57,7 +57,7 @@
57
57
  @toggle-all="$emit('toggle-all')"
58
58
  />
59
59
  </a>
60
- </client-only>
60
+ </client-only> -->
61
61
 
62
62
  <client-only>
63
63
  <Asd20LanguageTranslation
@@ -215,8 +215,8 @@ export default {
215
215
  overflow-y: auto;
216
216
  margin-top: space(2.25);
217
217
  nav {
218
- #menu-toggle-button {
219
- display: none;
218
+ .asd20-picker {
219
+ margin-left: space(1);
220
220
  }
221
221
  }
222
222
  .logo-header {
@@ -266,11 +266,11 @@ export default {
266
266
  .asd20-language-loader {
267
267
  order: 1;
268
268
  }
269
- .translation-button-adjust {
270
- position: absolute;
271
- top: space(0.25);
272
- right: space(0.25);
273
- }
269
+ // .translation-button-adjust {
270
+ // position: absolute;
271
+ // top: space(0.25);
272
+ // right: space(0.25);
273
+ // }
274
274
  & ::v-deep .notification-group--status .notifications {
275
275
  padding: 0.375rem;
276
276
  border-radius: 3rem;
@@ -306,12 +306,18 @@ export default {
306
306
  // }
307
307
  }
308
308
  .notification-wrapper {
309
+ position: absolute;
310
+ top: space(0.5);
311
+ right: space(0.5);
309
312
  display: flex;
310
313
  flex-direction: row;
311
- justify-content: center;
314
+ justify-content: flex-end;
312
315
  width: 100%;
313
316
  }
314
317
  .double-notification-wrapper {
318
+ position: absolute;
319
+ top: space(1);
320
+ right: space(0.5);
315
321
  display: flex;
316
322
  flex-direction: row;
317
323
  justify-content: flex-end;
@@ -349,10 +355,10 @@ export default {
349
355
  .logo-header {
350
356
  padding: 0 space(1);
351
357
  }
352
- .translation-button-adjust {
353
- top: space(-0.5);
354
- right: space(0.5);
355
- }
358
+ // .translation-button-adjust {
359
+ // top: space(-0.5);
360
+ // right: space(0.5);
361
+ // }
356
362
  .double-notification-wrapper {
357
363
  // padding-right: space(1);
358
364
  justify-content: flex-end !important;
@@ -384,6 +390,9 @@ export default {
384
390
  }
385
391
  .notification-wrapper,
386
392
  .double-notification-wrapper {
393
+ position: relative;
394
+ top: 0;
395
+ right: 0;
387
396
  display: flex;
388
397
  justify-content: flex-end;
389
398
  align-items: center;