From af796b465c66a61b498facff010b372a52a24508 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 18 Apr 2021 14:28:53 +0200 Subject: wip dialog box --- styles/ui.css | 5 +++++ styles/utility.css | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'styles') diff --git a/styles/ui.css b/styles/ui.css index b8cd44c..efc96b7 100644 --- a/styles/ui.css +++ b/styles/ui.css @@ -65,3 +65,8 @@ bottom: -12px; transform: translate(-50%, 0%) rotate(0deg); } + +.dialogbox { + width: 392px; +} + diff --git a/styles/utility.css b/styles/utility.css index f8954cd..0393d1d 100644 --- a/styles/utility.css +++ b/styles/utility.css @@ -17,6 +17,7 @@ .posabs { position: absolute; } .posrel { position: relative; } +.posfix { position: fixed; } .t0 { top: 0; } .b0 { bottom: 0; } @@ -61,3 +62,9 @@ text-overflow: ellipsis; } +.abscenter { + top: 51%; + left: 50%; + transform: translate(-50%, -50%); +} + -- cgit v1.2.3