tweaks for making devtools look nicer
[themes.git] / LCARStrek / global / globalBindings.xml
CommitLineData
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
41279e76
RK
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
dd676468
RK
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>
d0646e4a
RK
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"/>
dd676468 112 </xul:hbox>
dd676468
RK
113 </content>
114 </binding>
115
116 <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
351107c9 117 <content>
d0646e4a
RK
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"/>
a5516fb7 127 </xul:hbox>
a5516fb7 128 </content>
129 </binding>
130
c1f7cc84
RK
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
dd676468 146 <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary">
c1f7cc84
RK
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">
a5516fb7 162 <content>
d0646e4a
RK
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"/>
351107c9 172 </xul:hbox>
351107c9 173 </content>
174 </binding>
175
dd676468 176 <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar">
351107c9 177 <resources>
178 <stylesheet src="chrome://global/skin/toolbar.css"/>
179 </resources>
180
181 <content>
d0646e4a
RK
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"/>
351107c9 189 </xul:hbox>
351107c9 190 </content>
191 </binding>
192
b1e5c9b1 193</bindings>