gnome-doc-utils r1149 - in trunk: . xslt/docbook/html xslt/gettext
- From: shaunm svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-doc-utils r1149 - in trunk: . xslt/docbook/html xslt/gettext
- Date: Sun, 1 Mar 2009 22:28:39 +0000 (UTC)
Author: shaunm
Date: Sun Mar 1 22:28:38 2009
New Revision: 1149
URL: http://svn.gnome.org/viewvc/gnome-doc-utils?rev=1149&view=rev
Log:
* xslt/docbook/html/db2html-css.xsl:
* xslt/gettext/gettext.xsl:
- More RTL fixes for bug #563559
Modified:
trunk/ChangeLog
trunk/xslt/docbook/html/db2html-css.xsl
trunk/xslt/gettext/gettext.xsl
Modified: trunk/xslt/docbook/html/db2html-css.xsl
==============================================================================
--- trunk/xslt/docbook/html/db2html-css.xsl (original)
+++ trunk/xslt/docbook/html/db2html-css.xsl Sun Mar 1 22:28:38 2009
@@ -118,7 +118,7 @@
tr.tr-shade {
background-color: </xsl:text><xsl:value-of select="$theme.color.gray_background"/><xsl:text>;
}
-td.td-colsep { border-right: solid 1px; }
+td.td-colsep { border-</xsl:text><xsl:value-of select="$right"/><xsl:text>: solid 1px; }
td.td-rowsep { border-bottom: solid 1px; }
thead { border-top: solid 2px; border-bottom: solid 2px; }
tfoot { border-top: solid 2px; border-bottom: solid 2px; }
@@ -129,8 +129,7 @@
border: solid 1px </xsl:text><xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
}
div.body-sidebar {
- <!-- FIXME: rtl -->
- margin-right: 13em;
+ margin-</xsl:text><xsl:value-of select="$right"/><xsl:text>: 13em;
}
div.division div.division { margin-top: 1.72em; }
div.division div.division div.division { margin-top: 1.44em; }
@@ -214,24 +213,28 @@
table.navbar { width: 100%; margin: 0; border: none; }
table.navbar td { padding: 0; border: none; }
td.navbar-next {
- <!-- FIXME: rtl -->
- text-align: right;
+ text-align: </xsl:text><xsl:value-of select="$right"/><xsl:text>;
}
a.navbar-prev::before {
<!-- FIXME: rtl -->
- content: '◀  ';
+ content: '</xsl:text><xsl:choose>
+ <xsl:when test="$left = 'left'"><xsl:text>◀  </xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>▶  </xsl:text></xsl:otherwise>
+ </xsl:choose><xsl:text>';
color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
}
a.navbar-next::after {
<!-- FIXME: rtl -->
- content: '  ▶';
+ content: '</xsl:text><xsl:choose>
+ <xsl:when test="$left = 'left'"><xsl:text>  ▶</xsl:text></xsl:when>
+ <xsl:otherwise><xsl:text>  ◀</xsl:text></xsl:otherwise>
+ </xsl:choose><xsl:text>';
color: </xsl:text><xsl:value-of select="$theme.color.text_light"/><xsl:text>;
}
<!-- == sidebar == -->
div.sidebar {
- <!-- FIXME: rtl -->
- float: right;
+ float: </xsl:text><xsl:value-of select="$right"/><xsl:text>;
padding: 0; margin: 0; width: 12em;
}
div.sidenav {
@@ -275,7 +278,6 @@
<!-- == block == -->
div.admonition {
padding: 0.5em 6px 0.5em 6px;
- min-height: </xsl:text><xsl:value-of select="$theme.icon.admon.size"/><xsl:text>px;
border: solid 1px </xsl:text><xsl:value-of select="$theme.color.gray_border"/><xsl:text>;
background-color: </xsl:text><xsl:value-of select="$theme.color.yellow_background"/><xsl:text>;
}
@@ -284,6 +286,7 @@
<xsl:value-of select="$theme.icon.admon.size + 12"/><xsl:text>px;
background-position: </xsl:text><xsl:value-of select="$left"/><xsl:text> top;
background-repeat: no-repeat;
+ min-height: </xsl:text><xsl:value-of select="$theme.icon.admon.size"/><xsl:text>px;
}
div.caution-inner { background-image: url("</xsl:text>
<xsl:value-of select="$theme.icon.admon.caution"/><xsl:text>"); }
Modified: trunk/xslt/gettext/gettext.xsl
==============================================================================
--- trunk/xslt/gettext/gettext.xsl (original)
+++ trunk/xslt/gettext/gettext.xsl Sun Mar 1 22:28:38 2009
@@ -801,7 +801,7 @@
<xsl:call-template name="l10n.direction"/>
</xsl:param>
<xsl:choose>
- <xsl:when test="$direction = 'rlt'">
+ <xsl:when test="$direction = 'rtl'">
<xsl:text>right</xsl:text>
</xsl:when>
<xsl:otherwise>
@@ -823,7 +823,7 @@
<xsl:call-template name="l10n.direction"/>
</xsl:param>
<xsl:choose>
- <xsl:when test="$direction = 'rlt'">
+ <xsl:when test="$direction = 'rtl'">
<xsl:text>left</xsl:text>
</xsl:when>
<xsl:otherwise>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]