diff --git a/web/html/xui/index.html b/web/html/xui/index.html index bd7d3878..ab7ebb8d 100644 --- a/web/html/xui/index.html +++ b/web/html/xui/index.html @@ -21,19 +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-title, .dark .ant-statistic-content, .dark .ant-card-extra { - color: var(--dark-color-text-primary) !important; + color: var(--dark-color-text-primary); } - .dark .ant-card-actions>li>*:hover { - color: var(--color-primary-100) !important; + .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-radio-checked .ant-radio-inner { + border-color: var(--color-primary-100); } .dark .ant-backup-list, .dark .ant-xray-version-list, @@ -42,17 +46,35 @@ border-color: var(--dark-color-stroke); } .ant-card-actions { - background: transparent !important; + background: transparent; } - .ant-statistic-content-prefix { - font-size: 20px; - } - .ant-statistic-content-value { - font-size: 18px; + .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; + } + } @@ -69,71 +91,69 @@ show-icon closable> - - - - - - - - -
CPU: [[ CPUFormatter.cpuCoreFormat(status.cpuCores) ]] - - -
-
- - -
- {{ i18n "pages.index.memory"}}: [[ SizeFormatter.sizeFormat(status.mem.current) ]] / [[ SizeFormatter.sizeFormat(status.mem.total) ]] -
-
-
-
- - - - -
- Swap: [[ SizeFormatter.sizeFormat(status.swap.current) ]] / [[ SizeFormatter.sizeFormat(status.swap.total) ]] -
-
- - -
- {{ i18n "pages.index.hard"}}: [[ SizeFormatter.sizeFormat(status.disk.current) ]] / [[ SizeFormatter.sizeFormat(status.disk.total) ]] -
-
-
-
-
-
-
-
- -