From: Andrew Dolgov Date: Sat, 16 Mar 2013 13:17:55 +0000 (+0400) Subject: add back vfeed title display, optimize layout; do some layout tweaks on combined... X-Git-Tag: 1.7.5~159 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e17e99fbcf62f2e347ce771a795be3237521f6b5;p=tt-rss.git add back vfeed title display, optimize layout; do some layout tweaks on combined mode --- diff --git a/cdm.css b/cdm.css index dbca58cf..bdba6c15 100644 --- a/cdm.css +++ b/cdm.css @@ -129,4 +129,5 @@ div.cdm.even, div.cdm.odd { div.cdmHeader div.hlFeed, div.cdmHeader div.hlFeed a { vertical-align : middle; color : gray; + font-weight : normal; } diff --git a/classes/feeds.php b/classes/feeds.php index a3ed951d..e96aaba3 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -441,19 +441,18 @@ class Feeds extends Handler_Protected { $reply['content'] .= $labels_str; - if (!get_pref($this->link, 'VFEED_GROUP_BY_FEED') && - defined('_SHOW_FEED_TITLE_IN_VFEEDS')) { - if (@$line["feed_title"]) { + $reply['content'] .= ""; + + $reply['content'] .= ""; + + if (@$line["feed_title"]) { $reply['content'] .= " - (". - $line["feed_title"].") + ". + $line["feed_title"]."
"; } - } - $reply['content'] .= ""; - - $reply['content'] .= "$updated_fmt"; + $reply['content'] .= "$updated_fmt
"; $reply['content'] .= "
"; $reply['content'] .= $score_pic; @@ -561,8 +560,9 @@ class Feeds extends Handler_Protected { } } - $reply['content'] .= "
"; $reply['content'] .= "$updated_fmt"; + + $reply['content'] .= "
"; $reply['content'] .= "$score_pic"; if (!get_pref($this->link, "VFEED_GROUP_BY_FEED") && $line["feed_title"]) { diff --git a/tt-rss.css b/tt-rss.css index 65a3c74b..0b7e8ec7 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -559,11 +559,6 @@ span.hlLabelRef { white-space: nowrap; } -td.hlSelectRow, td.hlUpdPic { - width : 25px; - text-align : center; -} - div.postHeader div.postDate { text-align : right; color : gray; @@ -588,17 +583,11 @@ div.postHeader div { display : none; } -td.hlMarkedPic, td.hlSelectRow, td.hlUpdated, td.hlFeed { - height : 1em; -} - -td.hlFeed { - text-align : right; -} - span.hlFeed, span.hlFeed a { - font-size : 12px; + font-size : 10px; color : gray; + font-style : italic; + font-weight : normal; } span.hlFeed a:hover { @@ -1017,9 +1006,9 @@ span.hlUpdated { display : table-cell; width : 100%; vertical-align : middle; - padding-top : 4px; - padding-bottom : 4px; text-align : right; + font-size : 10px; + font-weight : normal; } div.hlLeft {