Partial fix for COMMWEB-36: Use make.clean.html and docbook.css.source for styling HTML output
Cannot get docbook.css.source to look for anything outside the stylesheet .zip downloaded by Maven
1 files deleted
1 files added
4 files modified
| | |
| | | <replacevalue> |
| | | <script src="http://code.jquery.com/jquery-latest.min.js"></script> |
| | | <script> |
| | | // On double-click, reformat <pre class="screen"> for easy copying. |
| | | // On double-click, reformat <div class="screen"> for easy copying. |
| | | $(document).ready(function() { |
| | | $(".screen").attr("title", "Double-click [-] to flatten lines."); |
| | | $(".screen").prepend('<img src="../images/minus.png" class="toggle">'); |
| | | }); |
| | | $(".screen").live("dblclick", function() { |
| | | $(this).replaceWith( |
| | | "<pre class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" + |
| | | "<div class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" + |
| | | $(this).html().replace(/minus\.png/,"plus.png").replace(/\n /g," ") + "\n<!--" + $(this).html() + "-->" + |
| | | "</pre>"); |
| | | "</div>"); |
| | | }); |
| | | $(".flat").live("dblclick", function() { |
| | | $(this).replaceWith( |
| | | "<pre class=\"screen\" title=\"Double-click [-] to flatten lines.\">" + |
| | | "<div class=\"screen\" title=\"Double-click [-] to flatten lines.\">" + |
| | | $(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"").replace(/plus\.png/,"minus.png") + |
| | | "</pre>"); |
| | | "</div>"); |
| | | }); |
| | | </script> |
| | | <link rel="shortcut icon" href="http://forgerock.org/favicon.ico"> |
| | |
| | | <replacevalue> |
| | | <script src="http://code.jquery.com/jquery-latest.min.js"></script> |
| | | <script> |
| | | // On double-click, reformat <pre class="screen"> for easy copying. |
| | | // On double-click, reformat <div class="screen"> for easy copying. |
| | | $(document).ready(function() { |
| | | $(".screen").attr("title", "Double-click [-] to flatten lines."); |
| | | $(".screen").prepend('<img src="./images/minus.png" class="toggle">'); |
| | | }); |
| | | $(".screen").live("dblclick", function() { |
| | | $(this).replaceWith( |
| | | "<pre class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" + |
| | | "<div class=\"flat\" title=\"Double-click [+] to wrap long lines.\">" + |
| | | $(this).html().replace(/minus\.png/,"plus.png").replace(/\n /g," ") + "\n<!--" + $(this).html() + "-->" + |
| | | "</pre>"); |
| | | "</div>"); |
| | | }); |
| | | $(".flat").live("dblclick", function() { |
| | | $(this).replaceWith( |
| | | "<pre class=\"screen\" title=\"Double-click [-] to flatten lines.\">" + |
| | | "<div class=\"screen\" title=\"Double-click [-] to flatten lines.\">" + |
| | | $(this).html().replace(/(.|\n)+<!\-\-/m,"").replace(/\-\-\>/,"").replace(/plus\.png/,"minus.png") + |
| | | "</pre>"); |
| | | "</div>"); |
| | | }); |
| | | </script> |
| | | <link rel="shortcut icon" href="http://forgerock.org/favicon.ico"> |
| | |
| | | ! |
| | | ! CCPL HEADER END |
| | | ! |
| | | ! Copyright 2011 ForgeRock AS |
| | | ! Copyright 2011-2012 ForgeRock AS |
| | | ! |
| | | --> |
| | | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| | |
| | | <xsl:import href="urn:docbkx:stylesheet" /> |
| | | <xsl:import href="urn:docbkx:stylesheet/highlight.xsl" /> |
| | | |
| | | <xsl:param name="html.stylesheet">css/coredoc.css</xsl:param> |
| | | <xsl:param name="make.clean.html" select="1" /> |
| | | <xsl:param name="docbook.css.link" select="0" /> |
| | | <xsl:param name="html.stylesheet">css/docbook.css</xsl:param> |
| | | <xsl:param name="admon.style"> |
| | | <xsl:value-of select="string('font-style: italic;')"></xsl:value-of> |
| | | </xsl:param> |
| | | <xsl:param name="default.table.frame">none</xsl:param> |
| | | <xsl:param name="default.table.rules">none</xsl:param> |
| | | <xsl:param name="table.cell.border.thickness">0pt</xsl:param> |
| | | |
| | | <xsl:param name="chunk.section.depth" select="0" /> |
| | | <xsl:param name="chunker.output.encoding">UTF-8</xsl:param> |
| | | <xsl:param name="chunker.output.indent">yes</xsl:param> |
| | | <xsl:param name="generate.legalnotice.link" select="1" /> |
| | | <xsl:param name="root.filename">index</xsl:param> <!-- docbkx-tools ignores this. --> |
| | | <xsl:param name="use.id.as.filename" select="1" /> |
| | | |
| | | <xsl:param name="generate.toc"> |
| | | appendix nop |
| | | article/appendix nop |
| | |
| | | <xsl:param name="toc.max.depth" select="1" /> |
| | | <xsl:param name="generate.meta.abstract" select="1" /> |
| | | |
| | | <xsl:param name="default.table.frame">none</xsl:param> |
| | | <xsl:param name="default.table.rules">none</xsl:param> |
| | | <xsl:param name="table.cell.border.thickness">0pt</xsl:param> |
| | | |
| | | <xsl:template match="xslthl:keyword" mode="xslthl"> |
| | | <strong class="hl-keyword"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | |
| | | ! |
| | | ! CCPL HEADER END |
| | | ! |
| | | ! Copyright 2011 ForgeRock AS |
| | | ! Copyright 2011-2012 ForgeRock AS |
| | | ! |
| | | --> |
| | | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| | |
| | | <xsl:import href="urn:docbkx:stylesheet" /> |
| | | <xsl:import href="urn:docbkx:stylesheet/highlight.xsl" /> |
| | | |
| | | <xsl:param name="html.stylesheet">css/coredoc.css</xsl:param> |
| | | <xsl:param name="make.clean.html" select="1" /> |
| | | <xsl:param name="docbook.css.link" select="0" /> |
| | | <xsl:param name="html.stylesheet">css/docbook.css</xsl:param> |
| | | <xsl:param name="admon.style"> |
| | | <xsl:value-of select="string('font-style: italic;')"></xsl:value-of> |
| | | </xsl:param> |
| | | <xsl:param name="default.table.frame">none</xsl:param> |
| | | <xsl:param name="default.table.rules">none</xsl:param> |
| | | <xsl:param name="table.cell.border.thickness">0pt</xsl:param> |
| | | |
| | | <xsl:param name="generate.legalnotice.link" select="1" /> |
| | | <xsl:param name="root.filename">index</xsl:param> <!-- docbkx-tools ignores this. --> |
| | | <xsl:param name="use.id.as.filename" select="1" /> |
| | | |
| | | <xsl:param name="generate.toc"> |
| | | appendix nop |
| | | article/appendix nop |
| | |
| | | <xsl:param name="toc.max.depth" select="1" /> |
| | | <xsl:param name="generate.meta.abstract" select="1" /> |
| | | |
| | | <xsl:param name="default.table.frame">none</xsl:param> |
| | | <xsl:param name="default.table.rules">none</xsl:param> |
| | | <xsl:param name="table.cell.border.thickness">0pt</xsl:param> |
| | | |
| | | <xsl:template match="xslthl:keyword" mode="xslthl"> |
| | | <strong class="hl-keyword"> |
| | | <xsl:apply-templates mode="xslthl"/> |
| | |
| | | <filename>filenames</filename>, <command>commands</command>, and |
| | | <literal>literal values</literal>.</para> |
| | | |
| | | <screen> |
| | | $ echo Terminal sessions with very long lines are formatted with lines folded |
| | | by default to make them easier to read on the screen and to make them fit |
| | | on the printed page. In the HTML version, you can double-click the text to |
| | | toggle between the folded version for easy reading and the flat, syntactically |
| | | correct version for easy copy/pasting. |
| | | Terminal sessions with very long lines are formatted with lines folded |
| | | by default to make them easier to read on the screen and to make them fit |
| | | on the printed page. In the HTML version, you can double-click the text to |
| | | toggle between the folded version for easy reading and the flat, syntactically |
| | | correct version for easy copy/pasting.</screen> |
| | | <screen>$ echo Terminal sessions are formatted with line folding for easier reading. |
| | | In the HTML version, double-click to toggle between the folded version and |
| | | the flat, copy-paste version. > /dev/null</screen> |
| | | |
| | | <para>In many cases, sections pertaining to UNIX, GNU/Linux, Mac OS X, BSD, |
| | | and so forth are marked (UNIX). Sections pertaining to Microsoft Windows |
| New file |
| | |
| | | body { |
| | | color: #333; |
| | | font-family: DejaVu, Verdana, Helvetica, Arial, sans-serif; |
| | | font-size: 84%; /* 100% would be medium, 16px. */ |
| | | margin-left: auto; |
| | | margin-right: auto; |
| | | max-width: 800px; |
| | | } |
| | | |
| | | dd, |
| | | dl, |
| | | dt, |
| | | li, |
| | | ol, |
| | | p, |
| | | td, |
| | | th, |
| | | ul { |
| | | font-size: 1em; |
| | | } |
| | | |
| | | a { |
| | | text-decoration: none; |
| | | } |
| | | |
| | | a:link { |
| | | color: #47a; |
| | | } |
| | | |
| | | a:visited { |
| | | color: #68a; |
| | | } |
| | | |
| | | a:active, a:hover { |
| | | color: #990000; |
| | | } |
| | | |
| | | .author { |
| | | font-size: 1em; |
| | | font-weight: normal; |
| | | } |
| | | |
| | | code, |
| | | .command>strong, |
| | | div.literallayout, |
| | | .filename { |
| | | font-family: monospace; |
| | | font-size: 1.1em; |
| | | font-weight: normal; |
| | | } |
| | | |
| | | code, |
| | | .command, |
| | | .copyright, |
| | | div.index, |
| | | div.literallayout p, |
| | | .filename, |
| | | .term, |
| | | .step { |
| | | font-weight: normal; |
| | | } |
| | | |
| | | h1 { |
| | | color: #626D75; |
| | | font-size: 2em; |
| | | } |
| | | |
| | | h2 { |
| | | color: #333 |
| | | font-size: 1.8em; |
| | | } |
| | | |
| | | h3 { |
| | | color: #333 |
| | | font-size: 1.6em; |
| | | } |
| | | |
| | | h4 { |
| | | color: #333 |
| | | font-size: 1.4em; |
| | | } |
| | | |
| | | h5 { |
| | | color: #333 |
| | | font-size: 1.2em; |
| | | } |
| | | |
| | | h6 { |
| | | color: #333 |
| | | font-size: 1em; |
| | | } |
| | | |
| | | hr { |
| | | display: none; |
| | | } |
| | | |
| | | ul { |
| | | list-style-image: url("../images/bulletpoint.png"); |
| | | } |
| | | |
| | | div.refentry h2 { |
| | | font-size: 1.1em; |
| | | } |
| | | |
| | | div.refentry h3 { |
| | | font-size: 1.0em; |
| | | } |
| | | |
| | | div.navfooter, |
| | | div.navheader, |
| | | div.nukefooter { |
| | | background-color: #fafafa; |
| | | } |
| | | |
| | | div.navheader { |
| | | border-bottom: thin solid #ccc; |
| | | } |
| | | |
| | | .navheader th { |
| | | color: #fafafa; |
| | | font-size: 0em; |
| | | } |
| | | |
| | | .navheader td, |
| | | .navfooter td, |
| | | .nukefooter td { |
| | | font-size: 0.8em; |
| | | font-style: italic; |
| | | } |
| | | |
| | | div.abstract, |
| | | div.toc { |
| | | border: thin dotted #ccc; |
| | | margin-bottom: 0.25em; |
| | | margin-top: 0.25em; |
| | | padding-bottom: 0.25em; |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | padding-top: 0.75em; |
| | | } |
| | | |
| | | div.important, |
| | | div.caution, |
| | | div.note, |
| | | div.tip, |
| | | div.warning { |
| | | border: thin dotted #ccc; |
| | | font-style: italic; |
| | | margin-bottom: 0.25em; |
| | | margin-top: 0.25em; |
| | | padding-bottom: 0.25em; |
| | | padding-left: 0.5em; |
| | | padding-right: 0.5em; |
| | | padding-top: 0.25em; |
| | | } |
| | | |
| | | div.appendix, |
| | | div.chapter, |
| | | div.index, |
| | | div.preface { |
| | | border-bottom: thin solid #ccc; |
| | | } |
| | | |
| | | img { |
| | | height: auto; |
| | | max-width: 640px; |
| | | max-height: 480px; |
| | | } |
| | | |
| | | table { |
| | | font-size: 1em; |
| | | } |
| | | |
| | | .table-contents { |
| | | border-bottom: thin solid #ccc; |
| | | border-spacing: 0.5em; |
| | | border-top: thin solid #ccc; |
| | | } |
| | | |
| | | .table-contents thead { |
| | | text-align: left; |
| | | } |
| | | |
| | | div.table-title { |
| | | margin-bottom: 0.5em; |
| | | } |
| | | |
| | | div.abstract-title, |
| | | div.blockquote-title, |
| | | div.example-title, |
| | | div.equation-title, |
| | | div.figure-title, |
| | | div.itemizedlist-title, |
| | | div.orderedlist-title, |
| | | div.procedure-title, |
| | | div.sidebar-title, |
| | | div.table-title, |
| | | div.toc-title, |
| | | div.variablelist-title |
| | | { |
| | | font-weight: bold; |
| | | } |
| | | |
| | | div.programlisting, |
| | | div.flat, |
| | | div.screen, |
| | | div.synopsis { |
| | | background-color: #fafafa; |
| | | border: thin dashed #ccc; |
| | | font-family: monospace; |
| | | font-size: 1.1em; |
| | | margin-bottom: 1em; |
| | | padding: 0.5em; |
| | | white-space: pre; |
| | | } |
| | | |
| | | div.flat, |
| | | div.screen { |
| | | text-indent: -18px; |
| | | } |
| | | |
| | | .toggle { |
| | | position: relative; |
| | | left: -40px; |
| | | float: left; |
| | | } |
| | | |
| | | .formalpara-title { |
| | | font-weight: bold; |
| | | } |
| | | |
| | | div.msglevel, |
| | | div.msgorig, |
| | | div.msgaud, |
| | | div.msgexplan { |
| | | margin-top: 0.5em; |
| | | margin-bottom: 0.5em; |
| | | } |
| | | |
| | | span.msgmain-title, |
| | | span.msgsub-title, |
| | | span.msgrel-title, |
| | | span.msglevel-title, |
| | | span.msgorig-title, |
| | | span.msgaud-title, |
| | | span.msgexplan-title { |
| | | font-weight: bold; |
| | | } |