diff options
Diffstat (limited to '')
-rw-r--r-- | comm/suite/themes/modern/global/globalBindings.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/comm/suite/themes/modern/global/globalBindings.xml b/comm/suite/themes/modern/global/globalBindings.xml new file mode 100644 index 0000000000..0e31150286 --- /dev/null +++ b/comm/suite/themes/modern/global/globalBindings.xml @@ -0,0 +1,70 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + + +<bindings id="globalBindings" + xmlns="http://www.mozilla.org/xbl" + xmlns:html="http://www.w3.org/1999/xhtml" + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:xbl="http://www.mozilla.org/xbl"> + + <!-- :::/ widgets \ ::::::::::::::::::::::::::::::::::::::::::::::::::::: --> + + <binding id="menulist-compact" display="xul:menu" + extends="chrome://global/content/bindings/menulist.xml#menulist"> + <content sizetopopup="false"> + <xul:dropmarker class="menulist-dropmarker" type="menu" xbl:inherits="disabled,open"/> + <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/> + <children includes="menupopup"/> + </content> + </binding> + + <binding id="toolbar-menu-button" display="xul:menu" + extends="chrome://global/content/bindings/toolbarbutton.xml#menu-button"> + <content> + <children includes="observes|template|menupopup|tooltip"/> + <xul:stack class="box-inherit toolbarbutton-menubutton-stack" flex="1"> + <xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button" + anonid="button" allowevents="true" + xbl:inherits="disabled,image,label,crop,accesskey,command, + align,dir,pack,orient"/> + <xul:dropmarker type="menu-button" xbl:inherits="open,disabled" + class="toolbarbutton-menubutton-dropmarker"/> + </xul:stack> + </content> + </binding> + + <!-- :::/ mini scrollbar \ ::::::::::::::::::::::::::::::::::::::::::::::::: --> + + <binding id="iframe-miniscroll" extends="chrome://global/content/bindings/general.xml#iframe"> + <content usechromesheets="chrome://global/skin/scrollbars-mini.css"/> + </binding> + + <binding id="browser-miniscroll" extends="chrome://global/content/bindings/browser.xml#browser"> + <content usechromesheets="chrome://global/skin/scrollbars-mini.css"/> + </binding> + + <binding id="scrollbar-mini" extends="chrome://global/content/bindings/scrollbar.xml#scrollbar"> + <resources> + <stylesheet src="chrome://global/skin/scrollbars-mini.css"/> + </resources> + </binding> + + <!-- :::/ misc scrollbar \ ::::::::::::::::::::::::::::::::::::::::::::::::: --> + + <binding id="row-iconic" extends="xul:row"> + <content> + <xul:hbox align="center"> + <xul:image class="row-iconic-icon"/> + <children/> + </xul:hbox> + </content> + </binding> + + <!-- Hack to prevent Add-ons Manager window transparency on Mac (bug 415934) --> + + <binding id="unifiedWindow"/> + +</bindings> |