]> git.wh0rd.org Git - tt-rss.git/commitdiff
mobile version improvements
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 2 May 2006 06:43:40 +0000 (07:43 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 2 May 2006 06:43:40 +0000 (07:43 +0100)
mobile/functions.php
mobile/mobile.css

index a251433a1cb7aab77555e2c06458a0bdd08bafc4..6169a352f48714d4f3606faa3e2b0d2e347dd649 100644 (file)
@@ -1,4 +1,5 @@
 <?
+       define('MOBILE_FEEDLIST_ENABLE_ICONS', false);
 
        function render_feeds_list($link) {
 
                $feed = "<a href=\"?go=vf&id=$feed_id\">$feed_title</a>";
 
                print "<li class=\"$class\">";
-               if (get_pref($link, 'ENABLE_FEED_ICONS')) {
-                       print "$feed_icon";
-               }
+#              if (get_pref($link, 'ENABLE_FEED_ICONS')) {
+#                      print "$feed_icon";
+#              }
 
                print "<span $rtl_tag>$feed</span> ";
 
                }
 
                print "<div id=\"heading\">";
-               if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) {
-                       print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">";
-               }
+               #               if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) {
+                       #                       print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">";
+                       #               }
                
                print "$feed_title <span id=\"headingAddon\">(";
                print "<a href=\"tt-rss.php\">Back</a>, ";
                                                        $line["feed_title"]."</a>)";
                                }
 
-                               print "<span class='hlUpdated'> &mdash; $updated_fmt</span>";
+                               print "<span class='hlUpdated'> ($updated_fmt)</span>";
 
                                print "</li>";
 
 
                        print "<div id=\"heading\">";
 
-                       if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) {
-                               print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
-                       }
+                       #                       if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) {
+                               #                               print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
+                               #                       }
 
                        $feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>";
                        
                }
 
                print "</body></html>";
-
-
-
        }
 
 ?>
index d89f1fefa4b0be284c2bbcbf6eb2f3577563a692..a77e96bfd106584ad33167b468ce172369fd4652 100644 (file)
@@ -46,15 +46,12 @@ td > input, div > input {
        padding : 2px;
        border-width : 0px 0px 1px 0px;
        border-style : solid;
-       border-color : #c0c0c0;
+       border-color : #a0a0a0;
        font-weight : bold;
-       background-color : #e0e0e0;
 }
 
 #content {
-       background-color : white;
-       background-position : top left;
-       background-repeat : repeat-x;
+       background : white;
 }
 
 #footer {
@@ -120,13 +117,17 @@ hr {
        border-color : #e0e0e0;
 }
 
-a {
+ul.headlines a, ul.feedList a {
        color : black;
+}
+
+a {
+       color : #5050aa;
        text-decoration : none;
 }
 
 a:hover {
-       color : #5050aa;
+       color : black;
 }
 
 ul.feedList img, img.tinyFeedIcon {