aboutsummaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-18 14:28:53 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-18 14:28:53 +0200
commitaf796b465c66a61b498facff010b372a52a24508 (patch)
tree21de47cf4e1b621fc2fd1b7a3408f1fb0f188ce1 /styles
parent465b971fd0cb80004bf60865ddc25df9cd72ba38 (diff)
wip dialog box
Diffstat (limited to 'styles')
-rw-r--r--styles/ui.css5
-rw-r--r--styles/utility.css7
2 files changed, 12 insertions, 0 deletions
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%);
+}
+