@asd20/ui 3.2.642 → 3.2.643
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 +1 -1
- package/src/components/organisms/Asd20ImageHeader/index.vue +19 -15
- package/src/components/templates/Asd20DetailAlternateTemplate/index.vue +4 -4
- package/src/components/templates/Asd20DetailImageTemplate/index.vue +5 -3
- package/src/components/templates/Asd20DetailTemplate/index.vue +5 -3
- package/src/components/templates/Asd20WayfindingImageTemplate/index.vue +1 -0
package/package.json
CHANGED
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
<div class="asd20-page-header__main">
|
|
18
18
|
<div
|
|
19
19
|
class="asd20-page-header__content"
|
|
20
|
-
:class="
|
|
20
|
+
:class="
|
|
21
|
+
imageUrl ? 'add-fade new-header' : headerImageUrl ? 'new-header' : ''
|
|
22
|
+
"
|
|
21
23
|
:style="styles"
|
|
22
24
|
>
|
|
23
25
|
<div class="asd20-page-header__tools">
|
|
@@ -85,9 +87,9 @@
|
|
|
85
87
|
</div>
|
|
86
88
|
</div>
|
|
87
89
|
|
|
88
|
-
|
|
90
|
+
<div v-if="imageUrl && !$slots.aside" class="asd20-page-header__image">
|
|
89
91
|
<img :src="imageUrl" :alt="imageCaption" />
|
|
90
|
-
</div>
|
|
92
|
+
</div>
|
|
91
93
|
</div>
|
|
92
94
|
|
|
93
95
|
<aside class="asd20-page-header__aside" v-if="$slots.aside">
|
|
@@ -360,10 +362,7 @@ export default {
|
|
|
360
362
|
max-width: 100%;
|
|
361
363
|
}
|
|
362
364
|
}
|
|
363
|
-
|
|
364
|
-
background: var(--website-header__background-color) var(--imageBackground)
|
|
365
|
-
left center / cover no-repeat;
|
|
366
|
-
}
|
|
365
|
+
|
|
367
366
|
.add-fade {
|
|
368
367
|
&::before {
|
|
369
368
|
content: '';
|
|
@@ -482,6 +481,10 @@ export default {
|
|
|
482
481
|
position: relative;
|
|
483
482
|
min-height: 300px;
|
|
484
483
|
}
|
|
484
|
+
.new-header {
|
|
485
|
+
background: var(--website-header__background-color) var(--imageBackground)
|
|
486
|
+
center / cover no-repeat;
|
|
487
|
+
}
|
|
485
488
|
&__content {
|
|
486
489
|
position: relative;
|
|
487
490
|
padding: space(1) space(2) space(1) space(2);
|
|
@@ -506,14 +509,15 @@ export default {
|
|
|
506
509
|
}
|
|
507
510
|
|
|
508
511
|
&__image {
|
|
509
|
-
img {
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
}
|
|
512
|
+
// img {
|
|
513
|
+
// width: 100%;
|
|
514
|
+
// height: 100%;
|
|
515
|
+
// max-height: inherit;
|
|
516
|
+
// object-fit: cover;
|
|
517
|
+
// border-top: none;
|
|
518
|
+
// min-height: 500px;
|
|
519
|
+
// }
|
|
520
|
+
display: none;
|
|
517
521
|
}
|
|
518
522
|
h1 {
|
|
519
523
|
@include asd20-font(
|
|
@@ -282,10 +282,10 @@ export default {
|
|
|
282
282
|
padding: space(2) space(2) 0 0;
|
|
283
283
|
background: none;
|
|
284
284
|
}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
285
|
+
.primary-messaging-section {
|
|
286
|
+
display: block;
|
|
287
|
+
max-width: 50vw;
|
|
288
|
+
}
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
}
|
|
@@ -255,10 +255,12 @@ export default {
|
|
|
255
255
|
padding: space(2) space(2) 0 0;
|
|
256
256
|
background: none;
|
|
257
257
|
}
|
|
258
|
+
.primary-messaging-section {
|
|
259
|
+
display: block;
|
|
260
|
+
max-width: 50vw;
|
|
261
|
+
}
|
|
258
262
|
}
|
|
259
|
-
|
|
260
|
-
max-width: 50vw;
|
|
261
|
-
}
|
|
263
|
+
|
|
262
264
|
}
|
|
263
265
|
}
|
|
264
266
|
</style>
|
|
@@ -242,10 +242,12 @@ export default {
|
|
|
242
242
|
padding: space(2) space(2) 0 0;
|
|
243
243
|
background: none;
|
|
244
244
|
}
|
|
245
|
+
.primary-messaging-section {
|
|
246
|
+
display: block;
|
|
247
|
+
max-width: 50vw;
|
|
248
|
+
}
|
|
245
249
|
}
|
|
246
|
-
|
|
247
|
-
max-width: 50vw;
|
|
248
|
-
}
|
|
250
|
+
|
|
249
251
|
}
|
|
250
252
|
}
|
|
251
253
|
</style>
|