SYNC: new object modal

This commit is contained in:
SPRINX0\prochazka
2025-07-16 09:35:11 +02:00
committed by Diflow
parent 445ecea3e6
commit 982098672e
7 changed files with 174 additions and 13 deletions

View File

@@ -9,6 +9,7 @@
export let fullScreen = false;
export let noPadding = false;
export let simple = false;
export let simplefix = false;
export let modalId;
function handleCloseModal() {
@@ -43,6 +44,7 @@
class="window"
class:fullScreen
class:simple
class:simplefix
use:clickOutside
on:clickOutside={handleClickOutside}
data-testid="ModalBase_window"
@@ -92,7 +94,7 @@
flex-direction: column;
}
.window:not(.fullScreen):not(.simple) {
.window:not(.fullScreen):not(.simple):not(.simplefix) {
border-radius: 10px;
margin: auto;
margin-top: 15vh;
@@ -114,6 +116,12 @@
width: 30%;
}
.window.simplefix {
margin: auto;
max-width: 600px;
margin-top: 10vh;
}
.close {
font-size: 12pt;
padding: 5px 10px;