From fc3ea2dd4bb81bd5a09fcae8bcc8d4958818eda4 Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Thu, 22 Feb 2024 22:50:38 +0330
Subject: Ultra Dark Theme for 3X-UI (#1871)
---
web/html/xui/fakedns_modal.html | 2 +-
web/html/xui/index.html | 36 +++++++++++++++++++-----------------
web/html/xui/settings.html | 8 ++++----
3 files changed, 24 insertions(+), 22 deletions(-)
(limited to 'web/html/xui')
diff --git a/web/html/xui/fakedns_modal.html b/web/html/xui/fakedns_modal.html
index c830f44d..c3abe5d5 100644
--- a/web/html/xui/fakedns_modal.html
+++ b/web/html/xui/fakedns_modal.html
@@ -7,7 +7,7 @@
-
+
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index 86dbf6b8..1c3132d6 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -19,12 +19,14 @@
color: hsla(0, 0%, 100%, .65);
}
- .ant-tag-df {
- color: rgb(0 0 0 / 80%);
+ .dark .ant-card-hoverable:hover,
+ .dark .ant-space-item > .ant-tabs:hover {
+ transform: scale(0.987);
+ outline-color: #40434d;
}
- .dark .ant-tag-df {
- color: rgb(255 255 255 / 80%);
+ .dark .ant-card-bordered {
+ outline: 2px solid var(--dark-color-background);
}
@@ -102,8 +104,8 @@
{{ i18n "pages.index.operationHours" }}:
- Xray [[ formatSecond(status.appStats.uptime) ]]
- OS [[ formatSecond(status.uptime) ]]
+ Xray [[ formatSecond(status.appStats.uptime) ]]
+ OS [[ formatSecond(status.uptime) ]]
@@ -137,7 +139,7 @@
{{ i18n "pages.index.systemLoad" }}:
-
+
[[ status.loads[0] ]] | [[ status.loads[1] ]] | [[ status.loads[2] ]]
@@ -150,10 +152,10 @@
{{ i18n "usage"}}:
-
+
RAM [[ sizeFormat(status.appStats.mem) ]]
-
+
Threads [[ status.appStats.threads ]]
@@ -162,7 +164,7 @@
-
+
IPv4
@@ -172,7 +174,7 @@
-
+
IPv6
@@ -188,7 +190,7 @@
-
+
TCP: [[ status.tcpCount ]]
@@ -198,7 +200,7 @@
-
+
UDP: [[ status.udpCount ]]
@@ -214,7 +216,7 @@
-
+
Up: [[ sizeFormat(status.netIO.up) ]]/s
@@ -225,7 +227,7 @@
-
+
Down: [[ sizeFormat(status.netIO.down) ]]/s
@@ -242,7 +244,7 @@
-
+
@@ -252,7 +254,7 @@
-
+
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 62c53379..adc199a9 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -95,15 +95,15 @@
-
-
-
+
+
+
{{ i18n "pages.settings.save" }}
{{ i18n "pages.settings.restartPanel" }}
-
+