Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f0135672

Von Sven Schöling vor fast 17 Jahren hinzugefügt

  • ID f0135672739e57d551c18ae051be63448a2de86a
  • Vorgänger cb8d5a5d
  • Nachfolger 77903c6c

XUL Menue an das Lx-Office Schema angepasst.

Unterschiede anzeigen:

xslt/style1.css
treechildren::-moz-tree-row(hover){background-color:#eef !important;}
tree{-moz-appearance: none !important;border:0px solid black !important;padding-top:2px;background: white}
treechildren::-moz-tree-column{background: white}
toolbar{
-moz-appearance:none !important;
background: url('../image/fade.png');
border-bottom:1px solid black;
border-top:1px solid black
}
splitter{
-moz-appearance:none !important;
background:white url('../image/fade.png') no-repeat !important;
border:0px
}
iframe{
border-left:1px solid black !important
}
toolbar{-moz-appearance: none !important;background:lavender !important;border-bottom:1px solid black;border-top:1px solid black;}
menubar{-moz-appearance: none !important;background:darkblue !important;border:0px}
splitter{-moz-appearance: none !important;background:lavender !important;border:0px solid black !important}
iframe{border-left:1px solid black !important}
#sidebar{background:grey;max-width:450px;width:150px;font-family:arial;font-size:12px;margin:0px;border-right:1px solid black}
menubar menu{-moz-appearance: none !important;color:white !important;}
menubar menu:hover{-moz-appearance: none;background:lightblue !important}
menu menu{-moz-appearance: none !important;color:black !important;}
menu menu:hover{-moz-appearance: none;background:lightgrey !important}
/* sidebar styles */
tree{
-moz-appearance: none !important;
border:0px solid black;
padding-top:2px;
background: white url('../image/fade.png') repeat-x;
}
#sidebar{
background-image: url('../image/fade.png');
max-width:450px;
width:150px;
font:12px Arial;
margin:0px;
border-right:1px solid black
}
/* menubar styles */
menubar{
-moz-appearance:none !important;
background: url('../image/bg_titel.gif');
border:0px
}
menu,
menuitem{
font:12px Arial;
}
menu menuitem,
menu menu{
padding:2px
}
menubar menu,
menubar menuitem{
-moz-appearance: none !important;
color:white
}
menubar menu:hover,
menubar menuitem:hover{
-moz-appearance:none !important;
background:lightblue;
color:red
}
menu menu,
menu menuitem{
-moz-appearance: none !important;
color:black
}
menu menu:hover,
menu menuitem:hover{
-moz-appearance:none !important;
background:lightgrey;
color:red
}
xslt/xulmenu.xsl
<!-- template for the top menu items
********************************************************************************* -->
<xsl:template match="item"><xsl:choose><xsl:when test="item"><menu id="{@name}_menu" label="{@name}" class="menu-iconic" image="image/icons/16x16/{@id}.png"><menupopup id="file-popup"><xsl:apply-templates/></menupopup></menu></xsl:when><xsl:otherwise><menuitem target="{@target}" link="{@link}" label="{@name}" oncommand="openLink(event)" class="menuitem-iconic" image="image/icons/16x16/{@id}.png" lxid="{@id}" onclick="openLinkNewTab(event)"/></xsl:otherwise></xsl:choose></xsl:template>
<xsl:template match="item">
<xsl:choose>
<xsl:when test="item">
<menu id="{@name}_menu" label="{@name}" class="menu-iconic" image="image/icons/16x16/{@id}.png">
<menupopup id="file-popup">
<xsl:apply-templates/>
</menupopup>
</menu>
</xsl:when>
<xsl:otherwise>
<menuitem target="{@target}" link="{@link}" label="{@name}" oncommand="openLink(event)" class="menuitem-iconic" image="image/icons/16x16/{@id}.png" lxid="{@id}" onclick="openLinkNewTab(event)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- *************************************************************************** -->

Auch abrufbar als: Unified diff