mobile version improvements

This commit is contained in:
Andrew Dolgov 2006-05-02 07:43:40 +01:00
parent 289336bd2b
commit 581e6bb537
2 changed files with 19 additions and 20 deletions

View File

@ -1,4 +1,5 @@
<? <?
define('MOBILE_FEEDLIST_ENABLE_ICONS', false);
function render_feeds_list($link) { function render_feeds_list($link) {
@ -288,9 +289,9 @@
$feed = "<a href=\"?go=vf&id=$feed_id\">$feed_title</a>"; $feed = "<a href=\"?go=vf&id=$feed_id\">$feed_title</a>";
print "<li class=\"$class\">"; print "<li class=\"$class\">";
if (get_pref($link, 'ENABLE_FEED_ICONS')) { # if (get_pref($link, 'ENABLE_FEED_ICONS')) {
print "$feed_icon"; # print "$feed_icon";
} # }
print "<span $rtl_tag>$feed</span> "; print "<span $rtl_tag>$feed</span> ";
@ -570,9 +571,9 @@
} }
print "<div id=\"heading\">"; print "<div id=\"heading\">";
if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) { # if (!$cat_view && file_exists("../icons/$feed.ico") && filesize("../icons/$feed.ico") > 0) {
print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">"; # print "<img class=\"feedIcon\" src=\"../icons/$feed.ico\">";
} # }
print "$feed_title <span id=\"headingAddon\">("; print "$feed_title <span id=\"headingAddon\">(";
print "<a href=\"tt-rss.php\">Back</a>, "; print "<a href=\"tt-rss.php\">Back</a>, ";
@ -644,7 +645,7 @@
$line["feed_title"]."</a>)"; $line["feed_title"]."</a>)";
} }
print "<span class='hlUpdated'> &mdash; $updated_fmt</span>"; print "<span class='hlUpdated'> ($updated_fmt)</span>";
print "</li>"; print "</li>";
@ -737,9 +738,9 @@
print "<div id=\"heading\">"; print "<div id=\"heading\">";
if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) { # if (file_exists("../icons/$feed_id.ico") && filesize("../icons/$feed_id.ico") > 0) {
print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">"; # print "<img class=\"feedIcon\" src=\"../icons/$feed_id.ico\">";
} # }
$feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>"; $feed_link = "<a href=\"tt-rss.php?go=vf&id=$feed_id\">Feed</a>";
@ -756,9 +757,6 @@
} }
print "</body></html>"; print "</body></html>";
} }
?> ?>

View File

@ -46,15 +46,12 @@ td > input, div > input {
padding : 2px; padding : 2px;
border-width : 0px 0px 1px 0px; border-width : 0px 0px 1px 0px;
border-style : solid; border-style : solid;
border-color : #c0c0c0; border-color : #a0a0a0;
font-weight : bold; font-weight : bold;
background-color : #e0e0e0;
} }
#content { #content {
background-color : white; background : white;
background-position : top left;
background-repeat : repeat-x;
} }
#footer { #footer {
@ -120,13 +117,17 @@ hr {
border-color : #e0e0e0; border-color : #e0e0e0;
} }
a { ul.headlines a, ul.feedList a {
color : black; color : black;
}
a {
color : #5050aa;
text-decoration : none; text-decoration : none;
} }
a:hover { a:hover {
color : #5050aa; color : black;
} }
ul.feedList img, img.tinyFeedIcon { ul.feedList img, img.tinyFeedIcon {