tweaks for making devtools look nicer
[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-menubar-autohide" extends="chrome://global/content/bindings/toolbar.xml#toolbar-menubar-autohide">
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="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar">
101     <resources>
102       <stylesheet src="chrome://global/skin/toolbar.css"/>
103     </resources>
104
105     <content>
106       <xul:hbox flex="1" class="toolbar-box">
107         <xul:vbox class="menubar-startcap"/>
108         <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center">
109           <children/>
110         </xul:hbox>
111         <xul:vbox class="menubar-endcap"/>
112       </xul:hbox>
113     </content>
114   </binding>
115
116   <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
117     <content>
118       <xul:hbox flex="1" class="toolbar-box">
119         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
120                            tbattr="toolbar-grippy"
121                            class="toolbar-grippy"/>
122         <xul:hbox flex="1" class="toolbar-holder"
123                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
124           <children/>
125         </xul:hbox>
126         <xul:vbox class="toolbar-endcap"/>
127       </xul:hbox>
128     </content>
129   </binding>
130
131   <binding id="grippytoolbar-drag" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-drag">
132     <content>
133       <xul:hbox flex="1" class="toolbar-box">
134         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
135                            tbattr="toolbar-grippy"
136                            class="toolbar-grippy"/>
137         <xul:hbox flex="1" class="toolbar-holder"
138                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
139           <children/>
140         </xul:hbox>
141         <xul:vbox class="toolbar-endcap"/>
142       </xul:hbox>
143     </content>
144   </binding>
145
146   <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary">
147     <content>
148       <xul:hbox flex="1" class="toolbar-box">
149         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
150                            tbattr="toolbar-grippy"
151                            class="toolbar-grippy"/>
152         <xul:hbox flex="1" class="toolbar-holder"
153                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
154           <children/>
155         </xul:hbox>
156         <xul:vbox class="toolbar-endcap"/>
157       </xul:hbox>
158     </content>
159   </binding>
160
161   <binding id="grippytoolbar-primary-drag" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary-drag">
162     <content>
163       <xul:hbox flex="1" class="toolbar-box">
164         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
165                            tbattr="toolbar-grippy"
166                            class="toolbar-grippy"/>
167         <xul:hbox flex="1" class="toolbar-holder"
168                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
169           <children/>
170         </xul:hbox>
171         <xul:vbox class="toolbar-endcap"/>
172       </xul:hbox>
173     </content>
174   </binding>
175
176   <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar">
177     <resources>
178       <stylesheet src="chrome://global/skin/toolbar.css"/>
179     </resources>
180
181     <content>
182       <xul:hbox flex="1" class="toolbar-box">
183         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
184                            tbattr="toolbar-grippy" class="toolbar-grippy"/>
185         <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar">
186           <children/>
187         </xul:hbox>
188         <xul:vbox class="menubar-endcap"/>
189       </xul:hbox>
190     </content>
191   </binding>
192
193 </bindings>