From: SVN a. s. <m.b...@li...> - 2008-04-29 15:28:13
|
Author: sschoeling Date: 2008-04-29 16:57:48 +0200 (Di, 29 Apr 2008) New Revision: 3202 Log: XUL Menue an das Lx-Office Schema angepasst. Modified: trunk/unstable/xslt/style1.css trunk/unstable/xslt/xulmenu.xsl Geändert: trunk/unstable/xslt/style1.css =================================================================== --- trunk/unstable/xslt/style1.css 2008-04-25 11:56:46 UTC (rev 3201) +++ trunk/unstable/xslt/style1.css 2008-04-29 14:57:48 UTC (rev 3202) @@ -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} \ Kein Zeilenvorschub am Ende der Datei +/* 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 +} Geändert: trunk/unstable/xslt/xulmenu.xsl =================================================================== --- trunk/unstable/xslt/xulmenu.xsl 2008-04-25 11:56:46 UTC (rev 3201) +++ trunk/unstable/xslt/xulmenu.xsl 2008-04-29 14:57:48 UTC (rev 3202) @@ -100,7 +100,20 @@ <!-- 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> <!-- *************************************************************************** --> |