summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css27
-rw-r--r--help3xsl/online_transform.xsl7
2 files changed, 32 insertions, 2 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 2c5e59ac0a..bc053cc704 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -212,6 +212,9 @@ table, th, td {
border-right: 0;
padding: 0.3em;
}
+html[dir=ltr] th {
+ text-align: left;
+}
.tablehead,
.tableheadintable {
font-weight: bold;
@@ -226,6 +229,17 @@ table, th, td {
font-size: 0.98rem;
}
+/* ScriptForge service tables */
+.sf_table {
+ min-width: 100%;
+}
+.sf_table thead {
+ display: none;
+}
+.sf_table tr, .sf_table td {
+ display: block;
+}
+
h1,
h2,
h3,
@@ -840,6 +854,19 @@ li.disabled a {
max-width: 200px;
width: 100%
}
+ /* ScriptForge service tables */
+ .sf_table {
+ min-width: auto;
+ }
+ .sf_table thead {
+ display: table-header-group;
+ }
+ .sf_table tr {
+ display: table-row;
+ }
+ .sf_table td {
+ display: table-cell;
+ }
}
@media screen and (min-width: 1440px) {
#Contents {
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 465415ea24..70c7ab0af5 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -732,7 +732,7 @@
<xsl:template match="tablecell">
<xsl:choose>
<xsl:when test="paragraph[@role='tablehead']">
- <td rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates /></td>
+ <th rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates /></th>
</xsl:when>
<xsl:otherwise>
<td rowspan="{@rowspan}" colspan="{@colspan}"><xsl:apply-templates /></td>
@@ -744,7 +744,7 @@
<xsl:template match="tablecell" mode="embedded">
<xsl:choose>
<xsl:when test="paragraph[@role='tablehead']">
- <td rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates mode="embedded"/></td>
+ <th rowspan="{@rowspan}" colspan="{@colspan}" class='tableheadcell'><xsl:apply-templates mode="embedded"/></th>
</xsl:when>
<xsl:otherwise>
<td rowspan="{@rowspan}" colspan="{@colspan}"><xsl:apply-templates mode="embedded"/></td>
@@ -758,6 +758,9 @@
<xsl:template match="tablerow" mode="icontable"><div class="icontable"><xsl:apply-templates mode="icontable"/></div></xsl:template>
<xsl:template match="tablerow" mode="embedded"><tr><xsl:apply-templates mode="embedded"/></tr></xsl:template>
+<!-- TABLEHEAD -->
+<xsl:template match="tablehead"><thead><xsl:apply-templates /></thead></xsl:template>
+
<!-- TITLE -->
<xsl:template match="title"/>