From 1c51ea2e373dcdd458d8cdc1d3b2225c316f346d Mon Sep 17 00:00:00 2001 From: Wolfboy248 <105884620+Wolfboy248@users.noreply.github.com> Date: Sun, 20 Oct 2024 16:51:43 +0200 Subject: refactor: touch ups --- frontend/src/css/Dialog.css | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'frontend/src/css/Dialog.css') diff --git a/frontend/src/css/Dialog.css b/frontend/src/css/Dialog.css index c25a755..f16425d 100644 --- a/frontend/src/css/Dialog.css +++ b/frontend/src/css/Dialog.css @@ -1,13 +1,15 @@ .dimmer { - position: absolute; + position: fixed; width: calc(100%); height: 100%; background-color: rgba(0, 0, 0, 0.5); + z-index: 4; + left: 0px; } .dialog { - position: absolute; - z-index: 10000; + position: fixed; + z-index: 4; top: 50%; left: 50%; transform: translate(-50%, -50%); @@ -17,6 +19,12 @@ min-width: 350px; border: 0.1em solid #272831; animation: dialog_in 0.2s cubic-bezier(0.075, 0.82, 0.165, 1.1); + color: white; + font-family: BarlowSemiCondensed-Regular; +} + +.dialog-header { + font-size: 24px; } .dialog-element { -- cgit v1.2.3