update global in both themes to withstand a manual diff check
[themes.git] / LCARStrek / global / globalBindings.xml
... / ...
CommitLineData
1<?xml version="1.0"?>
2
3<bindings id="globalBindings"
4 xmlns="http://www.mozilla.org/xbl"
5 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 xmlns:xbl="http://www.mozilla.org/xbl">
7
8 <binding id="radio"
9 extends="chrome://global/content/bindings/radio.xml#radio">
10 <content>
11 <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
12 <xul:hbox class="radio-check-box2" flex="1">
13 <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
14 </xul:hbox>
15 </xul:hbox>
16 <xul:hbox class="radio-label-box" align="center" flex="1">
17 <xul:image class="radio-icon" xbl:inherits="src"/>
18 <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
19 </xul:hbox>
20 </content>
21 </binding>
22
23 <binding id="radio-with-spacing"
24 extends="chrome://global/skin/globalBindings.xml#radio">
25
26 <content>
27 <xul:hbox class="radio-spacer-box">
28 <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
29 <xul:hbox class="radio-check-box2" flex="1">
30 <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
31 </xul:hbox>
32 </xul:hbox>
33 </xul:hbox>
34 <xul:hbox class="radio-label-center-box" flex="1">
35 <xul:hbox class="radio-label-box" flex="1">
36 <xul:image class="radio-icon" xbl:inherits="src"/>
37 <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
38 </xul:hbox>
39 </xul:hbox>
40 </content>
41 </binding>
42
43 <binding id="toolbarpaletteitem-spacer"
44 extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem">
45 <content>
46 <xul:spacer class="spacer-left"/>
47 <children/>
48 <xul:spacer class="spacer-right"/>
49 </content>
50 </binding>
51
52 <binding id="menulist-compact" display="xul:menu"
53 extends="chrome://global/content/bindings/menulist.xml#menulist">
54 <content sizetopopup="false">
55 <xul:hbox class="menulist-label-box" flex="1">
56 <xul:image class="menulist-icon" xbl:inherits="src"/>
57 <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
58 </xul:hbox>
59 <children includes="menupopup"/>
60 </content>
61 </binding>
62
63
64 <binding id="statusbar" extends="chrome://global/content/bindings/general.xml#statusbar">
65 <content>
66 <xul:box class="statusbar-left"/>
67 <xul:hbox class="statusbar-center" autostretch="never" flex="1">
68 <children/>
69 </xul:hbox>
70 <xul:box class="statusbar-right"/>
71 </content>
72 </binding>
73
74 <binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar">
75 <content>
76 <xul:hbox flex="1" class="toolbar-box">
77 <xul:vbox class="toolbar-startcap"/>
78 <xul:hbox flex="1" class="toolbar-holder" align="center"
79 xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack">
80 <children/>
81 </xul:hbox>
82 <xul:vbox class="toolbar-endcap"/>
83 </xul:hbox>
84 </content>
85 </binding>
86
87 <binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar">
88 <resources>
89 <stylesheet src="chrome://global/skin/toolbar.css"/>
90 </resources>
91
92 <content>
93 <xul:hbox flex="1" class="toolbar-box">
94 <xul:vbox class="menubar-startcap"/>
95 <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center">
96 <children/>
97 </xul:hbox>
98 <xul:vbox class="menubar-endcap"/>
99 </xul:hbox>
100 </content>
101 </binding>
102
103 <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
104 <content>
105 <xul:hbox flex="1" class="toolbar-box">
106 <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
107 tbattr="toolbar-grippy"
108 class="toolbar-grippy"/>
109 <xul:hbox flex="1" class="toolbar-holder"
110 xbl:inherits="collapsed,last-toolbar,orient,align,pack">
111 <children/>
112 </xul:hbox>
113 <xul:vbox class="toolbar-endcap"/>
114 </xul:hbox>
115 </content>
116 </binding>
117
118 <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary">
119 <content>
120 <xul:hbox flex="1" class="toolbar-box">
121 <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
122 tbattr="toolbar-grippy"
123 class="toolbar-grippy"/>
124 <xul:hbox flex="1" class="toolbar-holder"
125 xbl:inherits="collapsed,last-toolbar,orient,align,pack">
126 <children/>
127 </xul:hbox>
128 <xul:vbox class="toolbar-endcap"/>
129 </xul:hbox>
130 </content>
131 </binding>
132
133 <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar">
134 <resources>
135 <stylesheet src="chrome://global/skin/toolbar.css"/>
136 </resources>
137
138 <content>
139 <xul:hbox flex="1" class="toolbar-box">
140 <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
141 tbattr="toolbar-grippy" class="toolbar-grippy"/>
142 <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar">
143 <children/>
144 </xul:hbox>
145 <xul:vbox class="menubar-endcap"/>
146 </xul:hbox>
147 </content>
148 </binding>
149
150</bindings>