Overhaul social scheduler UI
- Emoji picker with 6 categories (~100 emojis), inserts at cursor - Character counter (0/500) with amber/red thresholds - Default schedule time is now +5 min in browser local time (fixes UTC offset bug) - Relative time display uses local time (removes incorrect +Z suffix) - Post cards redesigned: color-coded left border by status, platform badges in Discord/Mastodon/LinkedIn brand colors, status icons - Delete is two-click confirm (no confirm() dialog) - Duplicate errors use inline error area (no alert()) - Nicer empty state with icon Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8ab9b7bbe2
commit
1a366bef63
3 changed files with 183 additions and 66 deletions
|
|
@ -447,3 +447,23 @@ pre { color: #e6edf3; }
|
|||
color: rgba(255,255,255,.7); font-size: .85rem;
|
||||
}
|
||||
|
||||
/* Social Scheduler */
|
||||
.social-emoji-picker { min-width: 260px; max-height: 280px; overflow-y: auto; background: var(--hm-surface); border-color: var(--hm-border); }
|
||||
.social-emoji-grid { font-size: 1.2rem; line-height: 1.6; }
|
||||
.social-emoji-cat { font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: var(--hm-muted); }
|
||||
.social-emoji-grid span.emoji-btn { cursor: pointer; padding: 1px 2px; border-radius: 3px; }
|
||||
.social-emoji-grid span.emoji-btn:hover { background: rgba(255,255,255,.1); }
|
||||
|
||||
.social-platform-discord { background: rgba(88,101,242,.25); color: #7289da; border-color: rgba(88,101,242,.4); }
|
||||
.social-platform-mastodon { background: rgba(99,100,255,.25); color: #a29cf4; border-color: rgba(99,100,255,.4); }
|
||||
.social-platform-linkedin { background: rgba(10,102,194,.25); color: #5ba3d9; border-color: rgba(10,102,194,.4); }
|
||||
|
||||
.social-post-card .card-body { border-left: 3px solid transparent; border-radius: inherit; }
|
||||
.social-post-card.status-pending .card-body { border-left-color: #e3b341; }
|
||||
.social-post-card.status-done .card-body { border-left-color: #3fb950; }
|
||||
.social-post-card.status-partial .card-body { border-left-color: #e3b341; }
|
||||
.social-post-card.status-failed .card-body { border-left-color: #f85149; }
|
||||
|
||||
.social-char-warn { color: #e3b341 !important; }
|
||||
.social-char-over { color: #f85149 !important; }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue