]> git.wh0rd.org - tt-rss.git/commitdiff
tweak the zoomed article a little bit
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 30 Jul 2013 21:22:13 +0000 (01:22 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 30 Jul 2013 21:22:13 +0000 (01:22 +0400)
css/tt-rss.css
include/functions.php

index f07154a3bd7384dc6ccf6e7953eb90964f7bc808..c79e28ad5f7a8ec8dbb9a2012b932f78b0cbbd30 100644 (file)
@@ -382,7 +382,7 @@ span.hlLabelRef {
 
 div.postHeader div.postDate {
        text-align : right;
-       color : #555;
+       color : #909090;
        float : right;
 }
 
@@ -1014,10 +1014,18 @@ body#ttrssZoom {
        margin-left : auto;
        margin-right : auto;
        padding : 20px;
-       max-width : 800px;
+       max-width : 670px;
        background : #f9fbff;
 }
 
+body#ttrssZoom div.postHeader div.postDate {
+       float : none;
+       text-align : left;
+       padding-left : 0px;
+       color : #777;
+       font-size : 10px;
+}
+
 body#ttrssZoom div.postContent p {
        max-width : 650px;
        text-align : justify;
index ccf530d1762583171bef8563fc22597993ed9969..cef0ea9eb6dd3cae9c4ac77d71ac6896041643c6 100644 (file)
                        $parsed_updated = make_local_datetime($line["updated"], true,
                                $owner_uid, true);
 
-                       $rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
+                       if (!$zoom_mode)
+                               $rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
 
                        if ($line["link"]) {
                                $rv['content'] .= "<div class='postTitle'><a target='_blank'
                                $rv['content'] .= "<div class='postTitle'>" . $line["title"] . "$entry_author</div>";
                        }
 
+                       if ($zoom_mode)
+                               $rv['content'] .= "<div class=\"postDate\">$parsed_updated</div>";
+
                        $tags_str = format_tags_string($line["tags"], $id);
                        $tags_str_full = join(", ", $line["tags"]);