From c1deeded18c9d0ce72c9362e78eabf7e9b2f14db Mon Sep 17 00:00:00 2001 From: Shaun McCance Date: Mon, 22 Mar 2010 21:58:15 -0500 Subject: [mal2html.xsl] Some styling to revision badges in editor mode --- libyelp/yelp-settings.c | 2 +- stylesheets/mal2html.xsl.in | 24 ++++++++++++++++++++++++ stylesheets/yelp-common.xsl | 2 ++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/libyelp/yelp-settings.c b/libyelp/yelp-settings.c index f74da60f..15e7c6b2 100644 --- a/libyelp/yelp-settings.c +++ b/libyelp/yelp-settings.c @@ -667,7 +667,7 @@ yelp_settings_get_all_params (YelpSettings *settings, ix = 2 * (YELP_SETTINGS_NUM_COLORS + YELP_SETTINGS_NUM_ICONS); params[ix++] = g_strdup ("theme.icon.admon.size"); params[ix++] = g_strdup_printf ("%i", yelp_settings_get_icon_size (settings)); - params[ix++] = g_strdup ("mal2html.editor_mode"); + params[ix++] = g_strdup ("yelp.editor_mode"); if (settings->priv->editor_mode) params[ix++] = g_strdup ("true()"); else diff --git a/stylesheets/mal2html.xsl.in b/stylesheets/mal2html.xsl.in index 42703a31..9dc3fb9f 100644 --- a/stylesheets/mal2html.xsl.in +++ b/stylesheets/mal2html.xsl.in @@ -12,6 +12,8 @@ + + @@ -52,4 +54,26 @@ + + + +div.head { margin: 0; } +div.version { + margin: 0 -12px 1em -12px; + padding: 0.5em 12px 0.5em 12px; + position: relative; + left: auto; right: auto; + opacity: 1.0; + max-width: none; + border: none; + border-bottom: solid 1px + ; + background-color: + ; +} +div.version:hover { opacity: 1.0; } + + + + diff --git a/stylesheets/yelp-common.xsl b/stylesheets/yelp-common.xsl index 8120eb57..70ea3e98 100644 --- a/stylesheets/yelp-common.xsl +++ b/stylesheets/yelp-common.xsl @@ -3,6 +3,8 @@ xmlns="http://www.w3.org/1999/xhtml" version="1.0"> + + -- cgit v1.2.1