添加数据库修复脚本

This commit is contained in:
CN-JS-HuiBai
2026-04-04 19:11:40 +08:00
parent a686977da6
commit 3823eeede2
6 changed files with 549 additions and 70 deletions

View File

@@ -71,6 +71,41 @@
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}
:root.light-theme .bg-grid {
background-image:
linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px);
}
:root.light-theme .header {
background: rgba(255, 255, 255, 0.8);
}
:root.light-theme .stat-card {
background: #ffffff;
}
:root.light-theme .chart-card {
background: #ffffff;
}
:root.light-theme .chart-footer {
background: rgba(0, 0, 0, 0.02);
}
:root.light-theme .server-table th {
background: rgba(0, 0, 0, 0.03);
}
:root.light-theme .modal {
background: #ffffff;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
:root.light-theme .modal-overlay {
background: rgba(255, 255, 255, 0.4);
}
/* ---- Reset & Base ---- */
*, *::before, *::after {
margin: 0;
@@ -721,6 +756,68 @@ body {
-webkit-text-fill-color: transparent;
}
/* ---- Modal Tabs ---- */
.modal-tabs {
display: flex;
gap: 16px;
}
.modal-tab {
background: none;
border: none;
color: var(--text-muted);
font-family: var(--font-sans);
font-size: 0.95rem;
font-weight: 600;
padding: 8px 4px;
cursor: pointer;
position: relative;
transition: all 0.2s ease;
}
.modal-tab:hover {
color: var(--text-primary);
}
.modal-tab.active {
color: var(--text-primary);
}
.modal-tab.active::after {
content: '';
position: absolute;
bottom: -21px; /* Align with header border */
left: 0;
right: 0;
height: 2px;
background: var(--gradient-primary);
z-index: 1;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* ---- Logo Styling ---- */
#logoIconContainer {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
}
.logo-icon-img {
width: 100%;
height: 100%;
object-fit: contain;
border-radius: var(--radius-sm);
}
.modal-close {
width: 32px;
height: 32px;