some LCARStrek polish: throbber should look like a normal button and fill the hieght...
[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="menulist-compact" display="xul:menu"
44            extends="chrome://global/content/bindings/menulist.xml#menulist">
45     <content sizetopopup="false">
46       <xul:hbox class="menulist-label-box" flex="1">
47         <xul:image class="menulist-icon" xbl:inherits="src"/>
48         <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
49       </xul:hbox>
50       <children includes="menupopup"/>
51     </content>
52   </binding>
53
54
55   <binding id="statusbar" extends="chrome://global/content/bindings/general.xml#statusbar">
56     <content>
57       <xul:box class="statusbar-left"/>
58       <xul:hbox class="statusbar-center" autostretch="never" flex="1">
59         <children/>
60       </xul:hbox>
61       <xul:box class="statusbar-right"/>
62     </content>
63   </binding>
64
65   <binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar">
66     <content>
67       <xul:hbox flex="1" class="toolbar-box">
68         <xul:vbox class="toolbar-startcap"/>
69         <xul:hbox flex="1" class="toolbar-holder" align="center"
70                   xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack">
71           <children/>
72         </xul:hbox>
73         <xul:vbox class="toolbar-endcap"/>
74       </xul:hbox>
75     </content>
76   </binding>
77
78   <binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar">
79     <resources>
80       <stylesheet src="chrome://global/skin/toolbar.css"/>
81     </resources>
82
83     <content>
84       <xul:hbox flex="1" class="toolbar-box">
85         <xul:vbox class="menubar-startcap"/>
86         <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center">
87           <children/>
88         </xul:hbox>
89         <xul:vbox class="menubar-endcap"/>
90       </xul:hbox>
91     </content>
92   </binding>
93
94   <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar">
95     <content>
96       <xul:hbox flex="1" class="toolbar-box">
97         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
98                            tbattr="toolbar-grippy"
99                            class="toolbar-grippy"/>
100         <xul:hbox flex="1" class="toolbar-holder"
101                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
102           <children/>
103         </xul:hbox>
104         <xul:vbox class="toolbar-endcap"/>
105       </xul:hbox>
106     </content>
107   </binding>
108
109   <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary">
110     <content>
111       <xul:hbox flex="1" class="toolbar-box">
112         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
113                            tbattr="toolbar-grippy"
114                            class="toolbar-grippy"/>
115         <xul:hbox flex="1" class="toolbar-holder"
116                   xbl:inherits="collapsed,last-toolbar,orient,align,pack">
117           <children/>
118         </xul:hbox>
119         <xul:vbox class="toolbar-endcap"/>
120       </xul:hbox>
121     </content>
122   </binding>
123
124   <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar">
125     <resources>
126       <stylesheet src="chrome://global/skin/toolbar.css"/>
127     </resources>
128
129     <content>
130       <xul:hbox flex="1" class="toolbar-box">
131         <xul:toolbargrippy xbl:inherits="last-toolbar,hidden=grippyhidden"
132                            tbattr="toolbar-grippy" class="toolbar-grippy"/>
133         <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar">
134           <children/>
135         </xul:hbox>
136         <xul:vbox class="menubar-endcap"/>
137       </xul:hbox>
138     </content>
139   </binding>
140
141 </bindings>