added copy button

This commit is contained in:
Luca Haid
2025-12-29 15:42:02 +01:00
parent 73c95bd370
commit 8eb417da48
2 changed files with 100 additions and 0 deletions
@@ -524,6 +524,54 @@
border: 1px solid #c9e6d8;
}
/* ===== Copy From Section ===== */
.tt-scope .copy-from-section {
background: #f8fafc;
border-radius: 8px;
padding: 12px 16px;
border: 1px dashed var(--tt-border);
}
.tt-scope .copy-from-row {
display: flex;
align-items: center;
gap: 10px;
}
.tt-scope .copy-select {
flex: 1;
max-width: 350px;
}
.tt-scope .copy-select select {
width: 100%;
}
.tt-scope .copy-btn {
display: inline-flex;
align-items: center;
gap: 6px;
white-space: nowrap;
}
.tt-scope .copy-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.tt-scope .copy-hint {
font-size: 11px;
color: var(--tt-muted);
margin-top: 6px;
}
.tt-scope .form-divider {
border: none;
height: 1px;
background: var(--tt-border);
margin: 4px 0 0 0;
}
/* ===== Utilities ===== */
.tt-scope .mono { font-family: var(--tt-mono); }
.tt-scope .muted { color: var(--tt-muted); }