| /* llmao app chrome — keep light; Bootstrap does the rest. */ | |
| body { | |
| min-height: 100vh; | |
| } | |
| .llmao-lede { | |
| max-width: 40rem; | |
| } | |
| /* A short form ("5m ago") whose exact value is in the title: say that a hover has more. */ | |
| .llmao-hover { | |
| text-decoration: underline dotted; | |
| text-underline-offset: 0.2em; | |
| cursor: help; | |
| } | |
| /* Home: the steps, numbered down a rail. */ | |
| .home-page .home-steps { | |
| counter-reset: step; | |
| max-width: 40rem; | |
| } | |
| .home-page .home-step { | |
| counter-increment: step; | |
| position: relative; | |
| padding: 0 0 1.75rem 3rem; | |
| } | |
| .home-page .home-step::before { | |
| content: counter(step); | |
| position: absolute; | |
| left: 0; | |
| top: -0.2rem; | |
| width: 2rem; | |
| height: 2rem; | |
| line-height: 2rem; | |
| border-radius: 50%; | |
| text-align: center; | |
| font-weight: 600; | |
| background: var(--bs-secondary-bg); | |
| color: var(--bs-body-color); | |
| } | |
| /* The rail joining one number to the next. */ | |
| .home-page .home-step:not(:last-child)::after { | |
| content: ""; | |
| position: absolute; | |
| left: 1rem; | |
| top: 2rem; | |
| bottom: 0.2rem; | |
| border-left: 2px solid var(--bs-border-color); | |
| } | |
| .home-page .home-step-done::before { | |
| content: "\2713"; | |
| background: var(--bs-success); | |
| color: #fff; | |
| } | |
| /* Dark grey bar (not pure black) so the logo disc edge stays visible. */ | |
| .navbar.llmao-navbar { | |
| background-color: #343a40; | |
| } | |
| .navbar.llmao-navbar .navbar-brand, | |
| .navbar.llmao-navbar .nav-link { | |
| color: rgba(255, 255, 255, 0.8); | |
| } | |
| .navbar.llmao-navbar .navbar-brand:hover, | |
| .navbar.llmao-navbar .navbar-brand:focus, | |
| .navbar.llmao-navbar .nav-link:hover, | |
| .navbar.llmao-navbar .nav-link:focus { | |
| color: #fff; | |
| } | |
| /* Foundation links that lead off-site: quieter than the app's own pages. */ | |
| .navbar.llmao-navbar .nav-link.llmao-nav-quiet { | |
| color: rgba(255, 255, 255, 0.55); | |
| } | |
| .navbar.llmao-navbar .nav-link.llmao-nav-quiet:hover, | |
| .navbar.llmao-navbar .nav-link.llmao-nav-quiet:focus, | |
| .navbar.llmao-navbar .nav-link.llmao-nav-quiet.show { | |
| color: #fff; | |
| } | |
| /* The page you are on. */ | |
| .navbar.llmao-navbar .nav-link.active { | |
| color: #fff; | |
| font-weight: 600; | |
| } | |
| /* Models page. */ | |
| .models-page .model-card-off { | |
| opacity: 0.72; | |
| } | |
| .models-page .model-id { | |
| font-size: 0.85rem; | |
| } | |
| /* An icon, not a link: muted until it is pointed at. */ | |
| .models-page .model-copy { | |
| color: var(--bs-secondary-color); | |
| line-height: 1; | |
| } | |
| .models-page .model-copy:hover, | |
| .models-page .model-copy:focus-visible { | |
| color: var(--bs-body-color); | |
| } | |
| .models-page .model-copy.model-copy-done { | |
| color: var(--bs-success); | |
| } | |
| /* Privacy is a full sentence in its own block. Color only reinforces it. */ | |
| .models-page .model-privacy { | |
| display: flex; | |
| gap: 0.6rem; | |
| align-items: flex-start; | |
| padding: 0.5rem 0.75rem; | |
| border-left: 0.25rem solid var(--bs-secondary); | |
| border-radius: var(--bs-border-radius-sm); | |
| background-color: var(--bs-tertiary-bg); | |
| } | |
| .models-page .model-privacy .bi { | |
| font-size: 1.1rem; | |
| line-height: 1.4; | |
| } | |
| .models-page .model-privacy-private { | |
| border-left-color: var(--bs-success); | |
| } | |
| .models-page .model-privacy-external, | |
| .models-page .model-privacy-mixed { | |
| border-left-color: var(--bs-warning); | |
| } | |
| /* Deployments: one list group, fixed columns so rows align across models. */ | |
| .models-page .dep-model { | |
| padding-top: 0.4rem; | |
| padding-bottom: 0.4rem; | |
| background-color: var(--bs-tertiary-bg); | |
| } | |
| .models-page .dep-grid { | |
| display: grid; | |
| grid-template-columns: 6.5rem 13rem minmax(0, 1fr) 11rem 7.5rem; | |
| grid-template-areas: "state ident reason flag actions"; | |
| gap: 0.25rem 0.75rem; | |
| align-items: center; | |
| } | |
| .models-page .dep-state { grid-area: state; } | |
| .models-page .dep-ident { grid-area: ident; overflow-wrap: anywhere; } | |
| .models-page .dep-reason { grid-area: reason; } | |
| .models-page .dep-flag { grid-area: flag; } | |
| .models-page .dep-actions { grid-area: actions; text-align: right; white-space: nowrap; } | |
| /* Separate facts with a dot between them: a quiet label, then its value. */ | |
| .models-page .dep-diag { | |
| display: flex; | |
| flex-wrap: wrap; | |
| font-variant-numeric: tabular-nums; | |
| /* Every fact leads with a dot; the one that starts a line is clipped. */ | |
| margin-left: -1.25rem; | |
| clip-path: inset(0 0 0 1.25rem); | |
| } | |
| .models-page .dep-fact::before { | |
| content: "\00b7"; | |
| display: inline-block; | |
| width: 1.25rem; | |
| text-align: center; | |
| color: var(--bs-secondary-color); | |
| } | |
| .models-page .dep-fact-k { | |
| color: var(--bs-secondary-color); | |
| } | |
| .models-page .dep-fact-bad { | |
| color: var(--bs-danger-text-emphasis); | |
| } | |
| /* The accent replaces the 1px border, so the columns still line up. */ | |
| .models-page .dep-attention { | |
| border-left: 0.25rem solid var(--bs-warning); | |
| padding-left: calc(var(--bs-list-group-item-padding-x) - 0.25rem + 1px); | |
| } | |
| .models-page .dep-row { | |
| scroll-margin-top: 4rem; | |
| } | |
| .models-page .dep-flash { | |
| animation: dep-flash 2s ease-out; | |
| } | |
| @keyframes dep-flash { | |
| from { background-color: var(--bs-warning-bg-subtle); } | |
| to { background-color: transparent; } | |
| } | |
| @media (max-width: 767.98px) { | |
| .models-page .dep-grid { | |
| grid-template-columns: auto minmax(0, 1fr) auto; | |
| grid-template-areas: | |
| "state ident actions" | |
| "reason reason reason" | |
| "flag flag flag"; | |
| } | |
| .models-page .dep-reason:empty, | |
| .models-page .dep-flag:empty { | |
| display: none; | |
| } | |
| } | |
| /* Admin: summary tiles that say how much is waiting, and a timeline of recent work. */ | |
| .admin-page .admin-tile, | |
| .admin-page .admin-link { | |
| color: inherit; | |
| text-decoration: none; | |
| border-top: 0.25rem solid var(--bs-border-color); | |
| transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out; | |
| } | |
| .admin-page .admin-tile:hover, | |
| .admin-page .admin-tile:focus-visible, | |
| .admin-page .admin-link:hover, | |
| .admin-page .admin-link:focus-visible { | |
| box-shadow: var(--bs-box-shadow-sm); | |
| transform: translateY(-1px); | |
| } | |
| .admin-page .admin-tile-hot { | |
| border-top-color: var(--bs-danger); | |
| } | |
| .admin-page .admin-tile-hot .admin-tile-figure { | |
| color: var(--bs-danger); | |
| } | |
| .admin-page .admin-tile-warm { | |
| border-top-color: var(--bs-warning); | |
| } | |
| .admin-page .admin-tile-figure { | |
| font-size: 2rem; | |
| font-weight: 600; | |
| line-height: 1.1; | |
| } | |
| .admin-page .admin-tile-figure-text { | |
| font-size: 1.25rem; | |
| font-family: var(--bs-font-monospace); | |
| padding: 0.35rem 0; | |
| } | |
| .admin-page .admin-tile-label { | |
| font-size: 0.875rem; | |
| color: var(--bs-secondary-color); | |
| } | |
| .admin-page .admin-request { | |
| border-left: 0.25rem solid var(--bs-danger); | |
| } | |
| .admin-page .admin-means { | |
| padding: 0.5rem 0.75rem; | |
| border-radius: var(--bs-border-radius-sm); | |
| background-color: var(--bs-info-bg-subtle); | |
| color: var(--bs-info-text-emphasis); | |
| } | |
| .admin-page .admin-timeline { | |
| border-left: 2px solid var(--bs-border-color); | |
| margin-left: 0.6rem; | |
| } | |
| .admin-page .admin-timeline-item { | |
| display: flex; | |
| gap: 0.75rem; | |
| align-items: flex-start; | |
| padding: 0.35rem 0 0.35rem 0; | |
| margin-left: -0.6rem; | |
| } | |
| .admin-page .admin-timeline-icon { | |
| flex: none; | |
| width: 1.2rem; | |
| text-align: center; | |
| background: var(--bs-body-bg); | |
| color: var(--bs-secondary-color); | |
| } | |
| /* Capacity: a meter's label above it, and a day-by-day chart. */ | |
| .capacity-page .cap-meter-label { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 0.875rem; | |
| margin-bottom: 0.25rem; | |
| } | |
| .capacity-page .model-id { | |
| font-size: 0.85rem; | |
| } | |
| /* The two halves of a model's card: what it served, what was asked of it. */ | |
| .capacity-page .cap-part { | |
| text-transform: uppercase; | |
| letter-spacing: 0.04em; | |
| font-size: 0.75rem; | |
| } | |
| /* Recommendations: one block each, a hairline between. */ | |
| .capacity-page .cap-rec + .cap-rec { | |
| border-top: 1px solid var(--bs-border-color); | |
| padding-top: 0.75rem; | |
| margin-top: 0.75rem; | |
| } | |
| /* Drawn by ECharts from the JSON on the element; the height is all the CSS decides. */ | |
| .capacity-page .cap-chart { | |
| height: 9rem; | |
| } |