From 427d008bd116c7a124fb3ebf844190d27cbda2b6 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Sat, 29 Apr 2023 20:52:57 +0200 Subject: [PATCH] [darkmode] better colors + add sec to calendar --- web/assets/css/custom.css | 16 ++++++++++++---- web/html/xui/client_bulk_modal.html | 2 +- web/html/xui/form/client.html | 2 +- web/html/xui/form/inbound.html | 2 +- web/html/xui/form/protocol/trojan.html | 2 +- web/html/xui/form/protocol/vless.html | 2 +- web/html/xui/form/protocol/vmess.html | 2 +- 7 files changed, 18 insertions(+), 10 deletions(-) diff --git a/web/assets/css/custom.css b/web/assets/css/custom.css index 9b81f2e5..1eaf6ed2 100644 --- a/web/assets/css/custom.css +++ b/web/assets/css/custom.css @@ -212,6 +212,7 @@ .ant-card-dark .ant-modal-close, .ant-card-dark i, .ant-card-dark .ant-select-dropdown-menu-item, +.ant-card-dark .ant-calendar-day-select, .ant-card-dark .ant-calendar-month-select, .ant-card-dark .ant-calendar-year-select, .ant-card-dark .ant-calendar-date, @@ -226,7 +227,7 @@ .ant-card-dark .ant-calendar-date:hover, .ant-card-dark .ant-select-dropdown-menu-item-active, .ant-card-dark li.ant-calendar-time-picker-select-option-selected { - background-color: #004488; + background-color: #11314d; } .ant-card-dark tbody .ant-table-expanded-row, @@ -243,7 +244,7 @@ .ant-card-dark .ant-select-selection, .ant-card-dark .ant-calendar-picker-clear { color: hsla(0,0%,100%,.65); - background-color: #2e3b52; + background-color: #193752; } .ant-card-dark .ant-select-disabled .ant-select-selection { @@ -264,12 +265,19 @@ .ant-card-dark .ant-modal-content, .ant-card-dark .ant-modal-body, -.ant-card-dark .ant-modal-header, -.ant-card-dark .ant-calendar-selected-day .ant-calendar-date { +.ant-card-dark .ant-modal-header { color: hsla(0,0%,100%,.65); background-color: #222a37; } +.ant-card-dark .ant-calendar-selected-day .ant-calendar-date { + background-color: #1668dc; +} + +.ant-card-dark .ant-calendar-time-picker-select li:hover { + background: #1668dc; +} + .client-table-header { background-color: #f0f2f5; } diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html index 5361dd62..16259ce4 100644 --- a/web/html/xui/client_bulk_modal.html +++ b/web/html/xui/client_bulk_modal.html @@ -131,7 +131,7 @@ - diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html index dd0c9cd0..74119763 100644 --- a/web/html/xui/form/client.html +++ b/web/html/xui/form/client.html @@ -137,7 +137,7 @@ - Expired diff --git a/web/html/xui/form/inbound.html b/web/html/xui/form/inbound.html index 499395c6..d19bb6a9 100644 --- a/web/html/xui/form/inbound.html +++ b/web/html/xui/form/inbound.html @@ -79,7 +79,7 @@ - diff --git a/web/html/xui/form/protocol/trojan.html b/web/html/xui/form/protocol/trojan.html index 8a61229d..e912afd3 100644 --- a/web/html/xui/form/protocol/trojan.html +++ b/web/html/xui/form/protocol/trojan.html @@ -87,7 +87,7 @@ - diff --git a/web/html/xui/form/protocol/vless.html b/web/html/xui/form/protocol/vless.html index bc400962..6dfd1cf5 100644 --- a/web/html/xui/form/protocol/vless.html +++ b/web/html/xui/form/protocol/vless.html @@ -98,7 +98,7 @@ - diff --git a/web/html/xui/form/protocol/vmess.html b/web/html/xui/form/protocol/vmess.html index 62d55a9e..c8a90e93 100644 --- a/web/html/xui/form/protocol/vmess.html +++ b/web/html/xui/form/protocol/vmess.html @@ -95,7 +95,7 @@ -