body { font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--fg); margin: 0; line-height: 1.5; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; } .container { max-width: 1400px; margin: 0 auto; padding: 24px 32px 80px; } /* ============ Header ============ */ .app-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; margin-bottom: 32px; border-bottom: 1px solid var(--border); } .brand { display: flex; align-items: center; gap: 14px; } .brand-logo { width: 36px; height: 36px; background: linear-gradient(135deg, #0080ff 0%, #6d8eff 50%, #f87171 100%); border-radius: 8px; display: grid; place-items: center; box-shadow: 0 4px 12px var(--accent-glow); } .brand-logo svg { color: white; } .brand-text h1 { margin: 0; font-size: 1.15em; font-weight: 600; letter-spacing: -0.01em; } .brand-text .sub { color: var(--fg-dim); font-size: 0.78em; font-family: ui-monospace, "SF Mono", monospace; } .header-actions { display: flex; gap: 12px; align-items: center; } /* ============ Net-Status Card ============ */ .net-status { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; font-size: 0.85em; } .net-status .mode-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg-dim); box-shadow: 0 0 0 0 var(--fg-dim); } .net-status.online .mode-dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); } .net-status.ap .mode-dot { background: var(--warn); box-shadow: 0 0 8px var(--warn); animation: pulse 2s ease-in-out infinite; } .net-status.offline .mode-dot { background: var(--alert); } .net-status.connecting .mode-dot { background: var(--info); animation: pulse 1s ease-in-out infinite; } @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } } .net-status .info-block { display: flex; flex-direction: column; line-height: 1.3; } .net-status .mode-label { font-weight: 600; } .net-status .mode-meta { color: var(--fg-muted); font-size: 0.9em; } .net-status .mode-error { color: var(--alert); font-size: 0.85em; margin-top: 2px; } /* ============ Buttons ============ */ button, .btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border-light); background: var(--surface); color: var(--fg); border-radius: 6px; cursor: pointer; font-size: 0.9em; font-family: inherit; transition: all 0.15s ease; } button:hover, .btn:hover { background: var(--surface-2); border-color: var(--accent); } button:active, .btn:active { transform: scale(0.98); } button:disabled { opacity: 0.5; cursor: not-allowed; } button.primary { background: var(--accent); color: white; border-color: var(--accent); } button.primary:hover { background: #5d7eef; border-color: #5d7eef; } button.danger { color: var(--alert); border-color: var(--alert); } button.danger:hover { background: rgba(248, 113, 113, 0.1); } button.warn { background: var(--warn); color: #1a1a1a; border-color: var(--warn); } button.ghost { background: transparent; border-color: transparent; } button.ghost:hover { background: var(--surface-2); border-color: var(--border); } button.icon { padding: 6px 8px; } button.refresh { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 2px 8px var(--accent-glow); } button.refresh:hover { box-shadow: 0 4px 16px var(--accent-glow); } /* ============ Tabs ============ */ .tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 24px; } .tab { padding: 10px 16px; background: transparent; border: none; border-bottom: 2px solid transparent; color: var(--fg-muted); cursor: pointer; font-size: 0.92em; font-family: inherit; transition: all 0.15s ease; } .tab:hover { color: var(--fg); } .tab.active { color: var(--fg); border-bottom-color: var(--accent); } .tab-content { display: none; } .tab-content.active { display: block; } /* ============ Cards ============ */ .card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 16px; } .card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); } .card-header h2, .card-header h3 { margin: 0; font-size: 0.95em; font-weight: 600; display: flex; align-items: center; gap: 8px; } .card-header .badge { font-size: 0.7em; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--fg-muted); font-family: ui-monospace, "SF Mono", monospace; } /* ============ Layout Editor ============ */ .layout-toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; } .add-form { display: flex; gap: 8px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 4px 4px 4px 12px; } .add-form select, .add-form input { border: none; background: transparent; color: var(--fg); padding: 6px 8px; font-family: inherit; font-size: 0.9em; } .add-form select { padding-right: 24px; } .add-form select:focus, .add-form input:focus { outline: none; } .add-form button { padding: 6px 12px; font-size: 0.85em; } .grid-preview { display: grid; grid-template-columns: repeat({{ grid.cols }}, 1fr); grid-template-rows: repeat({{ grid.rows }}, 120px); gap: 6px; background: var(--border); padding: 6px; border-radius: 8px; margin-bottom: 12px; min-height: 200px; } .grid-cell { background: var(--surface-2); border-radius: 4px; transition: background 0.15s; } .grid-item { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--border-light); border-radius: 6px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; transition: all 0.15s ease; cursor: grab; } .grid-item:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); } .grid-item.dragging { opacity: 0.5; } .grid-item.oob { border-color: var(--alert); background: linear-gradient(135deg, var(--surface) 0%, rgba(248, 113, 113, 0.1) 100%); } .grid-item .item-label { font-weight: 600; font-size: 0.85em; line-height: 1.2; color: var(--fg); } .grid-item .item-meta { font-size: 0.7em; color: var(--fg-dim); font-family: ui-monospace, "SF Mono", monospace; } .grid-item .item-category { display: inline-block; font-size: 0.65em; padding: 1px 6px; border-radius: 3px; background: var(--accent-glow); color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; } .grid-item .item-controls { position: absolute; top: 6px; right: 6px; display: flex; gap: 2px; opacity: 0; transition: opacity 0.15s; } .grid-item:hover .item-controls { opacity: 1; } .grid-item .item-controls button { padding: 2px 6px; font-size: 0.7em; line-height: 1.3; background: var(--surface); border: 1px solid var(--border); } .layout-status { font-size: 0.85em; color: var(--fg-muted); display: flex; align-items: center; gap: 6px; } .layout-status.has-warnings { color: var(--warn); } .layout-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; } /* ============ Plugin-Config Cards ============ */ .plugin-config-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; } .plugin-config-card h3 { margin: 0 0 4px; font-size: 0.95em; font-weight: 600; display: flex; align-items: center; gap: 8px; } .plugin-config-card h3 .badge { font-size: 0.7em; padding: 2px 8px; border-radius: 4px; background: var(--surface-2); color: var(--fg-muted); font-family: ui-monospace, "SF Mono", monospace; } .plugin-config-card .desc { font-size: 0.82em; color: var(--fg-muted); margin-bottom: 14px; } .plugin-config-card label { display: block; margin: 12px 0 4px; font-size: 0.78em; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 500; } .plugin-config-card input[type=text], .plugin-config-card input[type=number], .plugin-config-card input[type=password], .plugin-config-card select { width: 100%; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-size: 0.9em; font-family: inherit; transition: all 0.15s; } .plugin-config-card input:focus, .plugin-config-card select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); } .plugin-config-card input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--accent); } .plugin-config-card .checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; } .plugin-config-card .checkbox-row label { margin: 0; text-transform: none; letter-spacing: 0; font-size: 0.88em; color: var(--fg); } .plugin-config-card .help { font-size: 0.78em; color: var(--fg-dim); margin-top: 4px; font-style: italic; } .plugin-config-card .secret-row { display: flex; gap: 6px; align-items: stretch; } .plugin-config-card .secret-row input { flex: 1; font-family: ui-monospace, "SF Mono", monospace; } .plugin-config-card .secret-row button { flex: 0 0 auto; padding: 0 10px; color: var(--alert); border-color: var(--alert); } .plugin-config-card .actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); } .plugin-config-card .save-status { font-size: 0.78em; color: var(--success); display: none; align-items: center; gap: 4px; } .plugin-config-card .save-status.visible { display: inline-flex; } .plugin-config-card .save-status::before { content: '✓'; font-weight: bold; } /* ============ Preview ============ */ .preview-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-bottom: 24px; } .preview-card .preview-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .preview-card .preview-header h2 { margin: 0; font-size: 0.95em; font-weight: 600; } .preview-card .meta { color: var(--fg-muted); font-size: 0.85em; } .preview-card img { max-width: 100%; height: auto; display: block; border-radius: 6px; border: 1px solid var(--border); image-rendering: pixelated; } /* ============ Network panel ============ */ .network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .network-grid > .card { margin-bottom: 0; } .network-grid .full-width { grid-column: 1 / -1; } .network-grid h3 { margin: 0 0 12px; font-size: 0.95em; font-weight: 600; } .network-grid label { display: block; margin: 12px 0 4px; font-size: 0.78em; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; } .network-grid input, .network-grid select { width: 100%; padding: 8px 12px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-family: inherit; } .network-grid input:focus, .network-grid select:focus { outline: none; border-color: var(--accent); } .network-grid .checkbox-row { display: flex; align-items: center; gap: 8px; margin: 12px 0; } .network-grid .checkbox-row label { margin: 0; text-transform: none; letter-spacing: 0; } .network-grid ul#savedList { list-style: none; padding: 0; margin: 0; } .network-grid ul#savedList li { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); } .network-grid ul#savedList li:last-child { border-bottom: 0; } .network-grid ul#savedList code { font-family: ui-monospace, "SF Mono", monospace; font-size: 0.85em; } .network-grid details { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 12px 16px; } .network-grid details summary { cursor: pointer; font-weight: 500; color: var(--fg-muted); } .network-grid details code { background: var(--bg); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; } /* ============ Empty state ============ */ .empty-state { text-align: center; padding: 40px 20px; color: var(--fg-muted); } .empty-state .icon { font-size: 2em; margin-bottom: 8px; opacity: 0.5; } .empty-state .hint { font-size: 0.85em; margin-top: 4px; } /* ============ Responsive ============ */ @media (max-width: 900px) { .container { padding: 16px; } .network-grid { grid-template-columns: 1fr; } .app-header { flex-direction: column; align-items: flex-start; gap: 16px; } .header-actions { width: 100%; flex-wrap: wrap; } } /* ============ Scrollbar ============ */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: var(--border-light); } /* ============ Admin Theme Switcher ============ */ .admin-theme-switcher { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px; } .theme-btn { width: 28px; height: 28px; border: none; border-radius: 4px; background: transparent; color: var(--fg-muted); font-size: 0.8em; font-weight: 700; font-family: monospace; cursor: pointer; transition: all 0.15s; } .theme-btn:hover { background: var(--surface-2); color: var(--fg); } .theme-btn.active { background: var(--accent); color: #fff; } [data-theme="B"] .theme-btn.active { background: var(--accent); color: #000; } [data-theme="C"] .theme-btn.active { background: var(--accent); color: #fff; }
bestimmt das Layout auf dem e-Paper-Display.
epaper-dashboard.servicejournalctl -u epaper-dashboard -fconfig.jsonplugins/Wenn das konfigurierte WLAN nicht erreichbar ist (z.B. Router defekt, falsches Passwort, Pi umgezogen), startet das System automatisch einen Recovery-Hotspot.
epaper-recoveryrecovery1234