mobile version improvements
This commit is contained in:
parent
289336bd2b
commit
581e6bb537
2 changed files with 19 additions and 20 deletions
|
@ -1,4 +1,5 @@
|
|||
<?
|
||||
define('MOBILE_FEEDLIST_ENABLE_ICONS', false);
|
||||
|
||||
function render_feeds_list($link) {
|
||||
|
||||
|
@ -288,9 +289,9 @@
|
|||
$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> ";
|
||||
|
||||
|
@ -570,9 +571,9 @@
|
|||
}
|
||||
|
||||
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>, ";
|
||||
|
@ -644,7 +645,7 @@
|
|||
$line["feed_title"]."</a>)";
|
||||
}
|
||||
|
||||
print "<span class='hlUpdated'> — $updated_fmt</span>";
|
||||
print "<span class='hlUpdated'> ($updated_fmt)</span>";
|
||||
|
||||
print "</li>";
|
||||
|
||||
|
@ -737,9 +738,9 @@
|
|||
|
||||
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>";
|
||||
|
||||
|
@ -756,9 +757,6 @@
|
|||
}
|
||||
|
||||
print "</body></html>";
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue