mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-27 08:50:46 +01:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user