mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
4450 lines
82 KiB
CSS
4450 lines
82 KiB
CSS
@import "./chat.css";
|
||
|
||
/* ===========================================
|
||
Login Gate
|
||
=========================================== */
|
||
|
||
.login-gate {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-height: 100vh;
|
||
min-height: 100dvh;
|
||
background: var(--bg);
|
||
padding: 24px;
|
||
}
|
||
|
||
.login-gate__theme {
|
||
position: fixed;
|
||
top: 16px;
|
||
right: 16px;
|
||
z-index: 10;
|
||
}
|
||
|
||
.login-gate__card {
|
||
width: min(520px, 100%);
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
padding: 32px;
|
||
animation: scale-in 0.25s var(--ease-out);
|
||
}
|
||
|
||
.login-gate__header {
|
||
text-align: center;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.login-gate__logo {
|
||
width: 48px;
|
||
height: 48px;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.login-gate__title {
|
||
font-size: 22px;
|
||
font-weight: 700;
|
||
letter-spacing: -0.02em;
|
||
}
|
||
|
||
.login-gate__sub {
|
||
color: var(--muted);
|
||
font-size: 14px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.login-gate__form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.login-gate__secret-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.login-gate__secret-row input {
|
||
flex: 1;
|
||
}
|
||
|
||
.login-gate__secret-row .btn--icon {
|
||
width: 40px;
|
||
min-width: 40px;
|
||
height: 40px;
|
||
}
|
||
|
||
.login-gate__connect {
|
||
margin-top: 4px;
|
||
width: 100%;
|
||
justify-content: center;
|
||
padding: 10px 16px;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.login-gate__help {
|
||
margin-top: 20px;
|
||
padding-top: 16px;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
|
||
.login-gate__help-title {
|
||
font-weight: 600;
|
||
font-size: 12px;
|
||
margin-bottom: 10px;
|
||
color: var(--fg);
|
||
}
|
||
|
||
.login-gate__steps {
|
||
margin: 0;
|
||
padding-left: 20px;
|
||
font-size: 12px;
|
||
line-height: 1.6;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.login-gate__steps li {
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.login-gate__steps li:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.login-gate__steps code {
|
||
display: block;
|
||
margin: 4px 0 2px;
|
||
padding: 5px 10px;
|
||
font-family: var(--font-mono);
|
||
font-size: 11px;
|
||
background: var(--bg);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
color: var(--fg);
|
||
user-select: all;
|
||
}
|
||
|
||
.login-gate__docs {
|
||
margin-top: 10px;
|
||
font-size: 11px;
|
||
}
|
||
|
||
/* ===========================================
|
||
Update Banner
|
||
=========================================== */
|
||
|
||
.update-banner {
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 10;
|
||
margin: 0 calc(-1 * var(--shell-pad)) 0;
|
||
border-radius: 0;
|
||
border-left: none;
|
||
border-right: none;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
font-weight: 500;
|
||
padding: 10px 44px 10px 16px;
|
||
}
|
||
|
||
.update-banner__btn {
|
||
margin-left: 8px;
|
||
border-color: var(--danger);
|
||
color: var(--danger);
|
||
font-size: 12px;
|
||
padding: 4px 12px;
|
||
}
|
||
|
||
.update-banner__btn:hover:not(:disabled) {
|
||
background: var(--danger-subtle);
|
||
}
|
||
|
||
.update-banner__close {
|
||
position: absolute;
|
||
right: 10px;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
width: 30px;
|
||
height: 30px;
|
||
border-radius: var(--radius-sm);
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
padding: 0;
|
||
}
|
||
|
||
.update-banner__close:hover:not(:disabled) {
|
||
background: var(--bg-hover);
|
||
color: var(--text);
|
||
}
|
||
|
||
.update-banner__close svg {
|
||
width: 16px;
|
||
height: 16px;
|
||
stroke: currentColor;
|
||
fill: none;
|
||
stroke-width: 1.5px;
|
||
stroke-linecap: round;
|
||
stroke-linejoin: round;
|
||
}
|
||
|
||
/* ===========================================
|
||
Cards - Refined with depth
|
||
=========================================== */
|
||
|
||
.card {
|
||
border: 1px solid var(--border);
|
||
background: var(--card);
|
||
border-radius: var(--radius-lg);
|
||
padding: 14px 16px;
|
||
animation: rise 0.35s var(--ease-out) backwards;
|
||
transition:
|
||
border-color var(--duration-normal) var(--ease-out),
|
||
box-shadow var(--duration-normal) var(--ease-out),
|
||
transform var(--duration-normal) var(--ease-out);
|
||
box-shadow:
|
||
var(--shadow-sm),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
}
|
||
|
||
.card:hover {
|
||
border-color: var(--border-strong);
|
||
box-shadow:
|
||
var(--shadow-md),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
}
|
||
|
||
.card-title {
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
letter-spacing: -0.02em;
|
||
color: var(--text-strong);
|
||
}
|
||
|
||
.card-sub {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
margin-top: 4px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
/* ===========================================
|
||
Stats - Bold values, subtle labels
|
||
=========================================== */
|
||
|
||
.stat {
|
||
background: color-mix(in srgb, var(--card) 96%, transparent);
|
||
border-radius: var(--radius-md);
|
||
padding: 10px 12px;
|
||
border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
|
||
transition:
|
||
border-color var(--duration-normal) var(--ease-out),
|
||
box-shadow var(--duration-normal) var(--ease-out);
|
||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||
text-align: center;
|
||
}
|
||
|
||
.stat:hover {
|
||
border-color: var(--border-strong);
|
||
box-shadow:
|
||
0 6px 16px rgba(0, 0, 0, 0.18),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
}
|
||
|
||
.stat-label {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.stat-value {
|
||
font-size: 26px;
|
||
font-weight: 700;
|
||
margin-top: 6px;
|
||
letter-spacing: -0.03em;
|
||
line-height: 1.1;
|
||
}
|
||
|
||
.stat-value--sm {
|
||
font-size: 16px;
|
||
}
|
||
|
||
.stat-value.ok {
|
||
color: var(--ok);
|
||
}
|
||
|
||
.stat-value.warn {
|
||
color: var(--warn);
|
||
}
|
||
|
||
.stat-card {
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.note-title {
|
||
font-weight: 600;
|
||
letter-spacing: -0.01em;
|
||
}
|
||
|
||
/* ===========================================
|
||
Status List
|
||
=========================================== */
|
||
|
||
.status-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.status-list div {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 8px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.status-list div:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.account-count {
|
||
margin-top: 10px;
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.account-card-list {
|
||
margin-top: 16px;
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.account-card {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 12px;
|
||
background: var(--bg-elevated);
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.account-card:hover {
|
||
border-color: var(--border-strong);
|
||
}
|
||
|
||
.account-card-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
gap: 12px;
|
||
}
|
||
|
||
.account-card-title {
|
||
font-weight: 500;
|
||
}
|
||
|
||
.account-card-id {
|
||
font-family: var(--mono);
|
||
font-size: 13px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.account-card-status {
|
||
margin-top: 10px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.account-card-status div {
|
||
padding: 4px 0;
|
||
}
|
||
|
||
.account-card-error {
|
||
margin-top: 8px;
|
||
color: var(--danger);
|
||
font-size: 13px;
|
||
}
|
||
|
||
/* ===========================================
|
||
Labels & Pills
|
||
=========================================== */
|
||
|
||
.label {
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.pill {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
border: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
|
||
padding: 6px 12px;
|
||
border-radius: var(--radius-full);
|
||
background: color-mix(in srgb, var(--secondary) 92%, transparent);
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.pill:hover {
|
||
border-color: var(--border-strong);
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.pill.danger {
|
||
border-color: var(--danger-subtle);
|
||
background: var(--danger-subtle);
|
||
color: var(--danger);
|
||
}
|
||
|
||
/* ===========================================
|
||
Theme Orb – circle icon that fans out options
|
||
=========================================== */
|
||
|
||
.theme-orb {
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.theme-orb__trigger {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--clay-border-color);
|
||
background: var(--clay-bg);
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
padding: 0;
|
||
transition:
|
||
border-color var(--clay-duration-fast) var(--clay-easing),
|
||
box-shadow var(--clay-duration-fast) var(--clay-easing),
|
||
transform var(--clay-duration-fast) var(--clay-easing);
|
||
}
|
||
|
||
.theme-orb__trigger:hover {
|
||
border-color: var(--border-strong);
|
||
transform: scale(1.08);
|
||
}
|
||
|
||
.theme-orb__trigger:focus-visible {
|
||
outline: none;
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.theme-orb__menu {
|
||
position: absolute;
|
||
right: 0;
|
||
top: calc(100% + 6px);
|
||
display: flex;
|
||
gap: 2px;
|
||
padding: 4px;
|
||
border-radius: var(--radius-full);
|
||
background: var(--clay-bg);
|
||
border: 1px solid var(--clay-border-color);
|
||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
|
||
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
transform: scale(0.4) translateY(-8px);
|
||
transform-origin: top right;
|
||
pointer-events: none;
|
||
transition:
|
||
opacity var(--clay-duration-normal) var(--clay-easing),
|
||
transform var(--clay-duration-normal) var(--clay-easing);
|
||
}
|
||
|
||
.theme-orb--open .theme-orb__menu {
|
||
opacity: 1;
|
||
visibility: visible;
|
||
transform: scale(1) translateY(0);
|
||
pointer-events: auto;
|
||
}
|
||
|
||
.theme-orb__option {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: var(--radius-full);
|
||
border: 1.5px solid transparent;
|
||
background: transparent;
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
padding: 0;
|
||
transition:
|
||
background var(--clay-duration-fast) var(--clay-easing),
|
||
border-color var(--clay-duration-fast) var(--clay-easing),
|
||
transform var(--clay-duration-fast) var(--clay-easing);
|
||
}
|
||
|
||
.theme-orb__option:hover {
|
||
background: var(--bg-hover);
|
||
transform: scale(1.12);
|
||
}
|
||
|
||
.theme-orb__option--active {
|
||
border-color: var(--accent);
|
||
background: var(--accent-subtle);
|
||
}
|
||
|
||
.theme-orb__option:focus-visible {
|
||
outline: none;
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
/* ===========================================
|
||
Theme Selector — Sidebar theme picker
|
||
=========================================== */
|
||
|
||
.topbar-theme-mode {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
padding: 3px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--border);
|
||
background: color-mix(in srgb, var(--secondary) 70%, transparent);
|
||
}
|
||
|
||
.topbar-theme-mode__btn {
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: var(--radius-full);
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition:
|
||
background var(--duration-fast) var(--ease-out),
|
||
color var(--duration-fast) var(--ease-out),
|
||
box-shadow var(--duration-fast) var(--ease-out);
|
||
}
|
||
|
||
.topbar-theme-mode__btn svg {
|
||
display: block;
|
||
width: 16px;
|
||
height: 16px;
|
||
flex-shrink: 0;
|
||
stroke: currentColor;
|
||
fill: none;
|
||
stroke-width: 1.5px;
|
||
stroke-linecap: round;
|
||
stroke-linejoin: round;
|
||
}
|
||
|
||
.topbar-theme-mode__btn:hover:not(.topbar-theme-mode__btn--active) {
|
||
color: var(--text);
|
||
}
|
||
|
||
.topbar-theme-mode__btn:focus-visible {
|
||
outline: none;
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.topbar-theme-mode__btn--active {
|
||
background: var(--accent);
|
||
color: var(--primary-foreground);
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.theme-selector {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 6px;
|
||
padding: 6px 4px 10px;
|
||
}
|
||
|
||
.theme-selector__group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 4px;
|
||
}
|
||
|
||
.theme-selector__label {
|
||
font-size: 10px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
color: var(--muted);
|
||
opacity: 0.78;
|
||
user-select: none;
|
||
}
|
||
|
||
.theme-selector__segmented {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
padding: 3px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--border);
|
||
background: var(--bg-elevated);
|
||
}
|
||
|
||
.theme-selector__seg-btn {
|
||
min-width: 0;
|
||
flex: 1;
|
||
border: none;
|
||
border-radius: var(--radius-full);
|
||
background: transparent;
|
||
color: var(--muted);
|
||
padding: 6px 9px;
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
letter-spacing: 0.02em;
|
||
cursor: pointer;
|
||
transition:
|
||
background var(--duration-fast) var(--ease-out),
|
||
color var(--duration-fast) var(--ease-out),
|
||
box-shadow var(--duration-fast) var(--ease-out);
|
||
}
|
||
|
||
.theme-selector__seg-btn:hover:not(.theme-selector__seg-btn--active) {
|
||
color: var(--text);
|
||
}
|
||
|
||
.theme-selector__seg-btn--active {
|
||
background: var(--accent);
|
||
color: var(--primary-foreground);
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.theme-selector__current {
|
||
font-size: 9px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.06em;
|
||
text-transform: uppercase;
|
||
color: var(--muted);
|
||
opacity: 0.7;
|
||
transition: opacity var(--clay-duration-fast) var(--clay-easing);
|
||
user-select: none;
|
||
}
|
||
|
||
.theme-selector:hover .theme-selector__current {
|
||
opacity: 1;
|
||
}
|
||
|
||
.theme-selector__trigger {
|
||
width: 28px;
|
||
height: 28px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--border);
|
||
background: var(--bg-elevated);
|
||
color: var(--text);
|
||
font-size: 10px;
|
||
font-weight: 700;
|
||
letter-spacing: 0.04em;
|
||
cursor: pointer;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 2px;
|
||
transition:
|
||
border-color var(--duration-fast) var(--ease-out),
|
||
background var(--duration-fast) var(--ease-out),
|
||
box-shadow var(--duration-fast) var(--ease-out);
|
||
}
|
||
|
||
.theme-selector__trigger:hover {
|
||
background: var(--bg-hover);
|
||
border-color: var(--border-strong);
|
||
}
|
||
|
||
.theme-selector__trigger:focus-visible {
|
||
outline: none;
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.theme-selector__trigger-sep {
|
||
opacity: 0.55;
|
||
}
|
||
|
||
/* Collapsed sidebar — popover variant */
|
||
|
||
.theme-selector--collapsed {
|
||
position: relative;
|
||
padding: 4px 0 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
.theme-selector__popover {
|
||
position: absolute;
|
||
left: calc(100% + 8px);
|
||
bottom: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
padding: 6px;
|
||
border-radius: var(--radius-md);
|
||
background: var(--clay-bg);
|
||
border: 1px solid var(--clay-border-color);
|
||
box-shadow: var(--glass-shadow-md);
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
transform: scale(0.9) translateX(-4px);
|
||
transform-origin: left bottom;
|
||
pointer-events: none;
|
||
transition:
|
||
opacity var(--clay-duration-normal) var(--clay-easing),
|
||
transform var(--clay-duration-normal) var(--clay-easing);
|
||
z-index: 100;
|
||
}
|
||
|
||
.theme-selector--open .theme-selector__popover {
|
||
opacity: 1;
|
||
visibility: visible;
|
||
transform: scale(1) translateX(0);
|
||
pointer-events: auto;
|
||
}
|
||
|
||
/* ===========================================
|
||
Status Dot - With glow for emphasis
|
||
=========================================== */
|
||
|
||
.statusDot {
|
||
width: 8px;
|
||
height: 8px;
|
||
border-radius: var(--radius-full);
|
||
background: var(--danger);
|
||
box-shadow: 0 0 8px color-mix(in srgb, var(--danger) 50%, transparent);
|
||
animation: pulse-subtle 2s ease-in-out infinite;
|
||
}
|
||
|
||
.statusDot.ok {
|
||
background: var(--ok);
|
||
box-shadow: 0 0 8px color-mix(in srgb, var(--ok) 50%, transparent);
|
||
animation: none;
|
||
}
|
||
|
||
/* ===========================================
|
||
Buttons - Tactile with personality
|
||
=========================================== */
|
||
|
||
.btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
|
||
gap: 8px;
|
||
border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
|
||
background: color-mix(in srgb, var(--bg-elevated) 95%, transparent);
|
||
padding: 10px 18px;
|
||
border-radius: var(--radius-md);
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
letter-spacing: -0.01em;
|
||
cursor: pointer;
|
||
transition:
|
||
border-color var(--duration-fast) var(--ease-out),
|
||
background var(--duration-fast) var(--ease-out),
|
||
box-shadow var(--duration-fast) var(--ease-out),
|
||
transform var(--duration-fast) var(--ease-out);
|
||
}
|
||
|
||
.btn:hover:not(:disabled) {
|
||
background: var(--bg-hover);
|
||
border-color: var(--border-strong);
|
||
transform: translateY(-1px);
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.btn:active:not(:disabled) {
|
||
background: var(--secondary);
|
||
transform: translateY(0);
|
||
box-shadow: none;
|
||
}
|
||
|
||
.btn svg {
|
||
display: block;
|
||
width: 16px;
|
||
height: 16px;
|
||
flex-shrink: 0;
|
||
stroke: currentColor;
|
||
fill: none;
|
||
stroke-width: 1.5px;
|
||
stroke-linecap: round;
|
||
stroke-linejoin: round;
|
||
}
|
||
|
||
.btn.primary {
|
||
border-color: color-mix(in srgb, var(--accent) 88%, black 10%);
|
||
background: var(--accent);
|
||
color: var(--primary-foreground);
|
||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
|
||
}
|
||
|
||
.btn.primary:hover {
|
||
background: var(--accent-hover);
|
||
border-color: var(--accent-hover);
|
||
box-shadow: var(--shadow-md);
|
||
}
|
||
|
||
/* Keyboard shortcut badge (shadcn style) */
|
||
.btn-kbd {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
margin-left: 6px;
|
||
padding: 2px 5px;
|
||
font-family: var(--mono);
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
line-height: 1;
|
||
border-radius: 4px;
|
||
background: rgba(255, 255, 255, 0.15);
|
||
color: inherit;
|
||
opacity: 0.8;
|
||
}
|
||
|
||
.btn.primary .btn-kbd {
|
||
background: rgba(255, 255, 255, 0.2);
|
||
}
|
||
|
||
.btn.active {
|
||
border-color: color-mix(in srgb, var(--accent) 35%, transparent);
|
||
background: color-mix(in srgb, var(--accent-subtle) 75%, var(--secondary));
|
||
color: var(--accent);
|
||
}
|
||
|
||
.btn.danger {
|
||
border-color: color-mix(in srgb, var(--danger) 25%, transparent);
|
||
background: var(--danger-subtle);
|
||
color: var(--danger);
|
||
}
|
||
|
||
.btn.danger:hover {
|
||
background: color-mix(in srgb, var(--danger-subtle) 70%, transparent);
|
||
}
|
||
|
||
.btn--sm {
|
||
padding: 6px 10px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.btn:focus-visible {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.btn:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
transform: none;
|
||
box-shadow: none;
|
||
}
|
||
|
||
/* ===========================================
|
||
Form Fields
|
||
=========================================== */
|
||
|
||
.field {
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.field.full {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.field span {
|
||
color: var(--muted);
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.field input,
|
||
.field textarea,
|
||
.field select {
|
||
border: 1px solid color-mix(in srgb, var(--input) 92%, transparent);
|
||
background: color-mix(in srgb, var(--card) 96%, var(--bg));
|
||
border-radius: var(--radius-md);
|
||
padding: 10px 14px;
|
||
outline: none;
|
||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.field input:focus-visible,
|
||
.field textarea:focus-visible,
|
||
.field select:focus-visible {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
background: var(--card);
|
||
}
|
||
|
||
.field input:disabled,
|
||
.field textarea:disabled,
|
||
.field select:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
background: color-mix(in srgb, var(--secondary) 80%, transparent);
|
||
}
|
||
|
||
.field select {
|
||
appearance: none;
|
||
padding-right: 36px;
|
||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
||
background-repeat: no-repeat;
|
||
background-position: right 10px center;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.field textarea {
|
||
font-family: var(--mono);
|
||
min-height: 160px;
|
||
resize: vertical;
|
||
white-space: pre;
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.field.checkbox {
|
||
grid-template-columns: auto 1fr;
|
||
align-items: center;
|
||
}
|
||
|
||
.field-inline {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.field-inline span {
|
||
color: var(--muted);
|
||
font-weight: 500;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.field-inline input:not([type="checkbox"]) {
|
||
border: 1px solid color-mix(in srgb, var(--input) 92%, transparent);
|
||
background: color-mix(in srgb, var(--card) 96%, var(--bg));
|
||
border-radius: var(--radius-md);
|
||
padding: 6px 10px;
|
||
font-size: 13px;
|
||
outline: none;
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease;
|
||
}
|
||
|
||
.field-inline input:not([type="checkbox"]):focus-visible {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
background: var(--card);
|
||
}
|
||
|
||
.field-inline.checkbox {
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
|
||
.field-inline.checkbox input[type="checkbox"] {
|
||
margin: 0;
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.config-form .field.checkbox {
|
||
grid-template-columns: 18px minmax(0, 1fr);
|
||
column-gap: 10px;
|
||
}
|
||
|
||
.config-form .field.checkbox input[type="checkbox"] {
|
||
margin: 0;
|
||
width: 16px;
|
||
height: 16px;
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.form-grid {
|
||
display: grid;
|
||
gap: 12px;
|
||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||
}
|
||
|
||
/* ===========================================
|
||
Cron Form
|
||
=========================================== */
|
||
|
||
.cron-summary-strip {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
gap: 12px 18px;
|
||
padding: 14px 16px;
|
||
}
|
||
|
||
.cron-summary-strip__left {
|
||
display: grid;
|
||
gap: 8px 14px;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-summary-item {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--bg-elevated);
|
||
padding: 10px 12px;
|
||
min-height: 62px;
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.cron-summary-item--wide {
|
||
grid-column: span 1;
|
||
}
|
||
|
||
.cron-summary-label {
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.cron-summary-value {
|
||
color: var(--text-strong);
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
line-height: 1.3;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.cron-summary-strip__actions {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
gap: 10px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-workspace {
|
||
margin-top: 16px;
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
|
||
gap: 16px;
|
||
align-items: start;
|
||
}
|
||
|
||
.cron-workspace-main {
|
||
display: grid;
|
||
gap: 16px;
|
||
}
|
||
|
||
.cron-workspace-form {
|
||
position: sticky;
|
||
top: 74px;
|
||
max-height: calc(100vh - 74px - 32px);
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.cron-form {
|
||
margin-top: 16px;
|
||
display: grid;
|
||
gap: 14px;
|
||
}
|
||
|
||
.cron-form-section {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 14px;
|
||
background: var(--bg-elevated);
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.cron-form-section__title {
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
letter-spacing: -0.01em;
|
||
color: var(--text-strong);
|
||
}
|
||
|
||
.cron-form-section__sub {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
.cron-form-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 14px 16px;
|
||
}
|
||
|
||
.cron-help {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.45;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.cron-error {
|
||
color: var(--danger-color);
|
||
}
|
||
|
||
.cron-required-legend {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.cron-required-marker {
|
||
color: var(--danger-color);
|
||
font-weight: 700;
|
||
margin-left: 3px;
|
||
}
|
||
|
||
.cron-required-sr {
|
||
position: absolute;
|
||
width: 1px;
|
||
height: 1px;
|
||
padding: 0;
|
||
margin: -1px;
|
||
overflow: hidden;
|
||
clip: rect(0, 0, 0, 0);
|
||
white-space: nowrap;
|
||
border: 0;
|
||
}
|
||
|
||
.field input[aria-invalid="true"],
|
||
.field textarea[aria-invalid="true"],
|
||
.field select[aria-invalid="true"] {
|
||
border-color: var(--danger);
|
||
box-shadow:
|
||
inset 0 1px 0 var(--card-highlight),
|
||
0 0 0 1px rgba(239, 68, 68, 0.2);
|
||
}
|
||
|
||
.cron-form-status {
|
||
margin-top: 4px;
|
||
border: 1px solid var(--danger-subtle);
|
||
background: var(--danger-subtle);
|
||
border-radius: var(--radius-md);
|
||
padding: 10px 12px;
|
||
}
|
||
|
||
.cron-form-status__title {
|
||
color: var(--text-strong);
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
margin-bottom: 6px;
|
||
}
|
||
|
||
.cron-form-status__list {
|
||
margin: 8px 0 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.cron-form-status__link {
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
font-size: 12px;
|
||
line-height: 1.4;
|
||
padding: 0;
|
||
text-align: left;
|
||
text-decoration: underline;
|
||
text-underline-offset: 2px;
|
||
}
|
||
|
||
.cron-form-status__link:hover {
|
||
color: var(--text-strong);
|
||
}
|
||
|
||
.cron-span-2 {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
.cron-checkbox {
|
||
align-items: center;
|
||
grid-template-columns: 16px minmax(0, 1fr);
|
||
column-gap: 10px;
|
||
}
|
||
|
||
.cron-checkbox input[type="checkbox"] {
|
||
margin: 2px 0 0;
|
||
width: 16px;
|
||
height: 16px;
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.cron-checkbox .field-checkbox__label {
|
||
color: var(--text-strong);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.cron-checkbox .cron-help {
|
||
grid-column: 2;
|
||
}
|
||
|
||
.cron-checkbox-inline {
|
||
align-content: start;
|
||
align-items: start;
|
||
padding-top: 28px;
|
||
}
|
||
|
||
.cron-advanced {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 12px;
|
||
background: var(--bg-elevated);
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.cron-advanced__summary {
|
||
cursor: pointer;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.cron-stagger-group {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) 180px;
|
||
gap: 14px 16px;
|
||
align-items: start;
|
||
}
|
||
|
||
.cron-form-actions {
|
||
margin-top: 14px;
|
||
justify-content: flex-start;
|
||
align-items: center;
|
||
gap: 10px 14px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.cron-submit-reason {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.cron-filter-search {
|
||
flex: 1 1 320px;
|
||
min-width: 280px;
|
||
}
|
||
|
||
.cron-workspace .filters .field {
|
||
min-width: 160px;
|
||
}
|
||
|
||
.cron-run-filters {
|
||
margin-top: 12px;
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.cron-run-filters__row {
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.cron-run-filters__row--primary {
|
||
grid-template-columns: minmax(160px, 220px) minmax(240px, 1fr) minmax(160px, 220px);
|
||
}
|
||
|
||
.cron-run-filters__row--secondary {
|
||
grid-template-columns: repeat(2, minmax(220px, 1fr));
|
||
}
|
||
|
||
.cron-run-filter-search {
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-filter-dropdown {
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-filter-dropdown__details {
|
||
position: relative;
|
||
}
|
||
|
||
.cron-filter-dropdown__details > summary {
|
||
list-style: none;
|
||
}
|
||
|
||
.cron-filter-dropdown__details > summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.cron-filter-dropdown__trigger {
|
||
width: 100%;
|
||
justify-content: space-between;
|
||
text-align: left;
|
||
}
|
||
|
||
.cron-filter-dropdown__panel {
|
||
position: absolute;
|
||
z-index: 30;
|
||
top: calc(100% + 8px);
|
||
left: 0;
|
||
width: min(360px, calc(100vw - 48px));
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--bg-elevated);
|
||
padding: 10px;
|
||
display: grid;
|
||
gap: 10px;
|
||
box-shadow: var(--shadow-card);
|
||
}
|
||
|
||
.cron-filter-dropdown__list {
|
||
display: grid;
|
||
gap: 6px;
|
||
}
|
||
|
||
.cron-filter-dropdown__option {
|
||
display: grid;
|
||
grid-template-columns: 16px minmax(0, 1fr);
|
||
gap: 8px;
|
||
align-items: center;
|
||
color: var(--text);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.cron-filter-dropdown__option input[type="checkbox"] {
|
||
width: 16px;
|
||
height: 16px;
|
||
margin: 0;
|
||
accent-color: var(--accent);
|
||
}
|
||
|
||
.cron-run-entry {
|
||
align-items: start;
|
||
}
|
||
|
||
.cron-run-entry__meta {
|
||
text-align: right;
|
||
min-width: 220px;
|
||
}
|
||
|
||
.cron-run-entry__summary {
|
||
white-space: pre-wrap;
|
||
line-height: 1.45;
|
||
}
|
||
|
||
@media (max-width: 1100px) {
|
||
.cron-summary-strip {
|
||
flex-direction: column;
|
||
}
|
||
|
||
.cron-summary-strip__left {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
width: 100%;
|
||
}
|
||
|
||
.cron-summary-strip__actions {
|
||
width: 100%;
|
||
justify-content: flex-start;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.cron-workspace {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.cron-workspace-form {
|
||
position: static;
|
||
order: -1;
|
||
}
|
||
|
||
.cron-form-grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 12px;
|
||
}
|
||
|
||
.cron-span-2 {
|
||
grid-column: auto;
|
||
}
|
||
|
||
.cron-checkbox-inline {
|
||
padding-top: 0;
|
||
}
|
||
|
||
.cron-stagger-group {
|
||
grid-template-columns: 1fr;
|
||
gap: 12px;
|
||
}
|
||
|
||
.cron-filter-search {
|
||
min-width: 0;
|
||
flex: 1 1 100%;
|
||
}
|
||
|
||
.cron-run-filters__row--primary,
|
||
.cron-run-filters__row--secondary {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.cron-filter-dropdown__panel {
|
||
width: 100%;
|
||
max-width: none;
|
||
position: static;
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.cron-run-entry__meta {
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
}
|
||
|
||
:root[data-theme="light"] .field input,
|
||
:root[data-theme="light"] .field textarea,
|
||
:root[data-theme="light"] .field select {
|
||
background: var(--card);
|
||
border-color: var(--input);
|
||
}
|
||
|
||
:root[data-theme="light"] .btn {
|
||
background: var(--bg);
|
||
border-color: var(--input);
|
||
}
|
||
|
||
:root[data-theme="light"] .btn:hover {
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
:root[data-theme="light"] .btn.active {
|
||
border-color: var(--accent);
|
||
background: var(--accent-subtle);
|
||
color: var(--accent);
|
||
}
|
||
|
||
:root[data-theme="light"] .btn.primary {
|
||
background: var(--accent);
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
/* ===========================================
|
||
Utilities
|
||
=========================================== */
|
||
|
||
.muted {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.mono {
|
||
font-family: var(--mono);
|
||
}
|
||
|
||
/* ===========================================
|
||
Callouts - Informative with subtle depth
|
||
=========================================== */
|
||
|
||
.callout {
|
||
padding: 14px 16px;
|
||
border-radius: var(--radius-md);
|
||
background: var(--secondary);
|
||
border: 1px solid var(--border);
|
||
font-size: 13px;
|
||
line-height: 1.5;
|
||
position: relative;
|
||
}
|
||
|
||
.callout.danger {
|
||
border-color: color-mix(in srgb, var(--danger) 25%, transparent);
|
||
background: linear-gradient(
|
||
135deg,
|
||
color-mix(in srgb, var(--danger) 8%, transparent) 0%,
|
||
color-mix(in srgb, var(--danger) 4%, transparent) 100%
|
||
);
|
||
color: var(--danger);
|
||
}
|
||
|
||
.callout.info {
|
||
border-color: color-mix(in srgb, var(--info) 25%, transparent);
|
||
background: linear-gradient(
|
||
135deg,
|
||
color-mix(in srgb, var(--info) 8%, transparent) 0%,
|
||
color-mix(in srgb, var(--info) 4%, transparent) 100%
|
||
);
|
||
color: var(--info);
|
||
}
|
||
|
||
.callout.success {
|
||
border-color: color-mix(in srgb, var(--ok) 25%, transparent);
|
||
background: linear-gradient(
|
||
135deg,
|
||
color-mix(in srgb, var(--ok) 8%, transparent) 0%,
|
||
color-mix(in srgb, var(--ok) 4%, transparent) 100%
|
||
);
|
||
color: var(--ok);
|
||
}
|
||
|
||
.callout.warn {
|
||
border-color: color-mix(in srgb, var(--warn) 25%, transparent);
|
||
background: linear-gradient(
|
||
135deg,
|
||
color-mix(in srgb, var(--warn) 8%, transparent) 0%,
|
||
color-mix(in srgb, var(--warn) 4%, transparent) 100%
|
||
);
|
||
color: var(--warn);
|
||
}
|
||
|
||
/* Compaction indicator */
|
||
.compaction-indicator {
|
||
align-self: center;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 13px;
|
||
line-height: 1.2;
|
||
padding: 6px 14px;
|
||
margin-bottom: 8px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--border);
|
||
background: var(--panel-strong);
|
||
color: var(--text);
|
||
white-space: nowrap;
|
||
user-select: none;
|
||
animation: fade-in 0.2s var(--ease-out);
|
||
}
|
||
|
||
.compaction-indicator svg {
|
||
width: 16px;
|
||
height: 16px;
|
||
stroke: currentColor;
|
||
fill: none;
|
||
stroke-width: 1.5px;
|
||
stroke-linecap: round;
|
||
stroke-linejoin: round;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.compaction-indicator--active {
|
||
color: var(--info);
|
||
border-color: color-mix(in srgb, var(--info) 35%, transparent);
|
||
}
|
||
|
||
.compaction-indicator--active svg {
|
||
animation: compaction-spin 1s linear infinite;
|
||
}
|
||
|
||
.compaction-indicator--complete {
|
||
color: var(--ok);
|
||
border-color: color-mix(in srgb, var(--ok) 35%, transparent);
|
||
}
|
||
|
||
.compaction-indicator--fallback {
|
||
color: var(--warn);
|
||
border-color: rgba(217, 119, 6, 0.35);
|
||
}
|
||
|
||
.compaction-indicator--fallback-cleared {
|
||
color: var(--ok);
|
||
border-color: color-mix(in srgb, var(--ok) 35%, transparent);
|
||
}
|
||
|
||
@keyframes compaction-spin {
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
}
|
||
|
||
/* Context usage notice */
|
||
.context-notice {
|
||
align-self: center;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
line-height: 1.2;
|
||
padding: 4px 12px;
|
||
margin-bottom: 4px;
|
||
border-radius: var(--radius-full);
|
||
border: 1px solid var(--ctx-color, #d97706);
|
||
background: var(--ctx-bg, rgba(217, 119, 6, 0.08));
|
||
color: var(--ctx-color, #d97706);
|
||
white-space: nowrap;
|
||
user-select: none;
|
||
animation: fade-in 0.2s var(--ease-out);
|
||
}
|
||
|
||
.context-notice__icon {
|
||
width: 14px;
|
||
height: 14px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.context-notice__detail {
|
||
opacity: 0.7;
|
||
font-size: 11px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
/* ===========================================
|
||
Code Blocks
|
||
=========================================== */
|
||
|
||
.code-block {
|
||
font-family: var(--mono);
|
||
font-size: 13px;
|
||
line-height: 1.5;
|
||
background: var(--secondary);
|
||
padding: 12px;
|
||
border-radius: var(--radius-md);
|
||
border: 1px solid var(--border);
|
||
max-height: 360px;
|
||
overflow: auto;
|
||
max-width: 100%;
|
||
}
|
||
|
||
/* ===========================================
|
||
Lists
|
||
=========================================== */
|
||
|
||
.list {
|
||
display: grid;
|
||
gap: 8px;
|
||
container-type: inline-size;
|
||
}
|
||
|
||
.list-scroll {
|
||
max-height: 400px;
|
||
overflow-y: auto;
|
||
}
|
||
|
||
.list-item {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
|
||
gap: 12px;
|
||
align-items: start;
|
||
border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
|
||
border-radius: var(--radius-md);
|
||
padding: 12px;
|
||
background: color-mix(in srgb, var(--card) 97%, transparent);
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.list-item-clickable {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.list-item-clickable:hover {
|
||
border-color: var(--border-strong);
|
||
background: color-mix(in srgb, var(--card) 80%, var(--bg-hover));
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.list-item-selected {
|
||
border-color: color-mix(in srgb, var(--accent) 35%, transparent);
|
||
box-shadow: var(--focus-ring);
|
||
background: color-mix(in srgb, var(--accent-subtle) 45%, var(--card));
|
||
}
|
||
|
||
.list-main {
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.list-title {
|
||
font-weight: 500;
|
||
}
|
||
|
||
.list-sub {
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.list-meta {
|
||
text-align: right;
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.list-meta .btn {
|
||
padding: 6px 10px;
|
||
}
|
||
|
||
.list-meta .field input,
|
||
.list-meta .field textarea,
|
||
.list-meta .field select {
|
||
width: 100%;
|
||
}
|
||
|
||
/* Debug event log payloads should use full width like other debug sections. */
|
||
.debug-event-log__item {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
|
||
.debug-event-log__meta {
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
|
||
.debug-event-log__payload {
|
||
margin: 0;
|
||
max-width: 100%;
|
||
}
|
||
|
||
/* Cron jobs: allow long payload/state text and keep action buttons inside the card. */
|
||
.cron-job-payload,
|
||
.cron-job-agent,
|
||
.cron-job-state {
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.cron-job .list-title {
|
||
font-weight: 600;
|
||
font-size: 16px;
|
||
letter-spacing: -0.015em;
|
||
}
|
||
|
||
.cron-job {
|
||
grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
|
||
grid-template-areas:
|
||
"main meta"
|
||
"footer footer";
|
||
row-gap: 8px;
|
||
}
|
||
|
||
.cron-job .list-main {
|
||
grid-area: main;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-job .list-meta {
|
||
grid-area: meta;
|
||
min-width: 0;
|
||
gap: 6px;
|
||
}
|
||
|
||
.cron-job-footer {
|
||
grid-area: footer;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 8px;
|
||
border-top: 1px solid var(--border);
|
||
padding-top: 8px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-job-chips {
|
||
flex: 1 1 auto;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-job-detail {
|
||
display: grid;
|
||
gap: 2px;
|
||
margin-top: 2px;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.cron-job-detail-label {
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.03em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.cron-job-detail-value {
|
||
font-size: 13px;
|
||
line-height: 1.35;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
min-width: 0;
|
||
max-height: 3.6em;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
display: -webkit-box;
|
||
-webkit-line-clamp: 2;
|
||
-webkit-box-orient: vertical;
|
||
}
|
||
|
||
.cron-job-state {
|
||
display: grid;
|
||
min-width: 0;
|
||
gap: 4px;
|
||
}
|
||
|
||
.cron-job-state-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
gap: 10px;
|
||
}
|
||
|
||
.cron-job-state-key {
|
||
color: var(--muted);
|
||
font-size: 10px;
|
||
font-weight: 600;
|
||
letter-spacing: 0.05em;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.cron-job-state-value {
|
||
color: var(--text);
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
min-width: 0;
|
||
}
|
||
|
||
.cron-job-status-pill {
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-full);
|
||
padding: 2px 8px;
|
||
text-transform: lowercase;
|
||
}
|
||
|
||
.cron-job-status-ok {
|
||
color: var(--ok);
|
||
border-color: color-mix(in srgb, var(--ok) 35%, transparent);
|
||
background: var(--ok-subtle);
|
||
}
|
||
|
||
.cron-job-status-error {
|
||
color: var(--danger);
|
||
border-color: rgba(239, 68, 68, 0.35);
|
||
background: var(--danger-subtle);
|
||
}
|
||
|
||
.cron-job-status-skipped {
|
||
color: var(--warn);
|
||
border-color: rgba(245, 158, 11, 0.35);
|
||
background: var(--warn-subtle);
|
||
}
|
||
|
||
.cron-job-status-na {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.cron-job-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-end;
|
||
gap: 6px;
|
||
margin-top: 0;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.cron-job-actions .btn {
|
||
flex: 0 0 auto;
|
||
padding: 5px 10px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
@container (max-width: 560px) {
|
||
.list-item {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.list-meta {
|
||
min-width: 0;
|
||
text-align: left;
|
||
}
|
||
|
||
.cron-job-actions {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.cron-job {
|
||
grid-template-columns: 1fr;
|
||
grid-template-areas:
|
||
"main"
|
||
"meta"
|
||
"footer";
|
||
}
|
||
|
||
.cron-job .list-meta {
|
||
border-top: 1px solid var(--border);
|
||
padding-top: 8px;
|
||
}
|
||
|
||
.cron-job-footer {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 8px;
|
||
}
|
||
|
||
.cron-job-actions {
|
||
justify-content: stretch;
|
||
}
|
||
|
||
.cron-job-actions .btn {
|
||
flex: 1 1 0;
|
||
text-align: center;
|
||
}
|
||
}
|
||
|
||
/* ===========================================
|
||
Chips - Compact and punchy
|
||
=========================================== */
|
||
|
||
.chip-row {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.chip {
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
border: 1px solid color-mix(in srgb, var(--border) 85%, transparent);
|
||
border-radius: var(--radius-full);
|
||
padding: 5px 12px;
|
||
color: var(--muted);
|
||
background: color-mix(in srgb, var(--secondary) 92%, transparent);
|
||
transition:
|
||
border-color var(--duration-fast) var(--ease-out),
|
||
background var(--duration-fast) var(--ease-out),
|
||
transform var(--duration-fast) var(--ease-out);
|
||
}
|
||
|
||
.chip:hover {
|
||
border-color: var(--border-strong);
|
||
background: var(--bg-hover);
|
||
transform: translateY(-1px);
|
||
}
|
||
|
||
.chip input {
|
||
margin-right: 6px;
|
||
}
|
||
|
||
.chip-ok {
|
||
color: var(--ok);
|
||
border-color: rgba(34, 197, 94, 0.3);
|
||
background: var(--ok-subtle);
|
||
}
|
||
|
||
.chip-warn {
|
||
color: var(--warn);
|
||
border-color: rgba(245, 158, 11, 0.3);
|
||
background: var(--warn-subtle);
|
||
}
|
||
|
||
.chip-danger {
|
||
color: var(--danger);
|
||
border-color: color-mix(in srgb, var(--danger) 30%, transparent);
|
||
background: var(--danger-subtle);
|
||
}
|
||
|
||
/* ===========================================
|
||
Tables
|
||
=========================================== */
|
||
|
||
.table {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.table-head,
|
||
.table-row {
|
||
display: grid;
|
||
grid-template-columns: 1.4fr 1fr 0.8fr 0.7fr 0.8fr 0.8fr 0.8fr 0.8fr 0.6fr;
|
||
gap: 12px;
|
||
align-items: center;
|
||
}
|
||
|
||
.table-head {
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
color: var(--muted);
|
||
padding: 0 12px;
|
||
}
|
||
|
||
.table-row {
|
||
border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
|
||
padding: 12px 14px;
|
||
border-radius: var(--radius-md);
|
||
background: color-mix(in srgb, var(--card) 97%, transparent);
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.table-row:hover {
|
||
border-color: var(--border-strong);
|
||
background: color-mix(in srgb, var(--card) 82%, var(--bg-hover));
|
||
box-shadow: var(--shadow-sm);
|
||
}
|
||
|
||
.table-row:focus-within {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.session-link {
|
||
text-decoration: none;
|
||
color: var(--accent);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.session-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.session-key-cell {
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
/* Sessions table: wider key column */
|
||
.data-table th:first-child,
|
||
.data-table td:first-child {
|
||
min-width: 280px;
|
||
}
|
||
|
||
.session-key-cell .session-link,
|
||
.session-key-display-name {
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.session-key-display-name {
|
||
font-size: 11px;
|
||
}
|
||
|
||
/* ===========================================
|
||
Data Table (shadcn-inspired)
|
||
=========================================== */
|
||
|
||
.data-table-wrapper {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--card);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.data-table-toolbar {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 16px;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.data-table-search {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex: 1;
|
||
min-width: 200px;
|
||
max-width: 320px;
|
||
}
|
||
|
||
.data-table-search input {
|
||
flex: 1;
|
||
height: 36px;
|
||
padding: 0 12px;
|
||
font-size: 14px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--bg);
|
||
color: var(--text);
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.data-table-search input::placeholder {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.data-table-search input:focus {
|
||
outline: none;
|
||
border-color: var(--accent);
|
||
box-shadow: 0 0 0 2px var(--accent-subtle);
|
||
}
|
||
|
||
.data-table-search .data-table-search__icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
color: var(--muted);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.data-table-container {
|
||
overflow-x: auto;
|
||
}
|
||
|
||
.data-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.data-table th,
|
||
.data-table td {
|
||
padding: 12px 16px;
|
||
text-align: left;
|
||
border-bottom: 1px solid var(--border);
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.data-table th {
|
||
font-weight: 600;
|
||
color: var(--muted);
|
||
background: color-mix(in srgb, var(--secondary) 50%, transparent);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.data-table th[data-sortable] {
|
||
cursor: pointer;
|
||
user-select: none;
|
||
}
|
||
|
||
.data-table th[data-sortable]:hover {
|
||
color: var(--text);
|
||
}
|
||
|
||
.data-table th .data-table-sort-icon {
|
||
display: inline-flex;
|
||
margin-left: 4px;
|
||
opacity: 0.5;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.data-table th[data-sort-dir] .data-table-sort-icon {
|
||
opacity: 1;
|
||
}
|
||
|
||
.data-table tbody tr {
|
||
transition: background var(--duration-fast) ease;
|
||
}
|
||
|
||
.data-table tbody tr:hover {
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.data-table tbody tr:last-child td {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.data-table-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 2px 8px;
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
border-radius: var(--radius-full);
|
||
text-transform: capitalize;
|
||
}
|
||
|
||
.data-table-badge--direct {
|
||
background: color-mix(in srgb, var(--accent) 15%, transparent);
|
||
color: var(--accent);
|
||
}
|
||
|
||
.data-table-badge--group {
|
||
background: color-mix(in srgb, var(--ok) 15%, transparent);
|
||
color: var(--ok);
|
||
}
|
||
|
||
.data-table-badge--global {
|
||
background: color-mix(in srgb, var(--muted) 30%, transparent);
|
||
color: var(--muted);
|
||
}
|
||
|
||
.data-table-badge--unknown {
|
||
background: color-mix(in srgb, var(--warn) 15%, transparent);
|
||
color: var(--warn);
|
||
}
|
||
|
||
.data-table-row-actions {
|
||
position: relative;
|
||
display: inline-flex;
|
||
}
|
||
|
||
.data-table-row-actions__trigger {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 32px;
|
||
height: 32px;
|
||
padding: 0;
|
||
border: none;
|
||
border-radius: var(--radius-md);
|
||
background: transparent;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
transition:
|
||
color var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.data-table-row-actions__trigger:hover {
|
||
color: var(--text);
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.data-table-row-actions__trigger svg {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
|
||
.data-table-row-actions__menu {
|
||
position: absolute;
|
||
top: calc(100% + 4px);
|
||
right: 0;
|
||
z-index: 50;
|
||
min-width: 160px;
|
||
padding: 4px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
box-shadow: var(--shadow-lg);
|
||
}
|
||
|
||
.data-table-row-actions__menu button {
|
||
display: block;
|
||
width: 100%;
|
||
padding: 8px 12px;
|
||
font-size: 13px;
|
||
text-align: left;
|
||
border: none;
|
||
border-radius: var(--radius-sm);
|
||
background: none;
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
transition: background var(--duration-fast) ease;
|
||
}
|
||
|
||
.data-table-row-actions__menu button:hover {
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.data-table-row-actions__menu button.danger {
|
||
color: var(--danger);
|
||
}
|
||
|
||
.data-table-row-actions__menu button.danger:hover {
|
||
background: var(--danger-subtle);
|
||
}
|
||
|
||
.data-table-pagination {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 12px 16px;
|
||
border-top: 1px solid var(--border);
|
||
font-size: 13px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.data-table-pagination__info {
|
||
flex: 1;
|
||
}
|
||
|
||
.data-table-pagination__controls {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.data-table-pagination__controls button {
|
||
padding: 6px 12px;
|
||
font-size: 13px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
color: var(--text);
|
||
cursor: pointer;
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.data-table-pagination__controls button:hover:not(:disabled) {
|
||
border-color: var(--border-strong);
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.data-table-pagination__controls button:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.data-table-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 40;
|
||
}
|
||
|
||
/* ===========================================
|
||
Log Stream
|
||
=========================================== */
|
||
|
||
.log-stream {
|
||
border: 1px solid color-mix(in srgb, var(--border) 92%, transparent);
|
||
border-radius: var(--radius-md);
|
||
background: color-mix(in srgb, var(--card) 98%, transparent);
|
||
max-height: 500px;
|
||
overflow: auto;
|
||
container-type: inline-size;
|
||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||
}
|
||
|
||
.log-row {
|
||
display: grid;
|
||
grid-template-columns: 90px 70px minmax(140px, 200px) minmax(0, 1fr);
|
||
gap: 12px;
|
||
align-items: start;
|
||
padding: 9px 12px;
|
||
border-bottom: 1px solid color-mix(in srgb, var(--border) 90%, transparent);
|
||
font-size: 13px;
|
||
transition: background var(--duration-fast) ease;
|
||
}
|
||
|
||
.log-row:hover {
|
||
background: var(--bg-hover);
|
||
}
|
||
|
||
.log-row:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.log-time {
|
||
color: var(--muted);
|
||
font-family: var(--mono);
|
||
}
|
||
|
||
.log-level {
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-sm);
|
||
padding: 2px 6px;
|
||
width: fit-content;
|
||
}
|
||
|
||
.log-level.trace,
|
||
.log-level.debug {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.log-level.info {
|
||
color: var(--info);
|
||
border-color: rgba(59, 130, 246, 0.3);
|
||
}
|
||
|
||
.log-level.warn {
|
||
color: var(--warn);
|
||
border-color: var(--warn-subtle);
|
||
}
|
||
|
||
.log-level.error,
|
||
.log-level.fatal {
|
||
color: var(--danger);
|
||
border-color: var(--danger-subtle);
|
||
}
|
||
|
||
.log-chip.trace,
|
||
.log-chip.debug {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.log-chip.info {
|
||
color: var(--info);
|
||
border-color: rgba(59, 130, 246, 0.3);
|
||
}
|
||
|
||
.log-chip.warn {
|
||
color: var(--warn);
|
||
border-color: var(--warn-subtle);
|
||
}
|
||
|
||
.log-chip.error,
|
||
.log-chip.fatal {
|
||
color: var(--danger);
|
||
border-color: var(--danger-subtle);
|
||
}
|
||
|
||
.log-subsystem {
|
||
color: var(--muted);
|
||
font-family: var(--mono);
|
||
}
|
||
|
||
.log-message {
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
font-family: var(--mono);
|
||
}
|
||
|
||
@container (max-width: 620px) {
|
||
.log-row {
|
||
grid-template-columns: 70px 60px minmax(0, 1fr);
|
||
}
|
||
|
||
.log-subsystem {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* ===========================================
|
||
Chat
|
||
=========================================== */
|
||
|
||
.chat {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 0;
|
||
}
|
||
|
||
.shell--chat .chat {
|
||
flex: 1;
|
||
}
|
||
|
||
.chat-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-end;
|
||
gap: 16px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.chat-header__left {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
min-width: 0;
|
||
}
|
||
|
||
.chat-header__right {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.chat-session {
|
||
min-width: 240px;
|
||
}
|
||
|
||
.chat-thread {
|
||
margin-top: 16px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
flex: 1;
|
||
min-height: 0;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
padding: 16px 12px;
|
||
min-width: 0;
|
||
border-radius: 0;
|
||
border: none;
|
||
background: transparent;
|
||
}
|
||
|
||
/* Chat queue */
|
||
.chat-queue {
|
||
margin-top: 12px;
|
||
padding: 12px;
|
||
border-radius: var(--radius-lg);
|
||
border: 1px solid var(--border);
|
||
background: var(--card);
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.chat-queue__title {
|
||
font-family: var(--mono);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.chat-queue__list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.chat-queue__item {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
align-items: start;
|
||
gap: 12px;
|
||
padding: 10px 12px;
|
||
border-radius: var(--radius-md);
|
||
border: 1px dashed var(--border-strong);
|
||
background: var(--secondary);
|
||
}
|
||
|
||
.chat-queue__text {
|
||
color: var(--chat-text);
|
||
font-size: 13px;
|
||
line-height: 1.45;
|
||
white-space: pre-wrap;
|
||
overflow: hidden;
|
||
display: -webkit-box;
|
||
line-clamp: 3;
|
||
-webkit-line-clamp: 3;
|
||
-webkit-box-orient: vertical;
|
||
}
|
||
|
||
.chat-queue__remove {
|
||
align-self: start;
|
||
padding: 4px 10px;
|
||
font-size: 12px;
|
||
line-height: 1;
|
||
}
|
||
|
||
/* New messages indicator */
|
||
.chat-new-messages {
|
||
align-self: center;
|
||
margin: 8px auto 0;
|
||
border-radius: var(--radius-full);
|
||
padding: 6px 12px;
|
||
font-size: 12px;
|
||
line-height: 1;
|
||
}
|
||
|
||
/* Chat lines */
|
||
.chat-line {
|
||
display: flex;
|
||
}
|
||
|
||
.chat-line.user {
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.chat-line.assistant,
|
||
.chat-line.other {
|
||
justify-content: flex-start;
|
||
}
|
||
|
||
.chat-msg {
|
||
display: grid;
|
||
gap: 6px;
|
||
max-width: min(700px, 82%);
|
||
}
|
||
|
||
.chat-line.user .chat-msg {
|
||
justify-items: end;
|
||
}
|
||
|
||
/* Chat bubbles */
|
||
.chat-bubble {
|
||
border: 1px solid transparent;
|
||
background: var(--card);
|
||
border-radius: var(--radius-lg);
|
||
padding: 10px 14px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.chat-line.user .chat-bubble {
|
||
border-color: transparent;
|
||
background: var(--accent-subtle);
|
||
}
|
||
|
||
.chat-line.assistant .chat-bubble {
|
||
border-color: transparent;
|
||
background: var(--secondary);
|
||
}
|
||
|
||
@keyframes chatStreamPulse {
|
||
0%,
|
||
100% {
|
||
border-color: var(--border);
|
||
}
|
||
|
||
50% {
|
||
border-color: var(--accent);
|
||
}
|
||
}
|
||
|
||
.chat-bubble.streaming {
|
||
animation: chatStreamPulse 1.5s ease-in-out infinite;
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.chat-bubble.streaming {
|
||
animation: none;
|
||
border-color: var(--accent);
|
||
}
|
||
}
|
||
|
||
/* Reading indicator */
|
||
.chat-bubble.chat-reading-indicator {
|
||
width: fit-content;
|
||
padding: 10px 16px;
|
||
}
|
||
|
||
.chat-reading-indicator__dots {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
height: 12px;
|
||
}
|
||
|
||
.chat-reading-indicator__dots > span {
|
||
display: inline-block;
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: var(--radius-full);
|
||
background: var(--muted);
|
||
opacity: 0.6;
|
||
transform: translateY(0);
|
||
animation: chatReadingDot 1.2s ease-in-out infinite;
|
||
will-change: transform, opacity;
|
||
}
|
||
|
||
.chat-reading-indicator__dots > span:nth-child(2) {
|
||
animation-delay: 0.15s;
|
||
}
|
||
|
||
.chat-reading-indicator__dots > span:nth-child(3) {
|
||
animation-delay: 0.3s;
|
||
}
|
||
|
||
@keyframes chatReadingDot {
|
||
0%,
|
||
80%,
|
||
100% {
|
||
opacity: 0.4;
|
||
transform: translateY(0);
|
||
}
|
||
|
||
40% {
|
||
opacity: 1;
|
||
transform: translateY(-3px);
|
||
}
|
||
}
|
||
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.chat-reading-indicator__dots > span {
|
||
animation: none;
|
||
opacity: 0.6;
|
||
}
|
||
}
|
||
|
||
/* Chat text */
|
||
.chat-text {
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
color: var(--chat-text);
|
||
line-height: 1.5;
|
||
}
|
||
|
||
.chat-text :where(p, ul, ol, pre, blockquote, table) {
|
||
margin: 0;
|
||
}
|
||
|
||
.chat-text :where(p + p, p + ul, p + ol, p + pre, p + blockquote, p + table) {
|
||
margin-top: 0.75em;
|
||
}
|
||
|
||
.chat-text :where(ul, ol) {
|
||
padding-left: 1.2em;
|
||
}
|
||
|
||
.chat-text :where(li + li) {
|
||
margin-top: 0.25em;
|
||
}
|
||
|
||
.chat-text :where(a) {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.chat-text :where(a:hover) {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.chat-text :where(blockquote) {
|
||
border-left: 2px solid var(--border-strong);
|
||
padding-left: 12px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.chat-text :where(hr) {
|
||
border: 0;
|
||
border-top: 1px solid var(--border);
|
||
margin: 1em 0;
|
||
}
|
||
|
||
.chat-text :where(code) {
|
||
font-family: var(--mono);
|
||
font-size: 0.9em;
|
||
}
|
||
|
||
.chat-text :where(:not(pre) > code) {
|
||
padding: 0.15em 0.35em;
|
||
border-radius: var(--radius-sm);
|
||
border: 1px solid var(--border);
|
||
background: var(--secondary);
|
||
}
|
||
|
||
.chat-text :where(pre) {
|
||
margin-top: 0.75em;
|
||
padding: 10px 12px;
|
||
border-radius: var(--radius-md);
|
||
border: 1px solid var(--border);
|
||
background: var(--secondary);
|
||
overflow: auto;
|
||
}
|
||
|
||
.chat-text :where(pre code) {
|
||
font-size: 12px;
|
||
white-space: pre;
|
||
}
|
||
|
||
.chat-text :where(table) {
|
||
margin-top: 0.75em;
|
||
border-collapse: collapse;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
font-size: 13px;
|
||
display: block;
|
||
overflow-x: auto;
|
||
}
|
||
|
||
.chat-text :where(th, td) {
|
||
border: 1px solid var(--border);
|
||
padding: 6px 10px;
|
||
vertical-align: top;
|
||
}
|
||
|
||
.chat-text :where(th) {
|
||
font-family: var(--mono);
|
||
font-weight: 500;
|
||
color: var(--muted);
|
||
background: var(--secondary);
|
||
}
|
||
|
||
/* Tool cards */
|
||
.chat-tool-card {
|
||
margin-top: 8px;
|
||
padding: 10px 12px;
|
||
border-radius: var(--radius-md);
|
||
border: 1px solid var(--border);
|
||
background: var(--secondary);
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.chat-tool-card__title {
|
||
font-family: var(--mono);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
color: var(--text);
|
||
}
|
||
|
||
.chat-tool-card__detail {
|
||
font-family: var(--mono);
|
||
font-size: 11px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.chat-tool-card__details {
|
||
margin-top: 6px;
|
||
}
|
||
|
||
.chat-tool-card__summary {
|
||
font-family: var(--mono);
|
||
font-size: 11px;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
list-style: none;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.chat-tool-card__summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.chat-tool-card__summary-meta {
|
||
color: var(--muted);
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.chat-tool-card__details[open] .chat-tool-card__summary {
|
||
color: var(--text);
|
||
}
|
||
|
||
.chat-tool-card__output {
|
||
margin-top: 8px;
|
||
font-family: var(--mono);
|
||
font-size: 11px;
|
||
line-height: 1.5;
|
||
white-space: pre-wrap;
|
||
color: var(--chat-text);
|
||
padding: 8px 10px;
|
||
border-radius: var(--radius-md);
|
||
border: 1px solid var(--border);
|
||
background: var(--card);
|
||
}
|
||
|
||
.chat-stamp {
|
||
font-size: 12px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.chat-line.user .chat-stamp {
|
||
text-align: right;
|
||
}
|
||
|
||
/* Chat compose */
|
||
.chat-compose {
|
||
margin-top: 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
|
||
.shell--chat .chat-compose {
|
||
position: sticky;
|
||
bottom: 0;
|
||
/* z-index: 5; */
|
||
margin-top: 0;
|
||
padding-top: 6px;
|
||
background: linear-gradient(180deg, transparent 0%, var(--bg) 40%);
|
||
}
|
||
|
||
.shell--chat-focus .chat-compose {
|
||
bottom: calc(var(--shell-pad) + 8px);
|
||
padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
|
||
border-bottom-left-radius: var(--radius-lg);
|
||
border-bottom-right-radius: var(--radius-lg);
|
||
}
|
||
|
||
.chat-compose__field {
|
||
gap: 4px;
|
||
}
|
||
|
||
.chat-compose__field textarea {
|
||
min-height: 72px;
|
||
padding: 10px 14px;
|
||
border-radius: var(--radius-lg);
|
||
resize: vertical;
|
||
white-space: pre-wrap;
|
||
font-family: var(--font-body);
|
||
line-height: 1.5;
|
||
border: 1px solid var(--input);
|
||
background: var(--card);
|
||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease;
|
||
}
|
||
|
||
.chat-compose__field textarea:focus {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.chat-compose__field textarea:disabled {
|
||
opacity: 0.5;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.chat-compose__actions {
|
||
justify-content: flex-end;
|
||
align-self: end;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.chat-session {
|
||
min-width: 180px;
|
||
}
|
||
|
||
.chat-compose {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
/* ===========================================
|
||
QR Code
|
||
=========================================== */
|
||
|
||
.qr-wrap {
|
||
margin-top: 16px;
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
border: 1px dashed var(--border-strong);
|
||
padding: 16px;
|
||
display: inline-flex;
|
||
}
|
||
|
||
.qr-wrap img {
|
||
width: 160px;
|
||
height: 160px;
|
||
border-radius: var(--radius-sm);
|
||
image-rendering: pixelated;
|
||
}
|
||
|
||
/* ===========================================
|
||
Exec Approval Modal
|
||
=========================================== */
|
||
|
||
.exec-approval-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(0, 0, 0, 0.8);
|
||
backdrop-filter: blur(4px);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 24px;
|
||
z-index: 200;
|
||
}
|
||
|
||
.exec-approval-card {
|
||
width: min(540px, 100%);
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
padding: 20px;
|
||
animation: scale-in 0.2s var(--ease-out);
|
||
}
|
||
|
||
.exec-approval-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
}
|
||
|
||
.exec-approval-title {
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.exec-approval-sub {
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.exec-approval-queue {
|
||
font-size: 11px;
|
||
font-weight: 500;
|
||
color: var(--muted);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-full);
|
||
padding: 4px 10px;
|
||
}
|
||
|
||
.exec-approval-command {
|
||
margin-top: 12px;
|
||
padding: 10px 12px;
|
||
background: var(--secondary);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
word-break: break-word;
|
||
white-space: pre-wrap;
|
||
font-family: var(--mono);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.exec-approval-meta {
|
||
margin-top: 12px;
|
||
display: grid;
|
||
gap: 6px;
|
||
font-size: 13px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.exec-approval-meta-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.exec-approval-meta-row span:last-child {
|
||
color: var(--text);
|
||
font-family: var(--mono);
|
||
}
|
||
|
||
.exec-approval-error {
|
||
margin-top: 10px;
|
||
font-size: 13px;
|
||
color: var(--danger);
|
||
}
|
||
|
||
.exec-approval-actions {
|
||
margin-top: 16px;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
/* ===========================================
|
||
Agents
|
||
=========================================== */
|
||
|
||
.agents-layout {
|
||
display: grid;
|
||
grid-template-columns: 1fr;
|
||
gap: 10px;
|
||
}
|
||
|
||
.agents-toolbar {
|
||
display: grid;
|
||
gap: 4px;
|
||
}
|
||
|
||
.agents-toolbar-row {
|
||
display: grid;
|
||
gap: 3px;
|
||
}
|
||
|
||
.agents-toolbar-label {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.agents-control-row {
|
||
display: grid;
|
||
grid-template-columns: 5fr 1fr;
|
||
gap: 4px;
|
||
align-items: stretch;
|
||
}
|
||
|
||
.agents-control-select {
|
||
min-width: 0;
|
||
}
|
||
|
||
.agents-control-select .agents-select {
|
||
flex: 1;
|
||
min-width: 0;
|
||
height: 36px;
|
||
font-size: 14px;
|
||
box-sizing: border-box;
|
||
border: 1px solid color-mix(in srgb, var(--input) 60%, transparent);
|
||
background: color-mix(in srgb, var(--card) 55%, transparent);
|
||
border-radius: var(--radius-md);
|
||
padding: 6px 36px 6px 12px;
|
||
appearance: none;
|
||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
||
background-repeat: no-repeat;
|
||
background-position: right 10px center;
|
||
background-size: 16px;
|
||
cursor: pointer;
|
||
outline: none;
|
||
box-shadow: inset 0 1px 0 var(--card-highlight);
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
box-shadow var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.agents-control-select .agents-select:focus-visible {
|
||
border-color: var(--ring);
|
||
box-shadow: var(--focus-ring);
|
||
background: color-mix(in srgb, var(--card) 75%, transparent);
|
||
}
|
||
|
||
.agents-control-select .agents-select:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
background: color-mix(in srgb, var(--secondary) 80%, transparent);
|
||
}
|
||
|
||
.agents-control-actions {
|
||
display: flex;
|
||
gap: 4px;
|
||
align-items: stretch;
|
||
min-width: 0;
|
||
}
|
||
|
||
.agents-control-actions .agent-actions-toggle {
|
||
width: 36px;
|
||
height: 36px;
|
||
flex-shrink: 0;
|
||
padding: 0;
|
||
font-size: 18px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-sizing: border-box;
|
||
background: color-mix(in srgb, var(--secondary) 55%, transparent);
|
||
border-color: color-mix(in srgb, var(--border) 60%, transparent);
|
||
}
|
||
|
||
.agents-control-actions .agent-actions-toggle:hover {
|
||
background: color-mix(in srgb, var(--secondary) 75%, transparent);
|
||
}
|
||
|
||
.agents-control-actions .agents-refresh-btn {
|
||
flex: 1;
|
||
min-width: 0;
|
||
height: 36px;
|
||
font-size: 13px;
|
||
padding: 0 12px;
|
||
box-sizing: border-box;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background: color-mix(in srgb, var(--bg-elevated) 55%, transparent);
|
||
border-color: color-mix(in srgb, var(--border) 60%, transparent);
|
||
}
|
||
|
||
.agents-refresh-btn:hover:not(:disabled) {
|
||
background: color-mix(in srgb, var(--bg-hover) 75%, transparent);
|
||
}
|
||
|
||
.agents-toolbar-field {
|
||
min-width: 160px;
|
||
max-width: 280px;
|
||
gap: 4px;
|
||
}
|
||
|
||
.agents-select {
|
||
width: 100%;
|
||
}
|
||
|
||
.agents-main {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.agent-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.agent-row {
|
||
display: grid;
|
||
grid-template-columns: auto minmax(0, 1fr) auto;
|
||
align-items: center;
|
||
gap: 12px;
|
||
width: 100%;
|
||
text-align: left;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
padding: 10px 12px;
|
||
cursor: pointer;
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-row:hover {
|
||
border-color: var(--border-strong);
|
||
}
|
||
|
||
.agent-row.active {
|
||
border-color: var(--accent);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.agent-avatar {
|
||
width: 32px;
|
||
height: 32px;
|
||
border-radius: 50%;
|
||
background: hsl(var(--agent-hue, 220) 30% 18%);
|
||
display: grid;
|
||
place-items: center;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.agent-avatar--lg {
|
||
width: 40px;
|
||
height: 40px;
|
||
font-size: 18px;
|
||
}
|
||
|
||
.agent-avatar--logo {
|
||
background: transparent;
|
||
}
|
||
|
||
.agent-avatar--logo .agent-avatar__img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.agent-info {
|
||
display: grid;
|
||
gap: 2px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.agent-title {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.agent-sub {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.agent-pill {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-full);
|
||
padding: 3px 8px;
|
||
font-size: 11px;
|
||
color: var(--muted);
|
||
background: var(--secondary);
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
}
|
||
|
||
.agent-pill.warn {
|
||
color: var(--warn);
|
||
border-color: var(--warn);
|
||
}
|
||
|
||
.agent-header {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
gap: 12px;
|
||
align-items: center;
|
||
padding: 10px 14px;
|
||
}
|
||
|
||
.agent-header-main {
|
||
display: flex;
|
||
gap: 10px;
|
||
align-items: center;
|
||
}
|
||
|
||
.agent-header-meta {
|
||
display: grid;
|
||
justify-items: end;
|
||
gap: 4px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.agent-header .card-sub {
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.agent-tabs {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.agent-tab {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-full);
|
||
padding: 5px 12px;
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
background: var(--secondary);
|
||
cursor: pointer;
|
||
transition:
|
||
border-color var(--duration-fast) ease,
|
||
background var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-tab.active {
|
||
background: var(--accent);
|
||
border-color: var(--accent);
|
||
color: var(--accent-foreground);
|
||
}
|
||
|
||
.agent-tab-count {
|
||
font-weight: 400;
|
||
font-size: 11px;
|
||
opacity: 0.7;
|
||
margin-left: 4px;
|
||
}
|
||
|
||
.agents-overview-grid {
|
||
display: grid;
|
||
gap: 14px;
|
||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
|
||
}
|
||
|
||
.agent-kv {
|
||
display: grid;
|
||
gap: 6px;
|
||
min-width: 0;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 12px;
|
||
background: var(--bg-elevated);
|
||
}
|
||
|
||
.agent-kv > div {
|
||
min-width: 0;
|
||
overflow-wrap: anywhere;
|
||
word-break: break-word;
|
||
}
|
||
|
||
.agent-kv-sub {
|
||
font-size: 12px;
|
||
}
|
||
|
||
.agent-model-select {
|
||
display: grid;
|
||
gap: 12px;
|
||
}
|
||
|
||
.agent-model-fields {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||
gap: 16px;
|
||
align-items: start;
|
||
}
|
||
|
||
.agent-model-fields .field {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.agent-model-fields .field select {
|
||
width: 100%;
|
||
min-width: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
.agent-model-fields .agent-chip-input {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
}
|
||
|
||
@media (max-width: 640px) {
|
||
.agent-model-fields {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.agent-model-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
}
|
||
|
||
.agent-model-meta {
|
||
display: grid;
|
||
gap: 6px;
|
||
min-width: 200px;
|
||
}
|
||
|
||
.agent-files-grid {
|
||
display: grid;
|
||
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
|
||
gap: 16px;
|
||
}
|
||
|
||
.agent-files-list {
|
||
display: grid;
|
||
gap: 8px;
|
||
}
|
||
|
||
.agent-file-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 12px;
|
||
width: 100%;
|
||
text-align: left;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
padding: 10px 12px;
|
||
cursor: pointer;
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-file-row:hover {
|
||
border-color: var(--border-strong);
|
||
}
|
||
|
||
.agent-file-row.active {
|
||
border-color: var(--accent);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.agent-file-name {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.agent-file-meta {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.agent-files-editor {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
padding: 16px;
|
||
background: var(--card);
|
||
}
|
||
|
||
.agent-file-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.agent-file-title {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.agent-file-sub {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.agent-file-actions {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.agent-file-actions .btn svg {
|
||
width: 14px;
|
||
height: 14px;
|
||
vertical-align: -2px;
|
||
margin-right: 2px;
|
||
}
|
||
|
||
/* Markdown preview dialog */
|
||
|
||
.md-preview-dialog {
|
||
position: fixed;
|
||
inset: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
max-width: 100%;
|
||
max-height: 100%;
|
||
margin: 0;
|
||
padding: 0;
|
||
border: none;
|
||
background: transparent;
|
||
z-index: 1000;
|
||
}
|
||
|
||
.md-preview-dialog::backdrop {
|
||
background: rgba(0, 0, 0, 0.6);
|
||
backdrop-filter: blur(4px);
|
||
}
|
||
|
||
.md-preview-dialog__panel {
|
||
display: flex;
|
||
flex-direction: column;
|
||
width: min(860px, 90vw);
|
||
max-height: 85vh;
|
||
margin: 7vh auto;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--card);
|
||
box-shadow: var(--shadow-lg);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.md-preview-dialog__header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 14px 20px;
|
||
border-bottom: 1px solid var(--border);
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.md-preview-dialog__header .btn svg {
|
||
width: 14px;
|
||
height: 14px;
|
||
vertical-align: -2px;
|
||
margin-right: 2px;
|
||
}
|
||
|
||
.md-preview-dialog__title {
|
||
font-weight: 600;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.md-preview-dialog__body {
|
||
padding: 24px 28px;
|
||
overflow-y: auto;
|
||
flex: 1;
|
||
line-height: 1.7;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.agent-tools-meta {
|
||
display: grid;
|
||
gap: 12px;
|
||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||
}
|
||
|
||
.agent-tools-buttons {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
margin-top: 8px;
|
||
}
|
||
|
||
.agent-tools-grid {
|
||
display: grid;
|
||
gap: 16px;
|
||
}
|
||
|
||
.agent-tools-section {
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 10px;
|
||
background: var(--bg-elevated);
|
||
}
|
||
|
||
.agent-tools-header {
|
||
font-weight: 600;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.agent-tools-list {
|
||
display: grid;
|
||
gap: 8px 12px;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
}
|
||
|
||
.agent-tool-row {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 6px 8px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
}
|
||
|
||
.agent-tool-title {
|
||
font-weight: 600;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.agent-tool-sub {
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.agent-skills-groups {
|
||
display: grid;
|
||
gap: 16px;
|
||
}
|
||
|
||
.agent-skills-group {
|
||
display: grid;
|
||
gap: 10px;
|
||
}
|
||
|
||
.agent-skills-group summary {
|
||
list-style: none;
|
||
}
|
||
|
||
.agent-skills-header {
|
||
display: flex;
|
||
align-items: center;
|
||
font-weight: 600;
|
||
font-size: 13px;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.04em;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
gap: 8px;
|
||
}
|
||
|
||
.agent-skills-header > span:last-child {
|
||
margin-left: auto;
|
||
}
|
||
|
||
.agent-skills-group summary::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.agent-skills-group summary::marker {
|
||
content: "";
|
||
}
|
||
|
||
.agent-skills-header::after {
|
||
content: "▸";
|
||
font-size: 12px;
|
||
color: var(--muted);
|
||
transition: transform var(--duration-fast) ease;
|
||
margin-left: 8px;
|
||
}
|
||
|
||
.agent-skills-group[open] .agent-skills-header::after {
|
||
transform: rotate(90deg);
|
||
}
|
||
|
||
.agent-skill-row {
|
||
align-items: flex-start;
|
||
gap: 18px;
|
||
}
|
||
|
||
.agent-skill-row .list-meta {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: flex-end;
|
||
min-width: auto;
|
||
}
|
||
|
||
.skills-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
@container (min-width: 900px) {
|
||
.skills-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (max-width: 980px) {
|
||
.agents-layout {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.agent-header {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.agent-header-meta {
|
||
justify-items: start;
|
||
}
|
||
|
||
.agent-files-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.agent-tools-list {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
.agent-identity-card {
|
||
display: flex;
|
||
gap: 16px;
|
||
align-items: center;
|
||
padding: 16px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--bg-elevated);
|
||
}
|
||
|
||
.agent-identity-card .agent-avatar {
|
||
width: 56px;
|
||
height: 56px;
|
||
font-size: 24px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.agent-identity-details {
|
||
display: grid;
|
||
gap: 4px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.agent-identity-name {
|
||
font-weight: 700;
|
||
font-size: 16px;
|
||
}
|
||
|
||
.agent-identity-meta {
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
color: var(--muted);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.agent-chip-input {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
align-items: center;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
background: var(--card);
|
||
padding: 6px 8px;
|
||
min-height: 38px;
|
||
cursor: text;
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-chip-input:focus-within {
|
||
border-color: var(--accent);
|
||
}
|
||
|
||
.agent-chip-input .chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
|
||
.agent-chip-input .chip-remove {
|
||
cursor: pointer;
|
||
opacity: 0.6;
|
||
font-size: 14px;
|
||
line-height: 1;
|
||
padding: 0 2px;
|
||
background: none;
|
||
border: none;
|
||
color: inherit;
|
||
}
|
||
|
||
.agent-chip-input .chip-remove:hover {
|
||
opacity: 1;
|
||
}
|
||
|
||
.agent-chip-input input {
|
||
border: none;
|
||
background: transparent;
|
||
color: inherit;
|
||
font: inherit;
|
||
font-size: 13px;
|
||
outline: none;
|
||
padding: 2px 0;
|
||
flex: 1;
|
||
min-width: 120px;
|
||
}
|
||
|
||
.agent-actions-wrap {
|
||
position: relative;
|
||
}
|
||
|
||
.agent-actions-toggle {
|
||
background: var(--secondary);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
padding: 6px 10px;
|
||
cursor: pointer;
|
||
font-size: 16px;
|
||
line-height: 1;
|
||
color: var(--muted);
|
||
transition: border-color var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-actions-toggle:hover {
|
||
border-color: var(--border-strong);
|
||
color: var(--vscode-text);
|
||
}
|
||
|
||
.agent-actions-menu {
|
||
position: absolute;
|
||
top: calc(100% + 6px);
|
||
right: 0;
|
||
z-index: 50;
|
||
min-width: 180px;
|
||
background: var(--glass-bg-elevated);
|
||
backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-md);
|
||
box-shadow: var(--glass-shadow-md);
|
||
padding: 4px;
|
||
display: grid;
|
||
gap: 2px;
|
||
}
|
||
|
||
.agent-actions-menu button {
|
||
display: block;
|
||
width: 100%;
|
||
text-align: left;
|
||
padding: 8px 12px;
|
||
border: none;
|
||
background: transparent;
|
||
color: var(--vscode-text);
|
||
font-size: 13px;
|
||
border-radius: var(--radius-sm);
|
||
cursor: pointer;
|
||
transition: background var(--duration-fast) ease;
|
||
}
|
||
|
||
.agent-actions-menu button:hover {
|
||
background: var(--vscode-hover);
|
||
}
|
||
|
||
.agent-actions-menu button:disabled {
|
||
opacity: 0.4;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.agent-actions-menu button:disabled:hover {
|
||
background: transparent;
|
||
}
|
||
|
||
.workspace-link {
|
||
background: none;
|
||
border: none;
|
||
color: var(--accent);
|
||
cursor: pointer;
|
||
font: inherit;
|
||
padding: 0;
|
||
text-decoration: underline;
|
||
text-decoration-style: dotted;
|
||
text-underline-offset: 3px;
|
||
}
|
||
|
||
.workspace-link:hover {
|
||
text-decoration-style: solid;
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Section Dividers
|
||
=========================================== */
|
||
|
||
.ov-section-divider {
|
||
height: 1px;
|
||
background: var(--border);
|
||
margin: 22px 0;
|
||
opacity: 0.5;
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Gateway Access
|
||
=========================================== */
|
||
|
||
.ov-access-grid {
|
||
display: grid;
|
||
gap: 12px;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.ov-access-grid__full {
|
||
grid-column: 1 / -1;
|
||
}
|
||
|
||
@media (max-width: 996px) {
|
||
.ov-access-grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 10px;
|
||
}
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Dashboard Cards
|
||
=========================================== */
|
||
|
||
.ov-cards {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 12px;
|
||
margin-top: 18px;
|
||
}
|
||
|
||
.ov-card {
|
||
--ov-accent: var(--muted);
|
||
all: unset;
|
||
display: grid;
|
||
gap: 4px;
|
||
padding: 16px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
border-left: 3px solid var(--ov-accent);
|
||
background: var(--card);
|
||
cursor: pointer;
|
||
box-shadow:
|
||
var(--shadow-sm),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
transition:
|
||
border-color var(--duration-normal) var(--ease-out),
|
||
box-shadow var(--duration-normal) var(--ease-out),
|
||
transform var(--duration-normal) var(--ease-out);
|
||
animation: rise 0.35s var(--ease-out) backwards;
|
||
}
|
||
|
||
.ov-card:hover {
|
||
border-color: var(--border-strong);
|
||
border-left-color: var(--ov-accent);
|
||
box-shadow:
|
||
var(--shadow-md),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
transform: translateY(-2px);
|
||
}
|
||
|
||
.ov-card:focus-visible {
|
||
outline: none;
|
||
border-color: var(--ring);
|
||
border-left-color: var(--ov-accent);
|
||
box-shadow: var(--focus-ring);
|
||
}
|
||
|
||
.ov-card[data-kind="cost"] {
|
||
--ov-accent: var(--kn-bioluminescence);
|
||
}
|
||
|
||
.ov-card[data-kind="sessions"] {
|
||
--ov-accent: var(--kn-silver);
|
||
}
|
||
|
||
.ov-card[data-kind="skills"] {
|
||
--ov-accent: var(--kn-claw-ember);
|
||
}
|
||
|
||
.ov-card[data-kind="cron"] {
|
||
--ov-accent: var(--vscode-accent);
|
||
}
|
||
|
||
.ov-card__label {
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.06em;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.ov-card__value {
|
||
font-size: 24px;
|
||
font-weight: 700;
|
||
letter-spacing: -0.025em;
|
||
line-height: 1.15;
|
||
}
|
||
|
||
.ov-card__hint {
|
||
font-size: 12px;
|
||
color: var(--muted);
|
||
line-height: 1.4;
|
||
}
|
||
|
||
.redacted {
|
||
filter: blur(5px);
|
||
user-select: none;
|
||
pointer-events: none;
|
||
transition: filter var(--duration-normal, 250ms) ease;
|
||
}
|
||
|
||
/* Recent sessions */
|
||
|
||
.ov-recent {
|
||
margin-top: 14px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
background: var(--card);
|
||
padding: 14px 16px;
|
||
box-shadow:
|
||
var(--shadow-sm),
|
||
inset 0 1px 0 var(--card-highlight);
|
||
animation: rise 0.35s var(--ease-out) backwards;
|
||
}
|
||
|
||
.ov-recent__title {
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
letter-spacing: -0.02em;
|
||
color: var(--text-strong);
|
||
margin: 0 0 8px;
|
||
}
|
||
|
||
.ov-recent__list {
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
.ov-recent__row {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 2fr) minmax(0, auto) auto;
|
||
gap: 12px;
|
||
align-items: center;
|
||
padding: 7px 0;
|
||
border-bottom: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ov-recent__row:last-child {
|
||
border-bottom: none;
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.ov-recent__row:first-child {
|
||
padding-top: 0;
|
||
}
|
||
|
||
.ov-recent__key {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.ov-recent__key .blur-digits {
|
||
filter: blur(5px);
|
||
transition: filter 200ms ease-out;
|
||
user-select: none;
|
||
}
|
||
|
||
.ov-recent__row:hover .blur-digits {
|
||
filter: none;
|
||
}
|
||
|
||
.ov-recent__model {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
max-width: 120px;
|
||
}
|
||
|
||
.ov-recent__time {
|
||
color: var(--muted);
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* ===========================================
|
||
Attention Center
|
||
=========================================== */
|
||
|
||
.ov-attention {
|
||
margin-top: 18px;
|
||
}
|
||
|
||
.ov-attention-list {
|
||
margin-top: 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.ov-attention-item {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 10px;
|
||
padding: 10px 12px;
|
||
border-radius: var(--radius);
|
||
border: 1px solid var(--border);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ov-attention-item.danger {
|
||
border-color: var(--danger);
|
||
background: var(--danger-subtle);
|
||
}
|
||
|
||
.ov-attention-item.warn {
|
||
border-color: var(--warn, #d97706);
|
||
background: color-mix(in srgb, var(--warn, #d97706) 8%, transparent);
|
||
}
|
||
|
||
.ov-attention-icon {
|
||
flex-shrink: 0;
|
||
width: 16px;
|
||
height: 16px;
|
||
margin-top: 1px;
|
||
}
|
||
|
||
.ov-attention-icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.ov-attention-body {
|
||
flex: 1;
|
||
min-width: 0;
|
||
}
|
||
|
||
.ov-attention-title {
|
||
font-weight: 600;
|
||
margin-bottom: 2px;
|
||
}
|
||
|
||
.ov-attention-link {
|
||
flex-shrink: 0;
|
||
font-size: 12px;
|
||
color: var(--accent);
|
||
text-decoration: none;
|
||
align-self: center;
|
||
}
|
||
|
||
.ov-attention-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Event Log
|
||
=========================================== */
|
||
|
||
.ov-event-log {
|
||
margin-top: 0;
|
||
}
|
||
|
||
.ov-expandable-toggle {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
cursor: pointer;
|
||
font-size: 13px;
|
||
font-weight: 600;
|
||
list-style: none;
|
||
padding: 0;
|
||
}
|
||
|
||
.ov-expandable-toggle::-webkit-details-marker {
|
||
display: none;
|
||
}
|
||
|
||
.ov-expandable-toggle .nav-item__icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
|
||
.ov-expandable-toggle .nav-item__icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.ov-count-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
min-width: 20px;
|
||
height: 20px;
|
||
padding: 0 6px;
|
||
border-radius: 10px;
|
||
background: var(--border);
|
||
color: var(--muted);
|
||
font-size: 11px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.ov-event-log-list {
|
||
margin-top: 12px;
|
||
max-height: 300px;
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.ov-event-log-entry {
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 8px;
|
||
padding: 4px 0;
|
||
border-bottom: 1px solid var(--border);
|
||
font-size: 12px;
|
||
font-family: var(--mono);
|
||
min-width: 0;
|
||
}
|
||
|
||
.ov-event-log-entry:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.ov-event-log-ts {
|
||
flex-shrink: 0;
|
||
color: var(--muted);
|
||
width: 70px;
|
||
}
|
||
|
||
.ov-event-log-name {
|
||
font-weight: 600;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.ov-event-log-payload {
|
||
flex: 1;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Log Tail
|
||
=========================================== */
|
||
|
||
.ov-log-tail {
|
||
margin-top: 0;
|
||
}
|
||
|
||
.ov-log-refresh {
|
||
margin-left: auto;
|
||
cursor: pointer;
|
||
width: 14px;
|
||
height: 14px;
|
||
color: var(--muted);
|
||
}
|
||
|
||
.ov-log-refresh svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.ov-log-refresh:hover {
|
||
color: var(--fg);
|
||
}
|
||
|
||
.ov-log-tail-content {
|
||
margin-top: 8px;
|
||
max-height: 180px;
|
||
overflow: auto;
|
||
font-family: var(--mono);
|
||
font-size: 10px;
|
||
line-height: 1.45;
|
||
white-space: pre-wrap;
|
||
word-break: break-word;
|
||
background: var(--bg-inset, var(--bg));
|
||
padding: 8px;
|
||
border-radius: var(--radius);
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Quick Actions
|
||
=========================================== */
|
||
|
||
.ov-quick-actions {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
margin-top: 18px;
|
||
}
|
||
|
||
.ov-quick-action-btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.ov-quick-action-btn .nav-item__icon {
|
||
width: 14px;
|
||
height: 14px;
|
||
}
|
||
|
||
.ov-quick-action-btn .nav-item__icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
/* ===========================================
|
||
Stream Mode Banner
|
||
=========================================== */
|
||
|
||
.ov-stream-banner {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.ov-stream-banner .nav-item__icon {
|
||
width: 14px;
|
||
height: 14px;
|
||
}
|
||
|
||
.ov-stream-banner .nav-item__icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
/* ===========================================
|
||
Overview Bottom Grid
|
||
=========================================== */
|
||
|
||
.ov-bottom-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr;
|
||
gap: 14px;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.ov-bottom-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.ov-cards {
|
||
grid-template-columns: repeat(2, 1fr);
|
||
}
|
||
|
||
.ov-recent__row {
|
||
grid-template-columns: minmax(0, 1fr) auto;
|
||
}
|
||
|
||
.ov-recent__model {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.ov-cards {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
|
||
/* ===========================================
|
||
Command Palette
|
||
=========================================== */
|
||
|
||
.cmd-palette-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 1000;
|
||
background: rgba(0, 0, 0, 0.5);
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
padding-top: min(20vh, 160px);
|
||
animation: fade-in 0.12s ease-out;
|
||
}
|
||
|
||
.cmd-palette {
|
||
width: min(560px, 90vw);
|
||
background: var(--card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius-lg);
|
||
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
||
overflow: hidden;
|
||
animation: scale-in 0.15s ease-out;
|
||
}
|
||
|
||
.cmd-palette__input {
|
||
width: 100%;
|
||
padding: 14px 18px;
|
||
background: transparent;
|
||
border: none;
|
||
border-bottom: 1px solid var(--border);
|
||
font-size: 15px;
|
||
color: var(--fg);
|
||
outline: none;
|
||
}
|
||
|
||
.cmd-palette__input::placeholder {
|
||
color: var(--muted);
|
||
}
|
||
|
||
.cmd-palette__results {
|
||
max-height: 320px;
|
||
overflow-y: auto;
|
||
padding: 6px 0;
|
||
}
|
||
|
||
.cmd-palette__group-label {
|
||
padding: 8px 18px 4px;
|
||
font-size: 11px;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.05em;
|
||
color: var(--muted);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.cmd-palette__item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
padding: 8px 18px;
|
||
cursor: pointer;
|
||
font-size: 14px;
|
||
transition: background 0.1s;
|
||
}
|
||
|
||
.cmd-palette__item:hover,
|
||
.cmd-palette__item--active {
|
||
background: var(--hover);
|
||
}
|
||
|
||
.cmd-palette__item .nav-item__icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.cmd-palette__item .nav-item__icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.cmd-palette__item-desc {
|
||
margin-left: auto;
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* ===========================================
|
||
Bottom Tabs (Mobile Navigation)
|
||
=========================================== */
|
||
|
||
.bottom-tabs {
|
||
display: none;
|
||
border-top: 1px solid var(--border);
|
||
background: var(--card);
|
||
padding: 4px 0;
|
||
}
|
||
|
||
.bottom-tab {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
gap: 2px;
|
||
flex: 1;
|
||
padding: 6px 4px;
|
||
border: none;
|
||
background: none;
|
||
color: var(--muted);
|
||
cursor: pointer;
|
||
font-size: 10px;
|
||
transition: color 0.15s;
|
||
}
|
||
|
||
.bottom-tab--active {
|
||
color: var(--accent);
|
||
}
|
||
|
||
.bottom-tab__icon {
|
||
width: 20px;
|
||
height: 20px;
|
||
}
|
||
|
||
.bottom-tab__icon svg {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
|
||
.bottom-tab__label {
|
||
font-weight: 500;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.bottom-tabs {
|
||
display: flex;
|
||
}
|
||
}
|