From 6c3118549f4f3f695c312fa1f7535f6c144f376b Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Thu, 30 May 2024 05:11:23 +0200 Subject: [PATCH] Make generic popups be modal dialogs - Switch generic popups to actual elements - Move toastr settings from html to JS - Add style variable for animation duration (to re-use in CSS) - Remember focus of popup on stacking pop-up close to switch back to the element you started out in - Fix keybinds of popups to only act on actual result-triggering controls - Fix toastr appearing behind popups by dynamically moving the container inside the currently open dialog - Improve autofocus on popup open - Make cleaner and prettier popup animations, and tie them to the animation speed - --- public/index.html | 37 ++--- public/script.js | 19 ++- public/scripts/popup.js | 335 +++++++++++++++++++++++----------------- public/scripts/tags.js | 2 +- public/style.css | 108 +++++++++++-- 5 files changed, 315 insertions(+), 186 deletions(-) diff --git a/public/index.html b/public/index.html index 59dfafb8c..2c0fba520 100644 --- a/public/index.html +++ b/public/index.html @@ -4848,20 +4848,18 @@
@@ -5198,8 +5196,8 @@
-
-
+
+
 entries
@@ -6437,15 +6435,6 @@ -