diff options
| author | Adam Malczewski <[email protected]> | 2026-03-29 17:51:22 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-29 17:51:22 +0900 |
| commit | 73c25761f6b879d78ebd8ecddac35881848831db (patch) | |
| tree | 10c3e7e585e44dbd38aeef07295c39d93c9d1fec /styles.css | |
| parent | e8d107e454b3804e089a33ce5fe7c931040d4647 (diff) | |
| download | ai-pulse-obsidian-plugin-main.tar.gz ai-pulse-obsidian-plugin-main.zip | |
Diffstat (limited to 'styles.css')
| -rw-r--r-- | styles.css | 81 |
1 files changed, 81 insertions, 0 deletions
@@ -79,6 +79,8 @@ .ai-pulse-input-row { display: flex; flex-direction: row; + flex-wrap: wrap; + align-items: flex-end; gap: 6px; padding: 8px; } @@ -701,3 +703,82 @@ .ai-pulse-batch-file-header:first-child { margin-top: 0 !important; } + + +/* ===== Image Attachment UI ===== */ + +.ai-pulse-attach-btn { + flex-shrink: 0; + background: none; + border: none; + cursor: pointer; + padding: 4px; + border-radius: 4px; + color: var(--text-muted); + display: flex; + align-items: center; + justify-content: center; +} + +.ai-pulse-attach-btn:hover { + color: var(--text-normal); + background: var(--background-modifier-hover); +} + +.ai-pulse-attach-btn:disabled { + opacity: 0.4; + cursor: not-allowed; +} + +.ai-pulse-attachment-strip { + display: flex; + gap: 6px; + padding: 6px 8px; + overflow-x: auto; + flex-wrap: nowrap; + width: 100%; +} + +.ai-pulse-attachment-thumb { + position: relative; + width: 48px; + height: 48px; + border-radius: 4px; + overflow: visible; + flex-shrink: 0; + border: 1px solid var(--background-modifier-border); +} + +.ai-pulse-attachment-thumb img { + width: 100%; + height: 100%; + object-fit: cover; + border-radius: 4px; +} + +.ai-pulse-attachment-remove { + position: absolute; + top: -6px; + right: -6px; + width: 18px; + height: 18px; + border-radius: 50%; + background: var(--background-secondary); + border: 1px solid var(--background-modifier-border); + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; + padding: 0; + color: var(--text-muted); +} + +.ai-pulse-attachment-remove:hover { + background: var(--background-modifier-error); + color: var(--text-on-accent); +} + +.ai-pulse-attachment-remove svg { + width: 12px; + height: 12px; +} |
