gray/red instead of unicodes

master
vitalif 2010-08-31 22:02:44 +00:00
parent ad0c187a75
commit bd36bcd7da
7 changed files with 14 additions and 15 deletions

View File

@ -1,11 +1,11 @@
#addupd, #nav, #tags, #taglist { display: inline; font-size: 100%; } #addupd, #nav, #tags { display: inline; font-size: 100%; }
#welcome, #item-display-controls, #nav li, #taglist tr, #sidebar { display: block; } #taglist, #welcome, #item-display-controls, #nav li, #taglist tr, #sidebar { display: block; }
#item-display-controls-spacer, #taglist tr.heading, #feeds { display: none; } #item-display-controls-spacer, #taglist tr.heading, #feeds { display: none; }
#welcome { text-align: left; } #welcome { text-align: left; }
#addupd { float: left; margin: 4px 8px 4px 4px; } #addupd { float: left; margin: 4px 8px 4px 4px; }
#nav li { float: left; margin: 4px 8px 4px 0; } #nav li { float: left; margin: 4px 8px 4px 0; }
#taglist { clear: both; } #taglist { clear: both; }
#taglist tr { background-color: #f0f0f0; margin: 4px 4px 0 0; padding: 2px 0; float: left; } #taglist tr { background-color: #e0e0e0; margin: 4px 4px 0 0; padding: 2px 0; float: left; }
#taglist td { margin: 0 4px; display: inline; background-color: transparent; } #taglist td { margin: 0 4px; display: inline; background-color: transparent; }
#sidebar { float: none; width: auto !important; height: auto !important; overflow: visible; position: static; } #sidebar { float: none; width: auto !important; height: auto !important; overflow: visible; position: static; }
#handle { display: none; } #handle { display: none; }

View File

@ -105,9 +105,8 @@ function fof_render_item($item)
width="16" width="16"
src="<?php echo $star_image ?>" src="<?php echo $star_image ?>"
id="fav<?php echo $item_id ?>" id="fav<?php echo $item_id ?>"
alt="<?= $star ? "" : "" ?>" alt="&nbsp;"
class="star" class="star<?= $star ? "-on" : "" ?>"
style="<?= $star ? " color: #c00000;" : "" ?>"
onclick="return toggle_favorite('<?php echo $item_id ?>')" onclick="return toggle_favorite('<?php echo $item_id ?>')"
/> />
<script> <script>

View File

@ -281,7 +281,7 @@ body
#welcome #welcome
{ {
text-align: center; text-align: center;
font: normal 10px Verdana; font: normal 10px sans-serif;
background: #ddd; background: #ddd;
border-bottom: 1px solid #666; border-bottom: 1px solid #666;
padding: 5px 7px; padding: 5px 7px;
@ -289,11 +289,13 @@ padding: 5px 7px;
#addupd { text-align: center; margin-top: 8px; } #addupd { text-align: center; margin-top: 8px; }
img.star { font-size: 13px; border-style: none; } #throbber { background-color: #00a000; width: 16px; height: 16px; position: fixed; left: 0; top: 0; }
img.star { background-color: #c0c0c0; }
img.star-on { background-color: red; }
#item-display-controls #item-display-controls
{ {
font: normal 10px Verdana; font: normal 10px sans-serif;
position: fixed; position: fixed;
top: 0; top: 0;
left: 0; left: 0;

8
fof.js
View File

@ -773,8 +773,7 @@ function toggle_favorite(id)
var complete = function() var complete = function()
{ {
image.src='image/star-off.gif'; image.src='image/star-off.gif';
image.alt='✧'; image.className = 'star';
image.style.color = '';
image.star = false; image.star = false;
starred--; starred--;
if(starred) if(starred)
@ -792,9 +791,8 @@ function toggle_favorite(id)
{ {
var complete = function() var complete = function()
{ {
image.src='image/star-on.gif'; image.src = 'image/star-on.gif';
image.alt='✦'; image.className = 'star-on';
image.style.color = '#c00000';
image.star = true; image.star = true;
starred++; starred++;
if(starred) if(starred)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 585 B

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

After

Width:  |  Height:  |  Size: 1008 B

View File

@ -17,7 +17,7 @@ include_once("fof-main.php");
fof_set_content_type(); fof_set_content_type();
?> ?>
<img id="throbber" src="image/throbber.gif" align="left" alt="" style="position: fixed; left: 0; top: 0; display: none;" /> <img id="throbber" src="image/throbber.gif" align="left" style="display: none" />
<div id="welcome">Welcome <b><?php echo $fof_user_name ?></b>! <a href="prefs.php">prefs</a> | <a href="logout.php">log out</a> | <a href="http://feedonfeeds.com/">about</a></div> <div id="welcome">Welcome <b><?php echo $fof_user_name ?></b>! <a href="prefs.php">prefs</a> | <a href="logout.php">log out</a> | <a href="http://feedonfeeds.com/">about</a></div>
<div id="addupd"><a href="add.php"><b>Add Feeds</b></a> / <a href="update.php"><b>Update Feeds</b></a></div> <div id="addupd"><a href="add.php"><b>Add Feeds</b></a> / <a href="update.php"><b>Update Feeds</b></a></div>