globalBindings.xml (2589B)
1 <?xml version="1.0"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 6 <bindings id="globalBindings" 7 xmlns="http://www.mozilla.org/xbl" 8 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 9 xmlns:xbl="http://www.mozilla.org/xbl"> 10 11 <binding id="radio" 12 extends="chrome://global/content/bindings/radio.xml#radio"> 13 <content> 14 <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> 15 <xul:hbox class="radio-check-box2" flex="1"> 16 <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> 17 </xul:hbox> 18 </xul:hbox> 19 <xul:hbox class="radio-label-box" align="center" flex="1"> 20 <xul:image class="radio-icon" xbl:inherits="src"/> 21 <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> 22 </xul:hbox> 23 </content> 24 </binding> 25 26 <binding id="radio-with-spacing" 27 extends="chrome://global/skin/globalBindings.xml#radio"> 28 <content> 29 <xul:hbox class="radio-spacer-box"> 30 <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> 31 <xul:hbox class="radio-check-box2" flex="1"> 32 <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> 33 </xul:hbox> 34 </xul:hbox> 35 </xul:hbox> 36 <xul:hbox class="radio-label-center-box" flex="1"> 37 <xul:hbox class="radio-label-box" flex="1"> 38 <xul:image class="radio-icon" xbl:inherits="src"/> 39 <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> 40 </xul:hbox> 41 </xul:hbox> 42 </content> 43 </binding> 44 45 <binding id="toolbarpaletteitem-spacer" 46 extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem"> 47 <content> 48 <xul:spacer class="spacer-left"/> 49 <children/> 50 <xul:spacer class="spacer-right"/> 51 </content> 52 </binding> 53 54 <binding id="menulist-compact" display="xul:menu" 55 extends="chrome://global/content/bindings/menulist.xml#menulist"> 56 <content sizetopopup="false"> 57 <xul:hbox class="menulist-label-box" flex="1"> 58 <xul:image class="menulist-icon" xbl:inherits="src"/> 59 <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/> 60 </xul:hbox> 61 <children includes="menupopup"/> 62 </content> 63 </binding> 64 65 </bindings>