From f79eaf11858ea2215c0f7780fff597c4e0b0f631 Mon Sep 17 00:00:00 2001 From: RainyXeon / Date: Sat, 22 Jun 2024 22:06:31 +0700 Subject: [PATCH] improve: ReZygisk webui state This commit will improve ReZygisk webui state by adding new red color and hide settings/modules card if it's error or not exist --- webroot/css/index.css | 18 ++++++++++++------ webroot/index.html | 9 +++++---- webroot/js/main.js | 8 ++++++-- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/webroot/css/index.css b/webroot/css/index.css index a30ffc3..b6d7d2a 100644 --- a/webroot/css/index.css +++ b/webroot/css/index.css @@ -1,3 +1,9 @@ +:root { + --bright: #8d1d19; + --dim: #1d2327; + --error: #8d1d19; +} + * { background-color: #181c20; color: #fff; @@ -44,18 +50,18 @@ a { } .bright { - border: 5px solid #3a4857; - background: #3a4857; + border: 5px solid var(--bright); + background: var(--bright); } .brightc { - background: #3a4857; + background: var(--bright); } .dim { - border: 5px solid #1d2327; - background: #1d2327; + border: 5px solid var(--dim); + background: var(--dim); } .dimc { - background: #1d2327; + background: var(--dim); } \ No newline at end of file diff --git a/webroot/index.html b/webroot/index.html index 0501666..4b7e353 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -10,9 +10,10 @@ +
ReZygisk
-
-
+
+
@@ -39,11 +40,11 @@
-
+ -
+