mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 02:45:46 +01:00
Some manual help formatting tweaks. Why can troff handle stuff this but HTML can't?
This commit is contained in:
@@ -174,14 +174,19 @@
|
|||||||
|
|
||||||
<!-- Items {{{1 -->
|
<!-- Items {{{1 -->
|
||||||
|
|
||||||
|
<xsl:template match="liberator:strut" mode="pass-2">
|
||||||
|
<div style="clear: both"/>
|
||||||
|
</xsl:template>
|
||||||
<xsl:template match="liberator:item" mode="pass-2">
|
<xsl:template match="liberator:item" mode="pass-2">
|
||||||
<div liberator:highlight="HelpItem">
|
<div liberator:highlight="HelpItem">
|
||||||
<xsl:apply-templates select="liberator:tags|liberator:spec"/>
|
<xsl:apply-templates select="liberator:tags|liberator:spec|liberator:strut"/>
|
||||||
<hr style="border: 0; height: 0; margin: 0; width: 100%; float: right;"/>
|
<xsl:if test="not(liberator:description/@short)">
|
||||||
<div liberator:highlight="HelpOptInfo">
|
<hr style="border: 0; height: 0; margin: 0; width: 100%; float: right;"/>
|
||||||
<xsl:apply-templates select="liberator:type|liberator:default"/>
|
<div liberator:highlight="HelpOptInfo">
|
||||||
<div style="clear: both;"/>
|
<xsl:apply-templates select="liberator:type|liberator:default"/>
|
||||||
</div>
|
<div style="clear: both;"/>
|
||||||
|
</div>
|
||||||
|
</xsl:if>
|
||||||
<xsl:apply-templates select="liberator:description"/>
|
<xsl:apply-templates select="liberator:description"/>
|
||||||
<div style="clear: both;"/>
|
<div style="clear: both;"/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ Highlights.prototype.CSS = <![CDATA[
|
|||||||
HelpOptInfo display: inline-block; margin-bottom: 1ex;
|
HelpOptInfo display: inline-block; margin-bottom: 1ex;
|
||||||
|
|
||||||
HelpParagraph,html|p,liberator://help/* display: block; margin: 1em 0em;
|
HelpParagraph,html|p,liberator://help/* display: block; margin: 1em 0em;
|
||||||
|
HelpParagraph:first-child margin-top: 0;
|
||||||
HelpSpec display: block; margin-left: -10em; float: left; clear: left; color: #527BBD;
|
HelpSpec display: block; margin-left: -10em; float: left; clear: left; color: #527BBD;
|
||||||
|
|
||||||
HelpString display: inline-block; color: green; font-weight: normal; vertical-align: text-top;
|
HelpString display: inline-block; color: green; font-weight: normal; vertical-align: text-top;
|
||||||
|
|||||||
@@ -29,14 +29,14 @@
|
|||||||
<item>
|
<item>
|
||||||
<tags>:set :se</tags>
|
<tags>:set :se</tags>
|
||||||
<spec>:se[t]</spec>
|
<spec>:se[t]</spec>
|
||||||
<description>
|
<description short="true">
|
||||||
<p>Show all options that differ from their default value.</p>
|
<p>Show all options that differ from their default value.</p>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<spec>:se[t] all</spec>
|
<spec>:se[t] all</spec>
|
||||||
<description>
|
<description short="true">
|
||||||
<p>Show all options.</p>
|
<p>Show all options.</p>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
@@ -52,11 +52,11 @@
|
|||||||
<item>
|
<item>
|
||||||
<spec>:se[t] <a>option</a> […]</spec>
|
<spec>:se[t] <a>option</a> […]</spec>
|
||||||
<description>
|
<description>
|
||||||
<p>
|
<dl>
|
||||||
Toggle option: set, switch it on.
|
<dt>Toggle option</dt> <dd>set, switch it on.</dd>
|
||||||
Number option: show value.
|
<dt>Number option</dt> <dd>show value.</dd>
|
||||||
String option: show value.
|
<dt>String option</dt> <dd>show value.</dd>
|
||||||
</p>
|
</dl>
|
||||||
</description>
|
</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user