Files
vctp2/dist/assets/css/web3.css
T
nathan 98e92a8264
continuous-integration/drone/push Build is passing
updated UI
2026-04-17 15:21:27 +10:00

614 lines
13 KiB
CSS

:root {
--theme_text_primary: #181d26;
--theme_text_weak: rgba(4, 14, 32, 0.69);
--theme_text_inverse: rgba(249, 252, 255, 0.97);
--theme_text_secondary_active: rgba(7, 12, 20, 0.82);
--theme_accent_blue: #1b61c9;
--theme_accent_blue_hover: #164fa6;
--theme_accent_blue_soft: #e8f0fc;
--theme_success_text: #006400;
--theme_surface_primary: #ffffff;
--theme_surface_subtle: #f8fafc;
--theme_surface_shell: #fdfefe;
--theme_surface_section: #fbfdff;
--theme_border: #e0e2e6;
--theme_shadow_card: rgba(0, 0, 0, 0.32) 0 0 1px, rgba(0, 0, 0, 0.08) 0 0 2px, rgba(45, 127, 249, 0.28) 0 1px 3px, rgba(0, 0, 0, 0.06) 0 0 0 0.5px inset;
--theme_shadow_soft: rgba(15, 48, 106, 0.05) 0 0 20px;
--theme_shadow_button: rgba(45, 127, 249, 0.28) 0 1px 3px;
--theme_radius_button: 12px;
--theme_radius_card: 16px;
--theme_radius_section: 24px;
--theme_radius_large: 32px;
--theme_font_body: "Haas", "Neue Haas Grotesk Text Pro", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--theme_font_display: "Haas Groot Disp", "Haas", "Neue Haas Grotesk Display Pro", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
--theme_font_code: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
--theme_letter_body: 0.12px;
--theme_letter_caption: 0.2px;
--theme_letter_button: 0.08px;
--theme_transition_fast: 150ms ease;
--theme_transition_base: 220ms 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:
radial-gradient(circle at 8% 4%, rgba(27, 97, 201, 0.08) 0, rgba(27, 97, 201, 0) 30%),
radial-gradient(circle at 90% 12%, rgba(37, 79, 173, 0.08) 0, rgba(37, 79, 173, 0) 28%),
var(--theme_surface_shell);
}
.web2-shell {
max-width: 1140px;
margin: 0 auto;
padding: 2.5rem 1.5rem 2.25rem;
}
.web2-shell-wide {
max-width: 1420px;
}
.web2-page-head {
display: flex;
flex-direction: column;
gap: 1rem;
}
.web2-page-head-row {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 1rem;
}
.web2-head-copy {
max-width: 72ch;
}
.web2-page-title {
margin-top: 0.6rem;
font-family: var(--theme_font_display);
font-size: clamp(1.95rem, 1.2rem + 1.9vw, 2.65rem);
line-height: 1.15;
letter-spacing: 0.06px;
}
.web2-page-subtitle {
margin-top: 0.45rem;
font-size: 0.96rem;
line-height: 1.45;
color: var(--theme_text_weak);
}
.web2-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
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.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.22em;
color: var(--theme_text_weak);
}
.web2-kpi-value {
margin-top: 0.55rem;
font-size: 1.3rem;
font-weight: 600;
line-height: 1.2;
color: var(--theme_text_primary);
}
.web2-note {
padding: 0.78rem 0.92rem;
border-radius: var(--theme_radius_button);
border: 1px solid rgba(27, 97, 201, 0.28);
background: rgba(27, 97, 201, 0.08);
color: var(--theme_text_secondary_active);
font-size: 0.89rem;
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);
}
.web2-card h2 {
position: relative;
padding-left: 0.9rem;
font-size: 1.1rem;
font-family: var(--theme_font_display);
font-weight: 600;
letter-spacing: var(--theme_letter_button);
color: var(--theme_text_primary);
}
.web2-card h2::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: 0 0 0 1px rgba(27, 97, 201, 0.22);
}
.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.28rem 0.72rem;
border-radius: var(--theme_radius_button);
font-size: 0.82rem;
font-weight: 500;
letter-spacing: 0.24px;
}
.web2-code {
font-family: var(--theme_font_code);
background: rgba(27, 97, 201, 0.07);
border: 1px solid var(--theme_border);
border-radius: 8px;
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: 600;
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;
}
.web2-button {
background: var(--theme_accent_blue);
color: var(--theme_text_inverse);
padding: 0.56rem 1rem;
border-radius: var(--theme_radius_button);
border: 1px solid rgba(22, 79, 166, 0.95);
box-shadow: var(--theme_shadow_button);
font-weight: 600;
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);
border-color: var(--theme_accent_blue_hover);
box-shadow: rgba(37, 79, 173, 0.32) 0 3px 7px;
transform: translateY(-1px);
}
.web2-button.secondary {
background: var(--theme_surface_primary);
color: var(--theme_text_secondary_active);
border-color: var(--theme_border);
box-shadow: none;
}
.web2-button.secondary:hover {
background: var(--theme_surface_subtle);
border-color: #c7cdd6;
color: var(--theme_text_primary);
transform: none;
}
.web2-button-group {
display: flex;
flex-wrap: wrap;
}
.web2-button-group .web2-button {
margin: 0 0.5rem 0.5rem 0;
}
.web3-button {
background: var(--theme_surface_subtle);
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-weight: 600;
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: #edf2fa;
border-color: #c8d2e1;
}
.web3-button.active {
background: var(--theme_accent_blue_soft);
border-color: rgba(27, 97, 201, 0.45);
color: var(--theme_accent_blue);
box-shadow: rgba(45, 127, 249, 0.28) 0 0 0 2px;
}
.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);
}
.web2-list li {
background: var(--theme_surface_primary);
border: 1px solid var(--theme_border);
border-radius: var(--theme_radius_card);
padding: 0.75rem 1rem;
box-shadow: var(--theme_shadow_card);
}
.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-weight: 700;
color: var(--theme_text_weak);
letter-spacing: var(--theme_letter_caption);
border-bottom: 1px solid var(--theme_border);
background: rgba(248, 250, 252, 0.95);
}
.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_subtle);
}
.web2-table tbody tr:nth-child(even) {
background: var(--theme_surface_primary);
}
.web2-group-row td {
background: #eaf1fb;
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_button);
font-size: 0.8rem;
letter-spacing: var(--theme_letter_caption);
color: var(--theme_text_weak);
background: var(--theme_surface_subtle);
}
.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: rgba(4, 14, 32, 0.46);
}
.web2-input:hover {
border-color: #c9d0db;
}
.web2-input:focus-visible {
outline: none;
border-color: rgba(27, 97, 201, 0.8);
box-shadow: rgba(45, 127, 249, 0.26) 0 0 0 3px;
}
.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: linear-gradient(180deg, rgba(255, 255, 255, 1) 0, rgba(248, 250, 252, 0.75) 100%);
}
.web2-subcard-label {
font-size: 0.72rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.2em;
color: var(--theme_text_weak);
}
.web2-subcard-value {
margin-top: 0.45rem;
font-size: 1rem;
font-weight: 600;
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-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: rgba(24, 29, 38, 0.97);
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: 0 10px 30px rgba(2, 6, 23, 0.25);
z-index: 20;
transition: opacity 80ms linear;
}
.web3-chart-tooltip.visible {
opacity: 1;
}
.web3-chart-tooltip-title {
font-weight: 700;
color: #e2e8f0;
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: #cbd5e1;
}
.web3-chart-tooltip-value {
font-weight: 700;
color: #f8fafc;
}
.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: italic;
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: 2px solid rgba(27, 97, 201, 0.7);
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-actions {
width: 100%;
}
.web2-actions .web2-button {
flex: 1 1 auto;
text-align: center;
}
.web2-table {
min-width: 520px;
}
}
@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));
}
}