@asd20/ui 3.2.568 → 3.2.569

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.568",
8
+ "version": "3.2.569",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -198,7 +198,7 @@ export default {
198
198
  }
199
199
  &__top {
200
200
  position: absolute;
201
- padding: space(0.5) space(1);
201
+ padding: space(0.5) space(0);
202
202
  }
203
203
  }
204
204
  }
@@ -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
  },
@@ -91,6 +91,11 @@
91
91
 
92
92
  <client-only>
93
93
  <Asd20LanguageTranslation
94
+ :class="
95
+ activeNotificationsByType.status.length > 0
96
+ ? ''
97
+ : 'translation-button-adjust'
98
+ "
94
99
  v-if="languageCode"
95
100
  reversed
96
101
  :languageCode="languageCode"
@@ -312,7 +317,7 @@ export default {
312
317
  background: #fff;
313
318
  position: relative;
314
319
  z-index: 100;
315
- padding: space(0.5) space(1);
320
+ padding: space(0) space(0);
316
321
  display: flex;
317
322
  justify-content: space-between;
318
323
  align-items: center;
@@ -334,12 +339,12 @@ export default {
334
339
  background: rgba(255, 255, 255, 1);
335
340
  border-radius: 50%;
336
341
  border: 1px solid var(--website-page__alternate-background-color);
337
- margin-left: 0.5rem;
342
+ // margin-left: 0.5rem;
338
343
  .asd20-select-input {
339
344
  padding: 0.25rem 0.25rem;
340
345
  color: currentColor;
341
346
  font-family: Ariel, Arial, Helvetica, sans-serif;
342
- &__select-wrapper {
347
+ &__overlay-label {
343
348
  display: none;
344
349
  }
345
350
  }
@@ -353,6 +358,11 @@ export default {
353
358
  .asd20-language-loader {
354
359
  order: 1;
355
360
  }
361
+ .translation-button-adjust {
362
+ position: absolute;
363
+ top: space(1.375);
364
+ right: space(0.5);
365
+ }
356
366
  & /deep/ .notification-group--status .notifications {
357
367
  padding: 0.25em;
358
368
  border-radius: 1em;
@@ -396,7 +406,7 @@ export default {
396
406
  .double-notification-wrapper {
397
407
  display: flex;
398
408
  flex-direction: row;
399
- justify-content: flex-end;
409
+ justify-content: space-around;
400
410
  width: 100%;
401
411
  align-items: center;
402
412
  flex-wrap: wrap;
@@ -425,6 +435,23 @@ export default {
425
435
  // }
426
436
  }
427
437
 
438
+ @media (min-width: 667px) {
439
+ .asd20-district-home-template {
440
+ .logo-header {
441
+ padding: 0 space(1);
442
+ }
443
+ .translation-button-adjust {
444
+ position: relative !important;
445
+ top: 0 !important;
446
+ right: 0 !important;
447
+ }
448
+ .double-notification-wrapper {
449
+ padding-right: space(1);
450
+ justify-content: flex-end !important;
451
+ }
452
+ }
453
+ }
454
+
428
455
  @media (min-width: 1024px) {
429
456
  .asd20-district-home-template {
430
457
  display: block;
@@ -68,11 +68,11 @@
68
68
 
69
69
  <client-only>
70
70
  <Asd20LanguageTranslation
71
- :class="{
72
- 'translation-button-adjust':
73
- activeNotificationsByType.floating.length > 0 ||
74
- activeNotificationsByType.status.length > 0,
75
- }"
71
+ :class="
72
+ activeNotificationsByType.status.length > 0
73
+ ? ''
74
+ : 'translation-button-adjust'
75
+ "
76
76
  v-if="languageCode"
77
77
  reversed
78
78
  :languageCode="languageCode"
@@ -215,7 +215,7 @@ export default {
215
215
  }
216
216
  .asd20-language-translation {
217
217
  position: absolute;
218
- top: 1.5rem;
218
+ top: 3.5rem;
219
219
  right: 0.5rem;
220
220
  background: rgba(255, 255, 255, 0.9);
221
221
  border-radius: 3rem;
@@ -224,7 +224,7 @@ export default {
224
224
  padding: 0.25rem 0.25rem;
225
225
  color: currentColor;
226
226
  font-family: Ariel, Arial, Helvetica, sans-serif;
227
- &__select-wrapper {
227
+ &__overlay-label {
228
228
  display: none;
229
229
  }
230
230
  }
@@ -240,7 +240,9 @@ export default {
240
240
  }
241
241
 
242
242
  .translation-button-adjust {
243
- top: 3.5rem;
243
+ position: absolute;
244
+ top: space(1);
245
+ right: space(0.5);
244
246
  }
245
247
  .weather-link {
246
248
  text-decoration: none;
@@ -311,7 +313,12 @@ export default {
311
313
  }
312
314
  }
313
315
  .translation-button-adjust {
314
- top: 0;
316
+ position: absolute;
317
+ top: space(1);
318
+ right: space(0.5);
319
+ }
320
+ .double-notification-wrapper {
321
+ justify-content: center;
315
322
  }
316
323
  }
317
324
  .asd20-video-header-content {
@@ -338,12 +345,19 @@ export default {
338
345
  // }
339
346
  }
340
347
  .asd20-video-header {
348
+ .translation-button-adjust {
349
+ position: absolute;
350
+ top: space(-1) !important;
351
+ right: space(0) !important;
352
+ }
353
+ .double-notification-wrapper {
354
+ justify-content: flex-end !important;
355
+ }
341
356
  .asd20-video-header-content {
342
357
  position: absolute;
343
358
  bottom: 20%;
344
359
  transform: translate3d(0, calc(-70% * var(--scroll-progress)), 0);
345
360
  animation: slide_left 1s ease-in-out 0.5s both;
346
-
347
361
  .lead {
348
362
  }
349
363
  }
@@ -235,18 +235,18 @@ export default {
235
235
  align-items: center;
236
236
  flex-wrap: wrap;
237
237
  justify-content: flex-end;
238
- margin-right: 0.25rem;
238
+ margin-right: space(1.5);
239
239
  }
240
240
  .asd20-language-translation {
241
241
  background: rgba(255, 255, 255, 1);
242
242
  border-radius: 50%;
243
243
  border: 1px solid var(--website-page__alternate-background-color);
244
- margin: 0 0.05rem;
244
+ margin-left: 0.05rem;
245
245
  .asd20-select-input {
246
246
  padding: 0.25rem 0.25rem;
247
247
  color: currentColor;
248
248
  font-family: Ariel, Arial, Helvetica, sans-serif;
249
- &__select-wrapper {
249
+ &__overlay-label {
250
250
  display: none;
251
251
  }
252
252
  }
@@ -304,8 +304,11 @@ export default {
304
304
 
305
305
  @media (min-width: 667px) {
306
306
  .asd20-school-home-template {
307
+ .notification-translation-container {
308
+ margin-right: space(1);
309
+ }
307
310
  .asd20-language-translation {
308
- margin: 0 0.5rem;
311
+ margin-left: 0.5rem;
309
312
  }
310
313
  }
311
314
  }
@@ -315,6 +318,9 @@ export default {
315
318
  display: block;
316
319
  margin-left: space(3);
317
320
  margin-top: 0;
321
+ .notification-translation-container {
322
+ margin-right: 0.25rem;
323
+ }
318
324
  .asd20-notification--status {
319
325
  .asd20-notification__content {
320
326
  padding-right: 0;
@@ -238,7 +238,7 @@ export default {
238
238
  padding: 0.25rem 0.25rem;
239
239
  color: currentColor;
240
240
  font-family: Ariel, Arial, Helvetica, sans-serif;
241
- &__select-wrapper {
241
+ &__overlay-label {
242
242
  display: none;
243
243
  }
244
244
  }
@@ -286,7 +286,7 @@ export default {
286
286
  }
287
287
  .asd20-language-translation {
288
288
  right: space(1);
289
- top: space(0.5) !important;
289
+ top: space(1) !important;
290
290
  }
291
291
  .asd20-notification-group--floating {
292
292
  right: space(1);