XUL Menue an das Lx-Office Schema angepasst.
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 29 Apr 2008 14:57:48 +0000 (14:57 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Tue, 29 Apr 2008 14:57:48 +0000 (14:57 +0000)
xslt/style1.css
xslt/xulmenu.xsl

index aa11ca1..182fb65 100644 (file)
@@ -1,13 +1,67 @@
-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}
\ No newline at end of file
+/* 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
+}
index f5aca7c..1aedda1 100644 (file)
@@ -100,7 +100,20 @@ name="xml-stylesheet">href="xslt/style1.css" type="text/css"</xsl:processing-ins
 
 <!-- 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>
 <!-- ***************************************************************************  -->