Skip to content

Commit

Permalink
Styles fixed for <simplelist> and <member>.
Browse files Browse the repository at this point in the history
  • Loading branch information
arsi committed Jan 20, 2011
1 parent 1500372 commit 2c8a1e8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions css/inline.css
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ span.e_quote:after {
content: '"';
}

span.e_member {
}

span.e_revnumber {
padding-left: 5px;
border-left: 1px solid #664422;
Expand Down
3 changes: 3 additions & 0 deletions css/lists.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@

div.e_simplelist {
}

ol.e_itemizedlist {
list-style-type: disc;
}
Expand Down
4 changes: 2 additions & 2 deletions xsl/elements/block/simplelist.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<xsl:if test="@id">
<a><xsl:attribute name="name"><xsl:value-of select="@id" /></xsl:attribute></a>
</xsl:if>
<ol class="e_simplelist">
<div class="e_simplelist">
<xsl:apply-templates select="member" />
</ol>
</div>
</xsl:template>

</xsl:transform>
5 changes: 4 additions & 1 deletion xsl/elements/inline/member.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

<xsl:template match="member">
<xsl:variable name="allowedChildren" select="text()|abbrev|acronym|action|anchor|application|author|authorinitials|beginpage|biblioref|citation|citebiblioid|citerefentry|citetitle|classsynopsis|cmdsynopsis|code|command|computeroutput|constant|constructorsynopsis|corpauthor|corpcredit|database|destructorsynopsis|email|emphasis|envar|errorcode|errorname|errortext|exceptionname|fieldsynopsis|filename|firstterm|footnote|footnoteref|foreignphrase|funcsynopsis|function|glossterm|guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|hardware|indexterm|inlineequation|inlinegraphic|inlinemediaobject|interface|interfacename|keycap|keycode|keycombo|keysym|link|literal|markup|medialabel|menuchoice|methodname|methodsynopsis|modespec|mousebutton|nonterminal|olink|ooclass|ooexception|oointerface|option|optional|orgname|othercredit|package|parameter|personname|phrase|productname|productnumber|prompt|property|quote|remark|replaceable|returnvalue|revhistory|sgmltag|structfield|structname|subscript|superscript|symbol|synopsis|systemitem|termdef|token|trademark|type|ulink|uri|userinput|varname|wordasword|xref" />
<xsl:apply-templates select="$allowedChildren" />
<span class="e_member">
<xsl:apply-templates select="$allowedChildren" />
<xsl:text> </xsl:text>
</span>
</xsl:template>

</xsl:transform>

0 comments on commit 2c8a1e8

Please sign in to comment.