This commit is contained in:
Markus 2025-06-06 18:12:46 +02:00
commit 1d8da2b6dd
824 changed files with 76366 additions and 0 deletions

26
assets/scss/modal.scss Normal file
View file

@ -0,0 +1,26 @@
@mixin modal($centerWidth, $windowWidth) {
@include var(background-color, dark1);
@include var(color, light1);
z-index: 1001;
box-shadow: $cm-box-shadow-dark-md;
width: 100%;
max-height: 98%;
top: 50%;
transform: translateY(-50%);
position: fixed;
overflow: auto;
@media (min-width: $centerWidth) {
@include var(border-radius, border-radius);
position: relative;
margin: 0 auto;
max-width: $windowWidth;
height: auto;
width: auto;
}
}