diff options
author | Shaun McCance <shaunm@gnome.org> | 2011-10-26 16:05:01 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2011-10-26 16:05:52 -0400 |
commit | 7efc5cfc3ca54c25387bcf1bd6f0b1351dfa90f1 (patch) | |
tree | a2ca3a9f7db2c898034c157a08cfe5b4128b1494 /data | |
parent | b5b3d0d7608afe09474d2b2a8823ef70440ab52f (diff) | |
download | yelp-7efc5cfc3ca54c25387bcf1bd6f0b1351dfa90f1.tar.gz |
yelp-view: Insert search bar on document-load-finished
The way we were doing it was racy, and sometimes left the search bar out.
Diffstat (limited to 'data')
-rw-r--r-- | data/xslt/mal2html.xsl.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/data/xslt/mal2html.xsl.in b/data/xslt/mal2html.xsl.in index 928ded8d..cf7ab91a 100644 --- a/data/xslt/mal2html.xsl.in +++ b/data/xslt/mal2html.xsl.in @@ -55,10 +55,21 @@ a.linkdiv:hover { <xsl:value-of select="$color.blue_background"/><xsl:text>), to(</xsl:text> <xsl:value-of select="$color.background"/><xsl:text>)); } -div.fullsearch { +a.fullsearch { + display: block; text-align: center; max-width: 20em; margin: 0 auto 1em auto; + pading: 0.2em; + background-color: </xsl:text> + <xsl:value-of select="$color.yellow_background"/><xsl:text>; + border: solid 1px </xsl:text> + <xsl:value-of select="$color.yellow_border"/><xsl:text>; +} +a.fullsearch:hover { + text-decoration: none; + border: solid 1px </xsl:text> + <xsl:value-of select="$color.blue_border"/><xsl:text>; } </xsl:text> <xsl:if test="$yelp.editor_mode"> |