Files

32 lines
3.0 KiB
CSS

.manual-grid-panel { display:flex; flex-direction:column; width:100%; min-width:0; height:100%; padding:16px; gap:10px; box-sizing:border-box; background:#f8fafc; }
.manual-grid-toolbar,.manual-grid-actions,.manual-grid-info { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.manual-grid-toolbar { justify-content:space-between; }
.manual-grid-toolbar strong { font-size:18px; color:#1e293b; }
.manual-grid-actions .btn { padding:7px 12px; font-size:13px; }
.manual-muted,.manual-grid-info { color:#64748b; font-size:12px; }
.manual-grid-info > :first-child { margin-right:auto; }
#manual-save-status[data-state="error"] { color:#b91c1c; font-weight:600; }
#manual-save-status[data-state="saving"] { color:#1d4ed8; }
#manual-save-retry { border:1px solid #fecaca; background:#fff1f2; padding:3px 9px; border-radius:4px; cursor:pointer; }
.manual-grid-scroll { flex:1; min-height:200px; overflow:auto; background:white; border:1px solid #cbd5e1; border-radius:8px; }
table.manual-grid { border-collapse:separate; border-spacing:0; table-layout:auto; width:max-content; margin:0; font-size:13px; color:#1e293b; }
.manual-grid th,.manual-grid td { box-sizing:border-box; padding:4px 9px; border:0; border-right:1px solid #e2e8f0; border-bottom:1px solid #e2e8f0; text-align:left; vertical-align:middle; white-space:pre; overflow-wrap:normal; line-height:1.4; background:white; }
.manual-grid th { position:sticky; z-index:2; top:24px; background:#f1f5f9; font-weight:600; text-align:center; padding:6px 9px; }
.manual-grid thead tr:first-child th { top:0; height:24px; padding:1px 9px; text-align:center; color:#64748b; font-size:11px; background:#e9eef5; }
.manual-grid td:first-child,.manual-grid th:first-child { position:sticky; left:0; background:#f1f5f9; color:#64748b; text-align:center; z-index:1; white-space:nowrap; }
.manual-grid th:first-child { z-index:3; }
.manual-row-index { display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; }
.manual-grid input[type="checkbox"] { display:block; width:14px; height:14px; margin:0; flex-shrink:0; }
.manual-grid th input[type="checkbox"] { margin:0 auto; }
.manual-grid td[contenteditable]:focus { outline:2px solid #2563eb; outline-offset:-2px; background:#eff6ff; }
.manual-grid td[data-dirty="true"] { background:#fffbeb; }
.manual-grid td[data-error="true"] { background:#fff1f2; box-shadow:inset 0 -2px #e11d48; }
.manual-grid tbody tr:has(input:checked) td { background:#eff6ff; }
#manual-grid-empty { color:#64748b; padding:36px; text-align:center; }
#manual-exports { position:relative; font-size:13px; }
#manual-exports summary { cursor:pointer; padding:7px; }
#manual-export-list { position:absolute; right:0; top:25px; min-width:270px; max-height:300px; overflow:auto; background:white; box-shadow:0 8px 24px #0f172a26; border:1px solid #e2e8f0; border-radius:6px; padding:10px; list-style:none; z-index:5; }
#manual-export-list li { padding:6px; }
#manual-export-list a { color:#1d4ed8; text-decoration:none; }
@media(max-width:800px) { .manual-grid-panel { padding:8px; } .manual-grid-actions { gap:5px; } }