summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-08 05:33:23 +0100
committerAndrew Dolgov <[email protected]>2008-08-08 05:33:23 +0100
commitd7e83df791eed94026758e1b4e49a93eb8e44062 (patch)
tree6577f69ae4e81a0a9847fa277ff9fcf4dc4c0cfe
parentcbcbb0840799187ad40a94236c9b923ffe8d8aaa (diff)
headlins: feed icon tweaks
-rw-r--r--functions.js4
-rw-r--r--functions.php8
-rw-r--r--tt-rss.css5
3 files changed, 9 insertions, 8 deletions
diff --git a/functions.js b/functions.js
index 574f1e6b0..351f4dcc3 100644
--- a/functions.js
+++ b/functions.js
@@ -532,7 +532,7 @@ function parse_counters(reply, scheduled_call) {
}
if (ctr > 0) {
- feedctr.className = "catCtrHasUnread";
+ feedctr.className = "feedCtrHasUnread";
if (!feedr.className.match("Unread")) {
var is_selected = feedr.className.match("Selected");
@@ -552,7 +552,7 @@ function parse_counters(reply, scheduled_call) {
queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } );
}
} else {
- feedctr.className = "catCtrNoUnread";
+ feedctr.className = "feedCtrNoUnread";
feedr.className = feedr.className.replace("Unread", "");
}
}
diff --git a/functions.php b/functions.php
index b6212cd15..31b7f758f 100644
--- a/functions.php
+++ b/functions.php
@@ -1563,9 +1563,9 @@
print "<span $rtl_tag id=\"FEEDN-$feed_id\">$feed</span>";
if ($unread != 0) {
- $fctr_class = "";
+ $fctr_class = "class=\"feedCtrHasUnread\"";
} else {
- $fctr_class = "class=\"invisible\"";
+ $fctr_class = "class=\"feedCtrNoUnread\"";
}
print " <span $rtl_tag $fctr_class id=\"FEEDCTR-$feed_id\">
@@ -5068,12 +5068,12 @@
# }
- print "<td class=\"hlUpdated\" onclick='javascript:view($id,$feed_id)'><nobr>$updated_fmt&nbsp;</nobr></td>";
+ print "<td class=\"hlUpdated\" onclick='view($id,$feed_id)'><nobr>$updated_fmt&nbsp;</nobr></td>";
print "<td class='hlMarkedPic'>$score_pic</td>";
if ($line["feed_title"] && !get_pref($link, 'VFEED_GROUP_BY_FEED')) {
- print "<td class=\"hlFeedIcon\">$feed_icon_img</td>";
+ print "<td onclick=\"viewfeed($feed_id)\" class=\"hlFeedIcon\">$feed_icon_img</td>";
}
print "</tr>";
diff --git a/tt-rss.css b/tt-rss.css
index ae8240e88..d461ee227 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -875,6 +875,7 @@ table.headlinesList {
table.headlinesList td.hlFeedIcon {
width : 25px;
text-align : center;
+ cursor : pointer;
}
@@ -1699,12 +1700,12 @@ a.feedUpdErrLink {
margin-bottom : 0.5em;
}
-.catCtrHasUnread {
+.catCtrHasUnread, .feedCtrHasUnread {
font-weight : bold;
color : #707070;
}
-.catCtrNoUnread {
+.catCtrNoUnread, .feedCtrNoUnread {
display : none;
}