Better styling for pie chart legend

This commit is contained in:
skyanth
2017-01-12 12:52:23 +01:00
parent 52ea04520f
commit e0fbfb9a19
2 changed files with 5 additions and 2 deletions

View File

@@ -518,7 +518,7 @@
<!-- PIE CHART LEGEND -->
<fo:table-cell>
<fo:block>
<fo:table>
<fo:table xsl:use-attribute-sets="pieLegendTable">
<fo:table-column column-width="20px"/>
<fo:table-column/>
<fo:table-body>

View File

@@ -241,6 +241,9 @@
<xsl:attribute-set name="table">
<xsl:attribute name="margin-bottom" select="$small-space"/>
</xsl:attribute-set>
<xsl:attribute-set name="pieLegendTable">
<xsl:attribute name="background-color">#eeeeee</xsl:attribute>
</xsl:attribute-set>
<!-- lists -->
<xsl:attribute-set name="li">
@@ -270,7 +273,7 @@
</xsl:attribute-set>
<!-- Misc (invoice) -->
<xsl:attribute-set name="orange-text">
<xsl:attribute-set name="orange-text"><!-- 'silver' is #c0c0c0 -->
<xsl:attribute name="color">#FF5C00</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="align-right">