SPB Git

Repository Public

app.css 9.2 KB 133 lines css

1/**2 * =============================================================================3 * SP BOUCHER | SOURCE FILE4 * =============================================================================5 * Project      : SPSearch6 * File         : web/bot/src/app.css7 * Author       : Simon-Pierre Boucher | https://spboucher.ai8 * Contact      : contact@spboucher.ai9 * Copyright    : (c) 2026 Simon-Pierre Boucher10 * License      : None specified (no license file in this repository)11 * =============================================================================12 * END OF SP BOUCHER SOURCE HEADER13 * =============================================================================14 */1516/* SPBoucherBot — accent: forest green. */17:root { --accent-light: #1c6b45; --accent-dark: #6fc49b; --accent-soft-light: #d9eadf; --accent-soft-dark: #18301f; }1819.mark-route { fill: none; stroke: var(--accent); stroke-width: 3; }2021/* Hero */22.hero-grid { align-items: stretch; }23.hero-copy { display: flex; flex-direction: column; justify-content: center; }24.live { display: flex; flex-direction: column; height: 100%; border-top: 4px solid var(--accent); }25.live-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5) var(--s3); }26.live-head p { margin: 0; }27/* Live grid: one cell per anonymous bucket of sites, one flash per page just fetched. */28.lg { border-block: 1px solid var(--rule); padding: var(--s4) var(--s5); --lg: var(--rule); }29.lg-grid { display: block; width: 100%; height: auto; }30.lg-cell { fill: var(--rule); }31.lg-ok { --lg: var(--accent); }32.lg-same { --lg: var(--ink); }33.lg-dim { --lg: var(--rule-strong); }34.lg-warn { --lg: var(--warn); }35.lg-a { animation: lg-flash-a 2600ms ease-out; }36.lg-b { animation: lg-flash-b 2600ms ease-out; }37@keyframes lg-flash-a { 0%, 10% { fill: var(--lg); } 100% { fill: var(--rule); } }38@keyframes lg-flash-b { 0%, 10% { fill: var(--lg); } 100% { fill: var(--rule); } }39.lg-cursor { fill: none; stroke: none; }40.lg-cursor-on { stroke: var(--ink); stroke-width: 1.5; }41.lg-stopped .lg-cell { animation: none; fill: var(--rule); opacity: 0.55; }42.lg-status { margin: var(--s3) 0 var(--s2); max-width: none; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); min-height: 2.8em; }43.lg-status-stop { color: var(--warn); font-weight: 600; }44.lg-legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); margin: 0 0 var(--s3); padding: 0; font-family: var(--data); font-size: 0.6875rem; color: var(--muted); }45.lg-legend li { margin: 0; display: inline-flex; align-items: center; white-space: nowrap; }46.lg-key { flex: none; display: inline-block; width: 0.5rem; height: 0.5rem; margin-right: var(--s2); background: var(--lg); }47.lg-ticker { list-style: none; margin: 0; padding: var(--s2) 0 0; border-top: 1px solid var(--rule); font-family: var(--data); font-size: 0.75rem; line-height: 1.5rem; height: calc(8 * 1.5rem + var(--s2)); overflow: hidden; font-variant-numeric: tabular-nums; }48.lg-ticker li { margin: 0; max-width: none; display: flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }49.lg-ticker li:first-child { color: var(--ink); }50.lg-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; }51.live-tiles { margin: 0; padding: 0; flex: 1; grid-auto-rows: 1fr; }52.live-tiles .tile { background: transparent; padding: var(--s4) var(--s5); justify-content: center; }53/* Sized so that a seven-digit figure with its group separators stays on one line. */54.live-tiles .tile-value { font-size: clamp(1.375rem, 0.9rem + 1.7vw, 2.375rem); white-space: nowrap; }55.live-wait { padding: var(--s5); flex: 1; }56.live-ua { padding: var(--s4) var(--s5); border-top: 1px solid var(--rule); }57.live-ua .label { margin: 0; }58.ua { margin: var(--s2) 0 0; font-size: clamp(0.8125rem, 0.7rem + 0.5vw, 1rem); max-width: none; }59.live-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s4); padding: var(--s3) var(--s5); border-top: 1px solid var(--rule); font-family: var(--data); font-size: 0.75rem; color: var(--muted); margin: 0; max-width: none; }6061.toc { border-top: 1px solid var(--rule-strong); margin-top: clamp(var(--s6), 5vw, var(--s8)); padding-top: var(--s3); }62.toc ol { list-style: none; counter-reset: toc; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s5); margin: 0; padding: 0; font-size: 0.9375rem; }63.toc li { counter-increment: toc; margin: 0; max-width: none; }64.toc li::before { content: counter(toc, decimal-leading-zero) " "; font-family: var(--data); font-size: 0.75rem; color: var(--accent); }65.toc a { text-decoration: none; font-weight: 550; }66.toc a:hover { text-decoration: underline; }6768.id-tiles { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: 0; }69.id-tiles code { font-size: 0.9375rem; font-weight: 600; }70.side-tiles { margin: 0; height: 100%; grid-auto-rows: 1fr; }71.side-tiles .tile-value { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }72.method { margin-top: var(--s4); border-top: 1px solid var(--rule); padding-top: var(--s3); }7374/* Policy rule cards */75.rules { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); padding: 1px; }76.rule { margin: 0; max-width: none; background: var(--raised); outline: 1px solid var(--rule); padding: var(--s5); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s2) var(--s4); align-content: start; }77.rule-picto { grid-row: span 2; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }78.rule h3 { margin: 0; align-self: end; }79.rule p { margin: 0; font-size: 0.9375rem; color: var(--muted); }8081/* Egress addresses */82.ips-panel { padding: var(--s5); border-top: 4px solid var(--accent); }83.ips { list-style: none; padding: 0; margin: 0 0 var(--s4); }84.ips li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin: 0; padding: var(--s3) 0; border-top: 1px solid var(--rule); max-width: none; }85.ips code { font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); font-weight: 500; letter-spacing: -0.03em; }86.ips-panel .live-foot { padding-inline: 0; }8788/* Removal call to action: a flat field of the accent */89.cta { padding: clamp(var(--s7), 6vw, var(--s9)) 0; margin-bottom: calc(var(--s9) * -1); }90.cta-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5) var(--s7); }91.cta h2 { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 3.25rem); max-width: 18ch; margin-bottom: var(--s3); }92.cta .eyebrow { color: var(--on-accent); }93.cta p { margin-bottom: 0; }9495/* Status */96.status-banner { background: var(--sunk); color: var(--ink); padding: clamp(var(--s6), 5vw, var(--s8)) 0; border-bottom: 1px solid var(--ink); }97.status-ok { background: var(--ok); color: var(--on-status); }98.status-warn { background: var(--warn); color: var(--on-status); }99.status-danger { background: var(--danger); color: var(--on-status); }100.status-ok .eyebrow, .status-warn .eyebrow, .status-danger .eyebrow { color: var(--on-status); }101.status-banner-in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s5) var(--s7); }102.status-banner h1 { margin: 0; max-width: 16ch; }103.status-facts { margin: 0; display: grid; gap: var(--s3); min-width: min(100%, 18rem); }104.status-facts > div { border-top: 1px solid currentColor; padding-top: var(--s2); }105.status-facts dt { font-family: var(--data); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; }106.status-facts dd { margin: 0; font-size: 1.125rem; font-weight: 600; }107.status-table th, .status-table td { padding: var(--s4); vertical-align: middle; }108.status-table code { font-size: 1rem; font-weight: 600; }109.status-auto { display: flex; align-items: center; gap: var(--s2); }110111/* Removal */112.removal-head { margin-bottom: var(--s6); }113.removal-form { display: grid; gap: var(--s5); padding: clamp(var(--s4), 3vw, var(--s6)); }114.removal-two { gap: var(--s5); }115.removal-side { display: grid; gap: var(--s5); align-content: start; }116.next-steps { list-style: none; counter-reset: st; padding: 0; margin: 0; }117.next-steps li { counter-increment: st; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--rule); margin: 0; }118.next-steps li::before { content: counter(st); width: 2rem; height: 2rem; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-family: var(--data); font-weight: 600; }119.ref { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }120.ref code { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; }121122/* Queue and throughput */123#queue .panel h3 + .gauge, #queue .panel h3 + .kv { margin-top: var(--s4); }124#queue .panel .kv + h3 { margin-top: var(--s5); }125#queue .barlist th[scope="row"] { white-space: normal; width: auto; min-width: 9rem; }126#queue .barlist-bar { width: 45%; }127.srv-gov { margin: 0; max-width: none; }128.srv-gov .label { margin: 0; }129.dir-levels { padding-left: 1.1rem; }130.dir-levels li { margin-bottom: var(--s2); font-size: 0.9375rem; }131.dir-header { margin: var(--s4) 0 var(--s2); }132#directives .tabs + p { margin-top: var(--s5); }133
Files main
Menu

Theme