Files
vctp2/dist/assets/css/web3.css
T
nathan 2c3167a1a0
continuous-integration/drone/push Build is passing
more updates
2026-04-20 19:40:01 +10:00

731 lines
16 KiB
CSS

:root {
--theme_text_primary: #0f1d33;
--theme_text_weak: rgba(15, 29, 51, 0.67);
--theme_text_inverse: #f6faff;
--theme_text_inverse_muted: rgba(246, 250, 255, 0.77);
--theme_text_secondary_active: rgba(13, 24, 42, 0.84);
--theme_text_button_spotlight: #f7fbff;
--theme_text_success: #0f6a35;
--theme_text_placeholder: rgba(15, 29, 51, 0.47);
--theme_accent_blue: #195fc8;
--theme_accent_blue_hover: #144ea7;
--theme_accent_blue_soft: #e8f1ff;
--theme_accent_blue_border: rgba(25, 95, 200, 0.44);
--theme_surface_primary: #ffffff;
--theme_surface_subtle: #f3f8ff;
--theme_surface_shell: #f7fbff;
--theme_surface_section: #ffffff;
--theme_surface_raised: #ffffff;
--theme_surface_code: #ecf3ff;
--theme_surface_table_head: rgba(233, 242, 255, 0.92);
--theme_surface_chart_tooltip: rgba(12, 21, 37, 0.96);
--theme_border: #d5e0ee;
--theme_border_medium: #bccde4;
--theme_border_strong: #4d6281;
--theme_border_focus: rgba(25, 95, 200, 0.78);
--theme_shadow_card: rgba(4, 16, 34, 0.08) 0 8px 22px, rgba(25, 95, 200, 0.09) 0 1px 3px;
--theme_shadow_ambient: rgba(19, 68, 142, 0.08) 0 18px 42px -24px;
--theme_shadow_soft: var(--theme_shadow_ambient);
--theme_shadow_button: rgba(25, 95, 200, 0.26) 0 2px 6px;
--theme_shadow_button_ring: 0 0 0 2px rgba(25, 95, 200, 0.28);
--theme_shadow_table_inset: inset rgba(25, 95, 200, 0.14) 0 0 0 1px;
--theme_shadow_tooltip: rgba(5, 14, 26, 0.28) 0 14px 32px;
--theme_gradient_hero_primary: radial-gradient(circle at 8% 4%, rgba(25, 95, 200, 0.09) 0, rgba(25, 95, 200, 0) 31%);
--theme_gradient_hero_secondary: radial-gradient(circle at 90% 12%, rgba(20, 78, 167, 0.08) 0, rgba(20, 78, 167, 0) 29%);
--theme_gradient_card_accent: linear-gradient(180deg, #195fc8 0%, #144ea7 100%);
--theme_focus_outline: 2px solid rgba(25, 95, 200, 0.58);
--theme_radius_button: 12px;
--theme_radius_card: 16px;
--theme_radius_section: 24px;
--theme_radius_large: 30px;
--theme_radius_code: 8px;
--theme_radius_pill: 9999px;
--theme_font_body: "jjannon", "Iowan Old Style", "Palatino Linotype", "URW Palladio L", "P052", ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
--theme_font_display: "CursorGothic", "CursorGothic Fallback", system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
--theme_font_code: "berkeleyMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--theme_font_ui: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--theme_letter_body: 0.012em;
--theme_letter_caption: 0.085em;
--theme_letter_button: 0.01em;
--theme_transition_fast: 150ms ease;
--theme_transition_base: 200ms ease;
--web2-blue: var(--theme_accent_blue);
--web2-slate: var(--theme_text_primary);
--web2-muted: var(--theme_text_weak);
--web2-card: var(--theme_surface_primary);
--web2-border: var(--theme_border);
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: var(--theme_font_body);
color: var(--theme_text_primary);
letter-spacing: var(--theme_letter_body);
background: var(--theme_surface_shell);
}
.web2-bg {
background:
var(--theme_gradient_hero_primary),
var(--theme_gradient_hero_secondary),
var(--theme_surface_shell);
}
.web2-shell {
max-width: 1140px;
margin: 0 auto;
padding: 2.5rem 1.5rem 2.25rem;
}
.web2-shell-wide {
max-width: min(1760px, calc(100vw - 2rem));
}
.web2-page-head {
display: flex;
flex-direction: column;
gap: 1rem;
}
.web2-page-head-row {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.web2-head-copy {
flex: 1 1 740px;
min-width: 0;
max-width: 72ch;
}
.web2-page-title {
margin-top: 0.6rem;
font-family: var(--theme_font_display);
font-size: clamp(1.7rem, 1.1rem + 1.6vw, 2.35rem);
line-height: 1.15;
letter-spacing: -0.325px;
overflow-wrap: anywhere;
word-break: break-word;
hyphens: auto;
}
.web2-page-subtitle {
margin-top: 0.45rem;
font-size: 1.08rem;
line-height: 1.45;
color: var(--theme_text_weak);
}
.web2-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
flex: 0 0 auto;
gap: 0.5rem;
}
.web2-section-head {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 1rem;
}
.web2-kpi-grid {
display: grid;
gap: 1rem;
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.web2-kpi-label {
font-size: 0.7rem;
font-family: var(--theme_font_ui);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.16em;
color: var(--theme_text_weak);
}
.web2-kpi-value {
margin-top: 0.55rem;
font-size: 1.2rem;
font-family: var(--theme_font_display);
font-weight: 400;
line-height: 1.2;
color: var(--theme_text_primary);
letter-spacing: -0.11px;
}
.web2-kpi-value-mono {
font-family: var(--theme_font_code);
font-size: 0.98rem;
font-weight: 400;
letter-spacing: -0.015em;
}
.web2-kpi-truncate {
display: block;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.web2-card-overview {
background: var(--theme_surface_primary);
}
.web2-card-featured {
background: var(--theme_surface_primary);
border-color: var(--theme_border_medium);
box-shadow: var(--theme_shadow_card), var(--theme_shadow_soft);
position: relative;
}
.web2-card-featured::before {
content: "";
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 3px;
background: var(--theme_gradient_card_accent);
border-top-left-radius: var(--theme_radius_card);
border-bottom-left-radius: var(--theme_radius_card);
}
.web2-index-sections {
display: grid;
gap: 1.35rem;
grid-template-columns: minmax(0, 1fr);
}
.web2-index-overview {
box-shadow: var(--theme_shadow_soft);
}
.web2-index-featured {
margin-top: 0.45rem;
border-width: 1px;
border-color: var(--theme_border_medium);
box-shadow: var(--theme_shadow_card), var(--theme_shadow_soft);
}
.web2-index-wide {
grid-column: 1 / -1;
}
.web2-note {
padding: 0.78rem 0.92rem;
border-radius: var(--theme_radius_card);
border: 1px solid var(--theme_border_medium);
background: var(--theme_surface_subtle);
color: var(--theme_text_secondary_active);
font-family: var(--theme_font_ui);
font-size: 0.86rem;
line-height: 1.45;
}
.web2-header {
background: var(--theme_surface_section);
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_section);
padding: 1.65rem 2rem;
box-shadow: var(--theme_shadow_card), var(--theme_shadow_soft);
}
.web2-card {
background: var(--theme_surface_primary);
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_card);
padding: 1.4rem 1.6rem;
box-shadow: var(--theme_shadow_card), var(--theme_shadow_soft);
}
.web2-card h2,
.web2-section-title {
position: relative;
margin: 0;
padding-left: 0.9rem;
font-size: 1.36rem;
font-family: var(--theme_font_display);
font-weight: 400;
letter-spacing: -0.11px;
color: var(--theme_text_primary);
}
.web2-card h2::before,
.web2-section-title::before {
content: "";
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 4px;
height: 72%;
background: var(--theme_accent_blue);
border-radius: 999px;
box-shadow: none;
}
.web2-pill {
display: inline-flex;
align-items: center;
gap: 0.4rem;
background: var(--theme_surface_subtle);
border: 1px solid var(--theme_border);
color: var(--theme_text_weak);
padding: 0.22rem 0.78rem;
border-radius: var(--theme_radius_pill);
font-family: var(--theme_font_display);
font-size: 0.76rem;
font-weight: 400;
letter-spacing: 0;
}
.web2-code {
font-family: var(--theme_font_code);
background: var(--theme_surface_code);
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_code);
padding: 0.12rem 0.42rem;
font-size: 0.84em;
color: var(--theme_text_primary);
}
.web2-paragraphs p + p {
margin-top: 0.85rem;
}
.web2-link {
color: var(--theme_accent_blue);
text-decoration: none;
font-weight: 500;
transition: color var(--theme_transition_fast), text-decoration-color var(--theme_transition_fast);
}
.web2-link:hover {
color: var(--theme_accent_blue_hover);
text-decoration: underline;
text-decoration-color: var(--theme_border_medium);
}
.web2-button {
background: var(--theme_accent_blue);
color: var(--theme_text_button_spotlight);
padding: 0.62rem 0.9rem 0.6rem 1rem;
border-radius: var(--theme_radius_button);
border: 1px solid var(--theme_accent_blue_border);
box-shadow: var(--theme_shadow_button);
font-family: var(--theme_font_display);
font-weight: 400;
letter-spacing: var(--theme_letter_button);
text-decoration: none;
transition: transform var(--theme_transition_fast), background var(--theme_transition_fast), border-color var(--theme_transition_fast), box-shadow var(--theme_transition_fast);
}
.web2-button:hover {
background: var(--theme_accent_blue_hover);
color: var(--theme_text_button_spotlight);
border-color: var(--theme_accent_blue_border);
box-shadow: var(--theme_shadow_button);
transform: translateY(-1px);
}
.web2-button.secondary {
background: var(--theme_surface_raised);
color: var(--theme_text_secondary_active);
border-color: var(--theme_border);
box-shadow: none;
border-radius: var(--theme_radius_pill);
}
.web2-button.secondary:hover {
background: var(--theme_surface_subtle);
color: var(--theme_text_primary);
border-color: var(--theme_border_medium);
transform: none;
}
.web3-button {
background: var(--theme_surface_primary);
color: var(--theme_text_primary);
padding: 0.52rem 1.02rem;
border-radius: var(--theme_radius_button);
border: 1px solid var(--theme_border);
text-decoration: none;
font-family: var(--theme_font_display);
font-weight: 400;
letter-spacing: var(--theme_letter_button);
transition: background var(--theme_transition_fast), border-color var(--theme_transition_fast), color var(--theme_transition_fast), box-shadow var(--theme_transition_fast);
display: inline-flex;
align-items: center;
gap: 0.35rem;
}
.web3-button:hover {
background: var(--theme_accent_blue_soft);
border-color: var(--theme_border_medium);
color: var(--theme_accent_blue_hover);
}
.web3-button.active {
background: var(--theme_accent_blue_soft);
border-color: var(--theme_accent_blue_border);
color: var(--theme_accent_blue);
box-shadow: var(--theme_shadow_button_ring);
}
.web3-button-group {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin-top: 4px;
}
.web2-table-shell {
overflow-x: auto;
overflow-y: hidden;
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_card);
background: var(--theme_surface_primary);
box-shadow: var(--theme_shadow_table_inset);
}
.web2-table {
width: 100%;
border-collapse: collapse;
font-size: 0.95rem;
letter-spacing: 0.08px;
min-width: 560px;
}
.web2-table thead th {
text-align: left;
padding: 0.8rem 0.55rem;
font-family: var(--theme_font_ui);
font-weight: 600;
color: var(--theme_text_weak);
letter-spacing: var(--theme_letter_caption);
border-bottom: 1px solid var(--theme_border);
background: var(--theme_surface_table_head);
}
.web2-table tbody td {
padding: 0.92rem 0.55rem;
border-bottom: 1px solid var(--theme_border);
}
.web2-table tbody tr:nth-child(odd) {
background: var(--theme_surface_primary);
}
.web2-table tbody tr:nth-child(even) {
background: var(--theme_surface_subtle);
}
.web2-group-row td {
background: var(--theme_surface_subtle);
color: var(--theme_text_primary);
border-bottom: 1px solid var(--theme_border);
padding: 0.7rem 0.55rem;
}
.web2-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
border: 1px solid var(--theme_border);
padding: 0.16rem 0.5rem;
border-radius: var(--theme_radius_pill);
font-family: var(--theme_font_display);
font-size: 0.74rem;
letter-spacing: var(--theme_letter_caption);
color: var(--theme_text_weak);
background: var(--theme_surface_raised);
}
.web2-form-grid {
display: grid;
gap: 0.75rem;
grid-template-columns: repeat(1, minmax(0, 1fr));
}
.web2-field {
display: flex;
flex-direction: column;
gap: 0.32rem;
}
.web2-label {
font-size: 0.82rem;
font-weight: 600;
letter-spacing: 0.1px;
color: var(--theme_text_weak);
}
.web2-input {
width: 100%;
padding: 0.62rem 0.72rem;
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_button);
background: var(--theme_surface_primary);
color: var(--theme_text_primary);
font: inherit;
letter-spacing: var(--theme_letter_body);
transition: border-color var(--theme_transition_fast), box-shadow var(--theme_transition_fast), background var(--theme_transition_fast);
}
.web2-input::placeholder {
color: var(--theme_text_placeholder);
}
.web2-input:hover {
border-color: var(--theme_border_medium);
}
.web2-input:focus-visible {
outline: none;
border-color: var(--theme_border_focus);
box-shadow: var(--theme_shadow_button_ring);
}
.web2-form-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.web2-form-actions-full {
grid-column: 1 / -1;
}
.web2-subcard {
padding: 0.95rem 1rem;
border-radius: var(--theme_radius_card);
border: 1px solid var(--theme_border);
background: var(--theme_surface_raised);
}
.web2-subcard-label {
font-size: 0.72rem;
font-family: var(--theme_font_ui);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--theme_text_weak);
}
.web2-subcard-value {
margin-top: 0.45rem;
font-size: 1.08rem;
font-family: var(--theme_font_display);
font-weight: 400;
color: var(--theme_text_primary);
}
.web2-muted {
color: var(--theme_text_weak);
}
.web2-caption {
font-size: 0.76rem;
letter-spacing: var(--theme_letter_caption);
}
.web2-details-summary {
cursor: pointer;
font-size: 0.86rem;
font-family: var(--theme_font_ui);
font-weight: 600;
color: var(--theme_text_secondary_active);
}
.web2-card-grid {
display: grid;
gap: 1.4rem;
}
.web3-chart-frame {
position: relative;
min-width: 760px;
width: 100%;
}
.web3-chart-canvas {
display: block;
width: 100%;
height: 360px;
background: var(--theme_surface_primary);
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_card);
}
.web3-chart-tooltip {
position: absolute;
left: 0;
top: 0;
opacity: 0;
pointer-events: none;
background: var(--theme_surface_chart_tooltip);
color: var(--theme_text_inverse);
padding: 0.55rem 0.65rem;
border-radius: var(--theme_radius_button);
font-size: 0.75rem;
line-height: 1.35;
min-width: 170px;
box-shadow: var(--theme_shadow_tooltip);
z-index: 20;
transition: opacity 80ms linear;
}
.web3-chart-tooltip.visible {
opacity: 1;
}
.web3-chart-tooltip-title {
font-weight: 700;
color: var(--theme_text_inverse);
margin-bottom: 0.35rem;
}
.web3-chart-tooltip-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.65rem;
}
.web3-chart-tooltip-label {
display: inline-flex;
align-items: center;
color: var(--theme_text_inverse_muted);
}
.web3-chart-tooltip-value {
font-weight: 700;
color: var(--theme_text_inverse);
}
.web3-chart-tooltip-swatch {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 999px;
margin-right: 0.35rem;
}
.web2-footer {
width: 100%;
padding: 0.65rem 1.5rem 1.25rem;
}
.web2-footer-inner {
max-width: 1140px;
margin: 0 auto;
border-top: 1px solid var(--theme_border);
padding-top: 0.75rem;
text-align: center;
font-size: 0.74rem;
font-style: normal;
letter-spacing: var(--theme_letter_caption);
color: var(--theme_text_weak);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.web2-button:focus-visible,
.web3-button:focus-visible,
.web2-link:focus-visible {
outline: var(--theme_focus_outline);
outline-offset: 2px;
}
@media (max-width: 900px) {
.web2-shell {
padding: 1.5rem 1rem 1.25rem;
}
.web2-header {
border-radius: var(--theme_radius_card);
padding: 1.2rem 1rem;
}
.web2-card {
padding: 1.1rem 1rem;
}
.web3-chart-frame {
min-width: 640px;
}
.web2-footer {
padding: 0.5rem 1rem 1rem;
}
.web2-page-title {
font-size: 1.82rem;
}
.web2-page-subtitle {
font-size: 0.9rem;
}
.web2-index-sections {
gap: 1.15rem;
}
.web2-index-featured {
margin-top: 0.75rem;
}
.web2-actions {
width: 100%;
}
.web2-actions .web2-button {
flex: 1 1 auto;
text-align: center;
}
.web2-table {
min-width: 520px;
}
}
@media (min-width: 1500px) {
.web2-shell {
padding-left: 1rem;
padding-right: 1rem;
}
.web2-shell-wide {
max-width: min(1860px, calc(100vw - 1.25rem));
}
}
@media (min-width: 780px) {
.web2-kpi-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.web2-form-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (min-width: 1024px) {
.web2-index-sections {
grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
gap: 1.5rem;
}
.web2-index-featured {
margin-top: 0;
}
}