Control UI: use a dedicated loading style for the Cron refresh button (#60394)

Merged via squash.

Prepared head SHA: f7757b9e34
Co-authored-by: coder-zhuzm <63866641+coder-zhuzm@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
This commit is contained in:
zhuzm
2026-04-05 05:59:07 +08:00
committed by GitHub
parent 96aea0a6d6
commit 9d7fe7cdd2
3 changed files with 10 additions and 3 deletions

View File

@@ -659,7 +659,8 @@
flex-shrink: 0;
}
.btn.primary {
.btn.primary,
.btn.cron-refresh-btn--loading {
border-color: var(--accent);
background: var(--accent);
color: var(--primary-foreground);
@@ -1306,7 +1307,8 @@
color: var(--accent);
}
:root[data-theme-mode="light"] .btn.primary {
:root[data-theme-mode="light"] .btn.primary,
:root[data-theme-mode="light"] .btn.cron-refresh-btn--loading {
background: var(--accent);
border-color: var(--accent);
}