opacity: 0;
z-index: -2;
}
+}
- th.clicky-#{$col}>label {
- white-space: nowrap;
- cursor: pointer;
- line-height: 1.5em;
+thead.clicky label {
+ white-space: nowrap;
+ line-height: 1.5em;
+ cursor: pointer;
- &>* {
- display: -moz-inline-box;
- display: inline-block;
- border: 1px dotted transparent;
- vertical-align: middle;
- }
+ &>* {
+ display: -moz-inline-box;
+ display: inline-block;
+ border: 1px dotted transparent;
+ vertical-align: middle;
+ }
- // Expand the first label a bit so the table (hopefully)
- // does not reshape as columns are selected.
- &:first-child {
- margin-right: 1.75em;
- padding-right: 2px;
- }
+ // Expand the first label a bit so the table (hopefully)
+ // does not reshape as columns are selected.
+ &:first-child {
+ margin-right: 1.75em;
+ padding-right: 2px;
+ }
- &:active { color: $linkactivecolour; }
- &:first-child:active>span, &~label:active>.svg {
- border-color: $linkactivecolour;
- }
+ &:active { color: $linkactivecolour; }
+ &:first-child:active>span, &~label:active>.svg {
+ border-color: $linkactivecolour;
+ }
- .svg {
- margin-left: 0.25em;
- }
+ .svg {
+ margin-left: 0.25em;
+ }
- .svg, svg, img.svgfallback {
- height: 1.5em;
- width: auto;
- }
- .svg svg { width: 1.5em; }
+ .svg, svg, img.svgfallback {
+ height: 1.5em;
+ width: auto;
}
+ .svg svg { width: 1.5em; }
}
table.filelist {
</div>
</xsl:template>
+<xsl:template match='xhtml:table[@clicky]/xhtml:thead[*/xhtml:th/@clicky]'>
+ <xsl:copy>
+ <xsl:attribute name='class'>
+ <xsl:if test='@class'>
+ <xsl:value-of select='concat(@class, " ")' />
+ </xsl:if>
+ <xsl:text>clicky</xsl:text>
+ </xsl:attribute>
+ <xsl:apply-templates select='node()|@*[local-name() != "class"]' />
+ </xsl:copy>
+</xsl:template>
+
<xsl:template match='xhtml:table[@clicky]/xhtml:thead/*/xhtml:th[@clicky]'>
<xsl:copy>
<xsl:attribute name='class'>