From 21e7d45b5481bb882db008b5d95bd899510005fb Mon Sep 17 00:00:00 2001 From: Tara Rostami <132676256+TaraRostami@users.noreply.github.com> Date: Tue, 18 Mar 2025 03:51:05 -0500 Subject: Fixes and improvements (#2789) * Fixes and improvements * Update translate.en_US.toml --- web/html/xui/index.html | 257 ++++++++++++++++++++++++++---------------------- 1 file changed, 140 insertions(+), 117 deletions(-) (limited to 'web/html/xui/index.html') diff --git a/web/html/xui/index.html b/web/html/xui/index.html index 0e1c21e2..dc9b4750 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -21,17 +21,23 @@ } .ant-backup-list-item { gap: 10px; - user-select: none; - cursor: pointer; } .dark .ant-backup-list-item svg, - .dark .ant-card-actions>li>*, .dark .ant-badge-status-text, + .dark .ant-statistic-content, .dark .ant-card-extra { - color: var(--dark-color-text-primary) !important; + color: var(--dark-color-text-primary); + } + .dark .ant-statistic-title, + .dark .ant-card-actions>li { + color: rgba(255, 255, 255, 0.55); + } + .dark .ant-radio-inner { + background-color: var(--dark-color-surface-100); + border-color: var(--dark-color-surface-600); } - .dark .ant-card-actions>li>*:hover { - color: var(--color-primary-100) !important; + .dark .ant-radio-checked .ant-radio-inner { + border-color: var(--color-primary-100); } .dark .ant-backup-list, .dark .ant-xray-version-list, @@ -40,11 +46,35 @@ border-color: var(--dark-color-stroke); } .ant-card-actions { - background: transparent !important; + background: transparent; + } + .ant-statistic-content { + font-size: 16px; } .ip-hidden { + -webkit-user-select: none; + -moz-user-select: none; + user-select: none; filter: blur(10px); } + .running-animation .ant-badge-status-dot { + animation: runningAnimation 1.2s linear infinite; + } + .running-animation .ant-badge-status-processing:after { + border-color: var(--color-primary-100); + } + @keyframes runningAnimation { + 0%, + 50%, + 100% { + transform: scale(1); + opacity: 1; + } + 10% { + transform: scale(1.5); + opacity: .2; + } + } @@ -61,66 +91,64 @@ show-icon closable> - - - + +