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 | ||
6046f027 | 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 | ||
351107c9 | 54 | |
f1d07a65 | 55 | <binding id="statusbar" extends="chrome://global/content/bindings/general.xml#statusbar"> |
351107c9 | 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"> | |
dd676468 RK |
66 | <content> |
67 | <xul:hbox class="toolbar-startcap"/> | |
68 | <xul:hbox flex="1" class="toolbar-holder" align="center" | |
69 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> | |
70 | <children/> | |
71 | </xul:hbox> | |
72 | <xul:hbox class="toolbar-endcap"/> | |
73 | </content> | |
74 | </binding> | |
75 | ||
76 | <binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar"> | |
77 | <resources> | |
78 | <stylesheet src="chrome://global/skin/toolbar.css"/> | |
79 | </resources> | |
80 | ||
81 | <content> | |
82 | <xul:hbox class="menubar-startcap"/> | |
83 | <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center"> | |
84 | <children/> | |
85 | </xul:hbox> | |
86 | <xul:hbox class="menubar-endcap"/> | |
87 | </content> | |
88 | </binding> | |
89 | ||
90 | <binding id="grippytoolbar" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar"> | |
351107c9 | 91 | <content> |
a3b3d4d6 | 92 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
93 | tbattr="toolbar-grippy" class="toolbar-grippy"/> | |
a5516fb7 | 94 | <xul:hbox flex="1" class="toolbar-holder" align="center" |
dd676468 | 95 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> |
a5516fb7 | 96 | <children/> |
97 | </xul:hbox> | |
98 | <xul:hbox class="toolbar-endcap"/> | |
99 | </content> | |
100 | </binding> | |
101 | ||
dd676468 | 102 | <binding id="grippytoolbar-primary" extends="chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-primary"> |
a5516fb7 | 103 | <content> |
a3b3d4d6 | 104 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
105 | tbattr="toolbar-grippy" class="toolbar-grippy"/> | |
351107c9 | 106 | <xul:hbox flex="1" class="toolbar-holder" align="center" |
dd676468 | 107 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> |
351107c9 | 108 | <children/> |
109 | </xul:hbox> | |
110 | <xul:hbox class="toolbar-endcap"/> | |
111 | </content> | |
112 | </binding> | |
113 | ||
dd676468 | 114 | <binding id="grippymenubar" extends="chrome://communicator/content/bindings/toolbar.xml#grippymenubar"> |
351107c9 | 115 | <resources> |
116 | <stylesheet src="chrome://global/skin/toolbar.css"/> | |
117 | </resources> | |
118 | ||
119 | <content> | |
a3b3d4d6 | 120 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
121 | tbattr="toolbar-grippy" class="toolbar-grippy"/> | |
c3af6803 | 122 | <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center"> |
351107c9 | 123 | <children/> |
124 | </xul:hbox> | |
125 | <xul:hbox class="menubar-endcap"/> | |
126 | </content> | |
127 | </binding> | |
128 | ||
b1e5c9b1 | 129 | </bindings> |