474 lines
8.0 KiB
CSS
474 lines
8.0 KiB
CSS
:root {
|
|
--ink: #16202b;
|
|
--muted: #607080;
|
|
--line: #d9e1ea;
|
|
--line-strong: #c2ceda;
|
|
--canvas: #f5f7fa;
|
|
--card: #ffffff;
|
|
--accent: #0b63b6;
|
|
--accent-dark: #084b8b;
|
|
--accent-soft: #eaf3fc;
|
|
--danger: #b42318;
|
|
--danger-soft: #fff1ef;
|
|
--success: #217a46;
|
|
--success-soft: #eefaf2;
|
|
--warning: #8a5b00;
|
|
--warning-soft: #fff8e6;
|
|
--shadow: 0 18px 50px rgba(20, 38, 58, 0.08);
|
|
--radius: 16px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html {
|
|
background: var(--canvas);
|
|
color: var(--ink);
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
background:
|
|
radial-gradient(circle at 10% 0%, rgba(11, 99, 182, 0.10), transparent 28rem),
|
|
radial-gradient(circle at 100% 5%, rgba(80, 150, 215, 0.09), transparent 24rem),
|
|
var(--canvas);
|
|
}
|
|
|
|
code {
|
|
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
|
|
font-size: 0.88em;
|
|
background: #edf2f7;
|
|
border: 1px solid #e0e8f0;
|
|
border-radius: 5px;
|
|
padding: 0.08em 0.32em;
|
|
}
|
|
|
|
.page-shell {
|
|
width: min(920px, calc(100% - 40px));
|
|
margin: 0 auto;
|
|
padding: 32px 0 48px;
|
|
}
|
|
|
|
.site-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 54px;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.brand-mark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
background: var(--accent);
|
|
color: #fff;
|
|
font-weight: 800;
|
|
font-size: 20px;
|
|
box-shadow: 0 8px 18px rgba(11, 99, 182, 0.24);
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 18px;
|
|
font-weight: 750;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.header-link {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
padding: 5px 11px;
|
|
background: rgba(255, 255, 255, 0.65);
|
|
}
|
|
|
|
.header-link:hover { color: var(--accent); }
|
|
|
|
.hero {
|
|
max-width: 760px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.hero h1 {
|
|
margin: 0 0 12px;
|
|
font-size: clamp(30px, 5vw, 46px);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.hero p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 16px;
|
|
max-width: 700px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--card);
|
|
border: 1px solid rgba(194, 206, 218, 0.75);
|
|
border-radius: var(--radius);
|
|
box-shadow: var(--shadow);
|
|
padding: 28px;
|
|
}
|
|
|
|
form.card {
|
|
display: grid;
|
|
gap: 22px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.field > label {
|
|
font-weight: 650;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.optional {
|
|
color: var(--muted);
|
|
font-weight: 450;
|
|
font-size: 12px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="url"],
|
|
input[type="password"],
|
|
input[type="number"],
|
|
input[type="search"],
|
|
select {
|
|
width: 100%;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 10px;
|
|
background: #fbfcfe;
|
|
color: var(--ink);
|
|
font: inherit;
|
|
font-size: 15px;
|
|
padding: 12px 13px;
|
|
outline: none;
|
|
transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
|
|
}
|
|
|
|
select { cursor: pointer; }
|
|
|
|
input:disabled,
|
|
select:disabled {
|
|
background: #f1f4f7;
|
|
color: var(--muted);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: var(--accent);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 4px rgba(11, 99, 182, 0.12);
|
|
}
|
|
|
|
input::placeholder { color: #93a1b0; }
|
|
|
|
.hint {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.hint.error { color: var(--danger); }
|
|
|
|
.max-pages-field {
|
|
margin-top: 18px;
|
|
max-width: 240px;
|
|
}
|
|
|
|
.config-notice {
|
|
margin: 0;
|
|
border: 1px solid #f0c7c2;
|
|
border-radius: 12px;
|
|
background: var(--danger-soft);
|
|
color: #7b1c14;
|
|
padding: 12px 14px;
|
|
font-size: 13.5px;
|
|
}
|
|
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
border: 1px solid transparent;
|
|
border-radius: 10px;
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
padding: 11px 17px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.button:active { transform: translateY(1px); }
|
|
|
|
.button-primary {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
box-shadow: 0 8px 20px rgba(11, 99, 182, 0.18);
|
|
}
|
|
|
|
.button-primary:hover { background: var(--accent-dark); }
|
|
|
|
.button-primary:disabled {
|
|
background: #9db8d2;
|
|
cursor: not-allowed;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.button-quiet {
|
|
background: #f2f6fa;
|
|
border-color: var(--line);
|
|
color: #405263;
|
|
}
|
|
|
|
.button-quiet:hover { border-color: var(--line-strong); background: #eaf1f8; }
|
|
|
|
.advanced {
|
|
border-top: 1px solid var(--line);
|
|
padding-top: 18px;
|
|
}
|
|
|
|
.advanced summary {
|
|
cursor: pointer;
|
|
color: var(--muted);
|
|
font-size: 13.5px;
|
|
font-weight: 650;
|
|
user-select: none;
|
|
}
|
|
|
|
.advanced summary:hover { color: var(--accent); }
|
|
|
|
.advanced-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 18px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.checks {
|
|
display: grid;
|
|
gap: 10px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.check {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
color: #334556;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.check input {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--accent);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.button-primary { min-width: 130px; }
|
|
|
|
.actions-note {
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.status-card {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.status-heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
}
|
|
|
|
.status-eyebrow {
|
|
color: var(--accent);
|
|
font-size: 11px;
|
|
font-weight: 750;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
margin-bottom: 3px;
|
|
}
|
|
|
|
.status-heading h2 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 999px;
|
|
background: #edf2f7;
|
|
color: #526476;
|
|
font-size: 11.5px;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.status-card[data-status="running"] .badge {
|
|
background: var(--accent-soft);
|
|
color: var(--accent-dark);
|
|
}
|
|
|
|
.status-card[data-status="done"] .badge {
|
|
background: var(--success-soft);
|
|
color: var(--success);
|
|
}
|
|
|
|
.status-card[data-status="error"] .badge {
|
|
background: var(--danger-soft);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.status-message {
|
|
margin: 14px 0 16px;
|
|
color: #405263;
|
|
}
|
|
|
|
.progress {
|
|
height: 9px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: #e9eef4;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
width: 0;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, #0b63b6, #4b9fe0);
|
|
transition: width 350ms ease;
|
|
}
|
|
|
|
.status-pages {
|
|
min-height: 18px;
|
|
margin-top: 8px;
|
|
color: var(--muted);
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.error-box {
|
|
margin-top: 18px;
|
|
border: 1px solid #f0c7c2;
|
|
border-radius: 12px;
|
|
background: var(--danger-soft);
|
|
color: #7b1c14;
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.error-box strong { font-size: 13.5px; }
|
|
.error-box p { margin: 5px 0 0; font-size: 14px; }
|
|
|
|
.result-box {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
margin-top: 18px;
|
|
border: 1px solid #c5e7d3;
|
|
border-radius: 12px;
|
|
background: var(--success-soft);
|
|
padding: 16px;
|
|
}
|
|
|
|
.result-title {
|
|
color: #175c36;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.result-meta {
|
|
margin-top: 2px;
|
|
color: #3d6b52;
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.warnings {
|
|
margin-top: 16px;
|
|
border-top: 1px solid var(--line);
|
|
padding-top: 14px;
|
|
}
|
|
|
|
.warnings summary {
|
|
color: var(--warning);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.warnings ul {
|
|
margin: 10px 0 0;
|
|
padding-left: 20px;
|
|
color: #5b5140;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.warnings li { margin: 4px 0; overflow-wrap: anywhere; }
|
|
|
|
.site-footer {
|
|
margin-top: 28px;
|
|
color: #7b8896;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.page-shell {
|
|
width: min(100% - 24px, 920px);
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.site-header { margin-bottom: 36px; }
|
|
|
|
.card { padding: 20px; }
|
|
|
|
.advanced-grid { grid-template-columns: 1fr; }
|
|
|
|
.actions {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
|
|
.result-box {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
}
|