- Implement job logging functionality to track progress and events for each job. - Add a new section in the job card to display session logs with detailed entries. - Update job statistics to include pages fetched, pages found, and assets processed. - Modify the UI theme and text for better clarity and aesthetics. - Adjust tests to validate new logging features and ensure proper event handling.
1407 lines
22 KiB
CSS
1407 lines
22 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--canvas: #171717;
|
|
--panel: #1d1d1d;
|
|
--panel-deep: #121212;
|
|
--panel-hover: #222222;
|
|
--ink: #e7e7e2;
|
|
--ink-soft: #c5c5be;
|
|
--muted: #898983;
|
|
--quiet: #60605d;
|
|
--line: #2c2c2a;
|
|
--line-strong: #3a3a37;
|
|
--blue: #89b4fa;
|
|
--green: #82c99b;
|
|
--yellow: #e3bd73;
|
|
--pink: #d99bd1;
|
|
--red: #ec9a91;
|
|
--mono: "Geist Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
|
|
--sans: "Geist", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
|
|
font-family: var(--sans);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
min-width: 320px;
|
|
background: var(--canvas);
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
color: var(--ink);
|
|
background: var(--canvas);
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
button:focus-visible,
|
|
input:focus-visible,
|
|
summary:focus-visible,
|
|
a:focus-visible {
|
|
outline: 1px solid var(--blue);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
z-index: 20;
|
|
top: 10px;
|
|
left: 10px;
|
|
padding: 8px 10px;
|
|
border: 1px solid var(--blue);
|
|
color: var(--ink);
|
|
background: var(--panel-deep);
|
|
font: 0.68rem var(--mono);
|
|
text-decoration: none;
|
|
transform: translateY(-180%);
|
|
transition: transform 120ms ease;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.site-shell {
|
|
width: min(1120px, calc(100% - 56px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.site-header {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 1fr) auto minmax(250px, 1fr);
|
|
align-items: center;
|
|
gap: 20px;
|
|
min-height: 42px;
|
|
color: var(--muted);
|
|
font: 0.58rem var(--mono);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-self: start;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-mark {
|
|
position: relative;
|
|
display: block;
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 1px solid var(--ink-soft);
|
|
}
|
|
|
|
.brand-mark::before,
|
|
.brand-mark::after {
|
|
position: absolute;
|
|
content: "";
|
|
}
|
|
|
|
.brand-mark::before {
|
|
top: 2px;
|
|
right: 2px;
|
|
width: 3px;
|
|
height: 3px;
|
|
background: var(--blue);
|
|
}
|
|
|
|
.brand-mark::after {
|
|
bottom: 2px;
|
|
left: 2px;
|
|
width: 3px;
|
|
height: 3px;
|
|
background: var(--green);
|
|
}
|
|
|
|
.brand-copy {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 7px;
|
|
}
|
|
|
|
.brand-copy strong {
|
|
color: var(--ink-soft);
|
|
font: 600 0.63rem var(--mono);
|
|
}
|
|
|
|
.brand-copy span {
|
|
color: var(--quiet);
|
|
font-size: 0.54rem;
|
|
}
|
|
|
|
.site-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
}
|
|
|
|
.site-nav a,
|
|
.source-link {
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
transition: color 120ms ease;
|
|
}
|
|
|
|
.site-nav a::before {
|
|
margin-right: 4px;
|
|
color: var(--quiet);
|
|
content: "/";
|
|
}
|
|
|
|
.site-nav a:hover,
|
|
.source-link:hover {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.header-tools {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 14px;
|
|
}
|
|
|
|
.source-link {
|
|
color: var(--ink-soft);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.source-link::before {
|
|
margin-right: 4px;
|
|
color: var(--green);
|
|
content: "<>";
|
|
}
|
|
|
|
.service-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--quiet);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.service-status > i,
|
|
.pulse-dot {
|
|
display: inline-block;
|
|
flex: 0 0 auto;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--green);
|
|
}
|
|
|
|
.service-status[data-online="false"] > i {
|
|
background: var(--red);
|
|
}
|
|
|
|
main {
|
|
padding: 38px 0 66px;
|
|
}
|
|
|
|
.workbench {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(310px, 0.48fr);
|
|
gap: 34px;
|
|
padding: 0 0 30px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.observatory,
|
|
.capture-console {
|
|
min-width: 0;
|
|
}
|
|
|
|
.observatory {
|
|
padding: 10px 0 0;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 13px;
|
|
color: var(--yellow);
|
|
font: 0.58rem var(--mono);
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
color: var(--ink);
|
|
}
|
|
|
|
h1 {
|
|
margin-bottom: 18px;
|
|
font: 500 clamp(2rem, 4vw, 3.1rem) / 1.15 var(--mono);
|
|
letter-spacing: 0.12em;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
h1 em {
|
|
color: var(--blue);
|
|
font-style: normal;
|
|
}
|
|
|
|
h2 {
|
|
margin-bottom: 0;
|
|
font: 600 1rem / 1.2 var(--mono);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
h3 {
|
|
margin-bottom: 6px;
|
|
font: 600 0.77rem / 1.35 var(--mono);
|
|
}
|
|
|
|
.lede {
|
|
max-width: 540px;
|
|
margin-bottom: 0;
|
|
color: var(--muted);
|
|
font-size: 0.78rem;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.metric-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
margin: 30px 0 24px;
|
|
border-top: 1px solid var(--line);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.metric-card {
|
|
min-width: 0;
|
|
padding: 13px 11px;
|
|
}
|
|
|
|
.metric-card + .metric-card {
|
|
border-left: 1px solid var(--line);
|
|
}
|
|
|
|
.metric-value,
|
|
.metric-label {
|
|
display: block;
|
|
}
|
|
|
|
.metric-value {
|
|
overflow: hidden;
|
|
color: var(--ink-soft);
|
|
font: 600 clamp(1rem, 1.7vw, 1.35rem) / 1 var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metric-card.metric-primary .metric-value {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.metric-label {
|
|
margin-top: 7px;
|
|
color: var(--quiet);
|
|
font: 0.54rem var(--mono);
|
|
letter-spacing: 0.03em;
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.observatory-foot {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 8px;
|
|
max-width: 570px;
|
|
color: var(--quiet);
|
|
}
|
|
|
|
.observatory-foot .pulse-dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
margin-top: 4px;
|
|
background: var(--green);
|
|
}
|
|
|
|
.observatory-foot p {
|
|
margin: 0;
|
|
font-size: 0.65rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.capture-console {
|
|
align-self: start;
|
|
padding: 18px;
|
|
border: 1px solid var(--line-strong);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.console-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
margin-bottom: 23px;
|
|
padding-bottom: 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.console-head .eyebrow {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.console-step {
|
|
color: var(--quiet);
|
|
font: 0.56rem var(--mono);
|
|
}
|
|
|
|
.field-label,
|
|
.limit-grid label > span,
|
|
.text-rule > span {
|
|
display: block;
|
|
margin-bottom: 7px;
|
|
color: var(--ink-soft);
|
|
font-size: 0.66rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.url-input-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 1px solid var(--line-strong);
|
|
background: var(--panel-deep);
|
|
transition: border-color 120ms ease;
|
|
}
|
|
|
|
.url-input-wrap:focus-within {
|
|
border-color: var(--blue);
|
|
}
|
|
|
|
.url-input-wrap > span {
|
|
padding-left: 11px;
|
|
color: var(--green);
|
|
font: 0.76rem var(--mono);
|
|
}
|
|
|
|
.url-input-wrap input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
padding: 12px 11px;
|
|
border: 0;
|
|
outline: 0;
|
|
color: var(--ink);
|
|
background: transparent;
|
|
font: 0.75rem var(--mono);
|
|
}
|
|
|
|
.url-input-wrap input::placeholder,
|
|
.text-rule input::placeholder {
|
|
color: var(--quiet);
|
|
}
|
|
|
|
.quick-settings {
|
|
display: grid;
|
|
gap: 7px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.switch-row,
|
|
.connection-control {
|
|
border: 1px solid var(--line);
|
|
background: var(--panel-deep);
|
|
}
|
|
|
|
.switch-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
min-height: 64px;
|
|
padding: 11px 12px;
|
|
}
|
|
|
|
.switch-row strong,
|
|
.switch-row small,
|
|
.connection-control strong,
|
|
.connection-control small {
|
|
display: block;
|
|
}
|
|
|
|
.switch-row strong,
|
|
.connection-control strong {
|
|
margin-bottom: 3px;
|
|
color: var(--ink-soft);
|
|
font: 500 0.69rem var(--mono);
|
|
}
|
|
|
|
.switch-row small,
|
|
.connection-control small {
|
|
max-width: 245px;
|
|
color: var(--quiet);
|
|
font-size: 0.6rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.switch {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.switch input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
}
|
|
|
|
.switch > span {
|
|
position: relative;
|
|
display: block;
|
|
width: 32px;
|
|
height: 17px;
|
|
border: 1px solid var(--line-strong);
|
|
background: #282826;
|
|
transition: border-color 120ms ease, background 120ms ease;
|
|
}
|
|
|
|
.switch > span::after {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 9px;
|
|
height: 9px;
|
|
background: var(--muted);
|
|
content: "";
|
|
transition: transform 120ms ease, background 120ms ease;
|
|
}
|
|
|
|
.switch input:checked + span {
|
|
border-color: var(--green);
|
|
background: #1e3427;
|
|
}
|
|
|
|
.switch input:checked + span::after {
|
|
transform: translateX(13px);
|
|
background: var(--green);
|
|
}
|
|
|
|
.switch input:disabled + span {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.connection-control {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 10px 12px;
|
|
padding: 11px 12px;
|
|
}
|
|
|
|
.connection-value {
|
|
align-self: center;
|
|
color: var(--quiet);
|
|
font: 0.58rem var(--mono);
|
|
}
|
|
|
|
.connection-value output {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.connection-control input[type="range"] {
|
|
width: 100%;
|
|
height: 3px;
|
|
grid-column: 1 / -1;
|
|
margin: 1px 0 0;
|
|
accent-color: var(--blue);
|
|
}
|
|
|
|
.advanced-settings {
|
|
display: grid;
|
|
gap: 6px;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.setting-panel {
|
|
border: 1px solid var(--line);
|
|
background: var(--panel-deep);
|
|
}
|
|
|
|
.setting-panel summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-height: 40px;
|
|
padding: 0 11px;
|
|
color: var(--ink-soft);
|
|
cursor: pointer;
|
|
font: 0.66rem var(--mono);
|
|
list-style: none;
|
|
}
|
|
|
|
.setting-panel summary::-webkit-details-marker {
|
|
display: none;
|
|
}
|
|
|
|
.setting-panel summary::before {
|
|
margin-right: 5px;
|
|
color: var(--quiet);
|
|
content: "+";
|
|
}
|
|
|
|
.setting-panel[open] summary {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.setting-panel[open] summary::before {
|
|
content: "-";
|
|
}
|
|
|
|
.summary-value {
|
|
overflow: hidden;
|
|
margin-left: auto;
|
|
color: var(--quiet);
|
|
font-size: 0.56rem;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.limit-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(0, 1fr));
|
|
gap: 6px;
|
|
padding: 11px;
|
|
}
|
|
|
|
.limit-grid label > span {
|
|
margin-bottom: 5px;
|
|
color: var(--quiet);
|
|
font: 0.54rem var(--mono);
|
|
}
|
|
|
|
.limit-grid input,
|
|
.text-rule input {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 0;
|
|
outline: 0;
|
|
color: var(--ink);
|
|
background: #191919;
|
|
font: 0.64rem var(--mono);
|
|
transition: border-color 120ms ease;
|
|
}
|
|
|
|
.limit-grid input {
|
|
padding: 8px 5px;
|
|
}
|
|
|
|
.limit-grid input:focus,
|
|
.text-rule input:focus {
|
|
border-color: var(--blue);
|
|
}
|
|
|
|
.file-rules {
|
|
padding: 11px;
|
|
}
|
|
|
|
.file-rules > p {
|
|
margin-bottom: 10px;
|
|
color: var(--quiet);
|
|
font-size: 0.6rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.asset-choices {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 5px;
|
|
}
|
|
|
|
.asset-choices label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-height: 29px;
|
|
padding: 0 6px;
|
|
border: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font: 0.57rem var(--mono);
|
|
}
|
|
|
|
.asset-choices input {
|
|
width: 11px;
|
|
height: 11px;
|
|
margin: 0;
|
|
accent-color: var(--blue);
|
|
}
|
|
|
|
.text-rule {
|
|
display: block;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.text-rule > span {
|
|
margin-bottom: 5px;
|
|
color: var(--quiet);
|
|
font: 0.55rem var(--mono);
|
|
}
|
|
|
|
.text-rule input {
|
|
padding: 9px;
|
|
}
|
|
|
|
.proxy-row {
|
|
min-height: 64px;
|
|
margin: 11px;
|
|
}
|
|
|
|
.proxy-row.is-unavailable {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.form-message {
|
|
min-height: 1.2em;
|
|
margin: 10px 0 0;
|
|
color: var(--red);
|
|
font: 0.63rem var(--mono);
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.form-message.success {
|
|
color: var(--green);
|
|
}
|
|
|
|
.console-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.capture-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-height: 35px;
|
|
padding: 0 10px;
|
|
border: 1px solid var(--ink-soft);
|
|
border-radius: 0;
|
|
color: #161616;
|
|
background: var(--ink-soft);
|
|
font: 600 0.64rem var(--mono);
|
|
transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
|
|
}
|
|
|
|
.capture-button:hover:not(:disabled) {
|
|
border-color: #fff;
|
|
background: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.capture-button:disabled {
|
|
cursor: wait;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.capture-button span:last-child {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.console-actions p {
|
|
max-width: 190px;
|
|
margin: 0;
|
|
color: var(--quiet);
|
|
font-size: 0.55rem;
|
|
line-height: 1.45;
|
|
text-align: right;
|
|
}
|
|
|
|
.activity-section {
|
|
padding-top: 31px;
|
|
}
|
|
|
|
.section-heading {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding-bottom: 16px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.section-heading .eyebrow {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.section-heading h2 {
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.section-heading p:not(.eyebrow) {
|
|
max-width: 560px;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.7rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.quiet-button,
|
|
.job-action,
|
|
.icon-button {
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 0;
|
|
color: var(--muted);
|
|
background: transparent;
|
|
font: 0.61rem var(--mono);
|
|
transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
|
|
}
|
|
|
|
.quiet-button {
|
|
min-height: 30px;
|
|
padding: 0 9px;
|
|
}
|
|
|
|
.quiet-button:hover,
|
|
.job-action:hover,
|
|
.icon-button:hover {
|
|
border-color: var(--blue);
|
|
color: var(--blue);
|
|
background: #1b2130;
|
|
}
|
|
|
|
.empty-state {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
min-height: 96px;
|
|
padding: 16px 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.empty-state[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.empty-state p {
|
|
max-width: 520px;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 0.68rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.empty-mark {
|
|
display: grid;
|
|
flex: 0 0 auto;
|
|
width: 22px;
|
|
height: 22px;
|
|
place-items: center;
|
|
border: 1px solid var(--line-strong);
|
|
color: var(--blue);
|
|
font: 0.8rem var(--mono);
|
|
}
|
|
|
|
.job-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.job-card {
|
|
padding: 17px 0 18px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: transparent;
|
|
}
|
|
|
|
.job-card.is-active {
|
|
border-left: 2px solid var(--blue);
|
|
padding-left: 14px;
|
|
}
|
|
|
|
.job-topline,
|
|
.job-actions,
|
|
.job-stats,
|
|
.job-meta,
|
|
.job-tags {
|
|
display: flex;
|
|
}
|
|
|
|
.job-topline {
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
|
|
.job-host {
|
|
overflow: hidden;
|
|
color: var(--ink-soft);
|
|
font: 600 0.82rem var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.state-pill {
|
|
flex: 0 0 auto;
|
|
padding: 3px 5px;
|
|
border: 1px solid var(--line-strong);
|
|
color: var(--muted);
|
|
font: 0.53rem var(--mono);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.state-pill.ready {
|
|
border-color: #416c50;
|
|
color: var(--green);
|
|
}
|
|
|
|
.state-pill.failed,
|
|
.state-pill.cancelled,
|
|
.state-pill.expired {
|
|
border-color: #71443f;
|
|
color: var(--red);
|
|
}
|
|
|
|
.state-pill.running,
|
|
.state-pill.queued {
|
|
border-color: #40557a;
|
|
color: var(--blue);
|
|
}
|
|
|
|
.job-url {
|
|
overflow: hidden;
|
|
margin: 6px 0 11px;
|
|
color: var(--quiet);
|
|
font: 0.59rem var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.job-phase {
|
|
margin: 0 0 10px;
|
|
color: var(--ink-soft);
|
|
font-size: 0.7rem;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.job-progress {
|
|
overflow: hidden;
|
|
height: 2px;
|
|
margin: 0 0 12px;
|
|
background: var(--line);
|
|
}
|
|
|
|
.job-progress > span {
|
|
display: block;
|
|
width: var(--progress, 0%);
|
|
height: 100%;
|
|
background: var(--blue);
|
|
transition: width 180ms ease;
|
|
}
|
|
|
|
.job-card[data-state="ready"] .job-progress > span {
|
|
background: var(--green);
|
|
}
|
|
|
|
.job-card[data-state="failed"] .job-progress > span,
|
|
.job-card[data-state="cancelled"] .job-progress > span,
|
|
.job-card[data-state="expired"] .job-progress > span {
|
|
background: var(--red);
|
|
}
|
|
|
|
.job-stats {
|
|
margin-bottom: 10px;
|
|
border-top: 1px solid var(--line);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.job-stats div {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 8px 7px;
|
|
}
|
|
|
|
.job-stats div + div {
|
|
border-left: 1px solid var(--line);
|
|
}
|
|
|
|
.job-stats strong,
|
|
.job-stats span,
|
|
.job-meta span {
|
|
display: block;
|
|
}
|
|
|
|
.job-stats strong {
|
|
overflow: hidden;
|
|
color: var(--ink-soft);
|
|
font: 500 0.73rem var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.job-stats span,
|
|
.job-meta span:first-child {
|
|
margin-top: 3px;
|
|
color: var(--quiet);
|
|
font: 0.51rem var(--mono);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.job-meta {
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 9px;
|
|
color: var(--muted);
|
|
font-size: 0.61rem;
|
|
}
|
|
|
|
.job-meta span:last-child {
|
|
max-width: 58%;
|
|
overflow: hidden;
|
|
text-align: right;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.job-tags {
|
|
flex-wrap: wrap;
|
|
gap: 5px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.job-tags span {
|
|
padding: 2px 5px;
|
|
border: 1px solid var(--line);
|
|
color: var(--quiet);
|
|
font: 0.51rem var(--mono);
|
|
}
|
|
|
|
.job-warning {
|
|
overflow: hidden;
|
|
margin: 0 0 10px;
|
|
color: var(--yellow);
|
|
font: 0.6rem var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.job-log {
|
|
margin: 13px 0;
|
|
border: 1px solid var(--line-strong);
|
|
background: var(--panel-deep);
|
|
}
|
|
|
|
.job-log-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 7px 9px;
|
|
border-bottom: 1px solid var(--line);
|
|
color: var(--quiet);
|
|
font: 0.54rem var(--mono);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.job-log-title {
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.job-log-title::before {
|
|
margin-right: 5px;
|
|
color: var(--green);
|
|
content: ">";
|
|
}
|
|
|
|
.job-log-list {
|
|
max-height: 260px;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
list-style: none;
|
|
scrollbar-color: var(--line-strong) var(--panel-deep);
|
|
}
|
|
|
|
.job-log-entry {
|
|
display: grid;
|
|
grid-template-columns: 68px 88px minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: start;
|
|
padding: 6px 9px;
|
|
border-bottom: 1px solid #242422;
|
|
color: var(--muted);
|
|
font: 0.58rem/1.45 var(--mono);
|
|
}
|
|
|
|
.job-log-entry:last-child {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.job-log-entry[data-kind="page"] {
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.job-log-time {
|
|
color: var(--quiet);
|
|
}
|
|
|
|
.job-log-action {
|
|
color: var(--blue);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.job-log-entry[data-kind="state"] .job-log-action {
|
|
color: var(--green);
|
|
}
|
|
|
|
.job-log-url {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.job-log-queue {
|
|
color: var(--quiet);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.job-log-empty {
|
|
padding: 10px 9px;
|
|
color: var(--quiet);
|
|
font: 0.58rem var(--mono);
|
|
}
|
|
|
|
.job-actions {
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
}
|
|
|
|
.job-action {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 27px;
|
|
padding: 0 7px;
|
|
}
|
|
|
|
.job-action.primary {
|
|
border-color: #4a689a;
|
|
color: var(--blue);
|
|
}
|
|
|
|
.job-action.primary:hover {
|
|
border-color: var(--blue);
|
|
background: #1b2130;
|
|
}
|
|
|
|
.job-action.danger {
|
|
border-color: #67433e;
|
|
color: var(--red);
|
|
}
|
|
|
|
.job-action:disabled {
|
|
cursor: wait;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.site-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
padding: 23px 0 32px;
|
|
color: var(--quiet);
|
|
font: 0.56rem var(--mono);
|
|
}
|
|
|
|
.site-footer p {
|
|
margin: 0;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 13px;
|
|
}
|
|
|
|
.footer-links a {
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer-links a:hover {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.report-dialog {
|
|
width: min(760px, calc(100% - 30px));
|
|
max-height: min(760px, calc(100vh - 44px));
|
|
padding: 0;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: 0;
|
|
color: var(--ink);
|
|
background: var(--panel);
|
|
box-shadow: 0 24px 72px rgba(0, 0, 0, 0.45);
|
|
}
|
|
|
|
.report-dialog::backdrop {
|
|
background: rgba(0, 0, 0, 0.72);
|
|
}
|
|
|
|
.dialog-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 18px;
|
|
padding: 19px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.dialog-head .eyebrow {
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.dialog-head h2 {
|
|
font-size: 0.98rem;
|
|
}
|
|
|
|
.icon-button {
|
|
width: 29px;
|
|
height: 29px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.report-content {
|
|
overflow: auto;
|
|
max-height: calc(min(760px, 100vh - 44px) - 94px);
|
|
padding: 19px;
|
|
}
|
|
|
|
.report-summary {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
margin-bottom: 18px;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
.report-summary div {
|
|
min-width: 0;
|
|
padding: 10px;
|
|
}
|
|
|
|
.report-summary div + div {
|
|
border-left: 1px solid var(--line);
|
|
}
|
|
|
|
.report-summary strong,
|
|
.report-summary span {
|
|
display: block;
|
|
}
|
|
|
|
.report-summary strong {
|
|
overflow: hidden;
|
|
color: var(--blue);
|
|
font: 500 0.76rem var(--mono);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.report-summary span {
|
|
margin-top: 4px;
|
|
color: var(--quiet);
|
|
font: 0.5rem var(--mono);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
.report-list {
|
|
margin: 0;
|
|
padding-left: 17px;
|
|
color: var(--muted);
|
|
font-size: 0.69rem;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.report-list li + li {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.report-subhead {
|
|
margin: 19px 0 8px;
|
|
color: var(--yellow);
|
|
font: 0.62rem var(--mono);
|
|
text-transform: lowercase;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.site-header {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
}
|
|
|
|
.site-nav {
|
|
display: none;
|
|
}
|
|
|
|
.workbench {
|
|
grid-template-columns: 1fr;
|
|
gap: 26px;
|
|
}
|
|
|
|
.capture-console {
|
|
border-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.site-shell {
|
|
width: min(100% - 28px, 1120px);
|
|
}
|
|
|
|
.site-header {
|
|
min-height: 38px;
|
|
}
|
|
|
|
.brand-copy span,
|
|
.service-status span {
|
|
display: none;
|
|
}
|
|
|
|
.header-tools {
|
|
gap: 9px;
|
|
}
|
|
|
|
main {
|
|
padding: 27px 0 48px;
|
|
}
|
|
|
|
.workbench {
|
|
gap: 22px;
|
|
padding-bottom: 23px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(1.6rem, 8vw, 2.4rem);
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.metric-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.metric-card:nth-child(3) {
|
|
border-left: 0;
|
|
}
|
|
|
|
.metric-card:nth-child(-n + 2) {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.capture-console {
|
|
padding: 14px;
|
|
}
|
|
|
|
.limit-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.asset-choices {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.console-actions,
|
|
.section-heading,
|
|
.site-footer {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.console-actions p {
|
|
max-width: none;
|
|
text-align: left;
|
|
}
|
|
|
|
.activity-section {
|
|
padding-top: 26px;
|
|
}
|
|
|
|
.section-heading {
|
|
gap: 14px;
|
|
}
|
|
|
|
.job-stats div {
|
|
padding: 7px 5px;
|
|
}
|
|
|
|
.job-log-entry {
|
|
grid-template-columns: 61px minmax(0, 1fr);
|
|
}
|
|
|
|
.job-log-action {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.job-log-url {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.job-log-queue {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.report-summary {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.report-summary div:nth-child(3) {
|
|
border-left: 0;
|
|
}
|
|
|
|
.report-summary div:nth-child(-n + 2) {
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.footer-links {
|
|
flex-wrap: wrap;
|
|
gap: 8px 13px;
|
|
}
|
|
}
|
|
|
|
/* Keep the interface readable in Geist Sans; reserve the mono face for live crawl output. */
|
|
.skip-link,
|
|
.site-shell,
|
|
.site-shell button,
|
|
.site-shell input,
|
|
.report-dialog,
|
|
.report-dialog * {
|
|
font-family: var(--sans) !important;
|
|
}
|
|
|
|
.job-log,
|
|
.job-log * {
|
|
font-family: var(--mono) !important;
|
|
}
|