Files
RolemasterDB/src/RolemasterDb.App/Components/Layout/MainLayout.razor.css
2026-03-14 00:32:26 +01:00

98 lines
1.8 KiB
CSS

.page {
min-height: 100vh;
display: flex;
flex-direction: column;
}
main {
flex: 1;
min-width: 0;
}
.sidebar {
background:
radial-gradient(circle at top, rgba(196, 167, 107, 0.28), transparent 35%),
linear-gradient(180deg, #24130d 0%, #3c2415 46%, #130d0b 100%);
border-right: 1px solid rgba(196, 167, 107, 0.2);
}
.top-row {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: center;
padding: 1.15rem 1.5rem;
border-bottom: 1px solid rgba(111, 87, 59, 0.28);
background: rgba(250, 245, 234, 0.84);
backdrop-filter: blur(18px);
}
.eyebrow {
display: block;
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: #7c5b33;
}
.status-pill {
padding: 0.45rem 0.8rem;
border-radius: 999px;
border: 1px solid rgba(111, 87, 59, 0.2);
background: rgba(255, 252, 246, 0.8);
color: #5b4427;
font-size: 0.82rem;
}
.content-shell {
padding: 1.5rem;
}
@media (max-width: 640.98px) {
.top-row {
flex-direction: column;
align-items: flex-start;
}
}
@media (min-width: 641px) {
.page {
flex-direction: row;
}
.sidebar {
width: 290px;
height: 100vh;
position: sticky;
top: 0;
}
.top-row {
position: sticky;
top: 0;
z-index: 1;
}
}
#blazor-error-ui {
color-scheme: light only;
background: #682e24;
color: #fffaf2;
bottom: 0;
box-shadow: 0 -1px 12px rgba(0, 0, 0, 0.22);
box-sizing: border-box;
display: none;
left: 0;
padding: 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;
}