feedlist: replace a elements with spans

This commit is contained in:
Andrew Dolgov 2010-02-15 14:18:31 +03:00
parent e258bceb68
commit 02b289d661
5 changed files with 44 additions and 53 deletions

View File

@ -1657,8 +1657,8 @@
$link_title = "Updated: $last_updated";
}
$feed = "<a title=\"$link_title\" id=\"FEEDL-$feed_id\"
href=\"javascript:viewfeed('$feed_id', '', false, '', false, 0);\">$feed_title</a>";
$feed = "<span class='feedlink' title=\"$link_title\" id=\"FEEDL-$feed_id\" href=\"#\"
onclick=\"viewfeed('$feed_id');\">$feed_title</span>";
/* if ($feed_id < -10) {
$bg_color = "#00ccff";

View File

@ -191,18 +191,21 @@ ul.feedList li {
padding : 2px 0px 2px 0px;
}
li.feedSelected a,
li.labelSelected a,
li.virtSelected a,
li.tagSelected a {
ul.feedList span.feedlink:hover {
color : gray;
}
li.feedUnreadSelected a,
li.labelUnreadSelected a,
li.virtUnreadSelected a,
li.tagUnreadSelected a {
li.feedSelected span.feedlink,
li.labelSelected span.feedlink,
li.virtSelected span.feedlink,
li.tagSelected span.feedlink {
color : gray;
}
li.feedUnreadSelected span.feedlink,
li.labelUnreadSelected span.feedlink,
li.virtUnreadSelected span.feedlink,
li.tagUnreadSelected span.feedlink {
color : gray;
}

View File

@ -135,28 +135,6 @@ li.errorUnreadSelected a {
color : #f04040;
}
li.feedSelected a,
li.labelSelected a,
li.virtSelected a,
li.tagSelected a {
color : #4684ff;
}
li.feedUnreadSelected a,
li.labelUnreadSelected a,
li.virtUnreadSelected a,
li.tagUnreadSelected a {
color : #4684ff;
}
li.feedUnreadSelected,
li.errorUnreadSelected,
li.labelUnreadSelected,
li.virtUnreadSelected,
li.tagUnreadSelected {
font-weight : bold;
}
li.feed {
display : block;
}

View File

@ -240,17 +240,21 @@ div.topLinks a:hover {
color : gray;
}
li.feedSelected a,
li.labelSelected a,
li.virtSelected a,
li.tagSelected a {
ul.feedList span.feedlink:hover {
color : #b077ec;
}
li.feedUnreadSelected a,
li.labelUnreadSelected a,
li.virtUnreadSelected a,
li.tagUnreadSelected a {
li.feedSelected span.feedlink,
li.labelSelected span.feedlink,
li.virtSelected span.feedlink,
li.tagSelected span.feedlink {
color : #b077ec;
}
li.feedUnreadSelected span.feedlink,
li.labelUnreadSelected span.feedlink,
li.virtUnreadSelected span.feedlink,
li.tagUnreadSelected span.feedlink {
color : #b077ec;
}

View File

@ -101,6 +101,12 @@ div.postReply span.author {
font-size : 12px;
}
ul.feedList span.feedlink:hover {
cursor : pointer;
color : #4684ff;
}
ul.feedList img.hlLoading {
margin-left : 5px;
vertical-align : middle;
@ -174,24 +180,24 @@ li.tagUnread {
font-weight : bold;
}
li.errorSelected a,
li.error a,
li.errorUnread a,
li.errorUnreadSelected a {
li.errorSelected span.feedlink,
li.error span.feedlink,
li.errorUnread span.feedlink,
li.errorUnreadSelected span.feedlink {
color : #f04040;
}
li.feedSelected a,
li.labelSelected a,
li.virtSelected a,
li.tagSelected a {
li.feedSelected span.feedlink,
li.labelSelected span.feedlink,
li.virtSelected span.feedlink,
li.tagSelected span.feedlink {
color : #4684ff;
}
li.feedUnreadSelected a,
li.labelUnreadSelected a,
li.virtUnreadSelected a,
li.tagUnreadSelected a {
li.feedUnreadSelected span.feedlink,
li.labelUnreadSelected span.feedlink,
li.virtUnreadSelected span.feedlink,
li.tagUnreadSelected span.feedlink {
color : #4684ff;
}