[yelp] xslt: Adapt to no-div linkdiv and non-blue trail links



commit 7802cb1e3f41b4a237e4f53b930c115c40de5f0c
Author: Shaun McCance <shaunm gnome org>
Date:   Sun May 29 19:58:53 2011 -0400

    xslt: Adapt to no-div linkdiv and non-blue trail links

 data/xslt/mal2html.xsl.in    |    4 +---
 data/xslt/yelp-common.xsl.in |    4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/xslt/mal2html.xsl.in b/data/xslt/mal2html.xsl.in
index 0d45cba..2272c4a 100644
--- a/data/xslt/mal2html.xsl.in
+++ b/data/xslt/mal2html.xsl.in
@@ -42,9 +42,7 @@
 
 <xsl:template name="yelp.css.custom">
 <xsl:text>
-div.linkdiv { border: none; }
-div.linkdiv:hover {
-  border: none;
+a.linkdiv:hover {
   outline: solid 1px </xsl:text>
     <xsl:value-of select="$color.blue_background"/><xsl:text>;
   background: -webkit-gradient(linear, left top, left 80, from(</xsl:text>
diff --git a/data/xslt/yelp-common.xsl.in b/data/xslt/yelp-common.xsl.in
index 7c05f92..bac81ca 100644
--- a/data/xslt/yelp-common.xsl.in
+++ b/data/xslt/yelp-common.xsl.in
@@ -80,6 +80,10 @@ div.trail {
   margin: 0 1em 0.2em 1em;
   padding: 0;
 }
+a.trail { color:  </xsl:text>
+  <xsl:value-of select="$color.text_light"/><xsl:text>; }
+a.trail:hover { text-decoration: none; color:  </xsl:text>
+  <xsl:value-of select="$color.link"/><xsl:text>; }
 div.body {
   margin: 0 12px 0 12px;
   padding: 0 0 12px 0;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]