railyard/apps/rithub-server/custom/public/assets/css/theme-rithub.css.bak-20261118T213920Z
caelum0x 6801c08af9
Some checks failed
ci / cargo test (abacus) (push) Has been cancelled
ci / cargo test (agent-runtime) (push) Has been cancelled
ci / cargo test (context-passport) (push) Has been cancelled
ci / cargo test (game-economy) (push) Has been cancelled
ci / cargo test (ledgerline) (push) Has been cancelled
ci / cargo test (mint) (push) Has been cancelled
ci / cargo test (rago) (push) Has been cancelled
ci / cargo test (relay) (push) Has been cancelled
ci / node suites (push) Has been cancelled
ci / cargo test (toolgate) (push) Has been cancelled
ci / cargo test (turnstile) (push) Has been cancelled
ci / cargo test (vend) (push) Has been cancelled
feat(RIT-OPS,RIT-BRD): rename gitea -> rit everywhere we control, deployed + live-verified
apps/gitea -> apps/rithub-server; compose services/containers renamed
(rithub-server-app/postgres/act-runner) with explicit project name and
volume names pinned to the exact existing Docker volumes (no data loss);
our own GITEA_* compose/env var names -> RIT_*; new rit-admin CLI wrapper
on railyard-box; giteaSession.mjs/giteaOAuth.mjs/giteaInfo.mjs ->
ritSession/ritOAuth/ritInfo across 6 apps; GiteaForgeAdapter -> RitForgeAdapter
+ giteaSyncService/importGiteaRepos/syncGiteaRepos -> rit* in ritgram
(tsc clean); apps/console/lib/gitea.ts -> lib/ritProvision.ts; Go
internal/giteaclient -> internal/ritclient in rithub-async-import (go
build/test clean); new /auth/rit + /forges/rit/connect routes with
/gitea back-compat aliases; locale/swagger/footer/captcha template text
scrubbed of remaining "Gitea" strings.

Deployed to railyard-box: old containers stopped/removed, /srv/railyard-gitea
renamed to /srv/rithub-server with a symlink kept, docker compose up -d from
the new path, act_runner network-alias fix for its persisted instance URL.
Live-verified: docker compose config diff showed zero unintended value
changes, DB row counts unchanged (19 users, 635 repos), full route
regression 200/expected, 0 "gitea" in headers/bodies on every checked page,
real git clone+push over HTTPS and SSH with a disposable account (deleted
after). Deferred on purpose (documented in plans/railyard.md): the forge
discriminator / DB column names / Postgres role+volume names (data
migrations, not a naming change) and the upstream GITEA__ env-to-ini keys
and X-Gitea-* wire headers (hardcoded in the vendored engine binary).

See plans/railyard.md RIT-OPS/RIT-BRD entry for the full old->new map and
live evidence.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-12-01 16:34:39 +03:00

599 lines
29 KiB
Plaintext

/* Rithub theme — monochrome Apple glass (owner 2026-11-18: "glassmorphism
Apple design, no wild colours, no blue"). Ink is the only accent
(#1d1d1f light / #f5f5f7 dark). Separate light + dark palettes over every
surface variable, so no mode mixes dark panels with dark text.
Glass (backdrop blur) only on the navigation layer: top bar, menus,
modals, mobile tab bar (Apple HIG, Materials). Content stays on plain
surfaces with hairlines. Semantic colours (diff add/remove, error/success
banners, issue labels, language dots) are left as-is.
Generated palette: tools-theme/gen_theme.py. */
@media (prefers-color-scheme: light) {
:root {
color-scheme: light;
--color-primary: #1d1d1f;
--color-primary-contrast: #ffffff;
--color-primary-hover: color-mix(in srgb, #1d1d1f 86%, #ffffff);
--color-primary-active: color-mix(in srgb, #1d1d1f 76%, #ffffff);
--color-primary-dark-1: color-mix(in srgb, #1d1d1f 88%, black);
--color-primary-dark-2: color-mix(in srgb, #1d1d1f 76%, black);
--color-primary-dark-3: color-mix(in srgb, #1d1d1f 64%, black);
--color-primary-dark-4: color-mix(in srgb, #1d1d1f 52%, black);
--color-primary-dark-5: color-mix(in srgb, #1d1d1f 40%, black);
--color-primary-dark-6: color-mix(in srgb, #1d1d1f 28%, black);
--color-primary-dark-7: color-mix(in srgb, #1d1d1f 16%, black);
--color-primary-light-1: color-mix(in srgb, #1d1d1f 80%, white);
--color-primary-light-2: color-mix(in srgb, #1d1d1f 64%, white);
--color-primary-light-3: color-mix(in srgb, #1d1d1f 48%, white);
--color-primary-light-4: color-mix(in srgb, #1d1d1f 34%, white);
--color-primary-light-5: color-mix(in srgb, #1d1d1f 22%, white);
--color-primary-light-6: color-mix(in srgb, #1d1d1f 12%, white);
--color-primary-light-7: color-mix(in srgb, #1d1d1f 6%, white);
--color-primary-alpha-10: color-mix(in srgb, #1d1d1f 10%, transparent);
--color-primary-alpha-20: color-mix(in srgb, #1d1d1f 20%, transparent);
--color-primary-alpha-30: color-mix(in srgb, #1d1d1f 30%, transparent);
--color-primary-alpha-40: color-mix(in srgb, #1d1d1f 40%, transparent);
--color-primary-alpha-50: color-mix(in srgb, #1d1d1f 50%, transparent);
--color-primary-alpha-60: color-mix(in srgb, #1d1d1f 60%, transparent);
--color-primary-alpha-70: color-mix(in srgb, #1d1d1f 70%, transparent);
--color-primary-alpha-80: color-mix(in srgb, #1d1d1f 80%, transparent);
--color-primary-alpha-90: color-mix(in srgb, #1d1d1f 90%, transparent);
--color-secondary: #d2d2d7;
--color-secondary-dark-1: color-mix(in srgb, #d2d2d7 94%, #1d1d1f);
--color-secondary-dark-2: color-mix(in srgb, #d2d2d7 86%, #1d1d1f);
--color-secondary-dark-3: color-mix(in srgb, #d2d2d7 74%, #1d1d1f);
--color-secondary-dark-4: color-mix(in srgb, #d2d2d7 62%, #1d1d1f);
--color-secondary-dark-5: color-mix(in srgb, #d2d2d7 54%, #1d1d1f);
--color-secondary-dark-6: color-mix(in srgb, #d2d2d7 46%, #1d1d1f);
--color-secondary-dark-7: color-mix(in srgb, #d2d2d7 38%, #1d1d1f);
--color-secondary-dark-8: color-mix(in srgb, #d2d2d7 30%, #1d1d1f);
--color-secondary-dark-9: color-mix(in srgb, #d2d2d7 22%, #1d1d1f);
--color-secondary-dark-10: color-mix(in srgb, #d2d2d7 16%, #1d1d1f);
--color-secondary-dark-11: color-mix(in srgb, #d2d2d7 10%, #1d1d1f);
--color-secondary-dark-12: color-mix(in srgb, #d2d2d7 5%, #1d1d1f);
--color-secondary-dark-13: color-mix(in srgb, #d2d2d7 0%, #1d1d1f);
--color-secondary-light-1: color-mix(in srgb, #d2d2d7 70%, #ffffff);
--color-secondary-light-2: color-mix(in srgb, #d2d2d7 50%, #ffffff);
--color-secondary-light-3: color-mix(in srgb, #d2d2d7 32%, #ffffff);
--color-secondary-light-4: color-mix(in srgb, #d2d2d7 16%, #ffffff);
--color-secondary-alpha-10: color-mix(in srgb, #d2d2d7 10%, transparent);
--color-secondary-alpha-20: color-mix(in srgb, #d2d2d7 20%, transparent);
--color-secondary-alpha-30: color-mix(in srgb, #d2d2d7 30%, transparent);
--color-secondary-alpha-40: color-mix(in srgb, #d2d2d7 40%, transparent);
--color-secondary-alpha-50: color-mix(in srgb, #d2d2d7 50%, transparent);
--color-secondary-alpha-60: color-mix(in srgb, #d2d2d7 60%, transparent);
--color-secondary-alpha-70: color-mix(in srgb, #d2d2d7 70%, transparent);
--color-secondary-alpha-80: color-mix(in srgb, #d2d2d7 80%, transparent);
--color-secondary-alpha-90: color-mix(in srgb, #d2d2d7 90%, transparent);
--color-body: #fbfbfd;
--color-box-header: #f5f5f7;
--color-box-body: #ffffff;
--color-box-body-highlight: #f5f5f7;
--color-text-dark: #000000;
--color-text: #1d1d1f;
--color-text-light: #424245;
--color-text-light-1: #515154;
--color-text-light-2: #6e6e73;
--color-text-light-3: #86868b;
--color-footer: transparent;
--color-timeline: #d2d2d7;
--color-input-text: #1d1d1f;
--color-input-background: #ffffff;
--color-input-toggle-background: #d2d2d7;
--color-input-border: #d2d2d7;
--color-input-border-hover: #a1a1a6;
--color-light: rgba(0,0,0,.03);
--color-light-border: rgba(0,0,0,.08);
--color-hover: rgba(0,0,0,.04);
--color-hover-opaque: #f5f5f7;
--color-active: rgba(0,0,0,.07);
--color-menu: rgba(255,255,255,.78);
--color-card: #ffffff;
--color-markup-table-row: rgba(0,0,0,.025);
--color-markup-code-block: rgba(0,0,0,.04);
--color-markup-code-inline: rgba(0,0,0,.06);
--color-button: #ffffff;
--color-code-bg: #fbfbfd;
--color-shadow: rgba(0,0,0,.10);
--color-shadow-opaque: #d2d2d7;
--color-secondary-bg: #f5f5f7;
--color-expand-button: #e8e8ed;
--color-placeholder-text: #86868b;
--color-editor-line-highlight: rgba(0,0,0,.04);
--color-caret: #1d1d1f;
--color-reaction-bg: rgba(0,0,0,.04);
--color-reaction-hover-bg: rgba(0,0,0,.08);
--color-reaction-active-bg: rgba(0,0,0,.12);
--color-tooltip-text: #ffffff;
--color-tooltip-bg: rgba(29,29,31,.92);
--color-nav-bg: rgba(251,251,253,.72);
--color-nav-hover-bg: rgba(0,0,0,.05);
--color-nav-text: #1d1d1f;
--color-secondary-nav-bg: #fbfbfd;
--color-label-text: #1d1d1f;
--color-label-bg: rgba(0,0,0,.06);
--color-label-hover-bg: rgba(0,0,0,.10);
--color-label-active-bg: rgba(0,0,0,.16);
--color-accent: #1d1d1f;
--color-small-accent: rgba(0,0,0,.06);
--color-overlay-backdrop: rgba(0,0,0,.28);
--color-blue: #1d1d1f;
--color-link: #1d1d1f;
}
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--color-primary: #f5f5f7;
--color-primary-contrast: #000000;
--color-primary-hover: color-mix(in srgb, #f5f5f7 86%, #000000);
--color-primary-active: color-mix(in srgb, #f5f5f7 76%, #000000);
--color-primary-dark-1: color-mix(in srgb, #f5f5f7 88%, white);
--color-primary-dark-2: color-mix(in srgb, #f5f5f7 76%, white);
--color-primary-dark-3: color-mix(in srgb, #f5f5f7 64%, white);
--color-primary-dark-4: color-mix(in srgb, #f5f5f7 52%, white);
--color-primary-dark-5: color-mix(in srgb, #f5f5f7 40%, white);
--color-primary-dark-6: color-mix(in srgb, #f5f5f7 28%, white);
--color-primary-dark-7: color-mix(in srgb, #f5f5f7 16%, white);
--color-primary-light-1: color-mix(in srgb, #f5f5f7 80%, black);
--color-primary-light-2: color-mix(in srgb, #f5f5f7 64%, black);
--color-primary-light-3: color-mix(in srgb, #f5f5f7 48%, black);
--color-primary-light-4: color-mix(in srgb, #f5f5f7 34%, black);
--color-primary-light-5: color-mix(in srgb, #f5f5f7 22%, black);
--color-primary-light-6: color-mix(in srgb, #f5f5f7 12%, black);
--color-primary-light-7: color-mix(in srgb, #f5f5f7 6%, black);
--color-primary-alpha-10: color-mix(in srgb, #f5f5f7 10%, transparent);
--color-primary-alpha-20: color-mix(in srgb, #f5f5f7 20%, transparent);
--color-primary-alpha-30: color-mix(in srgb, #f5f5f7 30%, transparent);
--color-primary-alpha-40: color-mix(in srgb, #f5f5f7 40%, transparent);
--color-primary-alpha-50: color-mix(in srgb, #f5f5f7 50%, transparent);
--color-primary-alpha-60: color-mix(in srgb, #f5f5f7 60%, transparent);
--color-primary-alpha-70: color-mix(in srgb, #f5f5f7 70%, transparent);
--color-primary-alpha-80: color-mix(in srgb, #f5f5f7 80%, transparent);
--color-primary-alpha-90: color-mix(in srgb, #f5f5f7 90%, transparent);
--color-secondary: #38383a;
--color-secondary-dark-1: color-mix(in srgb, #38383a 94%, #f5f5f7);
--color-secondary-dark-2: color-mix(in srgb, #38383a 86%, #f5f5f7);
--color-secondary-dark-3: color-mix(in srgb, #38383a 74%, #f5f5f7);
--color-secondary-dark-4: color-mix(in srgb, #38383a 62%, #f5f5f7);
--color-secondary-dark-5: color-mix(in srgb, #38383a 54%, #f5f5f7);
--color-secondary-dark-6: color-mix(in srgb, #38383a 46%, #f5f5f7);
--color-secondary-dark-7: color-mix(in srgb, #38383a 38%, #f5f5f7);
--color-secondary-dark-8: color-mix(in srgb, #38383a 30%, #f5f5f7);
--color-secondary-dark-9: color-mix(in srgb, #38383a 22%, #f5f5f7);
--color-secondary-dark-10: color-mix(in srgb, #38383a 16%, #f5f5f7);
--color-secondary-dark-11: color-mix(in srgb, #38383a 10%, #f5f5f7);
--color-secondary-dark-12: color-mix(in srgb, #38383a 5%, #f5f5f7);
--color-secondary-dark-13: color-mix(in srgb, #38383a 0%, #f5f5f7);
--color-secondary-light-1: color-mix(in srgb, #38383a 70%, #000000);
--color-secondary-light-2: color-mix(in srgb, #38383a 50%, #000000);
--color-secondary-light-3: color-mix(in srgb, #38383a 32%, #000000);
--color-secondary-light-4: color-mix(in srgb, #38383a 16%, #000000);
--color-secondary-alpha-10: color-mix(in srgb, #38383a 10%, transparent);
--color-secondary-alpha-20: color-mix(in srgb, #38383a 20%, transparent);
--color-secondary-alpha-30: color-mix(in srgb, #38383a 30%, transparent);
--color-secondary-alpha-40: color-mix(in srgb, #38383a 40%, transparent);
--color-secondary-alpha-50: color-mix(in srgb, #38383a 50%, transparent);
--color-secondary-alpha-60: color-mix(in srgb, #38383a 60%, transparent);
--color-secondary-alpha-70: color-mix(in srgb, #38383a 70%, transparent);
--color-secondary-alpha-80: color-mix(in srgb, #38383a 80%, transparent);
--color-secondary-alpha-90: color-mix(in srgb, #38383a 90%, transparent);
--color-body: #000000;
--color-box-header: #1c1c1e;
--color-box-body: #0d0d0e;
--color-box-body-highlight: #1c1c1e;
--color-text-dark: #ffffff;
--color-text: #f5f5f7;
--color-text-light: #d1d1d6;
--color-text-light-1: #c7c7cc;
--color-text-light-2: #a1a1a6;
--color-text-light-3: #8e8e93;
--color-footer: transparent;
--color-timeline: #38383a;
--color-input-text: #f5f5f7;
--color-input-background: #1c1c1e;
--color-input-toggle-background: #3a3a3c;
--color-input-border: #38383a;
--color-input-border-hover: #636366;
--color-light: rgba(255,255,255,.04);
--color-light-border: rgba(255,255,255,.10);
--color-hover: rgba(255,255,255,.06);
--color-hover-opaque: #1c1c1e;
--color-active: rgba(255,255,255,.10);
--color-menu: rgba(28,28,30,.78);
--color-card: #0d0d0e;
--color-markup-table-row: rgba(255,255,255,.03);
--color-markup-code-block: rgba(255,255,255,.05);
--color-markup-code-inline: rgba(255,255,255,.08);
--color-button: #1c1c1e;
--color-code-bg: #0d0d0e;
--color-shadow: rgba(0,0,0,.5);
--color-shadow-opaque: #000000;
--color-secondary-bg: #1c1c1e;
--color-expand-button: #2c2c2e;
--color-placeholder-text: #8e8e93;
--color-editor-line-highlight: rgba(255,255,255,.05);
--color-caret: #f5f5f7;
--color-reaction-bg: rgba(255,255,255,.06);
--color-reaction-hover-bg: rgba(255,255,255,.10);
--color-reaction-active-bg: rgba(255,255,255,.14);
--color-tooltip-text: #000000;
--color-tooltip-bg: rgba(245,245,247,.92);
--color-nav-bg: rgba(0,0,0,.66);
--color-nav-hover-bg: rgba(255,255,255,.08);
--color-nav-text: #f5f5f7;
--color-secondary-nav-bg: #000000;
--color-label-text: #f5f5f7;
--color-label-bg: rgba(255,255,255,.10);
--color-label-hover-bg: rgba(255,255,255,.14);
--color-label-active-bg: rgba(255,255,255,.20);
--color-accent: #f5f5f7;
--color-small-accent: rgba(255,255,255,.08);
--color-overlay-backdrop: rgba(0,0,0,.5);
--color-blue: #f5f5f7;
--color-link: #f5f5f7;
}
}
/* ---- shape + type: Apple system font, softer radii ---- */
:root {
--fonts-override: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
--border-radius: 10px;
--border-radius-medium: 12px;
--border-radius-full: 999px;
--rithub-glass-blur: saturate(180%) blur(20px);
}
body, button, input, select, textarea, .ui.button, .markup {
font-family: var(--fonts-override), var(--fonts-regular, sans-serif);
-webkit-font-smoothing: antialiased;
}
body, .ui.card, .ui.segment, .ui.button, .page-content { background-image: none !important; }
/* links: ink, never blue; underline only on hover */
a, .ui.breadcrumb a, .markup a { color: var(--color-text); }
a:hover, .markup a:hover { color: var(--color-text-dark); text-decoration: underline; text-underline-offset: 2px; }
.flex-item-title a, .repo-title a, .repository.list .item .header a { font-weight: 600; }
/* ---- glass navigation layer (HIG: Liquid Glass only for nav/controls) ---- */
#navbar {
position: sticky;
top: 0;
z-index: 100;
background: var(--color-nav-bg) !important;
-webkit-backdrop-filter: var(--rithub-glass-blur);
backdrop-filter: var(--rithub-glass-blur);
border-bottom: 1px solid var(--color-light-border) !important;
}
#navbar .item { color: var(--color-nav-text); border-radius: 8px; }
#navbar .item:hover, #navbar .item.active { background: var(--color-nav-hover-bg); }
.ui.dropdown .menu, .ui.menu .dropdown.item .menu, .tippy-box, .ui.popup, .menu.user-menu {
background: var(--color-menu) !important;
-webkit-backdrop-filter: var(--rithub-glass-blur);
backdrop-filter: var(--rithub-glass-blur);
border: 1px solid var(--color-light-border) !important;
border-radius: 12px !important;
box-shadow: 0 8px 32px var(--color-shadow) !important;
}
.tippy-box[data-theme="tooltip"] { background: var(--color-tooltip-bg) !important; color: var(--color-tooltip-text); }
.ui.modal {
background: var(--color-menu) !important;
-webkit-backdrop-filter: var(--rithub-glass-blur);
backdrop-filter: var(--rithub-glass-blur);
border-radius: 16px !important;
border: 1px solid var(--color-light-border);
}
.ui.modal > .header, .ui.modal > .content, .ui.modal > .actions { background: transparent !important; }
.ui.dimmer { background: var(--color-overlay-backdrop) !important; }
/* ---- content layer: plain surfaces, hairlines, no shadows ---- */
.ui.card, .ui.cards > .card, .ui.segment, .ui.attached.segment, .ui.attached.header, .repository.list .item {
box-shadow: none !important;
}
.ui.segment, .ui.attached.segment, .ui.attached.header { border-color: var(--color-light-border) !important; }
.ui.attached.header, .ui.top.attached.header { background: var(--color-box-header) !important; color: var(--color-text); font-weight: 600; }
.ui.attached.segment, .ui.segment { background: var(--color-box-body) !important; color: var(--color-text); }
/* ---- buttons: ink capsule primary, quiet secondary ---- */
.ui.button { border-radius: 999px !important; font-weight: 500; }
.ui.primary.button, .ui.primary.buttons .button, .ui.green.button, .ui.blue.button {
background: var(--color-primary) !important;
color: var(--color-primary-contrast) !important;
border-color: var(--color-primary) !important;
}
.ui.primary.button:hover, .ui.green.button:hover, .ui.blue.button:hover { background: var(--color-primary-hover) !important; }
.ui.basic.button, .ui.basic.buttons .button, .ui.button:not(.primary):not(.red):not(.green):not(.blue):not(.basic) {
background: var(--color-button) !important;
color: var(--color-text) !important;
border: 1px solid var(--color-light-border) !important;
}
.ui.basic.button:hover { background: var(--color-hover) !important; }
.ui.labeled.button > .label, .ui.label { border-radius: 999px; }
/* ---- inputs: always readable in both schemes ---- */
input, textarea, select, .ui.input > input, .ui.form input:not([type]), .ui.form input[type="text"],
.ui.form input[type="email"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form textarea,
.ui.selection.dropdown {
background: var(--color-input-background) !important;
color: var(--color-input-text) !important;
border: 1px solid var(--color-input-border) !important;
border-radius: 10px !important;
}
input:focus, textarea:focus, .ui.form input:focus, .ui.form textarea:focus, .ui.input > input:focus {
border-color: var(--color-text-light-2) !important;
box-shadow: 0 0 0 3px var(--color-primary-alpha-10) !important;
outline: none;
}
.ui.form .field > label, .ui.form .inline.field > label, .ui.checkbox label, label { color: var(--color-text) !important; }
.ui.action.input > .button, .ui.action.input > .buttons > .button { border-radius: 0 10px 10px 0 !important; }
.ui.action.input > input { border-radius: 10px 0 0 10px !important; }
::placeholder { color: var(--color-placeholder-text) !important; }
/* ---- tabs / secondary nav: ink underline, no blue ---- */
.ui.secondary.pointing.menu .active.item, .ui.secondary.pointing.menu .item.active {
border-color: var(--color-text) !important; color: var(--color-text) !important; font-weight: 600;
}
.secondary-nav { background: var(--color-secondary-nav-bg) !important; border-bottom: 1px solid var(--color-light-border); }
/* ---- sign-in / sign-up: one centred card, Apple ID-style ---- */
.page-content.user.signin, .page-content.user.signup, .page-content.user.link-account, .page-content.user.forgot.password {
padding-top: 48px;
}
.user.signin .ui.container, .user.signup .ui.container { max-width: 440px !important; }
/* 2026-11-18 (rithub-signup-page-friction fix): one-line value prop
directly under the Register header -- see signup_inner.tmpl comment. */
.rithub-signup-note {
text-align: center; font-size: 14px; line-height: 1.4;
color: var(--color-text-light-2); margin: 0 0 16px; padding: 0 8px;
}
.user.signin .ui.attached.header, .user.signup .ui.attached.header {
background: transparent !important; border: 0 !important; font-size: 28px; font-weight: 600;
letter-spacing: -0.01em; text-align: center; padding-bottom: 8px;
}
.user.signin .ui.attached.segment, .user.signup .ui.attached.segment {
border: 1px solid var(--color-light-border) !important; border-radius: 16px !important;
padding: 24px !important;
}
.user.signin .ui.form .field > label, .user.signup .ui.form .field > label {
font-size: 13px; font-weight: 500; color: var(--color-text-light-2) !important;
}
.user.signin .ui.form .ui.primary.button, .user.signup .ui.form .ui.primary.button { width: 100%; height: 44px; font-size: 15px; }
.user.signin .ui.segment.tw-text-center, .user.signup .ui.segment.tw-text-center,
.user.signin .ui.container > .ui.segment:last-child { border-radius: 16px !important; }
/* third-party sign-in (GitHub / Google / Apple) as full-width outline capsules */
#oauth2-login-navigator, .oauth2-login-navigator { margin-top: 16px; }
#oauth2-login-navigator-inner, .oauth2-login-navigator-inner { display: flex; flex-direction: column; gap: 10px; }
.oauth-login-link, a.oauth-login-image, #oauth2-login-navigator a.ui.button {
display: flex !important; align-items: center; justify-content: center; gap: 10px;
width: 100%; height: 44px; border-radius: 999px !important;
background: var(--color-button) !important; color: var(--color-text) !important;
border: 1px solid var(--color-input-border) !important; font-weight: 500;
}
.oauth-login-link:hover, #oauth2-login-navigator a.ui.button:hover { background: var(--color-hover) !important; text-decoration: none; }
.oauth-login-link img, .oauth-login-link svg { width: 20px; height: 20px; filter: grayscale(1); }
@media (prefers-color-scheme: dark) { .oauth-login-link img { filter: grayscale(1) invert(1); } }
/* ---- explore + repo lists: airy rows, quiet meta ---- */
.flex-list > .flex-item { padding: 18px 4px; border-color: var(--color-light-border) !important; }
.flex-item-title { font-size: 16px; }
.flex-item-body, .flex-item-trailing { color: var(--color-text-light-2) !important; }
.flex-item .flex-text-inline.text.grey, .flex-item .text.grey { color: var(--color-text-light-2) !important; }
.ui.label, .repo-topic { background: var(--color-label-bg) !important; color: var(--color-label-text) !important; border: 0 !important; font-weight: 500; }
.ui.search.action.input > input, .explore .ui.input > input { height: 40px; }
.explore .ui.secondary.menu .item { border-radius: 8px; }
/* ---- homepage hero ---- */
.rithub-home { max-width: 1080px; margin: 0 auto; padding: 96px 24px 64px; text-align: center; }
.rithub-hero-title {
font-size: 56px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.07;
color: var(--color-text-dark) !important; margin: 0 0 16px;
}
.rithub-hero-sub { font-size: 21px; line-height: 1.38; color: var(--color-text-light-2); margin: 0 0 40px; }
.rithub-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-bottom: 64px; }
/* ---- 2026-11-18: visible-text hero CTAs (PH-launch funnel fix) ----
Same "explicit exception to icon-only" pattern already shipped for the
nav Sign up/Sign in controls in 765a46c6 — see home.tmpl's comment for
why. Icon + real label, pill shape, one accent color, no gradients. */
.rithub-cta-btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
height: 52px; padding: 0 26px; border-radius: 999px;
font-size: 17px; font-weight: 500; white-space: nowrap;
background: var(--color-button); color: var(--color-text);
border: 1px solid var(--color-light-border);
transition: background-color .2s ease-out, transform .2s ease-out;
}
.rithub-cta-btn:hover { background: var(--color-hover); transform: translateY(-1px); text-decoration: none; }
.rithub-cta-btn-primary { background: var(--color-primary); color: var(--color-primary-contrast); border-color: var(--color-primary); }
.rithub-cta-btn-primary:hover { background: var(--color-primary-hover); }
.rithub-shot-frame {
border-radius: 20px; overflow: hidden; border: 1px solid var(--color-light-border);
box-shadow: 0 24px 64px var(--color-shadow);
}
.rithub-shot { display: block; width: 100%; height: auto; }
.rithub-shot-dark { display: none; }
@media (prefers-color-scheme: dark) {
.rithub-shot-light { display: none; }
.rithub-shot-dark { display: block; }
}
@media (max-width: 600px) {
.rithub-home { padding: 40px 16px 32px; }
.rithub-hero-title { font-size: 30px; }
.rithub-hero-sub { font-size: 16px; margin-bottom: 28px; }
.rithub-hero-actions { flex-direction: column; gap: 10px; margin-bottom: 36px; }
.rithub-cta-btn { width: 100%; max-width: 320px; }
}
/* ---- footer ---- */
.page-footer { background: transparent !important; border-top: 1px solid var(--color-light-border); }
.rithub-footer-links {
text-align: center;
padding: 10px 16px;
font-size: 12px;
color: var(--color-text-light-2);
}
.rithub-footer-links a {
color: var(--color-text-light-2);
}
/* mobile footer cleanup (2026-11-17, wave5): the 12-link SEO list stays
as the desktop footer (unchanged); <=640px shows the short 5-link
version instead -- see templates/custom/footer.tmpl. */
.rithub-footer-links-short {
display: none;
}
@media (max-width: 640px) {
.rithub-footer-links-full {
display: none;
}
.rithub-footer-links-short {
display: block;
}
}
/* ---- icon-only chrome: visually hide label text still renders for
screen readers via each link's own aria-label/title (added in the
template overrides below), keeping one accessible name per control. ---- */
#navbar .item .nav-label,
.secondary-nav .item .nav-label {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
/* ---- 2026-11-18: visible "Sign up" / "Sign in" text, signed-out visitors
only (owner: icon-only Register/Sign In were invisible as an
account-creation CTA). Every other nav control above stays icon-only;
these two keep the icon but also show real text. ---- */
#navbar .item.rithub-navbar-signup,
#navbar .item.rithub-navbar-signin {
display: inline-flex;
align-items: center;
gap: 6px;
width: auto;
padding: 0 14px !important;
}
#navbar .item.rithub-navbar-signup .rithub-navbar-cta-text,
#navbar .item.rithub-navbar-signin .rithub-navbar-cta-text {
font-size: 14px;
font-weight: 600;
white-space: nowrap;
}
#navbar .item.rithub-navbar-signup {
background: var(--color-primary);
color: var(--color-primary-contrast) !important;
border-radius: 999px;
margin-left: 4px;
}
#navbar .item.rithub-navbar-signup svg { color: var(--color-primary-contrast) !important; }
#navbar .item.rithub-navbar-signup:hover { background: var(--color-primary-hover); }
#navbar .item.rithub-navbar-signin { color: var(--color-nav-text) !important; }
/* rithub-no-emoji (2026-11-17, products-8c, box-only edit synced back into
the repo 2026-11-17 by icon-mark-rev3): no emoji UI components --
reaction pickers and reaction chips hidden */
.select-reaction, .bottom-reactions, .comment-reaction-button, .reactions-picker, .emoji-picker { display: none !important; }
/* ---- repo tabs: Material Symbols Rounded, outline (inactive) + filled
(active), 2026-11-17. Both SVGs render in markup; this toggles which
one shows so the template doesn't need to branch on the active class
twice. Google-search-tab-bar pattern: outline inactive, filled +
accent active. Issues uses "error" (circle-exclamation), not
"bug_report" -- see icons/ATTRIBUTION.md, it used to read identically
to the Settings gear at 18-24px. ---- */
.secondary-nav .msym {
display: inline-block;
vertical-align: text-bottom;
width: 16px;
height: 16px;
margin-right: 4px;
}
.secondary-nav .item .msym-filled { display: none; }
.secondary-nav .item .msym-outline { display: inline-block; }
.secondary-nav .item.active .msym-filled { display: inline-block; }
.secondary-nav .item.active .msym-outline { display: none; }
/* ---- new mobile bottom tab bar (<=640px): Home / Explore /
Notifications / Profile, icon-only, Google-app/Google-search tab-bar
style -- outline inactive, filled + accent active, 24px, no labels
(Apple design rules: icon-only controls on mobile). Hidden on
desktop; repo tabs above keep their text labels per spec. ---- */
.rithub-tabbar {
display: none;
}
@media (max-width: 640px) {
.rithub-tabbar {
display: flex;
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 900;
justify-content: space-around;
align-items: center;
height: 56px;
padding-bottom: env(safe-area-inset-bottom, 0);
background: var(--color-nav-bg);
-webkit-backdrop-filter: var(--rithub-glass-blur);
backdrop-filter: var(--rithub-glass-blur);
border-top: 1px solid var(--color-light-border);
}
/* keep the bottom bar from hiding page content underneath it.
2026-11-17 (wave5, 8c): `body`'s own padding-bottom here turned out
to be a no-op on any page taller than one screen -- confirmed live
via getBoundingClientRect + a forced reflow that body's box is
pinned to exactly 100dvh (a flex-column shell with
`height: 100vh`/border-box) and does not grow no matter what
padding is set on it; real page content lives in a flex child
(`.full.height`) that's allowed to overflow past that pinned box
via the flex-item default `min-height: auto`, so anything rendered
after it (our footer) sits in the *overflow* region where the
body's own padding box no longer has any effect at all. Verified
fix: push the padding onto the actual last-in-flow element
(.rithub-footer-links) instead, which is a normal block box not
subject to the same pinned-height forcing -- confirmed this adds a
real 56px gap (scrollHeight increases by exactly that much) on the
longest real page (a repo's file-list view, ~21000px tall). Kept
the no-op `body` rule too since it's harmless and still correct
for any future short-page case. */
body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0)); }
.rithub-footer-links {
padding-bottom: calc(56px + env(safe-area-inset-bottom, 0));
}
}
.rithub-tabbar a {
display: flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
border-radius: 8px;
}
.rithub-tabbar .msym {
width: 24px;
height: 24px;
}
.rithub-tabbar a .msym-filled { display: none; }
.rithub-tabbar a .msym-outline { display: inline-block; }
.rithub-tabbar a.active .msym-filled { display: inline-block; }
.rithub-tabbar a.active .msym-outline { display: none; }
/* icon colours: outline = secondary label, filled = ink (no blue) */
.msym-outline { color: var(--color-text-light-2); }
.msym-filled { color: var(--color-text); }
.rithub-tabbar a { color: var(--color-text-light-2); }
/* sign-in footer box (passkey + register): small secondary text, not a header */
.user.signin .ui.attached.segment.header, .user.signup .ui.attached.segment.header {
font-size: 14px !important; font-weight: 400 !important; letter-spacing: 0;
padding: 16px 24px !important; gap: 6px; margin-top: 12px;
border: 1px solid var(--color-light-border) !important; border-radius: 16px !important;
background: var(--color-box-body) !important; color: var(--color-text-light-2) !important;
}
.user.signin .ui.attached.segment.header .field { margin: 0; }
.user.signin .ui.attached.segment.header a, .user.signup .ui.attached.segment.header a { font-weight: 600; color: var(--color-text) !important; cursor: pointer; }