(hopefully) complete removal of pre-Australis support and sync with Australis browser.css
[themes.git] / LCARStrek / global / globalBindings.xml
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="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
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
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
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>
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"/>
151       </xul:hbox>
152     </content>
153   </binding>
154
155   <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
156     <content>
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"/>
166       </xul:hbox>
167     </content>
168   </binding>
169
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
185   <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary">
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">
201     <content>
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"/>
211       </xul:hbox>
212     </content>
213   </binding>
214
215   <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar">
216     <resources>
217       <stylesheet src="chrome://global/skin/toolbar.css"/>
218     </resources>
219
220     <content>
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"/>
228       </xul:hbox>
229     </content>
230   </binding>
231
232 </bindings>