Add easy & DBA mode

This commit is contained in:
2026-02-12 11:37:25 +01:00
parent d1af2bf4c6
commit 64b4c3dfa4
4 changed files with 238 additions and 4 deletions

View File

@@ -140,6 +140,52 @@ a {
color: #d7e4fa;
}
.mode-switch-block {
margin-bottom: 12px;
padding: 10px;
border: 1px solid #2a588d;
border-radius: 10px;
background: #0d2244;
}
.mode-switch-label {
font-size: 12px;
color: #9eb8d6;
margin-bottom: 6px;
}
.mode-toggle {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
padding: 4px;
border-radius: 10px;
border: 1px solid #3170ae;
background: #0b1a36;
}
.mode-pill {
padding: 7px 6px;
border-radius: 8px;
text-align: center;
font-size: 12px;
color: #9db4d1;
}
.mode-toggle.easy .mode-pill:first-child,
.mode-toggle.dba .mode-pill:last-child {
background: linear-gradient(180deg, #165a96, #124978);
color: #eff8ff;
font-weight: 700;
}
.mode-switch-block small {
display: block;
margin-top: 6px;
color: #9bb5d4;
font-size: 11px;
}
.role {
color: var(--muted);
margin-bottom: 10px;
@@ -495,6 +541,57 @@ select:-webkit-autofill {
margin: 8px 0 0 18px;
}
.easy-status {
border-width: 1px;
}
.easy-status.ok {
border-color: #1d8d5c;
background: linear-gradient(180deg, #123b39, #112a31);
}
.easy-status.warning {
border-color: #ad7f25;
background: linear-gradient(180deg, #3a3214, #2d2610);
}
.easy-status.problem {
border-color: #b54242;
background: linear-gradient(180deg, #3f1d22, #2f1519);
}
.easy-badge-row {
margin-top: 8px;
}
.easy-badge {
display: inline-block;
padding: 5px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 700;
border: 1px solid transparent;
}
.easy-badge.ok {
color: #86efac;
border-color: #2f8d5d;
}
.easy-badge.warning {
color: #fde68a;
border-color: #9a7a2e;
}
.easy-badge.problem {
color: #fecaca;
border-color: #b64a4a;
}
.easy-list {
margin: 8px 0 10px 16px;
}
.chart-tooltip {
background: #0f1934ee;
border: 1px solid #2f4a8b;