mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-14 16:07:52 +00:00
Closes #1981 @file references and /skill commands become inline tags anywhere in the prompt, in Home and in a conversation. Tags are edited as a unit (Backspace/Delete, arrows) and are not committed mid-IME composition. Files and folders dragged from the Project view become references, mapped into the task worktree; paths outside the project, traversal and relative paths are rejected, and a deleted reference can be dropped again. Co-authored-by: panda-student <71381346+panda-student@users.noreply.github.com>
17 lines
594 B
CSS
17 lines
594 B
CSS
/* Equal negative margins preserve native textarea wrapping and caret positions. */
|
|
.tag {
|
|
padding: 1px 3px;
|
|
margin: 0 -3px;
|
|
border-radius: var(--radius-selection);
|
|
-webkit-box-decoration-break: clone;
|
|
box-decoration-break: clone;
|
|
color: var(--fg-strong);
|
|
background: color-mix(in srgb, var(--fg) 12%, transparent);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 20%, transparent);
|
|
}
|
|
.accent {
|
|
color: var(--accent);
|
|
background: color-mix(in srgb, var(--accent) 20%, transparent);
|
|
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent);
|
|
}
|