From 495bfb9683c7d78113f44cb106a245f9371df9d6 Mon Sep 17 00:00:00 2001
From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com>
Date: Sun, 17 Dec 2023 18:46:50 +0330
Subject: [PATCH] Minor improvements in UI (#1399)
---
web/assets/css/custom.css | 15 ++++++++++++++-
web/html/common/qrcode_modal.html | 6 +++---
web/html/login.html | 5 +++--
web/html/xui/form/stream/stream_grpc.html | 4 ++--
web/html/xui/form/tls_settings.html | 22 +++++++++++-----------
web/html/xui/inbounds.html | 2 +-
6 files changed, 34 insertions(+), 20 deletions(-)
diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css
index 308d24a6..65a5181d 100644
--- a/web/assets/css/custom.css
+++ b/web/assets/css/custom.css
@@ -680,7 +680,7 @@ style attribute {
.dark .ant-table-row-expand-icon {
color: #fff;
background-color: #fff0;
- border-color: #9ea2a8;
+ border-color: rgb(255 255 255 / 20%);
}
.dark .ant-table-row-expand-icon:hover {
@@ -1099,3 +1099,16 @@ li.ant-select-dropdown-menu-item:empty:after {
max-height: 400px;
overflow-y: auto;
}
+
+.ant-table-row-expand-icon {
+ border-radius: 6px;
+}
+
+.qr-bg {
+ background-color: #fff;
+ display: flex;
+ justify-content: center;
+ align-content: center;
+ padding: 0.5rem;
+ border-radius: 1rem;
+}
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index 668f426c..3c4fd929 100644
--- a/web/html/common/qrcode_modal.html
+++ b/web/html/common/qrcode_modal.html
@@ -9,12 +9,12 @@
Subscription
-
+
{{ i18n "pages.inbounds.client" }}
[[ row.remark ]]
-
+
@@ -87,4 +87,4 @@
});
-{{end}}
\ No newline at end of file
+{{end}}
diff --git a/web/html/login.html b/web/html/login.html
index 8d377381..3ec9da2e 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -123,8 +123,9 @@
background-origin: border-box;
background-clip: padding-box, border-box;
background-size: 300%;
- transition: all 0.5s ease;
+ transition: all 0.3s cubic-bezier(.645,.045,.355,1);
width: 100%;
+ z-index: 1;
}
.dark .wave-btn-bg:hover {animation: wave-btn-tara 4s ease infinite;}
.dark .wave-btn-bg-cl {
@@ -289,7 +290,7 @@
-
+
[[ loading ? '' : '{{ i18n "login" }}' ]]
diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html
index e8c14e7c..27effccc 100644
--- a/web/html/xui/form/stream/stream_grpc.html
+++ b/web/html/xui/form/stream/stream_grpc.html
@@ -1,10 +1,10 @@
{{define "form/streamGRPC"}}
-
+
-{{end}}
\ No newline at end of file
+{{end}}
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index a0c9292a..07527e7f 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -74,10 +74,10 @@
-
+
-
+
{{ i18n
@@ -86,10 +86,10 @@
-
+
-
+
@@ -125,10 +125,10 @@
-
+
-
+
{{ i18n
@@ -137,10 +137,10 @@
-
+
-
+
@@ -175,10 +175,10 @@
-
+
-
+
@@ -191,4 +191,4 @@
-{{end}}
\ No newline at end of file
+{{end}}
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 3d1bc625..8203a577 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -427,7 +427,7 @@
:columns="isMobile ? innerMobileColumns : innerColumns"
:data-source="getInboundClients(record)"
:pagination=pagination(getInboundClients(record))
- style="margin: -12px 2px -13px;">
+ :style="isMobile ? 'margin: -12px 2px -13px;' : 'margin: -12px 22px -13px;'">
{{template "client_table"}}