39726-vm/assets/css/custom.css
2026-04-19 01:12:47 +00:00

1057 lines
21 KiB
CSS

:root {
--bg: #f5f6f7;
--surface: rgba(255, 255, 255, 0.94);
--surface-alt: #f8fafc;
--surface-strong: #eef2f6;
--border: #d9dde3;
--border-strong: #bcc4cf;
--text: #14171a;
--muted: #5c6672;
--accent: #111111;
--accent-soft: #1f7a4d;
--success: #1f7a4d;
--warning: #8a5a00;
--danger: #b42318;
--body-gradient: radial-gradient(circle at top left, rgba(31, 122, 77, 0.10), transparent 28%),
radial-gradient(circle at top right, rgba(17, 17, 17, 0.06), transparent 22%),
linear-gradient(180deg, #f7f8fa 0%, #f1f4f7 100%);
--nav-bg: rgba(245, 246, 247, 0.82);
--nav-border: rgba(217, 221, 227, 0.82);
--panel-elevated: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(246, 249, 252, 0.97));
--soft-card: rgba(255, 255, 255, 0.7);
--field-bg: #ffffff;
--footer-bg: rgba(245, 246, 247, 0.55);
--overlay-bg: rgba(20, 23, 26, 0.28);
--toast-bg: #111111;
--toast-text: #ffffff;
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 16px;
--radius-xl: 28px;
--shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
--shadow-md: 0 18px 60px rgba(16, 24, 40, 0.08);
}
html[data-theme="dark"] {
color-scheme: dark;
--bg: #0f1418;
--surface: rgba(17, 23, 29, 0.92);
--surface-alt: #141b22;
--surface-strong: #1b2430;
--border: rgba(115, 132, 150, 0.32);
--border-strong: rgba(129, 149, 170, 0.48);
--text: #eef2f6;
--muted: #a5b1bd;
--accent: #f5f7fa;
--accent-soft: #4ecb86;
--success: #4ecb86;
--warning: #ffca6b;
--danger: #ff8c82;
--body-gradient: radial-gradient(circle at top left, rgba(78, 203, 134, 0.13), transparent 24%),
radial-gradient(circle at top right, rgba(92, 136, 255, 0.12), transparent 24%),
linear-gradient(180deg, #0c1115 0%, #111821 100%);
--nav-bg: rgba(10, 14, 18, 0.76);
--nav-border: rgba(115, 132, 150, 0.28);
--panel-elevated: linear-gradient(180deg, rgba(20, 27, 34, 0.98), rgba(12, 17, 22, 0.98));
--soft-card: rgba(20, 27, 34, 0.78);
--field-bg: #0f151b;
--footer-bg: rgba(10, 14, 18, 0.62);
--overlay-bg: rgba(5, 7, 10, 0.56);
--toast-bg: #edf2f7;
--toast-text: #111111;
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22);
--shadow-md: 0 20px 60px rgba(0, 0, 0, 0.35);
}
html {
scroll-behavior: smooth;
}
body {
position: relative;
background: var(--body-gradient);
color: var(--text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
min-height: 100vh;
}
main,
footer,
nav,
section,
aside,
article {
position: relative;
z-index: 1;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: inherit;
}
.page-orb {
position: fixed;
width: 20rem;
height: 20rem;
border-radius: 50%;
filter: blur(10px);
opacity: 0.45;
pointer-events: none;
z-index: 0;
}
.orb-left {
top: 5rem;
left: -7rem;
background: radial-gradient(circle, rgba(31, 122, 77, 0.18) 0%, rgba(31, 122, 77, 0) 70%);
}
.orb-right {
top: 11rem;
right: -7rem;
background: radial-gradient(circle, rgba(17, 17, 17, 0.12) 0%, rgba(17, 17, 17, 0) 72%);
}
.app-nav {
background: var(--nav-bg);
border-bottom: 1px solid var(--nav-border);
backdrop-filter: blur(18px);
}
.navbar-brand {
color: var(--text);
font-weight: 800;
letter-spacing: -0.03em;
}
.brand-mark {
width: 2.25rem;
height: 2.25rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 12px;
background: linear-gradient(145deg, #111111, #2b3138);
color: #ffffff;
font-size: 0.84rem;
font-weight: 800;
box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}
.nav-actions .nav-link {
color: var(--muted);
transition: color 0.2s ease, transform 0.2s ease;
}
.nav-actions .nav-link:hover,
.nav-actions .nav-link:focus-visible {
color: var(--text);
transform: translateY(-1px);
}
.nav-link-pill {
padding: 0.55rem 0.8rem !important;
border-radius: 999px;
border: 1px solid var(--border);
background: var(--soft-card);
}
.hero-shell,
.app-card,
.hero-panel,
.info-card {
background: var(--surface);
border: 1px solid rgba(217, 221, 227, 0.92);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
backdrop-filter: blur(12px);
}
.hero-shell {
padding: 0.35rem;
box-shadow: var(--shadow-md);
}
.hero-panel,
.app-card,
.info-card {
padding: 1.5rem;
}
.app-card-highlight {
background: var(--panel-elevated);
box-shadow: var(--shadow-md);
}
.hero-panel {
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
overflow: hidden;
}
.hero-copy-block {
max-width: 42rem;
}
.eyebrow {
display: inline-flex;
align-items: center;
gap: 0.375rem;
text-transform: uppercase;
letter-spacing: 0.12em;
font-size: 0.75rem;
font-weight: 700;
color: var(--muted);
margin-bottom: 1rem;
}
h1,
.detail-title {
font-size: clamp(2.25rem, 4vw, 4rem);
line-height: 0.98;
letter-spacing: -0.055em;
margin-bottom: 1rem;
font-weight: 800;
}
.hero-copy {
color: var(--muted);
max-width: 44rem;
margin-bottom: 0;
font-size: 1.02rem;
line-height: 1.7;
}
.hero-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.hero-points {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.9rem;
}
.hero-points-tight {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.point-card,
.stat-card,
.detail-item,
.download-panel,
.flow-card,
.dropzone-label,
.status-summary {
background: var(--surface-alt);
border: 1px solid var(--border);
border-radius: var(--radius-md);
}
.point-card,
.stat-card,
.detail-item,
.flow-card,
.download-panel,
.status-summary {
padding: 1rem;
}
.point-card-accent {
background: linear-gradient(180deg, rgba(31, 122, 77, 0.08), rgba(255, 255, 255, 0.95));
}
.point-label,
.stat-label,
.section-subtitle,
.form-help,
.mini-note,
.stat-note,
.meta-list dt,
.detail-item span,
.point-copy,
.form-help-label,
.status-summary-label,
.footer-copy {
color: var(--muted);
font-size: 0.92rem;
}
.point-value,
.stat-value,
.detail-item strong,
.form-help-value,
.status-summary-title,
.footer-title {
font-size: 1rem;
font-weight: 700;
color: var(--text);
}
.point-copy {
margin-top: 0.45rem;
line-height: 1.55;
}
.trust-strip {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
}
.trust-pill {
display: inline-flex;
align-items: center;
padding: 0.5rem 0.75rem;
border-radius: 999px;
background: rgba(255, 255, 255, 0.7);
border: 1px solid rgba(188, 196, 207, 0.85);
font-size: 0.86rem;
color: var(--muted);
}
.metrics-grid,
.workflow-grid,
.info-strip {
display: grid;
gap: 1rem;
}
.metrics-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.info-strip {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.workflow-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.workflow-grid-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-card p,
.flow-card p {
color: var(--muted);
line-height: 1.65;
}
.stat-value {
font-size: 1.9rem;
letter-spacing: -0.05em;
margin: 0.3rem 0;
}
.stat-value-sm {
font-size: 1.2rem;
letter-spacing: -0.03em;
}
.section-title {
font-size: 1.15rem;
letter-spacing: -0.03em;
font-weight: 700;
}
.card-header-row {
display: flex;
gap: 1rem;
justify-content: space-between;
align-items: flex-start;
}
.status-chip {
display: inline-flex;
align-items: center;
padding: 0.45rem 0.75rem;
border-radius: 999px;
font-size: 0.82rem;
border: 1px solid var(--border);
background: var(--soft-card);
white-space: nowrap;
font-weight: 600;
}
.status-chip.ready {
color: var(--success);
border-color: rgba(31, 122, 77, 0.25);
background: rgba(31, 122, 77, 0.06);
}
.status-chip.offline {
color: var(--warning);
border-color: rgba(138, 90, 0, 0.22);
background: rgba(138, 90, 0, 0.06);
}
.form-control,
.btn,
.table,
.alert,
.badge,
.toast,
.selected-file {
border-radius: var(--radius-sm) !important;
}
.dropzone-label {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.75rem;
min-height: 17rem;
padding: 1.5rem;
border-style: dashed;
text-align: center;
cursor: pointer;
transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.dropzone-label:hover,
.dropzone-label:focus,
.dropzone-label:focus-within {
border-color: var(--accent-soft);
transform: translateY(-1px);
background: linear-gradient(180deg, rgba(31, 122, 77, 0.05), rgba(255, 255, 255, 0.9));
box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
outline: none;
}
.dropzone-label.is-dragging,
.dropzone-label.is-has-file {
border-color: var(--accent-soft);
}
.dropzone-label.is-dragging {
transform: translateY(-2px) scale(1.01);
background: linear-gradient(180deg, rgba(31, 122, 77, 0.12), rgba(255, 255, 255, 0.94));
box-shadow: 0 22px 44px rgba(31, 122, 77, 0.14);
}
.dropzone-label.is-has-file {
background: linear-gradient(180deg, rgba(31, 122, 77, 0.08), rgba(255, 255, 255, 0.94));
}
.dropzone-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.42rem 0.72rem;
border-radius: 999px;
border: 1px solid rgba(31, 122, 77, 0.16);
background: rgba(31, 122, 77, 0.08);
color: var(--text);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.02em;
}
.dropzone-icon {
width: 3.4rem;
height: 3.4rem;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 20px;
background: linear-gradient(145deg, rgba(17, 17, 17, 0.94), rgba(43, 49, 56, 0.94));
color: #ffffff;
font-size: 1.4rem;
box-shadow: 0 12px 24px rgba(17, 17, 17, 0.14);
}
.dropzone-copy {
display: grid;
gap: 0.25rem;
max-width: 24rem;
line-height: 1.55;
}
.dropzone-title {
font-weight: 700;
font-size: 1.05rem;
}
.dropzone-meta,
.dropzone-subtitle {
color: var(--muted);
font-size: 0.92rem;
}
.dropzone-meta {
max-width: 24rem;
}
.dropzone-label .form-control {
position: absolute;
inset: 0;
opacity: 0;
cursor: pointer;
}
.form-control {
border-color: var(--border-strong);
padding: 0.85rem 1rem;
box-shadow: none !important;
}
.form-control:focus {
border-color: #111111;
}
.selected-file {
border: 1px dashed var(--border-strong);
background: var(--field-bg);
color: var(--text);
padding: 0.95rem 1rem;
font-size: 0.94rem;
}
.selected-file-name {
display: block;
font-weight: 700;
}
.selected-file-meta {
display: block;
color: var(--muted);
margin-top: 0.2rem;
}
.form-help-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
}
.form-help-grid > div {
background: var(--surface-alt);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 0.85rem 0.9rem;
}
.form-help-label {
display: block;
margin-bottom: 0.15rem;
}
.btn {
padding: 0.82rem 1.05rem;
font-weight: 700;
border-width: 1px;
box-shadow: none !important;
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover,
.btn:focus-visible {
transform: translateY(-1px);
}
.btn-dark {
background: linear-gradient(135deg, #111111, #2a3138);
border-color: #111111;
}
.btn-soft {
background: var(--soft-card);
border: 1px solid var(--border-strong);
color: var(--text);
}
.btn-soft:hover,
.btn-soft:focus-visible {
background: var(--field-bg);
border-color: var(--accent-soft);
}
.btn-outline-dark {
border-color: var(--border-strong);
}
.mini-note {
border-top: 1px solid var(--border);
padding-top: 1rem;
}
.mini-note-title {
color: var(--text);
font-weight: 700;
margin-bottom: 0.5rem;
}
.mini-steps li + li {
margin-top: 0.35rem;
}
.app-table thead th {
color: var(--muted);
font-size: 0.82rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
border-bottom-color: var(--border);
padding-top: 0;
}
.app-table td,
.app-table th {
padding: 1rem 0.85rem;
border-color: var(--border);
vertical-align: middle;
}
.file-name-cell {
max-width: 16rem;
}
.empty-state {
padding: 1.6rem;
border: 1px dashed var(--border-strong);
background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.96));
border-radius: var(--radius-md);
text-align: center;
}
.empty-state h3 {
font-size: 1.15rem;
margin-bottom: 0.4rem;
}
.detail-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.85rem;
}
.download-panel {
background: linear-gradient(180deg, rgba(31, 122, 77, 0.07), rgba(255, 255, 255, 0.97));
}
.download-panel-copy p {
color: var(--muted);
}
.detail-badge {
font-size: 0.9rem;
padding: 0.55rem 0.75rem;
}
.meta-list {
display: grid;
gap: 1rem;
}
.meta-list dt {
margin-bottom: 0.25rem;
}
.meta-list dd {
margin: 0;
font-weight: 500;
word-break: break-word;
}
.status-summary {
min-height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.55rem;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}
.status-summary-title {
font-size: 1.35rem;
letter-spacing: -0.04em;
}
.status-summary-completed {
border-color: rgba(31, 122, 77, 0.24);
background: linear-gradient(180deg, rgba(31, 122, 77, 0.08), rgba(255, 255, 255, 0.96));
}
.status-summary-failed {
border-color: rgba(180, 35, 24, 0.18);
background: linear-gradient(180deg, rgba(180, 35, 24, 0.05), rgba(255, 255, 255, 0.96));
}
.status-summary-processing {
border-color: rgba(138, 90, 0, 0.2);
background: linear-gradient(180deg, rgba(138, 90, 0, 0.06), rgba(255, 255, 255, 0.96));
}
.flow-card {
min-height: 100%;
}
.flow-step {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.2rem;
height: 2.2rem;
border-radius: 999px;
background: #111111;
color: #ffffff;
font-size: 0.86rem;
font-weight: 700;
margin-bottom: 1rem;
}
.app-alert {
border-color: transparent;
}
.app-alert-block {
border-radius: var(--radius-md);
}
.loading-overlay {
position: fixed;
inset: 0;
background: var(--overlay-bg);
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
z-index: 1080;
}
.loading-card {
background: var(--field-bg);
border: 1px solid var(--border);
border-radius: var(--radius-md);
padding: 1.5rem;
width: min(100%, 24rem);
text-align: center;
}
.loading-card h2 {
font-size: 1.1rem;
margin: 1rem 0 0.5rem;
letter-spacing: -0.03em;
}
.toast {
background: var(--toast-bg);
color: var(--toast-text);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.app-footer {
border-top: 1px solid var(--nav-border);
background: var(--footer-bg);
backdrop-filter: blur(10px);
}
.footer-title {
font-size: 1rem;
margin-bottom: 0.2rem;
}
.footer-links a {
color: var(--muted);
}
.footer-links a:hover,
.footer-links a:focus-visible {
color: var(--text);
}
@media (max-width: 1199.98px) {
.metrics-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-strip,
.workflow-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 991.98px) {
.hero-points,
.hero-points-tight,
.detail-grid,
.form-help-grid,
.workflow-grid-2 {
grid-template-columns: 1fr;
}
.page-orb {
display: none;
}
}
@media (max-width: 767.98px) {
.hero-panel,
.app-card,
.info-card {
padding: 1.125rem;
}
.card-header-row,
.hero-actions {
flex-direction: column;
align-items: flex-start;
}
.metrics-grid {
grid-template-columns: 1fr;
}
.app-table td,
.app-table th {
white-space: nowrap;
}
h1,
.detail-title {
font-size: clamp(2rem, 8vw, 2.8rem);
}
}
.theme-toggle {
display: inline-flex;
align-items: center;
gap: 0.45rem;
}
.theme-toggle-icon {
font-size: 0.95rem;
line-height: 1;
}
.selected-file-warning {
border-color: rgba(180, 35, 24, 0.45);
background: linear-gradient(180deg, rgba(180, 35, 24, 0.08), var(--field-bg));
}
html[data-theme="dark"] .brand-mark,
html[data-theme="dark"] .dropzone-icon,
html[data-theme="dark"] .btn-dark,
html[data-theme="dark"] .flow-step {
background: linear-gradient(145deg, #eef2f6, #b8c4d0);
color: #111111;
border-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .dropzone-label:hover,
html[data-theme="dark"] .dropzone-label:focus,
html[data-theme="dark"] .dropzone-label:focus-within {
background: linear-gradient(180deg, rgba(78, 203, 134, 0.08), rgba(20, 27, 34, 0.92));
}
html[data-theme="dark"] .dropzone-label.is-dragging {
background: linear-gradient(180deg, rgba(78, 203, 134, 0.15), rgba(20, 27, 34, 0.96));
box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}
html[data-theme="dark"] .dropzone-label.is-has-file {
background: linear-gradient(180deg, rgba(78, 203, 134, 0.11), rgba(20, 27, 34, 0.94));
}
html[data-theme="dark"] .dropzone-badge {
background: rgba(78, 203, 134, 0.16);
border-color: rgba(78, 203, 134, 0.26);
}
html[data-theme="dark"] .download-panel {
background: linear-gradient(180deg, rgba(78, 203, 134, 0.09), rgba(17, 23, 29, 0.96));
}
html[data-theme="dark"] .empty-state {
background: linear-gradient(180deg, rgba(20, 27, 34, 0.95), rgba(13, 18, 24, 0.98));
}
html[data-theme="dark"] .status-summary {
background: linear-gradient(180deg, rgba(20, 27, 34, 0.98), rgba(12, 17, 22, 0.96));
}
html[data-theme="dark"] .status-summary-completed {
background: linear-gradient(180deg, rgba(78, 203, 134, 0.10), rgba(17, 23, 29, 0.96));
}
html[data-theme="dark"] .status-summary-failed {
background: linear-gradient(180deg, rgba(255, 140, 130, 0.09), rgba(17, 23, 29, 0.96));
}
html[data-theme="dark"] .status-summary-processing {
background: linear-gradient(180deg, rgba(255, 202, 107, 0.09), rgba(17, 23, 29, 0.96));
}
html[data-theme="dark"] .form-control {
background: var(--field-bg);
color: var(--text);
}
html[data-theme="dark"] .form-control::file-selector-button {
background: rgba(255, 255, 255, 0.08);
color: var(--text);
border: 0;
}
html[data-theme="dark"] .table {
--bs-table-bg: transparent;
--bs-table-color: var(--text);
--bs-table-border-color: var(--border);
--bs-table-striped-bg: rgba(255, 255, 255, 0.02);
--bs-table-hover-bg: rgba(255, 255, 255, 0.03);
}
html[data-theme="dark"] .btn-outline-dark {
color: var(--text);
border-color: var(--border-strong);
}
html[data-theme="dark"] .btn-outline-dark:hover,
html[data-theme="dark"] .btn-outline-dark:focus-visible {
background: rgba(255, 255, 255, 0.08);
color: var(--text);
}
html[data-theme="dark"] .toast .btn-close {
filter: invert(1);
}
.tool-grid,
.recent-job-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}
.tool-card,
.recent-job-card {
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.tool-card-accent {
background: var(--panel-elevated);
}
.tool-card-header,
.recent-job-head,
.card-header-row {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1rem;
}
.tool-card-title {
font-size: 1.25rem;
line-height: 1.2;
letter-spacing: -0.03em;
margin: 0;
font-weight: 700;
}
.field-stack {
display: grid;
gap: 1.25rem;
}
.option-panel {
padding: 1rem;
border: 1px solid var(--border);
border-radius: var(--radius-md);
background: var(--surface-alt);
}
.compact-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.status-pill {
display: inline-flex;
align-items: center;
justify-content: center;
white-space: nowrap;
padding: 0.45rem 0.75rem;
border-radius: 999px;
font-size: 0.78rem;
font-weight: 700;
border: 1px solid var(--border);
background: var(--surface-alt);
}
.status-pill-success {
color: var(--success);
}
.status-pill-warning {
color: var(--warning);
}
.status-pill-danger {
color: var(--danger);
}
.empty-state-card {
text-align: center;
padding: 2rem;
}
.loading-card {
width: min(26rem, calc(100vw - 2rem));
padding: 1.5rem;
border-radius: var(--radius-lg);
background: rgba(15, 20, 24, 0.92);
color: #fff;
text-align: center;
box-shadow: var(--shadow-md);
}
.loading-overlay {
position: fixed;
inset: 0;
z-index: 1060;
display: flex;
align-items: center;
justify-content: center;
background: var(--overlay-bg);
backdrop-filter: blur(8px);
}
#appToast {
background: var(--toast-bg);
color: var(--toast-text);
box-shadow: var(--shadow-md);
}
html[data-theme="dark"] #appToast .btn-close {
filter: invert(1);
}
@media (max-width: 767.98px) {
.tool-card-header,
.recent-job-head,
.card-header-row {
flex-direction: column;
}
.compact-grid {
grid-template-columns: 1fr;
}
}