diff --git a/assets/css/app.css b/assets/css/app.css index 2878f77..d5e873f 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -638,11 +638,16 @@ span.downloading img { text-align: center; } -a.bookmark-icon { +a.icon { color: #333; text-decoration: none; } +a.icon:focus, +a.icon:hover { + color: #000; +} + #item-content-enclosure { border-bottom: 1px dashed #ccc; margin-bottom: 20px; diff --git a/controllers/item.php b/controllers/item.php index 6e363f0..1ff286a 100644 --- a/controllers/item.php +++ b/controllers/item.php @@ -46,6 +46,7 @@ Router\get_action('show', function() { $feed = Model\Feed\get($item['feed_id']); Model\Item\set_read($id); + $item['status'] = 'read'; switch ($menu) { case 'unread': diff --git a/templates/show_item.php b/templates/show_item.php index dc8a0e0..295fa51 100644 --- a/templates/show_item.php +++ b/templates/show_item.php @@ -37,13 +37,20 @@