| 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" extends="chrome://global/content/bindings/radio.xml#radio"> |
| 9 | <content> |
| 10 | <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> |
| 11 | <xul:hbox class="radio-check-box2" flex="1"> |
| 12 | <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> |
| 13 | </xul:hbox> |
| 14 | </xul:hbox> |
| 15 | <xul:hbox class="radio-label-box" flex="1"> |
| 16 | <xul:image class="radio-icon" xbl:inherits="src"/> |
| 17 | <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> |
| 18 | </xul:hbox> |
| 19 | </content> |
| 20 | </binding> |
| 21 | |
| 22 | <binding id="radio-with-spacing" |
| 23 | extends="chrome://global/skin/globalBindings.xml#radio"> |
| 24 | |
| 25 | <content> |
| 26 | <xul:hbox class="radio-spacer-box"> |
| 27 | <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> |
| 28 | <xul:hbox class="radio-check-box2" flex="1"> |
| 29 | <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> |
| 30 | </xul:hbox> |
| 31 | </xul:hbox> |
| 32 | </xul:hbox> |
| 33 | <xul:hbox class="radio-label-center-box" flex="1"> |
| 34 | <xul:hbox class="radio-label-box" flex="1"> |
| 35 | <xul:image class="radio-icon" xbl:inherits="src"/> |
| 36 | <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> |
| 37 | </xul:hbox> |
| 38 | </xul:hbox> |
| 39 | </content> |
| 40 | </binding> |
| 41 | |
| 42 | |
| 43 | <binding id="statusbar" extends="xul:statusbar"> |
| 44 | <content> |
| 45 | <xul:box class="statusbar-left"/> |
| 46 | <xul:hbox class="statusbar-center" autostretch="never" flex="1"> |
| 47 | <children/> |
| 48 | </xul:hbox> |
| 49 | <xul:box class="statusbar-right"/> |
| 50 | </content> |
| 51 | </binding> |
| 52 | |
| 53 | <binding id="toolbar" extends="chrome://global/content/bindings/toolbar.xml#toolbar"> |
| 54 | <content> |
| 55 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
| 56 | tbattr="toolbar-grippy" class="toolbar-grippy"/> |
| 57 | <xul:hbox flex="1" class="toolbar-holder" align="center" |
| 58 | xbl:inherits="collapsed,last-toolbar,orient=tborient,align=tbalign,pack=tbpack"> |
| 59 | <children/> |
| 60 | </xul:hbox> |
| 61 | <xul:hbox class="toolbar-endcap"/> |
| 62 | </content> |
| 63 | </binding> |
| 64 | |
| 65 | <binding id="toolbar-primary" extends="chrome://global/content/bindings/toolbar.xml#toolbar-primary"> |
| 66 | <content> |
| 67 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
| 68 | tbattr="toolbar-grippy" class="toolbar-grippy"/> |
| 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:hbox class="toolbar-endcap"/> |
| 74 | </content> |
| 75 | </binding> |
| 76 | |
| 77 | <binding id="menubar" extends="chrome://global/content/bindings/toolbar.xml#menubar"> |
| 78 | <resources> |
| 79 | <stylesheet src="chrome://global/skin/toolbar.css"/> |
| 80 | </resources> |
| 81 | |
| 82 | <content> |
| 83 | <xul:toolbargrippy xbl:inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar,hidden=grippyhidden" |
| 84 | tbattr="toolbar-grippy" class="toolbar-grippy"/> |
| 85 | <xul:hbox flex="1" class="toolbar-holder" xbl:inherits="collapsed,last-toolbar" align="center"> |
| 86 | <children/> |
| 87 | </xul:hbox> |
| 88 | <xul:hbox class="menubar-endcap"/> |
| 89 | </content> |
| 90 | </binding> |
| 91 | |
| 92 | </bindings> |