diff --git a/public/internal/footer.php b/public/internal/footer.php index bad543d..fcb1737 100644 --- a/public/internal/footer.php +++ b/public/internal/footer.php @@ -55,6 +55,8 @@ function getFooter(){ + + EOF); diff --git a/scss/_dialog.scss b/scss/_dialog.scss new file mode 100644 index 0000000..1e49c54 --- /dev/null +++ b/scss/_dialog.scss @@ -0,0 +1,33 @@ +.dialog { + opacity: 0; + height: 100%; + width: 100%; + position: fixed; + top: 0; + left: 0; + + display: flex; + justify-content: center; + align-items: center; + + background-color: rgba(0, 0, 0, 0.5); + + .dialogContent { + height: 80%; + width: 80%; + background-color: white; + border: 10px solid rgb(86, 86, 86); + border-radius: 10px; + + iframe { + width: 100%; + height: 100%; + border: none; + } + } + + .imageDialog{ + height: auto; + width: auto; + } +} diff --git a/scss/_menue.scss b/scss/_menue.scss index 1532a9b..e105e79 100644 --- a/scss/_menue.scss +++ b/scss/_menue.scss @@ -35,14 +35,14 @@ color: $text-color; &:first-of-type{ - border-top-left-radius: 10px; - border-top-right-radius: 10px; + border-top-left-radius: $border-radius-sub-nav; + border-top-right-radius: $border-radius-sub-nav; } &:last-of-type { border-bottom: none; - border-bottom-left-radius: 10px; - border-bottom-right-radius: 10px; + border-bottom-left-radius: $border-radius-sub-nav; + border-bottom-right-radius: $border-radius-sub-nav; } &:hover{ diff --git a/scss/_var.scss b/scss/_var.scss index bdcbe3f..86d3e77 100644 --- a/scss/_var.scss +++ b/scss/_var.scss @@ -7,5 +7,7 @@ $content-footer-div-color: #03A8F4; $darker-color: 5%; $darker-color-2: 2%; +$border-radius-sub-nav: 10px; + $mobile-max-width: 600px; $small-mobile-max-width: 300px; \ No newline at end of file diff --git a/scss/style.scss b/scss/style.scss index 590b5e2..dc143e8 100644 --- a/scss/style.scss +++ b/scss/style.scss @@ -13,4 +13,5 @@ @import "content"; @import "mobile"; @import "menuMobile"; -@import "mobileSmall"; \ No newline at end of file +@import "mobileSmall"; +@import "dialog"; \ No newline at end of file diff --git a/ts/dialog.ts b/ts/dialog.ts new file mode 100644 index 0000000..d101421 --- /dev/null +++ b/ts/dialog.ts @@ -0,0 +1,38 @@ +function createDialogIframe(url:string) { + createDialogHTML(`