diff --git a/public/css/style.css b/public/css/style.css index a192697..dd22ca9 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -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; diff --git a/public/index.html b/public/index.html index c512117..71a3834 100644 --- a/public/index.html +++ b/public/index.html @@ -23,19 +23,21 @@