/* Shared web UI chrome -- the dark-theme base layout, navbar, sidebar, and footer used by every ops-tool dashboard built on this module (yasta, yasl, yaiam, yakwui, yamase-web). Loaded after bootstrap.min.css. Page-content styling (cards, tables, badges, forms, ...) is each project's own concern and lives in that project's own stylesheet, loaded alongside this one -- see PageHeader.ExtraHeadHTML. Fixed dark theme only -- no prefers-color-scheme, no light mode. */ :root { --bs-body-bg: #1a1d23; --bs-body-color: #d4d8e0; --bs-border-color: #333; } html { height: 100%; } /* Flex column so the footer sits right after the content when the page is short, and grows naturally when content is long. */ body { background: #1a1d23; color: #d4d8e0; font-size: 0.875rem; min-height: 100%; display: flex; flex-direction: column; } /* bootstrap.min.css's own ".container-fluid" rule sets "display: flex; align-items: center; justify-content: space-between" (meant for a navbar's inner container-fluid, but the selector isn't scoped to .navbar, so it also matches the page's own top-level .container-fluid below). Scoped to "body > .container-fluid" -- NOT a bare ".container-fluid" -- so this doesn't also hijack the navbar's own inner .container-fluid. */ body > .container-fluid { flex: 1 0 auto; display: flex; flex-direction: column; align-items: stretch; } /* .row's own height must come from flex-grow, not a percentage min-height: without this the sidebar's dark background only extends as far as its own nav links on short pages instead of the full available height. */ body > .container-fluid > .row { flex: 1 0 auto; } /* --- Navbar ------------------------------------------------ */ .navbar { background: #14171e !important; border-bottom: 1px solid #272d3a; padding: .6rem 1.2rem; } .navbar-brand { color: #4fc3f7 !important; letter-spacing: 2.5px; font-size: 1rem; } .navbar-subtitle { color: #5a7a9a; font-size: .82rem; text-decoration: none; } a.navbar-subtitle:hover { color: #4fc3f7; } .navbar-subtitle-sep { color: #333c4a; margin: 0 .5rem; } /* --- Sidebar ------------------------------------------------ */ .sidebar { background: #14171e; border-right: 1px solid #272d3a; padding-top: .5rem; } .sidebar .nav-link { color: #0b82b8; font-size: .85rem; padding: .5rem 1rem; border-radius: 0; } .sidebar .nav-link:hover { background: rgba(79, 195, 247, .08); color: #c8d4e4; } .sidebar .nav-link.active { background: rgba(79, 195, 247, .1); color: #4fc3f7; font-weight: 600; border-left: 2px solid #4fc3f7; } /* --- Alerts (flash banners) ---------------------------------------- */ .alert-success { background: #192e22; border-color: #2a5c3a; color: #7ecf98; } .alert-danger { background: #2e1820; border-color: #5c2a32; color: #e08090; } /* --- Footer ------------------------------------------------- */ .footer { color: #4a5a72; font-size: 0.8rem; text-align: center; padding: 0.8rem 1rem; border-top: 1px solid #272d3a; } @media (max-width: 767.98px) { .sidebar { border-right: none; border-bottom: 1px solid #272d3a; } }