@asd20/ui 3.2.835 → 3.2.837

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.835",
8
+ "version": "3.2.837",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -60,9 +60,12 @@ export default {
60
60
  return classes
61
61
  },
62
62
  abbreviatedTitle() {
63
+ let newTitle = ''
64
+ if (this.title === 'Academy District 20 Insider') {
65
+ return (newTitle = 'D20 Insider')
66
+ }
63
67
  const words = this.title.trim().split(' ')
64
68
  if (this.abbreviated && words.length >= 3) {
65
- let newTitle = ''
66
69
  for (let i = 0; i < words.length; i++) {
67
70
  newTitle += `${words[i][0]}<em>${words[i].substr(1)} </em>`
68
71
  }
@@ -177,9 +177,6 @@ export default {
177
177
  .notification-group--inline {
178
178
  margin: space(2) space(3) space(0) space(3);
179
179
  }
180
- .primary-messaging-section {
181
- justify-content: center;
182
- }
183
180
  .primary-messaging-section,
184
181
  .secondary-messaging-section {
185
182
  display: flex;
@@ -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;
@@ -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
@@ -214,6 +214,14 @@ 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
+ }
217
225
  .logo-header {
218
226
  --fill-one: rgba(255, 255, 255, 1);
219
227
  --fill-two: rgba(255, 255, 255, 0.625);
@@ -261,11 +269,11 @@ export default {
261
269
  .asd20-language-loader {
262
270
  order: 1;
263
271
  }
264
- .translation-button-adjust {
265
- position: absolute;
266
- top: space(1.375);
267
- right: space(0.5);
268
- }
272
+ // .translation-button-adjust {
273
+ // position: absolute;
274
+ // top: space(0.25);
275
+ // right: space(0.25);
276
+ // }
269
277
  & ::v-deep .notification-group--status .notifications {
270
278
  padding: 0.375rem;
271
279
  border-radius: 3rem;
@@ -301,9 +309,12 @@ export default {
301
309
  // }
302
310
  }
303
311
  .notification-wrapper {
312
+ position: absolute;
313
+ top: space(0.5);
314
+ right: space(0.5);
304
315
  display: flex;
305
316
  flex-direction: row;
306
- justify-content: center;
317
+ justify-content: flex-end;
307
318
  width: 100%;
308
319
  }
309
320
  .double-notification-wrapper {
@@ -347,11 +358,10 @@ export default {
347
358
  .logo-header {
348
359
  padding: 0 space(1);
349
360
  }
350
- .translation-button-adjust {
351
- position: relative !important;
352
- top: 0 !important;
353
- right: 0 !important;
354
- }
361
+ // .translation-button-adjust {
362
+ // top: space(-0.5);
363
+ // right: space(0.5);
364
+ // }
355
365
  .double-notification-wrapper {
356
366
  // padding-right: space(1);
357
367
  justify-content: flex-end !important;
@@ -364,7 +374,9 @@ export default {
364
374
  display: block;
365
375
  margin-left: space(3);
366
376
  margin-top: 0;
367
-
377
+ .translation-button-adjust {
378
+ position: relative !important;
379
+ }
368
380
  .logo-header {
369
381
  --fill-one: #0e2c6c;
370
382
  --fill-two: #9fa1a2;
@@ -381,11 +393,14 @@ export default {
381
393
  }
382
394
  .notification-wrapper,
383
395
  .double-notification-wrapper {
396
+ position: relative;
397
+ top: 0;
398
+ right: 0;
384
399
  display: flex;
385
400
  justify-content: flex-end;
386
401
  align-items: center;
387
402
  width: 100%;
388
- margin: space(1);
403
+ // margin: space(1);
389
404
  }
390
405
  }
391
406
  .asd20-primary-header,
@@ -254,6 +254,7 @@ export default {
254
254
  }
255
255
  .intro-message {
256
256
  .primary-messaging-section {
257
+ justify-content: center;
257
258
  padding-top: space(1) !important;
258
259
  padding-bottom: space(1) !important;
259
260
  .asd20-messaging {
@@ -265,6 +265,7 @@ export default {
265
265
 
266
266
  .intro-message {
267
267
  .primary-messaging-section {
268
+ justify-content: center;
268
269
  padding-top: space(1) !important;
269
270
  padding-bottom: space(1) !important;
270
271
  .asd20-messaging {
@@ -234,6 +234,7 @@ export default {
234
234
 
235
235
  .intro-message {
236
236
  .primary-messaging-section {
237
+ justify-content: center;
237
238
  padding-top: space(1) !important;
238
239
  padding-bottom: space(1) !important;
239
240
  .asd20-messaging {