From b9c7497fc25d23492fe013a3541b8d4d66c6970c Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 12:27:31 -0800 Subject: UI: replace text star button with icon next to title (NK-ymf1jb) --- frontend/src/components/FeedItem.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'frontend/src/components/FeedItem.css') diff --git a/frontend/src/components/FeedItem.css b/frontend/src/components/FeedItem.css index fef1f93..1e7b9bd 100644 --- a/frontend/src/components/FeedItem.css +++ b/frontend/src/components/FeedItem.css @@ -44,6 +44,30 @@ } /* Legacy controls were simple text/links, but buttons are fine if minimal */ +.star-btn { + background: none; + border: none; + cursor: pointer; + font-size: 1.2rem; + padding: 0 0.5rem 0 0; + vertical-align: middle; + transition: color 0.2s; + line-height: 1; +} + +.star-btn.is-starred { + color: #ffd700; + /* Gold */ +} + +.star-btn.is-unstarred { + color: #ccc; +} + +.star-btn:hover { + color: #ffeb3b; +} + .action-btn { background: whitesmoke; border: none; -- cgit v1.2.3