diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-13 12:27:31 -0800 |
|---|---|---|
| committer | Adam Mathes <adam@adammathes.com> | 2026-02-13 12:27:31 -0800 |
| commit | b9c7497fc25d23492fe013a3541b8d4d66c6970c (patch) | |
| tree | 3a909aeb8adb1231b37d1e5b80e613cc10fa416d /frontend/src/components/FeedItem.css | |
| parent | a1baa8f9655e6fc4343475d2a38b2d7f6c7d0955 (diff) | |
| download | neko-b9c7497fc25d23492fe013a3541b8d4d66c6970c.tar.gz neko-b9c7497fc25d23492fe013a3541b8d4d66c6970c.tar.bz2 neko-b9c7497fc25d23492fe013a3541b8d4d66c6970c.zip | |
UI: replace text star button with icon next to title (NK-ymf1jb)
Diffstat (limited to 'frontend/src/components/FeedItem.css')
| -rw-r--r-- | frontend/src/components/FeedItem.css | 24 |
1 files changed, 24 insertions, 0 deletions
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; |
