Commit | Line | Data |
---|---|---|
351107c9 | 1 | <?xml version="1.0"?> |
2 | ||
3 | <bindings id="globalBindings" | |
b1eaa419 | 4 | xmlns="http://www.mozilla.org/xbl" |
b1e5c9b1 | 5 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
6 | xmlns:xbl="http://www.mozilla.org/xbl"> | |
b1eaa419 | 7 | |
f98e9249 RK |
8 | <binding id="radio" |
9 | extends="chrome://global/content/bindings/radio.xml#radio"> | |
b1eaa419 | 10 | <content> |
c3af6803 | 11 | <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> |
b1eaa419 | 12 | <xul:hbox class="radio-check-box2" flex="1"> |
c3af6803 | 13 | <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> |
b1eaa419 | 14 | </xul:hbox> |
15 | </xul:hbox> | |
f98e9249 | 16 | <xul:hbox class="radio-label-box" align="center" flex="1"> |
c3af6803 | 17 | <xul:image class="radio-icon" xbl:inherits="src"/> |
18 | <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> | |
b1eaa419 | 19 | </xul:hbox> |
20 | </content> | |
21 | </binding> | |
351107c9 | 22 | |
3d6dd546 | 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 | ||
4b1ccdb4 RK |
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 | ||
6046f027 | 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 | ||
351107c9 | 63 | |
f1d07a65 | 64 | <binding id="statusbar" extends="chrome://global/content/bindings/general.xml#statusbar"> |
351107c9 | 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"> | |
dd676468 | 75 | <content> |
d0646e4a RK |
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"/> | |
dd676468 | 83 | </xul:hbox> |
dd676468 RK |
84 | </content> |
85 | </binding> | |
86 | ||
43cc2806 RK |
87 | <binding id="toolbar-browsercustom" extends="chrome://browser/content/customizableui/toolbar.xml#toolbar"> |
88 | <content> | |
89 | <xul:hbox flex="1" class="toolbar-box"> | |
90 | <xul:vbox class="toolbar-startcap"/> | |
91 | <xul:hbox flex="1" class="toolbar-holder" align="center" | |
92 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> | |
93 | <children/> | |
94 | </xul:hbox> | |
95 | <xul:vbox class="toolbar-endcap"/> | |
96 | </xul:hbox> | |
97 | </content> | |
98 | </binding> | |
99 | ||
100 | <binding id="toolbar-drag-browsercustom" extends="chrome://browser/content/customizableui/toolbar.xml#toolbar-drag"> | |
101 | <content> | |
102 | <xul:hbox flex="1" class="toolbar-box"> | |
103 | <xul:vbox class="toolbar-startcap"/> | |
104 | <xul:hbox flex="1" class="toolbar-holder" align="center" | |
105 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> | |
106 | <children/> | |
107 | </xul:hbox> | |
108 | <xul:vbox class="toolbar-endcap"/> | |
109 | </xul:hbox> | |
110 | </content> | |
111 | </binding> | |
112 | ||
41279e76 RK |
113 | <binding id="toolbar-menubar-autohide" extends="chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide"> |
114 | <content> | |
115 | <xul:hbox flex="1" class="toolbar-box"> | |
116 | <xul:vbox class="toolbar-startcap"/> | |
117 | <xul:hbox flex="1" class="toolbar-holder" align="center" | |
118 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> | |
119 | <children/> | |
120 | </xul:hbox> | |
121 | <xul:vbox class="toolbar-endcap"/> | |
122 | </xul:hbox> | |
123 | </content> | |
124 | </binding> | |
125 | ||
43cc2806 RK |
126 | <binding id="toolbar-menubar-autohide-browsercustom" extends="chrome://browser/content/customizableui/toolbar.xml#toolbar-menubar-autohide"> |
127 | <content> | |
128 | <xul:hbox flex="1" class="toolbar-box"> | |
129 | <xul:vbox class="toolbar-startcap"/> | |
130 | <xul:hbox flex="1" class="toolbar-holder" align="center" | |
131 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> | |
132 | <children/> | |
133 | </xul:hbox> | |
134 | <xul:vbox class="toolbar-endcap"/> | |
135 | </xul:hbox> | |
136 | </content> | |
137 | </binding> | |
138 | ||
dd676468 RK |
139 | <binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar"> |
140 | <resources> | |
141 | <stylesheet src="chrome://global/skin/toolbar.css"/> | |
142 | </resources> | |
143 | ||
144 | <content> | |
d0646e4a RK |
145 | <xul:hbox flex="1" class="toolbar-box"> |
146 | <xul:vbox class="menubar-startcap"/> | |
147 | <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center"> | |
148 | <children/> | |
149 | </xul:hbox> | |
150 | <xul:vbox class="menubar-endcap"/> | |
dd676468 | 151 | </xul:hbox> |
dd676468 RK |
152 | </content> |
153 | </binding> | |
154 | ||
155 | <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar"> | |
351107c9 | 156 | <content> |
d0646e4a RK |
157 | <xul:hbox flex="1" class="toolbar-box"> |
158 | <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden" | |
159 | tbattr="toolbar-grippy" | |
160 | class="toolbar-grippy"/> | |
161 | <xul:hbox flex="1" class="toolbar-holder" | |
162 | xbl:inherits="collapsed,last-toolbar,orient,align,pack"> | |
163 | <children/> | |
164 | </xul:hbox> | |
165 | <xul:vbox class="toolbar-endcap"/> | |
a5516fb7 | 166 | </xul:hbox> |
a5516fb7 | 167 | </content> |
168 | </binding> | |
169 | ||
c1f7cc84 RK |
170 | <binding id="grippytoolbar-drag" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-drag"> |
171 | <content> | |
172 | <xul:hbox flex="1" class="toolbar-box"> | |
173 | <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden" | |
174 | tbattr="toolbar-grippy" | |
175 | class="toolbar-grippy"/> | |
176 | <xul:hbox flex="1" class="toolbar-holder" | |
177 | xbl:inherits="collapsed,last-toolbar,orient,align,pack"> | |
178 | <children/> | |
179 | </xul:hbox> | |
180 | <xul:vbox class="toolbar-endcap"/> | |
181 | </xul:hbox> | |
182 | </content> | |
183 | </binding> | |
184 | ||
dd676468 | 185 | <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary"> |
c1f7cc84 RK |
186 | <content> |
187 | <xul:hbox flex="1" class="toolbar-box"> | |
188 | <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden" | |
189 | tbattr="toolbar-grippy" | |
190 | class="toolbar-grippy"/> | |
191 | <xul:hbox flex="1" class="toolbar-holder" | |
192 | xbl:inherits="collapsed,last-toolbar,orient,align,pack"> | |
193 | <children/> | |
194 | </xul:hbox> | |
195 | <xul:vbox class="toolbar-endcap"/> | |
196 | </xul:hbox> | |
197 | </content> | |
198 | </binding> | |
199 | ||
200 | <binding id="grippytoolbar-primary-drag" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary-drag"> | |
a5516fb7 | 201 | <content> |
d0646e4a RK |
202 | <xul:hbox flex="1" class="toolbar-box"> |
203 | <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden" | |
204 | tbattr="toolbar-grippy" | |
205 | class="toolbar-grippy"/> | |
206 | <xul:hbox flex="1" class="toolbar-holder" | |
207 | xbl:inherits="collapsed,last-toolbar,orient,align,pack"> | |
208 | <children/> | |
209 | </xul:hbox> | |
210 | <xul:vbox class="toolbar-endcap"/> | |
351107c9 | 211 | </xul:hbox> |
351107c9 | 212 | </content> |
213 | </binding> | |
214 | ||
13c3af49 | 215 | <binding id="grippytoolbar-menubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-menubar"> |
351107c9 | 216 | <resources> |
217 | <stylesheet src="chrome://global/skin/toolbar.css"/> | |
218 | </resources> | |
219 | ||
220 | <content> | |
d0646e4a RK |
221 | <xul:hbox flex="1" class="toolbar-box"> |
222 | <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden" | |
223 | tbattr="toolbar-grippy" class="toolbar-grippy"/> | |
224 | <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar"> | |
225 | <children/> | |
226 | </xul:hbox> | |
227 | <xul:vbox class="menubar-endcap"/> | |
351107c9 | 228 | </xul:hbox> |
351107c9 | 229 | </content> |
230 | </binding> | |
231 | ||
b1e5c9b1 | 232 | </bindings> |