|
@@ -7,7 +7,7 @@
|
|
|
<side-view id="gallery-map-side">
|
|
|
<template #default="{ hide, visible }">
|
|
|
<gallery-map
|
|
|
- v-if="creations"
|
|
|
+ v-if="creations && creation"
|
|
|
:nodes="creations" :node="creation"
|
|
|
:visible="visible"
|
|
|
@open-creation="openCreation($event, hide)"
|
|
@@ -40,6 +40,19 @@
|
|
|
</template>
|
|
|
</side-view>
|
|
|
|
|
|
+
|
|
|
+ <b-modal
|
|
|
+ v-if="creation && creation.piece.url"
|
|
|
+ :id="'modal-creation' + creation.id"
|
|
|
+ class="modal-creation"
|
|
|
+ static hide-footer hide-header
|
|
|
+ >
|
|
|
+ <template #default="{ hide }">
|
|
|
+ <button-expand expanded @click="hide()" />
|
|
|
+ <iframe :src="creation.piece.url" width="100%" height="100%" />
|
|
|
+ </template>
|
|
|
+ </b-modal>
|
|
|
+
|
|
|
<b-overlay
|
|
|
:show="!creation"
|
|
|
spinner-variant="creation"
|
|
@@ -161,4 +174,48 @@ export default {
|
|
|
font-family: $font-family-text;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+.modal-creation {
|
|
|
+ z-index: 1100 !important;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ pointer-events: none;
|
|
|
+
|
|
|
+ ::v-deep .modal {
|
|
|
+ position: absolute;
|
|
|
+ background-color: transparent;
|
|
|
+ width: 100%;
|
|
|
+ max-height: 100%;
|
|
|
+ overflow: hidden;
|
|
|
+
|
|
|
+ &-dialog {
|
|
|
+ max-width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ margin: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-content {
|
|
|
+ height: 100%;
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-body {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &-backdrop {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+
|
|
|
+ iframe {
|
|
|
+ border: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btn-expand {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|