aktueller stand

This commit is contained in:
2025-12-15 12:14:59 +01:00
parent c63955f8a5
commit 6c83e4a7ee
6 changed files with 2544 additions and 0 deletions

583
web/automation.css Normal file
View File

@@ -0,0 +1,583 @@
:root {
--bg: #0b1020;
--card: #0f172a;
--card-soft: #131c35;
--border: rgba(255, 255, 255, 0.08);
--muted: #94a3b8;
--text: #e2e8f0;
--accent: #10b981;
--accent-2: #0ea5e9;
--danger: #ef4444;
--success: #22c55e;
--shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Manrope', 'Inter', system-ui, -apple-system, sans-serif;
background: radial-gradient(120% 120% at 10% 20%, rgba(16, 185, 129, 0.12), transparent 40%),
radial-gradient(120% 120% at 80% 0%, rgba(14, 165, 233, 0.12), transparent 40%),
var(--bg);
color: var(--text);
min-height: 100vh;
padding: 32px 18px 48px;
}
.auto-shell {
max-width: 1300px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 18px;
}
.auto-hero {
background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(14, 165, 233, 0.08)),
var(--card);
border: 1px solid var(--border);
border-radius: 18px;
padding: 22px 22px 18px;
box-shadow: var(--shadow);
}
.hero-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
flex-wrap: wrap;
}
.hero-text h1 {
margin: 4px 0;
font-size: 28px;
letter-spacing: -0.02em;
}
.subline {
margin: 6px 0 10px;
color: var(--muted);
}
.eyebrow {
font-size: 13px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--accent-2);
margin: 0;
}
.hero-pills {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
.pill {
background: rgba(255, 255, 255, 0.04);
color: var(--text);
border: 1px solid var(--border);
border-radius: 999px;
padding: 8px 12px;
font-size: 13px;
}
.hero-actions {
display: flex;
gap: 10px;
align-items: center;
}
.back-link {
color: var(--muted);
text-decoration: none;
font-size: 14px;
}
.hero-stats {
margin-top: 14px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 12px;
}
.stat {
background: rgba(255, 255, 255, 0.03);
border: 1px solid var(--border);
border-radius: 12px;
padding: 12px;
}
.stat-label {
color: var(--muted);
font-size: 13px;
}
.stat-value {
font-size: 22px;
font-weight: 700;
}
.auto-grid {
display: grid;
grid-template-columns: 1fr;
gap: 18px;
}
.panel {
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 18px;
box-shadow: var(--shadow);
}
.panel-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 12px;
}
.panel-eyebrow {
text-transform: uppercase;
letter-spacing: 0.08em;
font-size: 12px;
color: var(--muted);
margin: 0;
}
.panel-actions {
display: flex;
gap: 8px;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.field {
display: flex;
flex-direction: column;
gap: 6px;
}
.field.full {
grid-column: 1 / -1;
}
.field.inline {
min-width: 0;
}
label {
font-weight: 600;
color: var(--text);
}
input,
textarea,
select {
width: 100%;
border-radius: 10px;
border: 1px solid var(--border);
padding: 10px 12px;
background: #0c1427;
color: var(--text);
font-family: inherit;
font-size: 14px;
outline: none;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
border-color: var(--accent-2);
box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}
textarea {
resize: vertical;
}
small {
color: var(--muted);
}
.template-hint {
border: 1px dashed var(--border);
background: rgba(255, 255, 255, 0.02);
border-radius: 12px;
padding: 10px 12px;
font-family: 'JetBrains Mono', monospace;
color: var(--muted);
}
.template-title {
margin: 0 0 6px;
color: var(--text);
font-weight: 600;
}
.template-copy {
margin: 0;
word-break: break-all;
}
.form-status {
min-height: 22px;
color: var(--muted);
}
.form-status.error {
color: var(--danger);
}
.form-status.success {
color: var(--success);
}
.auto-table {
width: 100%;
border-collapse: collapse;
}
.auto-table th,
.auto-table td {
padding: 10px 8px;
text-align: left;
border-bottom: 1px solid var(--border);
font-size: 14px;
}
.auto-table th {
color: var(--muted);
font-weight: 600;
}
.auto-table tr.is-selected {
background: rgba(14, 165, 233, 0.08);
}
.row-title {
font-weight: 700;
color: var(--text);
}
.row-sub {
color: var(--muted);
font-size: 13px;
word-break: break-all;
}
.table-wrap {
overflow-x: auto;
}
.badge {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
border-radius: 999px;
font-size: 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border);
}
.badge.success {
color: var(--success);
border-color: rgba(34, 197, 94, 0.35);
}
.badge.error {
color: var(--danger);
border-color: rgba(239, 68, 68, 0.35);
}
.row-actions {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.primary-btn,
.secondary-btn,
.ghost-btn {
border: 1px solid transparent;
border-radius: 10px;
padding: 10px 14px;
font-weight: 700;
cursor: pointer;
font-size: 14px;
transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.primary-btn {
background: linear-gradient(135deg, var(--accent), var(--accent-2));
color: #0b1020;
box-shadow: 0 10px 30px rgba(14, 165, 233, 0.35);
}
.secondary-btn {
background: rgba(255, 255, 255, 0.06);
color: var(--text);
border-color: var(--border);
}
.ghost-btn {
background: transparent;
color: var(--text);
border-color: var(--border);
}
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
transform: translateY(-1px);
opacity: 0.95;
}
.list-status,
.runs-status,
.import-status {
min-height: 20px;
color: var(--muted);
margin-bottom: 8px;
}
.runs-list {
list-style: none;
padding: 0;
margin: 0;
display: grid;
gap: 10px;
}
.run-item {
border: 1px solid var(--border);
border-radius: 12px;
padding: 12px;
background: #0c1427;
}
.run-top {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
flex-wrap: wrap;
}
.run-meta {
display: flex;
gap: 8px;
align-items: center;
color: var(--muted);
}
.run-body {
margin: 8px 0 0;
color: var(--text);
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
white-space: pre-wrap;
word-break: break-all;
}
.runs-hint {
color: var(--muted);
margin: 0;
}
.import-panel textarea {
width: 100%;
}
.import-hint {
color: var(--muted);
margin: 0 0 8px;
}
.switch {
display: inline-flex;
align-items: center;
gap: 8px;
cursor: pointer;
}
.switch input {
display: none;
}
.switch-slider {
width: 42px;
height: 22px;
background: rgba(255, 255, 255, 0.2);
border-radius: 999px;
position: relative;
transition: background 0.2s ease;
}
.switch-slider::after {
content: '';
width: 18px;
height: 18px;
background: #fff;
border-radius: 50%;
position: absolute;
top: 2px;
left: 2px;
transition: transform 0.2s ease;
}
.switch input:checked + .switch-slider {
background: var(--accent);
}
.switch input:checked + .switch-slider::after {
transform: translateX(20px);
}
.switch-label {
color: var(--muted);
font-weight: 600;
}
.modal {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(0, 0, 0, 0.45);
backdrop-filter: blur(2px);
z-index: 900;
}
.modal__backdrop {
position: absolute;
inset: 0;
}
.modal__content {
position: relative;
background: var(--card);
border: 1px solid var(--border);
border-radius: 16px;
padding: 18px;
width: min(1100px, 96vw);
max-height: 92vh;
overflow-y: auto;
box-shadow: var(--shadow);
}
.modal__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 10px;
}
.modal-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.modal[hidden] {
display: none;
}
.preview-panel {
border: 1px solid var(--border);
border-radius: 12px;
padding: 12px;
background: rgba(255, 255, 255, 0.02);
}
.preview-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 8px;
}
.preview-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 10px;
}
.preview-block {
border: 1px dashed var(--border);
border-radius: 10px;
padding: 8px;
background: #0c1427;
}
.preview-label {
margin: 0 0 4px;
color: var(--muted);
font-size: 13px;
}
.preview-value {
margin: 0;
color: var(--text);
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
white-space: pre-wrap;
word-break: break-all;
max-height: 180px;
overflow: auto;
}
.preview-hint {
color: var(--muted);
margin: 8px 0 0;
font-size: 13px;
}
@media (max-width: 1050px) {
.auto-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
body {
padding: 16px 12px 32px;
}
.panel-header {
flex-direction: column;
align-items: flex-start;
}
.panel-actions {
width: 100%;
justify-content: flex-start;
}
.form-grid {
grid-template-columns: 1fr;
}
.hero-head {
flex-direction: column;
align-items: flex-start;
}
}