From 3f7ff55cfd7b79941d1d8d097072eabab54d80e0 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Mon, 5 Dec 2022 16:46:23 +0100 Subject: [PATCH] Add notice for disabled javascript --- src/assets/css/default.css | 14 ++++++++++++++ src/classes/page.php | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/src/assets/css/default.css b/src/assets/css/default.css index 62715032..a1574e97 100644 --- a/src/assets/css/default.css +++ b/src/assets/css/default.css @@ -27,6 +27,20 @@ figure { margin: 0 0 1em; } +/** + * Dialog + */ +dialog.ui.active.dimmer { + display: none; + position: fixed; +} +dialog[open].ui.active.dimmer { + display: flex; +} +dialog[open] > .ui.modal { + display: block; +} + /** * Logo */ diff --git a/src/classes/page.php b/src/classes/page.php index a87a5bb1..709d4e23 100644 --- a/src/classes/page.php +++ b/src/classes/page.php @@ -714,6 +714,42 @@ class Page ?> +