OSDN Git Service

BrowseRefs: Added option to delete remote branch
[tortoisegit/TortoiseGitJp.git] / doc / xsl / defaults.xsl
1 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">\r
2 \r
3   <xsl:param name="draft.mode" select="no"/>\r
4 \r
5   <xsl:param name="fop1.extensions" select="1" />\r
6   <xsl:param name="section.autolabel" select="1" />\r
7   <xsl:param name="section.label.includes.component.label" select="1" />\r
8   <xsl:param name="generate.index" select="1" />\r
9   <xsl:param name="glossary.sort" select="1" />\r
10 \r
11   <xsl:param name="body.start.indent">0pt</xsl:param>\r
12   <xsl:param name="title.margin.left">-0.5in</xsl:param>\r
13   \r
14 <xsl:attribute-set name="table.cell.padding">\r
15   <xsl:attribute name="padding-left">4pt</xsl:attribute>\r
16   <xsl:attribute name="padding-right">4pt</xsl:attribute>\r
17   <xsl:attribute name="padding-top">2pt</xsl:attribute>\r
18   <xsl:attribute name="padding-bottom">2pt</xsl:attribute>\r
19 </xsl:attribute-set>\r
20 \r
21 <xsl:attribute-set name="section.title.level1.properties">\r
22   <xsl:attribute name="font-size">\r
23     <xsl:value-of select="$body.font.master * 1.44"/>\r
24     <xsl:text>pt</xsl:text>\r
25   </xsl:attribute>\r
26 </xsl:attribute-set>\r
27 <xsl:attribute-set name="section.title.level2.properties">\r
28   <xsl:attribute name="font-size">\r
29     <xsl:value-of select="$body.font.master * 1.2"/>\r
30     <xsl:text>pt</xsl:text>\r
31   </xsl:attribute>\r
32 </xsl:attribute-set>\r
33 <xsl:attribute-set name="section.title.level3.properties">\r
34   <xsl:attribute name="font-size">\r
35     <xsl:value-of select="$body.font.master * 1.1"/>\r
36     <xsl:text>pt</xsl:text>\r
37   </xsl:attribute>\r
38 </xsl:attribute-set>\r
39 <xsl:attribute-set name="section.title.level4.properties">\r
40   <xsl:attribute name="font-size">\r
41     <xsl:value-of select="$body.font.master * 1.05"/>\r
42     <xsl:text>pt</xsl:text>\r
43   </xsl:attribute>\r
44 </xsl:attribute-set>\r
45 \r
46 \r
47   <xsl:param name="admon.graphics" select="1"></xsl:param>\r
48 \r
49   <xsl:attribute-set name="admonition.title.properties">\r
50     <xsl:attribute name="font-size">14pt</xsl:attribute>\r
51     <xsl:attribute name="font-weight">bold</xsl:attribute>\r
52     <xsl:attribute name="hyphenate">false</xsl:attribute>\r
53     <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>\r
54 \r
55     <xsl:attribute name="padding">.33em 0 0 5px</xsl:attribute>\r
56 \r
57     <xsl:attribute name="border-top">3px solid</xsl:attribute>\r
58     <xsl:attribute name="border-left">1px solid</xsl:attribute>\r
59 \r
60     <xsl:attribute name="border-color">\r
61       <xsl:param name="node" select="."/>\r
62       <xsl:choose>\r
63         <xsl:when test="name($node)='note'">#069</xsl:when>\r
64         <xsl:when test="name($node)='warning'">#900</xsl:when>\r
65         <xsl:when test="name($node)='caution'">#c60</xsl:when>\r
66         <xsl:when test="name($node)='tip'">#090</xsl:when>\r
67         <xsl:when test="name($node)='important'">#069</xsl:when>\r
68         <xsl:otherwise>#069</xsl:otherwise>\r
69       </xsl:choose>\r
70     </xsl:attribute>\r
71 \r
72   </xsl:attribute-set>\r
73 \r
74   <xsl:attribute-set name="admonition.properties">\r
75     <xsl:attribute name="padding">.33em 0 0 5px</xsl:attribute>\r
76 \r
77     <xsl:attribute name="border-left">1px solid</xsl:attribute>\r
78     <xsl:attribute name="border-color">\r
79       <xsl:param name="node" select="."/>\r
80       <xsl:choose>\r
81         <xsl:when test="name($node)='note'">#069</xsl:when>\r
82         <xsl:when test="name($node)='warning'">#900</xsl:when>\r
83         <xsl:when test="name($node)='caution'">#c60</xsl:when>\r
84         <xsl:when test="name($node)='tip'">#090</xsl:when>\r
85         <xsl:when test="name($node)='important'">#069</xsl:when>\r
86         <xsl:otherwise>#069</xsl:otherwise>\r
87       </xsl:choose>\r
88     </xsl:attribute>\r
89 \r
90   </xsl:attribute-set>\r
91 \r
92 </xsl:stylesheet>\r