Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f0135672

Von Sven Schöling vor mehr als 16 Jahren hinzugefügt

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

XUL Menue an das Lx-Office Schema angepasst.

Unterschiede anzeigen:

xslt/style1.css
1
treechildren::-moz-tree-row(hover){background-color:#eef !important;}
2
tree{-moz-appearance: none !important;border:0px solid black !important;padding-top:2px;background: white}
3
treechildren::-moz-tree-column{background: white}
1
toolbar{
2
 -moz-appearance:none !important;
3
 background: url('../image/fade.png');
4
 border-bottom:1px solid black;
5
 border-top:1px solid black
6
}
7
splitter{
8
 -moz-appearance:none !important;
9
 background:white url('../image/fade.png') no-repeat !important;
10
 border:0px
11
}
12
iframe{
13
 border-left:1px solid black !important
14
}
4 15

  
5
toolbar{-moz-appearance: none !important;background:lavender !important;border-bottom:1px solid black;border-top:1px solid black;}
6
menubar{-moz-appearance: none !important;background:darkblue !important;border:0px}
7
splitter{-moz-appearance: none !important;background:lavender !important;border:0px solid black !important}
8
iframe{border-left:1px solid black !important}
9
#sidebar{background:grey;max-width:450px;width:150px;font-family:arial;font-size:12px;margin:0px;border-right:1px solid black}
10
menubar menu{-moz-appearance: none !important;color:white !important;}
11
menubar menu:hover{-moz-appearance: none;background:lightblue !important}
12
menu menu{-moz-appearance: none !important;color:black !important;}
13
menu menu:hover{-moz-appearance: none;background:lightgrey !important}
16
/* sidebar styles */
17
tree{
18
 -moz-appearance: none !important;
19
 border:0px solid black;
20
 padding-top:2px;
21
 background: white url('../image/fade.png') repeat-x;
22
}
23
#sidebar{
24
 background-image: url('../image/fade.png');
25
 max-width:450px;
26
 width:150px;
27
 font:12px Arial;
28
 margin:0px;
29
 border-right:1px solid black
30
}
31

  
32
/* menubar styles */
33
menubar{
34
 -moz-appearance:none !important;
35
 background: url('../image/bg_titel.gif');
36
 border:0px
37
}
38
menu, 
39
menuitem{
40
 font:12px Arial;
41
}
42
menu menuitem,
43
menu menu{
44
 padding:2px
45
}
46
menubar menu,
47
menubar menuitem{
48
 -moz-appearance: none !important;
49
 color:white
50
}
51
menubar menu:hover,
52
menubar menuitem:hover{
53
 -moz-appearance:none !important;
54
 background:lightblue;
55
 color:red
56
}
57
menu menu,
58
menu menuitem{
59
 -moz-appearance: none !important;
60
 color:black
61
}
62
menu menu:hover,
63
menu menuitem:hover{
64
 -moz-appearance:none !important;
65
 background:lightgrey;
66
 color:red
67
}
xslt/xulmenu.xsl
100 100

  
101 101
<!-- template for the top menu items
102 102
*********************************************************************************  -->
103
<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>
103
<xsl:template match="item">
104
 <xsl:choose>
105
  <xsl:when test="item">
106
   <menu id="{@name}_menu" label="{@name}" class="menu-iconic" image="image/icons/16x16/{@id}.png">
107
    <menupopup id="file-popup">
108
     <xsl:apply-templates/>
109
    </menupopup>
110
   </menu>
111
  </xsl:when>
112
  <xsl:otherwise>
113
   <menuitem target="{@target}" link="{@link}" label="{@name}" oncommand="openLink(event)" class="menuitem-iconic" image="image/icons/16x16/{@id}.png" lxid="{@id}" onclick="openLinkNewTab(event)"/>
114
  </xsl:otherwise>
115
 </xsl:choose>
116
</xsl:template>
104 117
<!-- ***************************************************************************  -->
105 118

  
106 119

  

Auch abrufbar als: Unified diff