Repository navigation
Expand file tree
/
Copy pathinline-edit.css
More file actions
45 lines (43 loc) · 4.29 KB
/
Copy pathinline-edit.css
File metadata and controls
45 lines (43 loc) · 4.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/* Inline editing: the element under edit receives the mouse; the rest of the page is dimmed */
.node.editing { cursor: text; outline: calc(2px * var(--inv)) solid var(--accent) !important; z-index: 9999 !important; }
.node.editing iframe { pointer-events: auto; }
.canvas.inline-editing .node:not(.editing) { opacity: .35; transition: opacity .2s; }
.ins-panel { position: fixed; z-index: 66; width: 248px; padding: 10px 12px 12px; background: var(--panel-2); border: 1px solid var(--border-2); border-top: 2px solid var(--accent); border-radius: 6px; box-shadow: 0 20px 50px #000c; animation: pop-in .16s var(--ease-out, ease-out); }
.ins-head { display: flex; align-items: center; gap: 8px; }
.ins-title { color: var(--accent); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ins-tag { flex: 1; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ins-hint { margin: 6px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.ins-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.ins-grid label { display: grid; gap: 3px; color: var(--muted); font-size: 10.5px; }
.ins-grid input[type=color] { width: 100%; height: 26px; padding: 2px; border: 1px solid var(--border-2); border-radius: 4px; background: var(--panel); cursor: pointer; }
.ins-grid input[type=color].none { background-image: linear-gradient(135deg, transparent 45%, #f2f2f2 46% 54%, transparent 55%); }
.ins-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.ins-row b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.ins-row input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--accent); }
.ins-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.ins-actions .btn { flex: 1; height: 24px; padding: 0 6px; font-size: 11px; }
.ins-actions .btn.danger { color: #ff8a6b; }
.ins-link { display: grid; gap: 3px; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.ins-link span { color: var(--subtle); font-size: 10.5px; }
.ins-link input { height: 26px; padding: 0 8px; border: 1px solid var(--border-2); border-radius: 4px; background: var(--panel); color: var(--text); font: 11.5px 'JetBrains Mono', monospace; }
.ins-link input:focus { outline: none; border-color: var(--accent); }
.ins-panel { max-height: calc(100vh - 140px); overflow-y: auto; scrollbar-width: thin; }
.ins-sec { margin: 12px 0 6px; padding-top: 10px; border-top: 1px solid var(--border); color: var(--text-2); font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ins-sec span { color: var(--subtle); font-weight: 400; text-transform: none; letter-spacing: 0; }
.ins-media { display: flex; gap: 4px; }
.ins-media .btn { height: 26px; font-size: 11px; }
.ins-media .btn:first-child { flex: 1; }
.ins-anim { margin-bottom: 8px; padding: 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--panel); }
.ins-anim-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 11px; }
.ins-anim-head b { overflow: hidden; color: var(--accent); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.ins-anim-head span { color: var(--subtle); }
.ins-pause { display: flex; align-items: center; gap: 3px; margin-left: auto; color: var(--muted); cursor: pointer; }
.ins-pause input { accent-color: var(--accent); }
.ins-anim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ins-anim-grid select, .ins-anim-grid input { height: 22px; border: 1px solid var(--border-2); border-radius: 3px; background: var(--panel-2); color: var(--text); font: 11px inherit; }
.ins-anim-grid label { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.ins-anim-grid label input { width: 56px; padding: 0 4px; }
.ins-ai { display: flex; gap: 6px; margin: 0 0 10px; }
.ins-ai input { flex: 1; min-width: 0; height: 30px; padding: 0 9px; border: 1px solid #ffffff60; border-radius: 4px; background: var(--bg); color: var(--text); font: inherit; font-size: 12px; }
.ins-ai input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #ffffff22; }
.ins-ai .btn { height: 30px; padding: 0 10px; }