Feat v0.6.12 css isolation (#47)
All checks were successful
CI/CD / detect-changes (push) Successful in 4s
CI/CD / test-frontend (push) Successful in 6s
CI/CD / test-go-pg (push) Successful in 2m44s
CI/CD / test-sqlite (push) Successful in 2m47s
CI/CD / build-and-deploy (push) Successful in 1m46s

Co-authored-by: Jeffrey Smith <jasafpro@gmail.com>
Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit was merged in pull request #47.
This commit is contained in:
2026-04-01 11:58:39 +00:00
committed by xcaliber
parent 786bc92768
commit 221ae94f4f
33 changed files with 1385 additions and 1074 deletions

View File

@@ -1,6 +1,6 @@
/* ── Schedules Surface ───────────────────── */
.sched-app {
.ext-schedules-app {
display: flex;
flex-direction: column;
height: 100%;
@@ -8,7 +8,7 @@
color: var(--text);
}
.sched-header {
.ext-schedules-header {
display: flex;
align-items: center;
justify-content: space-between;
@@ -16,13 +16,13 @@
border-bottom: 1px solid var(--border);
}
.sched-header h1 {
.ext-schedules-header h1 {
font-size: 1rem;
font-weight: 600;
margin: 0;
}
.sched-body {
.ext-schedules-body {
flex: 1;
overflow: auto;
padding: 16px;
@@ -31,28 +31,28 @@
gap: 16px;
}
.sched-count {
.ext-schedules-count {
font-size: 0.8rem;
color: var(--text-3);
}
/* ── Table ────────────────────────────────── */
.sched-list__loading,
.sched-list__empty {
.ext-schedules-list__loading,
.ext-schedules-list__empty {
padding: 40px 16px;
text-align: center;
color: var(--text-3);
font-size: 0.85rem;
}
.sched-table {
.ext-schedules-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
}
.sched-table th {
.ext-schedules-table th {
text-align: left;
padding: 8px 12px;
font-weight: 600;
@@ -63,19 +63,19 @@
border-bottom: 1px solid var(--border);
}
.sched-table td {
.ext-schedules-table td {
padding: 10px 12px;
border-bottom: 1px solid var(--border);
vertical-align: top;
}
.sched-row:hover {
.ext-schedules-row:hover {
background: var(--bg-hover);
}
.sched-row__name { min-width: 160px; }
.ext-schedules-row__name { min-width: 160px; }
.sched-link {
.ext-schedules-link {
background: none;
border: none;
color: var(--accent);
@@ -85,17 +85,17 @@
padding: 0;
text-align: left;
}
.sched-link:hover { text-decoration: underline; }
.ext-schedules-link:hover { text-decoration: underline; }
.sched-row__desc {
.ext-schedules-row__desc {
font-size: 0.75rem;
color: var(--text-3);
margin-top: 2px;
}
.sched-row__cron { white-space: nowrap; }
.ext-schedules-row__cron { white-space: nowrap; }
.sched-cron-badge {
.ext-schedules-cron-badge {
font-family: monospace;
font-size: 0.8rem;
background: var(--bg-raised);
@@ -104,19 +104,19 @@
color: var(--text-2);
}
.sched-cron-human {
.ext-schedules-cron-human {
font-size: 0.75rem;
color: var(--text-3);
margin-top: 2px;
}
.sched-row__next {
.ext-schedules-row__next {
font-size: 0.8rem;
color: var(--text-2);
white-space: nowrap;
}
.sched-row__actions {
.ext-schedules-row__actions {
display: flex;
gap: 4px;
white-space: nowrap;
@@ -124,7 +124,7 @@
/* ── Toggle button ────────────────────────── */
.sched-toggle-btn {
.ext-schedules-toggle-btn {
font-size: 0.75rem;
font-weight: 600;
padding: 2px 10px;
@@ -134,22 +134,22 @@
transition: background 0.15s, color 0.15s;
}
.sched-toggle-btn--on {
.ext-schedules-toggle-btn--on {
background: var(--success);
color: #fff;
border-color: var(--success);
}
.sched-toggle-btn--off {
.ext-schedules-toggle-btn--off {
background: var(--bg-raised);
color: var(--text-3);
}
.sched-toggle-btn:hover { opacity: 0.85; }
.ext-schedules-toggle-btn:hover { opacity: 0.85; }
/* ── Action buttons ───────────────────────── */
.sched-btn {
.ext-schedules-btn {
background: none;
border: 1px solid var(--border);
color: var(--text-2);
@@ -157,14 +157,14 @@
cursor: pointer;
transition: background 0.15s;
}
.sched-btn:hover { background: var(--bg-hover); }
.ext-schedules-btn:hover { background: var(--bg-hover); }
.sched-btn--sm {
.ext-schedules-btn--sm {
padding: 3px 8px;
font-size: 0.8rem;
}
.sched-btn--danger:hover {
.ext-schedules-btn--danger:hover {
background: var(--danger-dim);
color: var(--danger);
border-color: var(--danger);
@@ -172,28 +172,28 @@
/* ── Form ─────────────────────────────────── */
.sched-form { display: flex; flex-direction: column; gap: 12px; }
.sched-form__row { display: flex; align-items: center; gap: 12px; }
.sched-form__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.ext-schedules-form { display: flex; flex-direction: column; gap: 12px; }
.ext-schedules-form__row { display: flex; align-items: center; gap: 12px; }
.ext-schedules-form__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.sched-cron-input {
.ext-schedules-cron-input {
font-family: monospace;
}
.sched-cron-preview {
.ext-schedules-cron-preview {
font-size: 0.8rem;
color: var(--accent);
margin-top: 4px;
font-style: italic;
}
.sched-script {
.ext-schedules-script {
font-family: monospace;
font-size: 0.85rem;
resize: vertical;
}
.sched-toggle {
.ext-schedules-toggle {
display: flex;
align-items: center;
gap: 8px;
@@ -203,14 +203,14 @@
/* ── Logs panel ───────────────────────────── */
.sched-logs {
.ext-schedules-logs {
background: var(--bg-surface);
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
}
.sched-logs__header {
.ext-schedules-logs__header {
display: flex;
align-items: center;
justify-content: space-between;
@@ -220,15 +220,15 @@
font-weight: 600;
}
.sched-logs__loading,
.sched-logs__empty {
.ext-schedules-logs__loading,
.ext-schedules-logs__empty {
padding: 20px 12px;
text-align: center;
color: var(--text-3);
font-size: 0.8rem;
}
.sched-log-entry {
.ext-schedules-log-entry {
display: flex;
align-items: center;
gap: 10px;
@@ -236,28 +236,28 @@
border-bottom: 1px solid var(--border);
font-size: 0.8rem;
}
.sched-log-entry:last-child { border-bottom: none; }
.ext-schedules-log-entry:last-child { border-bottom: none; }
.sched-log-entry__status {
.ext-schedules-log-entry__status {
font-weight: 700;
width: 18px;
text-align: center;
}
.sched-log-entry__status--ok { color: var(--success); }
.sched-log-entry__status--fail { color: var(--danger); }
.ext-schedules-log-entry__status--ok { color: var(--success); }
.ext-schedules-log-entry__status--fail { color: var(--danger); }
.sched-log-entry__time {
.ext-schedules-log-entry__time {
color: var(--text-2);
white-space: nowrap;
}
.sched-log-entry__duration {
.ext-schedules-log-entry__duration {
color: var(--text-3);
font-family: monospace;
font-size: 0.75rem;
}
.sched-log-entry__error {
.ext-schedules-log-entry__error {
color: var(--danger);
font-size: 0.75rem;
overflow: hidden;
@@ -269,9 +269,9 @@
/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
.sched-table th:nth-child(3),
.sched-table td:nth-child(3) {
.ext-schedules-table th:nth-child(3),
.ext-schedules-table td:nth-child(3) {
display: none;
}
.sched-body { padding: 8px; }
.ext-schedules-body { padding: 8px; }
}