You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
<div class="d3c-1684423938">
|
|
<div vg-if="c.modal != nil" class="d3c-1684423938-modal-container">
|
|
<div>
|
|
<div class="d3c-1684423938-menu d3c-color-accent">
|
|
<h3 class="d3c-1684423938-title" style="flex-grow:1" vg-content="c.modalTitle"></h3>
|
|
<input:Button @Click="c.handleModalClose(event)"><vg-slot name="SymbolSlot"><icons:LCancel></icons:LCancel></vg-slot></input:Button>
|
|
</div>
|
|
<vg-comp expr="c.modal"></vg-comp>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.d3c-1684423938 {
|
|
position: fixed;
|
|
z-index: 2;
|
|
}
|
|
|
|
.d3c-1684423938-modal-container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: fixed;
|
|
backdrop-filter: blur(1px) brightness(80%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
.d3c-1684423938-modal-container > div {
|
|
background-color: var(--d3c-color-background);
|
|
color: var(--d3c-color-text);
|
|
border-radius: 4px;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
overflow: auto;
|
|
box-shadow: 0 1em 3em var(--d3c-color-shadow);
|
|
}
|
|
|
|
.d3c-1684423938-menu {
|
|
padding: 0.5em;
|
|
display: flex;
|
|
gap: 0.5em;
|
|
justify-content: flex-end;
|
|
align-items: baseline;
|
|
background-color: var(--d3c-color-background);
|
|
color: var(--d3c-color-text);
|
|
}
|
|
|
|
.d3c-1684423938-menu > * {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.d3c-1684423938-title {
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
|
|
<script type="application/x-go">
|
|
import (
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/icons"
|
|
"git.d3nexus.de/Dadido3/D3vugu-components/components/input"
|
|
)
|
|
</script> |