From 60afdc23dad0b91a09c910ead677840a2047291c Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Thu, 23 May 2024 10:42:55 +0200 Subject: [PATCH] =?UTF-8?q?Behebt=20das=20Scrollproblem=20des=20iframes=20?= =?UTF-8?q?durch=20Festlegen=20der=20H=C3=B6he=20mit=20Viewport-Einheiten,?= =?UTF-8?q?=20um=20eine=20ordnungsgem=C3=A4=C3=9Fe=20interne=20Scroll-Vera?= =?UTF-8?q?rbeitung=20zu=20gew=C3=A4hrleisten.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/ShowEnvelope.cshtml | 50 +++++++-------- EnvelopeGenerator.Web/wwwroot/css/site.css | 61 +++++++++---------- 2 files changed, 56 insertions(+), 55 deletions(-) diff --git a/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml b/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml index 7adb23fc..6f7b7daa 100644 --- a/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml +++ b/EnvelopeGenerator.Web/Views/Home/ShowEnvelope.cshtml @@ -16,34 +16,37 @@ var stPageIndexes = string.Join(pages.Count() > 1 ? ", " : "", pages.Take(pages.Count() - 1)) + (pages.Count() > 1 ? " und " : "") + pages.LastOrDefault(); } - + + @* *@ +
-
\ No newline at end of file + \ No newline at end of file diff --git a/EnvelopeGenerator.Web/wwwroot/css/site.css b/EnvelopeGenerator.Web/wwwroot/css/site.css index 1fb08ec5..3fc2c305 100644 --- a/EnvelopeGenerator.Web/wwwroot/css/site.css +++ b/EnvelopeGenerator.Web/wwwroot/css/site.css @@ -4,14 +4,13 @@ */ /* Toolbar Buttons */ - #app { background: gray; width: 100vw; - height: 100vh; - margin: 0 auto; + height: 1vh; } + .button-finish { transition: background-color linear 300ms; background-color: #059669; /* emerald-600 */ @@ -19,10 +18,10 @@ border-left: none; } - .button-finish:hover, .button-finish:focus, .button-finish:active { - background-color: #10b981; /* emerald-500 */ - color: white; - } +.button-finish:hover, .button-finish:focus, .button-finish:active { + background-color: #10b981; /* emerald-500 */ + color: white; +} .button-reject { transition: background-color linear 300ms; @@ -31,10 +30,10 @@ border-left: none; } - .button-reject:hover, .button-reject:focus, .button-reject:active { - background-color: #f59e0b; /* amber-500 */ - color: white; - } +.button-reject:hover, .button-reject:focus, .button-reject:active { + background-color: #f59e0b; /* amber-500 */ + color: white; +} .button-reset { transition: background-color linear 300ms; @@ -43,10 +42,10 @@ border-left: none; } - .button-reset:hover, .button-reset:focus, .button-reset:active { - background-color: #3b82f6; /* blue-500 */ - color: white; - } +.button-reset:hover, .button-reset:focus, .button-reset:active { + background-color: #3b82f6; /* blue-500 */ + color: white; +} body { background-color: #bbb; @@ -72,20 +71,20 @@ body { margin-bottom: 2rem; } - .page header .icon.admin { - background-color: #331904; - color: #fecba1; - } +.page header .icon.admin { + background-color: #331904; + color: #fecba1; +} - .page header .icon.locked { - background-color: #ffc107; - color: #000; - } +.page header .icon.locked { + background-color: #ffc107; + color: #000; +} - .page header .icon.signed { - background-color: #146c43; - color: #fff; - } +.page header .icon.signed { + background-color: #146c43; + color: #fff; +} .page .form { max-width: 30rem; @@ -95,10 +94,10 @@ body { gap: 1rem; } - #form-access-code > .input, - #form-admin-password > .input { - flex-grow: 1; - } +#form-access-code > .input, +#form-admin-password > .input { + flex-grow: 1; +} #page-admin header .icon { background-color: #331904;