More PC8080 structural fixes

This commit is contained in:
Jeff Parsons 2016-04-20 14:02:11 -07:00
commit 28e4eabd8d
14 changed files with 75 additions and 54 deletions

View file

@ -111,13 +111,13 @@
line-height: 19px; /* the equivalent of "vertical-align: middle" for single-line elements */
background-color: #000000;
}
.pcjs-video-object {
.pcjs-screen {
clear: both;
height: auto;
position: relative;
line-height: 0; /* this is just an attempt to eliminate the side-effects of any whitespace between inner DIVs */
}
.pcjs-video-object textarea {
.pcjs-screen textarea {
position: absolute;
left: 0;
top: 0;

View file

@ -218,8 +218,11 @@
<xsl:if test="$component != 'machine'">
<xsl:apply-templates select="menu" mode="component"/>
</xsl:if>
<xsl:variable name="objectClass">
<xsl:value-of select="$APPCLASS"/><xsl:text>-</xsl:text><xsl:value-of select="$class"/><xsl:text>-object</xsl:text><xsl:if test="$class = 'video'"><xsl:text> </xsl:text><xsl:value-of select="$CSSCLASS"/><xsl:text>-screen</xsl:text></xsl:if>
</xsl:variable>
<xsl:if test="$class != '' and $component != 'machine'">
<div class="{$APPCLASS}-{$class}-object" data-value="{{id:'{$id}',name:'{$name}'{$comment}{$parms}}}"> </div>
<div class="{$objectClass}" data-value="{{id:'{$id}',name:'{$name}'{$comment}{$parms}}}"> </div>
</xsl:if>
<xsl:if test="control">
<div class="{$CSSCLASS}-controls">