From 02b289d6611a535b8d498bfbbccd884164e02f24 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Feb 2010 14:18:31 +0300 Subject: [PATCH] feedlist: replace a elements with spans --- functions.php | 4 ++-- themes/graycube/theme.css | 21 ++++++++++++--------- themes/greentiny/theme.css | 22 ---------------------- themes/neon/theme.css | 20 ++++++++++++-------- tt-rss.css | 30 ++++++++++++++++++------------ 5 files changed, 44 insertions(+), 53 deletions(-) diff --git a/functions.php b/functions.php index 1563c95ee..a1aabf9a5 100644 --- a/functions.php +++ b/functions.php @@ -1657,8 +1657,8 @@ $link_title = "Updated: $last_updated"; } - $feed = "$feed_title"; + $feed = "$feed_title"; /* if ($feed_id < -10) { $bg_color = "#00ccff"; diff --git a/themes/graycube/theme.css b/themes/graycube/theme.css index f84f260b6..e8f84611a 100644 --- a/themes/graycube/theme.css +++ b/themes/graycube/theme.css @@ -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; } diff --git a/themes/greentiny/theme.css b/themes/greentiny/theme.css index bf0257ba5..0cfa20009 100644 --- a/themes/greentiny/theme.css +++ b/themes/greentiny/theme.css @@ -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; } diff --git a/themes/neon/theme.css b/themes/neon/theme.css index af74cc3dd..92daf8559 100644 --- a/themes/neon/theme.css +++ b/themes/neon/theme.css @@ -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; } diff --git a/tt-rss.css b/tt-rss.css index a2f4531b4..809c54084 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -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; }