mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 03:41:28 +00:00
headlins: feed icon tweaks
This commit is contained in:
@@ -532,7 +532,7 @@ function parse_counters(reply, scheduled_call) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ctr > 0) {
|
if (ctr > 0) {
|
||||||
feedctr.className = "catCtrHasUnread";
|
feedctr.className = "feedCtrHasUnread";
|
||||||
if (!feedr.className.match("Unread")) {
|
if (!feedr.className.match("Unread")) {
|
||||||
var is_selected = feedr.className.match("Selected");
|
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 } } );
|
queue: { position:'end', scope: 'EFQ-' + id, limit: 1 } } );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
feedctr.className = "catCtrNoUnread";
|
feedctr.className = "feedCtrNoUnread";
|
||||||
feedr.className = feedr.className.replace("Unread", "");
|
feedr.className = feedr.className.replace("Unread", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1563,9 +1563,9 @@
|
|||||||
print "<span $rtl_tag id=\"FEEDN-$feed_id\">$feed</span>";
|
print "<span $rtl_tag id=\"FEEDN-$feed_id\">$feed</span>";
|
||||||
|
|
||||||
if ($unread != 0) {
|
if ($unread != 0) {
|
||||||
$fctr_class = "";
|
$fctr_class = "class=\"feedCtrHasUnread\"";
|
||||||
} else {
|
} else {
|
||||||
$fctr_class = "class=\"invisible\"";
|
$fctr_class = "class=\"feedCtrNoUnread\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
print " <span $rtl_tag $fctr_class id=\"FEEDCTR-$feed_id\">
|
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 </nobr></td>";
|
print "<td class=\"hlUpdated\" onclick='view($id,$feed_id)'><nobr>$updated_fmt </nobr></td>";
|
||||||
|
|
||||||
print "<td class='hlMarkedPic'>$score_pic</td>";
|
print "<td class='hlMarkedPic'>$score_pic</td>";
|
||||||
|
|
||||||
if ($line["feed_title"] && !get_pref($link, 'VFEED_GROUP_BY_FEED')) {
|
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>";
|
print "</tr>";
|
||||||
|
|||||||
@@ -875,6 +875,7 @@ table.headlinesList {
|
|||||||
table.headlinesList td.hlFeedIcon {
|
table.headlinesList td.hlFeedIcon {
|
||||||
width : 25px;
|
width : 25px;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
|
cursor : pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1699,12 +1700,12 @@ a.feedUpdErrLink {
|
|||||||
margin-bottom : 0.5em;
|
margin-bottom : 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.catCtrHasUnread {
|
.catCtrHasUnread, .feedCtrHasUnread {
|
||||||
font-weight : bold;
|
font-weight : bold;
|
||||||
color : #707070;
|
color : #707070;
|
||||||
}
|
}
|
||||||
|
|
||||||
.catCtrNoUnread {
|
.catCtrNoUnread, .feedCtrNoUnread {
|
||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user