This commit is contained in:
delete 2026-06-10 20:51:17 +03:00
commit b15b95781c
108 changed files with 14802 additions and 0 deletions

584
web/static/app.css Normal file
View file

@ -0,0 +1,584 @@
:root {
color-scheme: light;
--bg: #f5f1e8;
--card: rgba(255, 255, 255, 0.88);
--card-border: rgba(55, 46, 36, 0.16);
--text: #2a241d;
--muted: #64584b;
--accent: #0f766e;
--accent-soft: #d8f3ef;
--danger: #9a3412;
--danger-soft: #ffefe6;
--success-soft: #edf7f2;
--shadow: 0 18px 45px rgba(49, 41, 31, 0.12);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
color: var(--text);
background:
radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 25rem),
linear-gradient(180deg, #efe7d5 0%, var(--bg) 100%);
}
a {
color: inherit;
}
.page-shell {
width: min(72rem, calc(100% - 2rem));
margin: 0 auto;
padding: 1.25rem 0 3rem;
}
.site-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 0 1.5rem;
}
.brand {
font-size: 1.15rem;
font-weight: 700;
letter-spacing: 0.08em;
text-decoration: none;
text-transform: uppercase;
}
.site-nav {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.9rem;
}
.site-nav a {
text-decoration: none;
color: var(--muted);
}
.nav-user {
color: var(--text);
font-size: 0.95rem;
}
.nav-form {
margin: 0;
}
.nav-button {
border: 0;
background: transparent;
color: var(--accent);
font: inherit;
font-weight: 700;
cursor: pointer;
padding: 0;
}
.content-card {
background: var(--card);
border: 1px solid var(--card-border);
border-radius: 1.5rem;
padding: 2rem;
box-shadow: var(--shadow);
backdrop-filter: blur(10px);
}
.hero {
max-width: 46rem;
}
.hero-split {
max-width: none;
display: flex;
justify-content: space-between;
gap: 1.25rem;
align-items: flex-start;
}
.hero-meta {
display: grid;
justify-items: end;
gap: 0.75rem;
}
.eyebrow {
margin: 0 0 0.75rem;
color: var(--accent);
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
}
h1 {
margin: 0;
font-size: clamp(2.2rem, 4vw, 4.2rem);
line-height: 0.96;
}
.lede {
margin: 1rem 0 0;
max-width: 44rem;
font-size: 1.1rem;
line-height: 1.7;
color: var(--muted);
}
.link-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.link-card,
.callout {
border-radius: 1rem;
border: 1px solid rgba(15, 118, 110, 0.16);
background: linear-gradient(180deg, rgba(216, 243, 239, 0.8), rgba(255, 255, 255, 0.92));
padding: 1rem 1.1rem;
}
.link-card h2 {
margin: 0 0 0.6rem;
font-size: 1.15rem;
}
.link-card p,
.callout p {
margin: 0;
color: var(--muted);
line-height: 1.6;
}
.callout h2 {
margin: 0 0 0.7rem;
font-size: 1.05rem;
}
.admin-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
gap: 1rem;
margin-top: 2rem;
}
.metric-grid,
.resource-grid,
.section-grid {
display: grid;
gap: 1rem;
margin-top: 2rem;
}
.metric-grid {
grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}
.resource-grid,
.section-grid {
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.compact-grid {
margin-top: 1rem;
}
.metric-card,
.resource-card,
.section-card {
border-radius: 1.1rem;
border: 1px solid rgba(55, 46, 36, 0.14);
background: rgba(255, 255, 255, 0.96);
padding: 1.15rem;
}
.section-card-wide {
margin-top: 2rem;
}
.metric-value {
margin: 0;
color: var(--accent);
font-size: clamp(2rem, 5vw, 3rem);
line-height: 1;
font-weight: 700;
}
.metric-card h2,
.resource-card h2,
.section-card h2,
.release-card h3 {
margin: 0.35rem 0 0.45rem;
}
.metric-card p:last-child,
.resource-card p:last-child,
.section-card p:last-child {
margin-bottom: 0;
}
.toolbar {
margin-top: 1.5rem;
}
.resource-header,
.release-head,
.section-heading {
display: flex;
justify-content: space-between;
gap: 1rem;
align-items: flex-start;
}
.section-heading {
margin-bottom: 1rem;
}
.section-heading h2,
.resource-header h2,
.release-head h3 {
margin-top: 0;
}
.resource-slug {
margin: 0;
color: var(--accent);
font-size: 0.92rem;
font-weight: 700;
}
.resource-description,
.empty-copy,
.helper-copy,
.release-notes {
color: var(--muted);
line-height: 1.6;
}
.stat-row,
.button-row,
.chip-list,
.release-list {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.stat-row {
margin: 1rem 0;
color: var(--muted);
font-size: 0.95rem;
}
.button-row {
margin-top: 0.35rem;
}
.endpoint-list {
display: grid;
gap: 0.75rem;
}
.pill {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 2rem;
padding: 0.2rem 0.75rem;
border-radius: 999px;
background: rgba(55, 46, 36, 0.08);
color: var(--text);
font-size: 0.85rem;
font-weight: 700;
}
.pill-success {
background: var(--success-soft);
color: #0b5a54;
}
.pill-soft {
background: var(--accent-soft);
color: #0b5a54;
}
.pill-muted {
background: rgba(55, 46, 36, 0.08);
color: var(--muted);
}
.meta-line + .meta-line {
margin-top: 0.45rem;
}
.action-row {
margin-top: 1.5rem;
}
.form-shell {
max-width: 28rem;
margin-top: 2rem;
}
.form-shell-wide {
max-width: 40rem;
}
.stack-form {
display: grid;
gap: 1rem;
}
.inline-form {
display: grid;
gap: 1rem;
margin-top: 1rem;
}
.field {
display: grid;
gap: 0.45rem;
color: var(--text);
font-weight: 700;
}
.field span {
font-size: 0.95rem;
}
.field input {
width: 100%;
border: 1px solid rgba(55, 46, 36, 0.18);
border-radius: 0.95rem;
padding: 0.9rem 1rem;
font: inherit;
color: var(--text);
background: rgba(255, 255, 255, 0.96);
}
.field select,
.field textarea {
width: 100%;
border: 1px solid rgba(55, 46, 36, 0.18);
border-radius: 0.95rem;
padding: 0.9rem 1rem;
font: inherit;
color: var(--text);
background: rgba(255, 255, 255, 0.96);
resize: vertical;
}
.field input:focus {
outline: 2px solid rgba(15, 118, 110, 0.22);
outline-offset: 2px;
border-color: rgba(15, 118, 110, 0.45);
}
.field textarea:focus,
.field select:focus {
outline: 2px solid rgba(15, 118, 110, 0.22);
outline-offset: 2px;
border-color: rgba(15, 118, 110, 0.45);
}
.choice-group {
margin: 0;
padding: 1rem;
border: 1px solid rgba(55, 46, 36, 0.12);
border-radius: 1rem;
background: rgba(255, 255, 255, 0.78);
}
.choice-group legend {
padding: 0 0.35rem;
font-weight: 700;
}
.choice-list {
display: grid;
gap: 0.75rem;
}
.choice-row {
display: flex;
gap: 0.75rem;
align-items: flex-start;
color: var(--muted);
line-height: 1.5;
}
.choice-row input {
margin-top: 0.2rem;
}
.secret-code {
display: inline-block;
margin: 0.35rem 0;
padding: 0.55rem 0.7rem;
border-radius: 0.85rem;
background: rgba(255, 255, 255, 0.96);
word-break: break-all;
}
.code-block {
margin: 1rem 0 0;
padding: 1rem 1.1rem;
border-radius: 1rem;
border: 1px solid rgba(55, 46, 36, 0.12);
background: rgba(42, 36, 29, 0.96);
color: #f7f2ea;
overflow-x: auto;
}
.code-block code {
color: inherit;
white-space: pre;
}
.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 3rem;
padding: 0.8rem 1.2rem;
border: 0;
border-radius: 999px;
font: inherit;
font-weight: 700;
color: white;
background: linear-gradient(135deg, #0f766e, #0b5a54);
cursor: pointer;
text-decoration: none;
}
.button:hover {
filter: brightness(1.03);
}
.button-secondary {
color: var(--text);
background: rgba(55, 46, 36, 0.08);
}
.button-danger {
background: linear-gradient(135deg, var(--danger), #7c2d12);
}
.alert-card {
margin-top: 1.5rem;
border-radius: 1rem;
border: 1px solid rgba(15, 118, 110, 0.18);
background: rgba(255, 255, 255, 0.9);
padding: 1rem 1.1rem;
}
.alert-card p {
margin: 0;
color: var(--muted);
line-height: 1.6;
}
.alert-error {
border-color: rgba(162, 50, 28, 0.28);
background: rgba(255, 243, 239, 0.95);
}
.alert-success {
background: rgba(237, 247, 242, 0.95);
}
.compact-alert {
margin-top: 0;
}
.text-link {
color: var(--accent);
font-weight: 700;
text-decoration: none;
}
.chip-form {
display: inline-flex;
align-items: center;
gap: 0.6rem;
padding: 0.35rem 0.55rem 0.35rem 0.8rem;
border-radius: 999px;
border: 1px solid rgba(15, 118, 110, 0.16);
background: rgba(216, 243, 239, 0.7);
}
.chip-label {
font-weight: 700;
}
.chip-remove {
border: 0;
background: transparent;
color: var(--danger);
font: inherit;
cursor: pointer;
}
.release-card {
flex: 1 1 20rem;
border-radius: 1rem;
border: 1px solid rgba(55, 46, 36, 0.14);
background: rgba(255, 255, 255, 0.96);
padding: 1rem;
}
.release-build {
color: var(--muted);
font-size: 0.95rem;
}
.empty-state {
margin-top: 2rem;
border-radius: 1rem;
border: 1px dashed rgba(55, 46, 36, 0.2);
padding: 1.5rem;
background: rgba(255, 255, 255, 0.72);
}
code {
font-family: "SFMono-Regular", "SF Mono", "Menlo", monospace;
font-size: 0.92em;
}
@media (max-width: 640px) {
.page-shell {
width: min(100% - 1rem, 72rem);
}
.content-card {
padding: 1.35rem;
}
.site-header {
align-items: flex-start;
flex-direction: column;
}
.hero-split,
.hero-meta,
.resource-header,
.release-head,
.section-heading {
display: grid;
}
.hero-meta {
justify-items: start;
}
}