Fix vhost config Save button visibility on child domain page

Add fallback gradient and !important color for btn-primary when
--bg-gradient is undefined (e.g. dark mode/base theme), so the Save
button is always visible instead of appearing white/invisible.
This commit is contained in:
master3395
2026-02-22 01:33:27 +01:00
parent f801edf86f
commit 0e8d077961

View File

@@ -206,15 +206,15 @@
}
.btn-primary {
background: var(--bg-gradient);
color: white;
background: var(--bg-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
color: #fff !important;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
color: white;
color: #fff !important;
}
.btn-preview {