Move aspect styles to a CSS class

This commit is contained in:
Gergely Polonkai 2014-08-29 12:26:01 +02:00
parent 18bdbdceaf
commit 7d55580bce
2 changed files with 7 additions and 1 deletions

View File

@ -70,3 +70,9 @@ path.planet-symbol {
fill: none;
stroke: #000080;
}
line.aspect {
stroke-width: 1;
stroke: #000000;
stroke-dasharray: 20,10;
}

View File

@ -643,7 +643,7 @@
<xsl:variable name="x2" select="$r_aspect * math:cos($rad2)"/>
<xsl:variable name="y2" select="$r_aspect * -math:sin($rad2)"/>
<line style="stroke-width:1;stroke:#000000;stroke-dasharray:20,10">
<line class="aspect">
<xsl:attribute name="x1"><xsl:value-of select="$x1"/></xsl:attribute>
<xsl:attribute name="y1"><xsl:value-of select="$y1"/></xsl:attribute>
<xsl:attribute name="x2"><xsl:value-of select="$x2"/></xsl:attribute>