Files
Yadciel c611b008af Fügt CLI-Toolverwaltung und erweiterte UI-Funktionen hinzu
Ermöglicht die Verwaltung (Erstellen, Auflisten, Ausführen) von Tools über eine Befehlszeilenschnittstelle für Automatisierung und Integration. Die Benutzeroberfläche wurde mit dedizierten Ansichten für Toolerstellung und -bearbeitung, In-App-Lua-Hilfe sowie kontextsensitiven Menüs erweitert. Neue Abhängigkeiten (CLI11, rang) wurden integriert und eine umfassende Testsuite hinzugefügt. Die Lizenzierung wurde auf AGPL-3.0 umgestellt und ein Kontributionsleitfaden bereitgestellt.
2026-07-17 17:22:15 +02:00

1448 lines
43 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:root {
--sky-top: #0b1c2c;
--sky-mid: #0f2a3d;
--sky-low: #0a1a28;
--aqua-1: rgba(210, 245, 255, 0.85);
--aqua-2: rgba(120, 210, 255, 0.9);
--aqua-3: rgba(60, 150, 220, 0.95);
--glass: rgba(18, 40, 60, 0.55);
--glass-strong: rgba(24, 55, 80, 0.75);
--glass-border: rgba(140, 210, 255, 0.35);
--ink: #e6f7ff;
--ink-soft: #b9d9ee;
--shadow: rgba(4, 10, 16, 0.6);
--shine: rgba(255, 255, 255, 0.25);
--accent: #4fc3ff;
--accent-deep: #1e74c9;
}
/* Globale Scrollbar-Stile im Toolbox-Design */
* {
scrollbar-width: thin;
scrollbar-color: rgba(60, 150, 220, 0.95) rgba(20, 45, 70, 0.4);
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: rgba(20, 45, 70, 0.3);
border-radius: 999px;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(180deg, rgba(120, 210, 255, 0.9), rgba(60, 150, 220, 0.95));
border-radius: 999px;
border: 2px solid rgba(20, 45, 70, 0.4);
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(180deg, rgba(210, 245, 255, 0.85), rgba(120, 210, 255, 0.9));
}
::-webkit-scrollbar-corner {
background: transparent;
}
html {
background: transparent;
border-radius: 18px;
overflow: hidden;
}
body {
font-family: "Frutiger", "Frutiger LT Std", "Segoe UI", "Tahoma", "Verdana", sans-serif;
background: transparent;
margin: 0;
color: var(--ink);
padding: 0;
height: 100vh;
}
#shell {
position: relative;
display: flex;
flex-direction: column;
height: 100vh;
background: rgba(10, 26, 40, 1.0);
border-radius: 18px;
overflow: hidden;
}
.header {
background: linear-gradient(180deg, rgba(20, 45, 70, 0.85), rgba(12, 28, 45, 0.7));
padding: 12px 18px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
text-align: center;
box-shadow: 0 10px 22px var(--shadow), inset 0 1px 0 var(--shine);
border-bottom: 1px solid rgba(140, 210, 255, 0.2);
position: relative;
backdrop-filter: blur(10px);
}
.header:after {
content: "";
position: absolute;
left: 12px;
right: 12px;
top: 8px;
height: 16px;
background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0));
border-radius: 12px;
pointer-events: none;
}
.button {
background: linear-gradient(180deg, rgba(120, 210, 255, 0.35), rgba(60, 150, 220, 0.55));
border: 1px solid rgba(140, 210, 255, 0.45);
color: var(--ink);
cursor: pointer;
padding: 7px 14px;
border-radius: 999px;
box-shadow: 0 6px 12px var(--shadow), inset 0 1px 0 var(--shine);
text-shadow: 0 1px 0 rgba(0,0,0,0.35);
transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover {
background: linear-gradient(180deg, rgba(150, 225, 255, 0.45), rgba(80, 170, 235, 0.7));
transform: translateY(-1px);
box-shadow: 0 10px 18px var(--shadow), inset 0 1px 0 var(--shine);
}
.button:active {
transform: translateY(1px);
box-shadow: 0 4px 10px var(--shadow), inset 0 2px 6px rgba(0,0,0,0.25);
}
.header-cluster {
display: flex;
align-items: center;
gap: 8px;
min-width: 120px;
}
.header-left {
justify-content: flex-start;
}
.header-right {
justify-content: flex-end;
}
.button-group {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 4px 6px;
border-radius: 999px;
background: rgba(12, 28, 45, 0.55);
border: 1px solid rgba(140, 210, 255, 0.25);
box-shadow: inset 0 1px 0 var(--shine), 0 8px 16px rgba(4, 10, 16, 0.35);
}
.icon-button {
width: 36px;
height: 36px;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-size: 16px;
line-height: 1;
}
.header h1 {
margin: 0;
flex: 1;
text-align: center;
font-size: 19px;
letter-spacing: 0.5px;
color: var(--ink-soft);
text-shadow: 0 1px 0 rgba(0,0,0,0.45);
}
.main {
flex: 1;
padding: 16px;
overflow-y: auto;
}
.tool-card {
display: flex;
align-items: center;
background: var(--glass);
padding: 12px;
border-radius: 14px;
margin-bottom: 12px;
box-shadow: 0 12px 22px var(--shadow), inset 0 1px 0 var(--shine);
border: 1px solid var(--glass-border);
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
color: inherit;
text-decoration: none;
backdrop-filter: blur(6px);
}
.tool-card:hover {
transform: translateY(-2px) scale(1.01);
background: var(--glass-strong);
box-shadow: 0 16px 26px var(--shadow), inset 0 1px 0 var(--shine);
}
.tool-card.tool-running,
.tool-card.tool-running:hover {
transform: none;
cursor: not-allowed;
background: linear-gradient(135deg, rgba(125, 24, 35, 0.82), rgba(68, 18, 29, 0.9));
border-color: rgba(255, 102, 112, 0.85);
box-shadow: 0 12px 24px rgba(75, 5, 15, 0.48), inset 0 1px 0 rgba(255, 190, 195, 0.18);
}
.tool-card img {
width: 62px;
height: 62px;
margin-right: 12px;
border-radius: 12px;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 12px rgba(0,0,0,0.25);
border: 1px solid rgba(140, 210, 255, 0.35);
background: rgba(12, 28, 45, 0.6);
}
.tool-info {
flex-grow: 1;
color: var(--ink);
text-align: left;
}
.tool-info h3 {
margin: 0;
font-size: 16px;
}
.tool-info p {
margin: 6px 0 0;
font-size: 13px;
color: #9bc4dc;
}
.tool-action {
display: flex;
align-items: center;
gap: 8px;
margin-left: auto;
}
.tool-running-status {
color: #ffb7bd;
font-size: 11px;
font-weight: 650;
}
.tool-action button {
background: linear-gradient(180deg, rgba(130, 220, 255, 0.9), rgba(40, 120, 190, 0.95));
border: 1px solid rgba(140, 210, 255, 0.6);
color: #e9f8ff;
padding: 8px 14px;
border-radius: 999px;
cursor: pointer;
font-weight: 600;
box-shadow: 0 6px 12px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.2);
transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.tool-action button:hover {
transform: translateY(-1px);
box-shadow: 0 10px 16px var(--shadow), inset 0 1px 0 rgba(255,255,255,0.25);
}
.tool-action button.disabled {
background: linear-gradient(180deg, rgba(120, 120, 120, 0.6), rgba(80, 80, 80, 0.8));
color: #9aa6b0;
cursor: not-allowed;
pointer-events: none;
}
.tool-action button.running {
background: linear-gradient(180deg, rgba(255, 215, 140, 0.95), rgba(215, 155, 60, 0.95));
color: #3b2a00;
cursor: progress;
}
.add-tool-card {
display: flex;
align-items: center;
justify-content: center;
background: transparent;
border: 2px dashed rgba(140, 210, 255, 0.4);
padding: 8px 12px;
border-radius: 14px;
margin-bottom: 12px;
height: calc((62px + 24px) / 2);
cursor: pointer;
transition: all 0.2s ease;
backdrop-filter: blur(6px);
}
.add-tool-card:hover {
border-color: rgba(140, 210, 255, 0.7);
background: rgba(18, 40, 60, 0.3);
transform: translateY(-2px);
box-shadow: 0 8px 16px rgba(4, 10, 16, 0.3);
}
.add-tool-card .plus-icon {
font-size: 24px;
color: var(--aqua-2);
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
font-weight: 300;
}
.add-tool-card:hover .plus-icon {
color: var(--aqua-1);
transform: scale(1.1);
}
.footer {
background: linear-gradient(180deg, rgba(18, 40, 60, 0.65), rgba(8, 18, 28, 0.6));
padding: 10px 20px;
text-align: center;
font-size: 12px;
color: #9bbfd6;
border-top: 1px solid rgba(140, 210, 255, 0.2);
}
.settings-page {
display: flex;
height: 100vh;
}
.settings-page #shell {
flex-direction: column;
width: 100%;
}
.settings-page .settings-shell {
height: 100vh;
}
.settings-page .settings-body {
flex: 1;
display: flex;
min-height: 0;
position: relative;
z-index: 1;
}
.settings-page .titlebar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 10px 12px;
background: linear-gradient(180deg, rgba(20, 45, 70, 0.85), rgba(12, 28, 45, 0.75));
border-bottom: 1px solid rgba(140, 210, 255, 0.2);
box-shadow: 0 10px 20px var(--shadow), inset 0 1px 0 var(--shine);
user-select: none;
z-index: 2;
}
.settings-page .titlebar-left {
display: flex;
align-items: center;
gap: 10px;
}
.settings-page .titlebar-title {
font-size: 14px;
letter-spacing: 0.4px;
color: var(--ink-soft);
}
.settings-page .titlebar-actions {
display: flex;
gap: 8px;
}
.settings-page .titlebar-btn {
border: 1px solid rgba(140, 210, 255, 0.35);
background: rgba(10, 26, 40, 0.7);
color: var(--ink);
width: 30px;
height: 26px;
border-radius: 8px;
cursor: pointer;
display: inline-flex;
align-items: center;
justify-content: center;
box-shadow: inset 0 1px 0 var(--shine);
transition: background 0.2s ease, transform 0.2s ease;
}
.settings-page .titlebar-btn:hover {
background: rgba(30, 65, 95, 0.8);
transform: translateY(-1px);
}
.settings-page .titlebar-btn.close:hover {
background: rgba(160, 45, 55, 0.85);
}
.settings-page .resize-handle {
position: absolute;
z-index: 3;
}
.settings-page .resize-top,
.settings-page .resize-bottom {
left: 6px;
right: 6px;
height: 8px;
}
.settings-page .resize-left,
.settings-page .resize-right {
top: 6px;
bottom: 6px;
width: 8px;
}
.settings-page .resize-top {
top: 0;
cursor: ns-resize;
}
.settings-page .resize-bottom {
bottom: 0;
cursor: ns-resize;
}
.settings-page .resize-left {
left: 0;
cursor: ew-resize;
}
.settings-page .resize-right {
right: 0;
cursor: ew-resize;
}
.settings-page .resize-top-left,
.settings-page .resize-top-right,
.settings-page .resize-bottom-left,
.settings-page .resize-bottom-right {
width: 12px;
height: 12px;
}
.settings-page .resize-top-left {
top: 0;
left: 0;
cursor: nwse-resize;
}
.settings-page .resize-top-right {
top: 0;
right: 0;
cursor: nesw-resize;
}
.settings-page .resize-bottom-left {
bottom: 0;
left: 0;
cursor: nesw-resize;
}
.settings-page .resize-bottom-right {
bottom: 0;
right: 0;
cursor: nwse-resize;
}
.settings-page .sidebar {
width: 220px;
padding: 16px;
background: rgba(12, 28, 45, 0.7);
border-right: 1px solid rgba(140, 210, 255, 0.2);
box-shadow: 8px 0 18px var(--shadow);
overflow-y: auto;
}
.settings-page .sidebar h2 {
color: var(--ink-soft);
font-size: 16px;
margin: 0 0 12px 0;
letter-spacing: 0.4px;
}
.settings-page .sidebar ul {
list-style: none;
padding: 0;
margin: 0;
}
.settings-page .sidebar ul li {
margin-bottom: 10px;
}
.settings-page .sidebar ul li a {
text-decoration: none;
padding: 10px 12px;
display: block;
border-radius: 10px;
background: var(--glass);
color: var(--ink);
border: 1px solid var(--glass-border);
box-shadow: inset 0 1px 0 var(--shine);
transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.settings-page .sidebar ul li a:hover {
background: var(--glass-strong);
transform: translateY(-1px);
box-shadow: 0 8px 16px var(--shadow), inset 0 1px 0 var(--shine);
}
.settings-page .main-container {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.settings-page .header {
display: flex;
align-items: center;
justify-content: space-between;
text-align: left;
}
.settings-page .header h1 {
margin: 0;
font-size: 18px;
color: var(--ink-soft);
}
.settings-page .back-button {
border: 1px solid rgba(140, 210, 255, 0.45);
background: linear-gradient(180deg, rgba(120, 210, 255, 0.35), rgba(60, 150, 220, 0.55));
color: var(--ink);
padding: 8px 14px;
border-radius: 999px;
cursor: pointer;
box-shadow: 0 6px 12px var(--shadow), inset 0 1px 0 var(--shine);
transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.settings-page .back-button:hover {
background: linear-gradient(180deg, rgba(150, 225, 255, 0.45), rgba(80, 170, 235, 0.7));
transform: translateY(-1px);
box-shadow: 0 10px 18px var(--shadow), inset 0 1px 0 var(--shine);
}
.settings-page .editor,
.settings-page .general {
flex: 1;
padding: 16px;
display: none;
align-items: center;
justify-content: center;
background: transparent;
min-height: 0;
}
.settings-page .settings-card {
width: min(80%, 520px);
background: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 14px;
padding: 16px;
box-shadow: 0 12px 22px var(--shadow), inset 0 1px 0 var(--shine);
}
.settings-page .settings-tool-name {
margin-bottom: 20px;
color: var(--accent);
}
.settings-page .settings-input,
.settings-page .editor textarea {
width: 100%;
margin-top: 6px;
padding: 10px;
border-radius: 10px;
border: 1px solid var(--glass-border);
background: rgba(12, 28, 45, 0.6);
color: var(--ink);
font-size: 14px;
box-shadow: inset 0 1px 0 var(--shine);
box-sizing: border-box;
}
.settings-page .editor textarea {
height: 70%;
font-family: "Consolas", "Courier New", monospace;
}
.settings-page .editor pre {
width: 100%;
margin-top: 10px;
background: rgba(12, 28, 45, 0.6);
color: var(--ink);
border: 1px solid var(--glass-border);
border-radius: 10px;
padding: 10px;
overflow-x: auto;
white-space: pre-wrap;
word-break: break-word;
box-shadow: inset 0 1px 0 var(--shine);
}
.settings-page .code-keyword {
color: var(--accent);
font-weight: 600;
}
.settings-page .code-string {
color: #ffd27a;
}
.settings-page .code-number {
color: #8fe7ff;
}
.settings-page .code-comment {
color: #7aa0b5;
font-style: italic;
}
.settings-page .settings-help,
.settings-page .settings-status {
margin-top: 8px;
font-size: 12px;
color: #9bbfd6;
}
.settings-page .settings-save {
margin-top: 16px;
}
.add-tool-page {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 22px;
position: relative;
z-index: 1;
}
.add-tool-heading {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-bottom: 18px;
}
.add-tool-heading h1 {
margin: 3px 0 5px;
color: var(--ink);
font-size: 24px;
}
.add-tool-heading p {
margin: 0;
color: var(--ink-soft);
font-size: 13px;
}
.add-tool-heading code {
color: var(--accent);
}
.add-tool-eyebrow {
color: var(--accent);
font-size: 11px;
font-weight: 700;
letter-spacing: 1.4px;
text-transform: uppercase;
}
.add-tool-icon-preview {
width: 58px;
height: 58px;
flex: 0 0 58px;
display: grid;
place-items: center;
overflow: hidden;
border: 1px solid var(--glass-border);
border-radius: 16px;
background: var(--glass-strong);
color: var(--accent);
font-size: 28px;
box-shadow: 0 10px 20px var(--shadow), inset 0 1px 0 var(--shine);
}
.add-tool-icon-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.add-tool-form {
display: grid;
gap: 14px;
}
.add-tool-section {
padding: 16px;
border: 1px solid var(--glass-border);
border-radius: 14px;
background: var(--glass);
box-shadow: 0 12px 22px var(--shadow), inset 0 1px 0 var(--shine);
}
.add-tool-section h2 {
margin: 0 0 14px;
color: var(--ink);
font-size: 15px;
}
.add-tool-section label {
display: block;
margin: 11px 0 6px;
color: var(--ink-soft);
font-size: 12px;
font-weight: 600;
}
.add-tool-description {
min-height: 64px;
resize: vertical;
font-family: inherit;
}
.add-tool-grid {
display: grid;
grid-template-columns: minmax(130px, 0.7fr) minmax(180px, 1.3fr);
gap: 14px;
}
.add-tool-input-suffix {
display: flex;
align-items: center;
gap: 8px;
}
.add-tool-input-suffix span {
color: var(--ink-soft);
font-size: 12px;
}
.add-tool-file {
padding: 7px;
font-size: 12px;
}
.add-tool-section-heading {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
}
.add-tool-section-heading span {
color: var(--ink-soft);
font-size: 11px;
}
.add-tool-template-section .add-tool-section-heading {
align-items: flex-start;
}
.add-tool-template-section .add-tool-section-heading h2 {
margin-bottom: 4px;
}
.add-tool-template-section .add-tool-section-heading p {
margin: 0;
color: var(--ink-soft);
font-size: 12px;
}
.add-tool-template-badge {
flex: 0 0 auto;
padding: 5px 9px;
border: 1px solid rgba(120, 225, 190, 0.38);
border-radius: 999px;
background: rgba(70, 190, 145, 0.14);
color: #91efc5 !important;
font-weight: 700;
}
.add-tool-template-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 9px;
margin-top: 14px;
}
.add-tool-template {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
padding: 10px;
border: 1px solid var(--glass-border);
border-radius: 11px;
background: rgba(12, 28, 45, 0.48);
color: var(--ink);
text-align: left;
cursor: pointer;
transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.add-tool-template:hover {
border-color: rgba(140, 210, 255, 0.48);
background: rgba(28, 60, 86, 0.58);
transform: translateY(-1px);
}
.add-tool-template.is-active {
border-color: rgba(120, 210, 255, 0.68);
background: linear-gradient(180deg, rgba(65, 150, 210, 0.28), rgba(30, 80, 120, 0.32));
box-shadow: inset 0 1px 0 var(--shine);
}
.add-tool-template-icon {
width: 30px;
height: 30px;
flex: 0 0 30px;
display: grid;
place-items: center;
border-radius: 9px;
background: rgba(75, 180, 235, 0.14);
color: var(--accent);
font-size: 15px;
}
.add-tool-template strong,
.add-tool-template small {
display: block;
}
.add-tool-template strong {
margin-bottom: 2px;
font-size: 12px;
}
.add-tool-template small {
overflow: hidden;
color: var(--ink-soft);
font-size: 10px;
text-overflow: ellipsis;
white-space: nowrap;
}
.add-tool-template-controls {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}
.add-tool-template-controls[hidden] {
display: none;
}
.add-tool-template-controls .settings-input {
margin: 0;
}
.add-tool-script-section > summary {
display: flex;
align-items: center;
justify-content: space-between;
color: var(--ink);
font-size: 13px;
font-weight: 700;
cursor: pointer;
list-style: none;
}
.add-tool-script-section > summary::-webkit-details-marker {
display: none;
}
.add-tool-script-section > summary::before {
content: "";
margin-right: 8px;
color: var(--accent);
font-size: 18px;
transition: transform 0.16s ease;
}
.add-tool-script-section[open] > summary::before {
transform: rotate(90deg);
}
.add-tool-script-section > summary small {
margin-left: auto;
color: var(--ink-soft);
font-size: 10px;
font-weight: 500;
}
.add-tool-script-section[open] > .add-tool-section-heading {
margin-top: 16px;
}
.add-tool-script-meta {
display: flex;
align-items: center;
gap: 10px;
}
.lua-help-trigger {
border: 1px solid rgba(120, 210, 255, 0.42);
border-radius: 999px;
padding: 5px 10px;
background: rgba(50, 135, 200, 0.24);
color: #aee6ff;
font: inherit;
font-size: 11px;
font-weight: 700;
cursor: pointer;
transition: background 0.16s ease, transform 0.16s ease;
}
.lua-help-trigger:hover {
background: rgba(70, 165, 230, 0.38);
transform: translateY(-1px);
}
.add-tool-code-editor {
position: relative;
min-height: 150px;
border: 1px solid var(--glass-border);
border-radius: 10px;
background: rgba(12, 28, 45, 0.6);
box-shadow: inset 0 1px 0 var(--shine);
overflow: hidden;
}
.add-tool-code-editor pre,
.settings-page .add-tool-script {
width: 100%;
min-height: 150px;
margin: 0;
padding: 12px;
border: 0;
border-radius: 0;
box-sizing: border-box;
font-family: "Consolas", "Courier New", monospace;
font-size: 13px;
line-height: 1.5;
tab-size: 4;
white-space: pre;
}
.add-tool-code-editor pre {
position: absolute;
inset: 0;
z-index: 1;
overflow: hidden;
pointer-events: none;
color: var(--ink);
}
.settings-page .add-tool-script {
position: relative;
z-index: 2;
resize: vertical;
overflow: auto;
background: transparent;
color: transparent;
caret-color: var(--ink);
box-shadow: none;
}
.settings-page .add-tool-script::selection {
background: rgba(90, 175, 235, 0.35);
color: transparent;
}
.add-tool-code-editor .token.comment {
color: #7897a8;
font-style: italic;
}
.add-tool-code-editor .token.string {
color: #ffd27a;
}
.add-tool-code-editor .token.number,
.add-tool-code-editor .token.boolean {
color: #8fe7ff;
}
.add-tool-code-editor .token.keyword {
color: #88bfff;
font-weight: 600;
}
.add-tool-code-editor .token.function {
color: #8be0c5;
}
.add-tool-code-editor .token.operator,
.add-tool-code-editor .token.punctuation {
color: #b9d5e5;
}
.add-tool-actions {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 10px;
min-height: 38px;
}
.add-tool-actions .settings-status {
margin: 0 auto 0 2px;
}
.add-tool-actions .settings-save {
margin: 0;
}
.add-tool-secondary {
border: 1px solid var(--glass-border);
border-radius: 999px;
padding: 8px 14px;
background: rgba(12, 28, 45, 0.6);
color: var(--ink-soft);
cursor: pointer;
}
.settings-status[data-kind="success"] {
color: #83e8b2;
}
.settings-status[data-kind="error"] {
color: #ff9a9a;
}
.settings-status[data-kind="pending"] {
color: var(--accent);
}
.lua-help-mark {
width: 26px;
height: 26px;
display: grid;
place-items: center;
border: 1px solid rgba(140, 210, 255, 0.38);
border-radius: 8px;
background: rgba(79, 195, 255, 0.14);
color: #8fe7ff;
font: 700 18px/1 Georgia, serif;
}
.lua-help-tabs {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 6px;
padding: 9px 16px 0;
border-bottom: 1px solid rgba(140, 210, 255, 0.18);
background: rgba(10, 26, 40, 0.68);
}
.lua-help-tab {
position: relative;
bottom: -1px;
border: 1px solid transparent;
border-bottom: 0;
border-radius: 10px 10px 0 0;
padding: 9px 14px 10px;
background: transparent;
color: var(--ink-soft);
font: inherit;
font-size: 12px;
font-weight: 650;
cursor: pointer;
}
.lua-help-tab.active {
border-color: rgba(140, 210, 255, 0.28);
background: rgba(19, 43, 63, 0.96);
color: var(--ink);
}
.lua-help-tab:hover {
color: #8fe7ff;
background: rgba(79, 195, 255, 0.1);
}
.lua-help-doc-status {
margin-left: auto;
padding-right: 4px;
color: #8fe7ff;
font-size: 11px;
}
.lua-help-panels {
display: flex;
flex: 1;
min-height: 0;
}
.lua-help-content {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 22px;
box-sizing: border-box;
scrollbar-width: thin;
scrollbar-color: rgba(120, 210, 255, 0.7) rgba(20, 45, 70, 0.5);
}
.lua-help-hero {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
margin-bottom: 16px;
}
.lua-help-hero h1 {
margin: 4px 0 6px;
font-size: 27px;
color: var(--ink);
}
.lua-help-hero p {
margin: 0;
color: var(--ink-soft);
font-size: 13px;
}
.lua-help-hero p code {
color: #8fe7ff;
}
.lua-help-badge {
border: 1px solid rgba(140, 210, 255, 0.36);
border-radius: 12px;
padding: 10px 14px;
background: rgba(79, 195, 255, 0.1);
color: #9fe2ff;
font: 700 12px/1 "Consolas", monospace;
box-shadow: inset 0 1px 0 var(--shine);
}
.lua-help-notice {
display: grid;
grid-template-columns: auto 1fr;
gap: 12px;
align-items: baseline;
margin-bottom: 16px;
padding: 12px 14px;
border: 1px solid rgba(255, 210, 122, 0.24);
border-radius: 12px;
background: rgba(95, 72, 25, 0.16);
color: var(--ink-soft);
font-size: 12px;
}
.lua-help-notice strong {
color: #ffd27a;
}
.lua-help-notice code {
color: #8fe7ff;
}
.lua-help-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 13px;
}
.lua-help-card,
.lua-help-libraries {
min-width: 0;
border: 1px solid var(--glass-border);
border-radius: 14px;
background: var(--glass);
box-shadow: 0 10px 20px rgba(4, 10, 16, 0.32), inset 0 1px 0 var(--shine);
}
.lua-help-card {
padding: 14px;
}
.lua-help-card h2,
.lua-help-libraries h2 {
margin: 0 0 10px;
color: #dff6ff;
font-size: 14px;
}
.lua-help-card pre {
margin: 0;
overflow-x: auto;
white-space: pre;
border: 0;
background: transparent;
color: var(--ink);
font: 12px/1.55 "Consolas", "Courier New", monospace;
tab-size: 4;
}
.lua-help-card .token.comment {
color: #7897a8;
font-style: italic;
}
.lua-help-card .token.string {
color: #ffd27a;
}
.lua-help-card .token.number,
.lua-help-card .token.boolean {
color: #8fe7ff;
}
.lua-help-card .token.keyword {
color: #88bfff;
font-weight: 650;
}
.lua-help-card .token.function {
color: #8be0c5;
}
.lua-help-card .token.operator,
.lua-help-card .token.punctuation {
color: #b9d5e5;
}
.lua-help-libraries {
margin-top: 14px;
padding: 14px;
}
.lua-help-chips {
display: flex;
flex-wrap: wrap;
gap: 7px;
}
.lua-help-chips code {
border: 1px solid rgba(140, 210, 255, 0.24);
border-radius: 999px;
padding: 5px 9px;
background: rgba(79, 195, 255, 0.1);
color: #aee6ff;
font-size: 11px;
}
.lua-help-footer-note {
margin: 14px 0 0;
}
@media (max-width: 720px) {
.lua-help-grid {
grid-template-columns: 1fr;
}
.lua-help-doc-status,
.lua-help-tab.active {
display: none;
}
.add-tool-script-meta {
align-items: flex-end;
flex-direction: column;
gap: 6px;
}
}
#create-button:disabled {
cursor: wait;
opacity: 0.65;
}
.tool-settings-page {
flex: 1;
min-height: 0;
overflow-y: auto;
padding: 20px 22px;
position: relative;
z-index: 1;
scrollbar-width: thin;
scrollbar-color: rgba(120, 210, 255, 0.7) rgba(20, 45, 70, 0.5);
}
.tool-settings-heading {
display: flex;
align-items: center;
gap: 14px;
margin-bottom: 16px;
}
.tool-settings-heading h1 {
margin: 3px 0 4px;
overflow: hidden;
color: var(--ink);
font-size: 21px;
text-overflow: ellipsis;
white-space: nowrap;
}
.tool-settings-heading p {
margin: 0;
color: var(--ink-soft);
font-size: 12px;
}
.tool-settings-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 6px;
margin-bottom: 14px;
padding: 5px;
border: 1px solid rgba(140, 210, 255, 0.22);
border-radius: 12px;
background: rgba(8, 22, 34, 0.46);
}
.tool-settings-tab {
border: 1px solid transparent;
border-radius: 9px;
padding: 8px 7px;
background: transparent;
color: var(--ink-soft);
font: inherit;
font-size: 11px;
font-weight: 650;
cursor: pointer;
transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.tool-settings-tab:hover {
background: rgba(79, 195, 255, 0.1);
color: var(--ink);
}
.tool-settings-tab.is-active {
border-color: rgba(140, 210, 255, 0.38);
background: linear-gradient(180deg, rgba(65, 150, 210, 0.28), rgba(30, 80, 120, 0.32));
color: var(--ink);
box-shadow: inset 0 1px 0 var(--shine);
}
.tool-settings-form,
.tool-settings-panel {
min-width: 0;
}
.tool-settings-panel:not(.is-active) {
display: none;
}
.tool-settings-panel.is-active {
display: grid;
gap: 12px;
}
.tool-settings-help {
display: block;
margin: 6px 0 10px;
color: var(--ink-soft);
font-size: 11px;
}
.tool-settings-link {
margin-top: 7px;
padding: 0;
border: 0;
background: transparent;
color: #8fd7ff;
font: inherit;
font-size: 11px;
cursor: pointer;
}
.tool-settings-link:hover {
color: #d2f5ff;
text-decoration: underline;
}
.tool-settings-target {
margin-top: 12px;
}
.tool-settings-target > label {
display: block;
margin-bottom: 6px;
color: var(--ink-soft);
font-size: 12px;
font-weight: 600;
}
.tool-settings-target .add-tool-secondary {
flex: 0 0 auto;
}
.tool-settings-editor {
min-height: 225px;
}
.tool-settings-editor pre,
.tool-settings-editor .add-tool-script {
min-height: 225px;
}
.tool-settings-generated {
display: flex;
align-items: flex-start;
gap: 12px;
}
.tool-settings-generated-icon {
width: 30px;
height: 30px;
flex: 0 0 30px;
display: grid;
place-items: center;
border: 1px solid rgba(120, 225, 190, 0.38);
border-radius: 50%;
background: rgba(70, 190, 145, 0.14);
color: #91efc5;
font-weight: 800;
}
.tool-settings-generated h2,
.tool-settings-action-card h2 {
margin-bottom: 5px;
}
.tool-settings-generated p,
.tool-settings-action-card p {
margin: 0;
color: var(--ink-soft);
font-size: 12px;
line-height: 1.5;
}
.tool-settings-generated code,
.tool-settings-action-card code {
color: var(--accent);
}
.tool-settings-action-card {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
}
.tool-settings-action-card .add-tool-secondary {
flex: 0 0 auto;
}
.tool-settings-footer {
position: relative;
z-index: 2;
display: flex;
align-items: center;
gap: 10px;
min-height: 38px;
padding: 10px 14px;
border-top: 1px solid rgba(140, 210, 255, 0.2);
background: linear-gradient(180deg, rgba(16, 36, 54, 0.92), rgba(8, 20, 31, 0.94));
box-shadow: 0 -8px 20px rgba(4, 10, 16, 0.28);
}
.tool-settings-footer .settings-status {
flex: 1;
margin: 0;
}
.tool-settings-footer .settings-save {
margin: 0;
}
#save-button:disabled {
cursor: wait;
opacity: 0.65;
}
/* Kontextmenü */
.context-menu {
position: fixed;
z-index: 9999;
min-width: 160px;
padding: 6px 0;
border-radius: 10px;
background: rgba(15, 30, 50, 0.98);
border: 1px solid rgba(140, 210, 255, 0.22);
box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
backdrop-filter: blur(12px);
}
.context-menu button {
display: block;
width: 100%;
padding: 8px 16px;
border: none;
background: transparent;
color: #dff6ff;
font: 13px/1.3 "Segoe UI", sans-serif;
text-align: left;
cursor: pointer;
transition: background 0.12s ease;
}
.context-menu button:hover {
background: rgba(40, 80, 120, 0.6);
}
.context-menu .context-menu-danger {
color: #ff8a80;
}
.context-menu .context-menu-danger:hover {
background: rgba(180, 40, 40, 0.4);
}
/* Allgemeine Einstellungen Overlay */
.settings-overlay {
position: fixed;
inset: 0;
z-index: 9000;
background: rgba(4, 10, 16, 0.55);
backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
}
.settings-overlay[hidden] {
display: none;
}
.settings-panel {
width: 340px;
max-height: 70vh;
overflow-y: auto;
background: linear-gradient(180deg, rgba(18, 40, 60, 0.97), rgba(12, 28, 45, 0.98));
border: 1px solid var(--glass-border);
border-radius: 16px;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.settings-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid rgba(140, 210, 255, 0.15);
}
.settings-panel-header h2 {
margin: 0;
font-size: 16px;
color: var(--ink);
}
.settings-panel-close {
background: none;
border: none;
color: var(--ink-soft);
font-size: 22px;
cursor: pointer;
padding: 0 4px;
line-height: 1;
}
.settings-panel-close:hover {
color: var(--accent);
}
.settings-panel-body {
padding: 16px 20px;
}
.settings-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.settings-row-label {
flex: 1;
}
.settings-row-title {
display: block;
font-size: 13px;
font-weight: 600;
color: var(--ink);
margin-bottom: 2px;
}
.settings-row-desc {
display: block;
font-size: 11px;
color: var(--ink-soft);
opacity: 0.7;
line-height: 1.3;
}
.settings-row-control {
display: flex;
align-items: center;
gap: 8px;
}
.settings-row-value {
font-size: 12px;
font-weight: 600;
color: var(--accent);
min-width: 38px;
text-align: right;
}
.settings-row-control input[type="range"] {
-webkit-appearance: none;
appearance: none;
width: 100px;
height: 6px;
border-radius: 999px;
background: rgba(20, 45, 70, 0.6);
outline: none;
}
.settings-row-control input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
background: linear-gradient(180deg, var(--aqua-2), var(--aqua-3));
border: 2px solid rgba(20, 45, 70, 0.5);
cursor: pointer;
}
.settings-row-control input[type="range"]::-moz-range-thumb {
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--aqua-3);
border: 2px solid rgba(20, 45, 70, 0.5);
cursor: pointer;
}