fix(web): repair home page design — invalid CSS, dead code, missing form wrappers
This commit is contained in:
1 parent
7e66bb4fbb
commit
ca693a2ed0
5 files changed
+109
-134
No files matched your search
@@ -4,9 +4,37 @@ html, body {
|
||||
font-family: 'Inter', 'Roboto', 'Helvetica', 'Arial', sans-serif;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
background-color: #f5f5f5;
|
||||
color-scheme: light dark;
|
||||
}
|
||||
|
||||
/* MudBlazor overrides */
|
||||
/* ─── 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;
|
||||
}
|
||||
@@ -21,7 +49,8 @@ code {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Validation */
|
||||
/* ─── Validation ───────────────────────────────────────────────── */
|
||||
|
||||
.valid.modified:not([type=checkbox]) {
|
||||
outline: 1px solid #26b050;
|
||||
}
|
||||
@@ -33,3 +62,39 @@ code {
|
||||
.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;
|
||||
}
|
||||
|
||||
/* ─── Dark mode ────────────────────────────────────────────────── */
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html, body {
|
||||
background-color: #1e1e2e;
|
||||
}
|
||||
|
||||
#blazor-error-ui {
|
||||
background: #3a2a00;
|
||||
color: #ffd966;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user