Replace simple key-value rows with EnvEditor component that supports editing variables as Table, Properties, YAML, or .env format. Switching views converts data seamlessly. Includes file import (drag-and-drop .properties/.yaml/.env) with auto-detect and merge. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
92 lines
1.3 KiB
CSS
92 lines
1.3 KiB
CSS
.wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.actions {
|
|
margin-left: auto;
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.tableBody {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.rowKey {
|
|
width: 220px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.rowValue {
|
|
flex: 1;
|
|
}
|
|
|
|
.deleteBtn {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
padding: 4px;
|
|
border-radius: var(--radius-sm);
|
|
transition: color 0.1s;
|
|
}
|
|
|
|
.deleteBtn:hover {
|
|
color: var(--error);
|
|
}
|
|
|
|
.deleteBtn:disabled {
|
|
opacity: 0.3;
|
|
cursor: default;
|
|
}
|
|
|
|
.textEditor {
|
|
width: 100%;
|
|
min-height: 180px;
|
|
padding: 10px 12px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--bg-raised);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-mono);
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
resize: vertical;
|
|
outline: none;
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
tab-size: 2;
|
|
}
|
|
|
|
.textEditor:focus {
|
|
border-color: var(--amber);
|
|
box-shadow: 0 0 0 3px var(--amber-bg);
|
|
}
|
|
|
|
.importZone {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.empty {
|
|
padding: 24px;
|
|
text-align: center;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
}
|