223 lines
4.6 KiB
CSS
223 lines
4.6 KiB
CSS
/* Log view rules extracted from styles.css */`r`n`r`n.logRow {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 12px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.singleLogSection {
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.logSection {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: var(--surface);
|
|
transition: border-color var(--motion-fast);
|
|
}
|
|
|
|
.logSection:hover {
|
|
border-color: var(--hover-border);
|
|
}
|
|
|
|
.logHeader {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
padding: 10px 12px;
|
|
border-bottom: 1px solid var(--border);
|
|
background: linear-gradient(180deg, var(--surface-soft), var(--surface));
|
|
}
|
|
|
|
.logTitle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-strong);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
letter-spacing: var(--tracking-tight);
|
|
}
|
|
|
|
.logTitle::before {
|
|
width: 6px;
|
|
height: 6px;
|
|
flex: 0 0 6px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, var(--primary), var(--secondary));
|
|
box-shadow: 0 0 6px color-mix(in oklab, var(--primary) 50%, transparent);
|
|
content: "";
|
|
opacity: 0.85;
|
|
}
|
|
|
|
/* Live status pill following the title */
|
|
.logTitle::after {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-left: 8px;
|
|
padding: 0 7px;
|
|
height: 17px;
|
|
border: 1px solid color-mix(in oklab, var(--muted) 35%, transparent);
|
|
border-radius: 99px;
|
|
background: color-mix(in oklab, var(--muted) 10%, transparent);
|
|
color: var(--muted);
|
|
font-family: "IBM Plex Mono", ui-monospace, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.16em;
|
|
content: "PAUSED";
|
|
transition: color var(--motion-fast), background var(--motion-fast), border-color var(--motion-fast);
|
|
}
|
|
|
|
body.is-running .logTitle::after {
|
|
border-color: color-mix(in oklab, var(--success) 50%, transparent);
|
|
background: color-mix(in oklab, var(--success) 18%, transparent);
|
|
color: var(--success);
|
|
content: "● LIVE";
|
|
}
|
|
|
|
.logHeaderActions {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.logHeaderActions .small {
|
|
width: auto;
|
|
min-height: 28px;
|
|
padding: 0 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.logHeaderActions select.small {
|
|
background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
|
|
padding-right: 24px;
|
|
}
|
|
|
|
.logSearchBox {
|
|
width: 230px;
|
|
min-height: 32px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.log {
|
|
position: relative;
|
|
min-width: 0;
|
|
min-height: clamp(250px, 32vh, 390px);
|
|
max-height: clamp(250px, 32vh, 390px);
|
|
margin: 0;
|
|
padding: 14px 16px 14px 18px;
|
|
overflow: auto;
|
|
border-top: 1px solid var(--log-border);
|
|
color: var(--log-text);
|
|
background:
|
|
linear-gradient(180deg, transparent, transparent 50%, color-mix(in oklab, var(--secondary) 4%, transparent) 50%) 0 0 / 100% 4px,
|
|
var(--log-bg);
|
|
font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
|
|
font-size: var(--text-sm);
|
|
font-feature-settings: "ss01";
|
|
line-height: 1.6;
|
|
overflow-wrap: anywhere;
|
|
white-space: pre-wrap;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border-strong) transparent;
|
|
}
|
|
|
|
/* CRT-style soft scanline overlay */
|
|
.log::before {
|
|
position: sticky;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 0;
|
|
z-index: 0;
|
|
content: "";
|
|
display: block;
|
|
}
|
|
|
|
/* Subtle prompt indicator on the first line — purely decorative */
|
|
.log::after {
|
|
position: absolute;
|
|
left: 6px;
|
|
top: 14px;
|
|
width: 6px;
|
|
height: 13px;
|
|
content: "";
|
|
background: var(--primary);
|
|
box-shadow: 0 0 6px var(--primary);
|
|
opacity: 0.7;
|
|
animation: cursorBlink 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes cursorBlink {
|
|
0%, 49% { opacity: 0.85; }
|
|
50%, 100% { opacity: 0.18; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.log::after { animation: none; }
|
|
}
|
|
|
|
.log::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-thumb {
|
|
background: var(--border-strong);
|
|
border: 2px solid var(--log-bg);
|
|
border-radius: 99px;
|
|
}
|
|
|
|
.log::-webkit-scrollbar-thumb:hover {
|
|
background: var(--hover-border);
|
|
}
|
|
|
|
.panel.cardLog .log {
|
|
min-height: clamp(430px, 58vh, 720px);
|
|
max-height: clamp(430px, 58vh, 720px);
|
|
}
|
|
|
|
.log::selection {
|
|
color: var(--text-strong);
|
|
background: color-mix(in oklab, var(--primary) 25%, transparent);
|
|
}
|
|
|
|
/* Log line classification colors */
|
|
.logLine {
|
|
display: inline;
|
|
}
|
|
|
|
.logError {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.logWarn {
|
|
color: var(--warning);
|
|
}
|
|
|
|
.logSuccess {
|
|
color: var(--success);
|
|
}
|
|
|
|
.logInfo {
|
|
color: var(--text);
|
|
}
|
|
|
|
.logDebug {
|
|
color: var(--muted-soft);
|
|
}
|