diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css
index 4ab6c5a8..506a0439 100644
--- a/web/assets/css/custom.css
+++ b/web/assets/css/custom.css
@@ -80,6 +80,11 @@ html[data-theme='ultra-dark'] {
.dark .waves-header {
background-color: #0a2227;
}
+ .dark .ant-calendar-year-panel-year:hover,
+ .dark .ant-calendar-month-panel-month:hover,
+ .dark .ant-calendar-decade-panel-decade:hover {
+ background-color: var(--dark-color-surface-600);
+ }
}
html,
@@ -175,7 +180,7 @@ style attribute {
position: relative;
clear: both;
}
-.ant-table-body {
+.ant-table-wrapper > div > div > div > div > div > div {
overflow-x: auto !important;
}
.ant-card-hoverable {
@@ -791,6 +796,15 @@ style attribute {
border-color: var(--dark-color-surface-500);
}
+@media (max-width: 768px) {
+ .dark .ant-popover-inner {
+ background-color: var(--dark-color-surface-200);
+ }
+ .dark > .ant-popover-content > .ant-popover-arrow {
+ border-color: var(--dark-color-surface-200);
+ }
+}
+
.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,
.dark .ant-select-dropdown-menu-item-selected,
.dark .ant-calendar-time-picker-select-option-selected {
@@ -1257,3 +1271,8 @@ b, strong {
.ant-empty-small .ant-empty-image {
height: 20px;
}
+
+.ant-menu-theme-switch:hover {
+ background-color: transparent !important;
+ cursor: default !important;
+}
diff --git a/web/html/login.html b/web/html/login.html
index 7655c66f..dfb01cea 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -374,6 +374,12 @@
transform: translateZ(-100px);
}
}
+ .ant-menu-item .anticon {
+ margin-right: 4px;
+ }
+ .ant-menu-inline .ant-menu-item {
+ padding: 0 16px !important;
+ }
@@ -410,19 +416,19 @@
-
-
-
@@ -455,17 +461,7 @@
-
-
-
-
-
-
- Ultra
-
-
+
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html
index 78b833b9..bc8f4608 100644
--- a/web/html/xui/common_sider.html
+++ b/web/html/xui/common_sider.html
@@ -24,18 +24,7 @@
{{define "commonSider"}}
-
-
-
-
-
-
- Ultra
-
-
-
+
key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
@@ -49,18 +38,7 @@
-
-
-
-
-
-
- Ultra
-
-
-
+
key.startsWith('http') ? window.open(key) : location.href = key">
{{template "menuItems" .}}
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/setting.html
index 82c0ae75..8adc000c 100644
--- a/web/html/xui/component/setting.html
+++ b/web/html/xui/component/setting.html
@@ -16,7 +16,7 @@
- $emit('input', value)" :min="min" style="width: 100%;">
+ $emit('input', value)" :min="min" :max="max" style="width: 100%;">
$emit('input', value)">
@@ -29,7 +29,7 @@
{{define "component/setting"}}
diff --git a/web/html/xui/component/themeSwitch.html b/web/html/xui/component/themeSwitch.html
index 2301da94..191632c1 100644
--- a/web/html/xui/component/themeSwitch.html
+++ b/web/html/xui/component/themeSwitch.html
@@ -1,8 +1,14 @@
{{define "component/themeSwitchTemplate"}}
-
-
+
+
+
{{end}}
diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html
index 03df4926..92edb394 100644
--- a/web/html/xui/form/inbound.html
+++ b/web/html/xui/form/inbound.html
@@ -28,7 +28,7 @@
-
+
diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html
index 5cdee701..97ca4071 100644
--- a/web/html/xui/form/stream/stream_kcp.html
+++ b/web/html/xui/form/stream/stream_kcp.html
@@ -23,25 +23,25 @@
-
+
-
+
-
+
-
+
-
+
-
+
{{end}}
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 28d6b6e8..1177118c 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -537,7 +537,7 @@
{ title: '{{ i18n "online" }}', width: 30, scopedSlots: { customRender: 'online' } },
{ title: '{{ i18n "pages.inbounds.client" }}', width: 80, scopedSlots: { customRender: 'client' } },
{ title: '{{ i18n "pages.inbounds.traffic" }}', width: 80, align: 'center', scopedSlots: { customRender: 'traffic' } },
- { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 80, align: 'center', scopedSlots: { customRender: 'expiryTime' } },
+ { title: '{{ i18n "pages.inbounds.expireDate" }}', width: 100, align: 'center', scopedSlots: { customRender: 'expiryTime' } },
];
const innerMobileColumns = [
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index d3e0ec48..507a93c7 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -138,7 +138,7 @@
-
+
@@ -197,16 +197,16 @@
{{ i18n "pages.settings.security.admin"}}
-
+
-
+
-
+
{{ i18n "confirm" }}
@@ -282,12 +282,12 @@
-
+
-
+
@@ -531,4 +531,4 @@
});
-