Files
Heimdall/src/Heimdall.Web/wwwroot/app.css
T

117 lines
3.1 KiB
CSS
Raw Normal View History

/* ─── Heimdall — Global Styles ────────────────────────────────── */
html, body {
font-family: 'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif;
height: 100%;
margin: 0;
background-color: #f5f5f5;
color-scheme: light dark;
}
/* ─── Scrollbar ───────────────────────────────────────────────── */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: #c4c4c4;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a6a6a6;
}
* {
scrollbar-color: #c4c4c4 transparent;
scrollbar-width: thin;
}
/* ─── MudBlazor overrides ─────────────────────────────────────── */
.mud-dialog {
border-radius: 12px !important;
}
.mud-table {
border-radius: 12px !important;
}
/* Code blocks in tokens */
code {
font-family: 'Fira Code', 'Cascadia Code', monospace;
font-size: 0.9em;
}
/* ─── Validation ───────────────────────────────────────────────── */
.valid.modified:not([type=checkbox]) {
outline: 1px solid #26b050;
}
.invalid {
outline: 1px solid #e50000;
}
.validation-message {
color: #e50000;
}
/* ─── Blazor error UI ─────────────────────────────────────────── */
#blazor-error-ui {
color-scheme: light only;
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
box-sizing: border-box;
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}
/* ─── User management ──────────────────────────────────────────── */
.user-section-card {
background: var(--mud-palette-surface);
border: 1px solid var(--mud-palette-lines-inputs);
border-radius: 8px;
}
/* ─── Settings page ────────────────────────────────────────────── */
.settings-type-chip {
padding: 2px 8px !important;
border-radius: 12px !important;
display: inline-block !important;
color: #fff !important;
}
/* ─── Dark mode ────────────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
html, body {
background-color: #1e1e2e;
}
#blazor-error-ui {
background: #3a2a00;
color: #ffd966;
}
}