toolkit/themes/windows/global/globalBindings.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/windows/global/globalBindings.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,66 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.6 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.8 +
     1.9 +
    1.10 +<bindings id="globalBindings"
    1.11 +   xmlns="http://www.mozilla.org/xbl"
    1.12 +   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.13 +   xmlns:xbl="http://www.mozilla.org/xbl">
    1.14 +
    1.15 +  <binding id="radio"
    1.16 +           extends="chrome://global/content/bindings/radio.xml#radio">
    1.17 +    <content>
    1.18 +      <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
    1.19 +        <xul:hbox class="radio-check-box2" flex="1">
    1.20 +          <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
    1.21 +        </xul:hbox>
    1.22 +      </xul:hbox>
    1.23 +      <xul:hbox class="radio-label-box" align="center" flex="1">
    1.24 +        <xul:image class="radio-icon" xbl:inherits="src"/>
    1.25 +        <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
    1.26 +      </xul:hbox>
    1.27 +    </content>
    1.28 +  </binding>
    1.29 +
    1.30 +  <binding id="radio-with-spacing"
    1.31 +           extends="chrome://global/skin/globalBindings.xml#radio">
    1.32 +    <content>
    1.33 +      <xul:hbox class="radio-spacer-box">
    1.34 +        <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
    1.35 +          <xul:hbox class="radio-check-box2" flex="1">
    1.36 +            <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
    1.37 +          </xul:hbox>
    1.38 +        </xul:hbox>
    1.39 +      </xul:hbox>
    1.40 +      <xul:hbox class="radio-label-center-box" flex="1">
    1.41 +        <xul:hbox class="radio-label-box" flex="1">
    1.42 +          <xul:image class="radio-icon" xbl:inherits="src"/>
    1.43 +          <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
    1.44 +        </xul:hbox>
    1.45 +      </xul:hbox>
    1.46 +    </content>
    1.47 +  </binding>
    1.48 +
    1.49 +  <binding id="toolbarpaletteitem-spacer"
    1.50 +           extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem">
    1.51 +    <content>
    1.52 +      <xul:spacer class="spacer-left"/>
    1.53 +      <children/>
    1.54 +      <xul:spacer class="spacer-right"/>
    1.55 +    </content>
    1.56 +  </binding>
    1.57 +
    1.58 +  <binding id="menulist-compact" display="xul:menu" 
    1.59 +           extends="chrome://global/content/bindings/menulist.xml#menulist">
    1.60 +    <content sizetopopup="false">
    1.61 +      <xul:hbox class="menulist-label-box" flex="1">
    1.62 +        <xul:image class="menulist-icon" xbl:inherits="src"/>
    1.63 +        <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/>
    1.64 +      </xul:hbox>
    1.65 +      <children includes="menupopup"/>
    1.66 +    </content>
    1.67 +  </binding>
    1.68 +
    1.69 +</bindings>

mercurial