diff --git a/classes/feeds.php b/classes/feeds.php
index ddf48c4c5..2b00b848d 100644
--- a/classes/feeds.php
+++ b/classes/feeds.php
@@ -462,7 +462,7 @@ class Feeds extends Handler_Protected {
$reply['content'] .= "
";
- $reply['content'] .= "" .
truncate_string($line["title"], 200);
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 3adfe5a9b..7abfef095 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -243,7 +243,6 @@ function render_article(article) {
function showArticleInHeadlines(id) {
try {
-
selectArticles("none");
var crow = $("RROW-" + id);
@@ -253,6 +252,7 @@ function showArticleInHeadlines(id) {
var article_is_unread = crow.hasClassName("Unread");
crow.removeClassName("Unread");
+ crow.addClassName("active");
selectArticles('none');
@@ -337,6 +337,9 @@ function article_callback2(transport, id) {
function view(id) {
try {
+ var oldrow = $("RROW-" + getActiveArticleId());
+ if (oldrow) oldrow.removeClassName("active");
+
var crow = $("RROW-" + id);
if (!crow) return;
diff --git a/tt-rss.css b/tt-rss.css
index c975e4156..bdfeee3a3 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -193,33 +193,23 @@ a:hover {
color : #909090;
}
-.hl.even {
- border-width : 0px 0px 1px 0px;
+.hl {
+ border-width : 0px 1px 1px 0px;
border-style : solid;
border-color : #c0c0c0;
+}
+
+.hl.active {
+ background : #ecf4ff ! important;
+}
+
+.hl.even {
background : #f0f0f0;
border-collapse : collapse;
}
.hl.odd {
- border-width : 0px 0px 1px 0px;
- border-style : solid;
- border-color : #c0c0c0;
- border-collapse : collapse;
-}
-
-.hl.even.Unread {
- background : #f0f0f0;
- border-width : 0px 0px 1px 0px;
- border-style : solid;
- border-color : #c0c0c0;
- border-collapse : collapse;
-}
-
-.hl.odd.Unread {
- border-width : 0px 0px 1px 0px;
- border-style : solid;
- border-color : #c0c0c0;
+ background : white;
}
div.filterTestHolder {
@@ -1008,3 +998,12 @@ select.attachments {
max-width : 120px;
}
+div.hl.active {
+ border-color : #88b0f0;
+}
+
+div.hl.active a.title {
+ color : #4684ff;
+ font-weight : bold;
+}
+