diff options
author | Andrew Dolgov <[email protected]> | 2013-03-19 20:37:04 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-19 20:37:04 +0400 |
commit | 36b4cf2f642d1308f18ba7e7107f74a8bbce0261 (patch) | |
tree | ac8e60eb991ef078725e58ea123448ca3205de0e | |
parent | 6cf60c881fbad073b26a236f5659cdae7767ae10 (diff) |
tweak vfeed grouped title display a bit to make it more similar to other modes
-rw-r--r-- | cdm.css | 13 | ||||
-rw-r--r-- | classes/feeds.php | 8 |
2 files changed, 17 insertions, 4 deletions
@@ -101,6 +101,19 @@ div.cdmFeedTitle { background-repeat : repeat-x; } +div.cdmFeedTitle a.title { + color : gray; + font-style : italic; + font-weight : bold; +} +div.cdmFeedTitle a { + color : gray; +} + +div.cdmFeedTitle a:hover { + color : #4684ff; +} + div.articleNote { border-style : dashed none dashed none; } diff --git a/classes/feeds.php b/classes/feeds.php index 5fa51768c..d598a9e4f 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -405,11 +405,11 @@ class Feeds extends Handler_Protected { $cur_feed_title = htmlspecialchars($cur_feed_title); - $vf_catchup_link = "(<a onclick='catchupFeedInGroup($feed_id);' href='#'>".__('mark as read')."</a>)"; + $vf_catchup_link = "(<a class='catchup' onclick='catchupFeedInGroup($feed_id);' href='#'>".__('Mark as read')."</a>)"; $reply['content'] .= "<div class='cdmFeedTitle'>". "<div style=\"float : right\">$feed_icon_img</div>". - "<a href=\"#\" onclick=\"viewfeed($feed_id)\">". + "<a class='title' href=\"#\" onclick=\"viewfeed($feed_id)\">". $line["feed_title"]."</a> $vf_catchup_link</div>"; } @@ -495,7 +495,7 @@ class Feeds extends Handler_Protected { $cur_feed_title = htmlspecialchars($cur_feed_title); - $vf_catchup_link = "(<a onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>".__('mark as read')."</a>)"; + $vf_catchup_link = "(<a class='catchup' onclick='javascript:catchupFeedInGroup($feed_id);' href='#'>".__('mark as read')."</a>)"; $has_feed_icon = feed_has_icon($feed_id); @@ -507,7 +507,7 @@ class Feeds extends Handler_Protected { $reply['content'] .= "<div class='cdmFeedTitle'>". "<div style=\"float : right\">$feed_icon_img</div>". - "<a href=\"#\" onclick=\"viewfeed($feed_id)\">". + "<a href=\"#\" class='title' onclick=\"viewfeed($feed_id)\">". $line["feed_title"]."</a> $vf_catchup_link</div>"; } } |