mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-16 12:30:13 +01:00
155 lines
6.1 KiB
XML
155 lines
6.1 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE bindings [
|
|
<!ENTITY % tabBrowserDTD SYSTEM "chrome://global/locale/tabbrowser.dtd" >
|
|
%tabBrowserDTD;
|
|
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
|
|
%globalDTD;
|
|
]>
|
|
|
|
<bindings id="globalBindings"
|
|
xmlns="http://www.mozilla.org/xbl"
|
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
xmlns:xbl="http://www.mozilla.org/xbl">
|
|
|
|
<binding id="radio"
|
|
extends="chrome://global/content/bindings/radio.xml#radio">
|
|
<content>
|
|
<xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
|
|
<xul:hbox class="radio-check-box2" flex="1">
|
|
<xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
|
|
</xul:hbox>
|
|
</xul:hbox>
|
|
<xul:hbox class="radio-label-box" xbl:inherits="flex">
|
|
<xul:image class="radio-icon" xbl:inherits="src"/>
|
|
<xul:label class="radio-label" xbl:inherits="xbl:text=label,flex,accesskey,crop"/>
|
|
</xul:hbox>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="radio-with-spacing"
|
|
extends="chrome://global/skin/globalBindings.xml#radio">
|
|
|
|
<content>
|
|
<xul:hbox class="radio-spacer-box">
|
|
<xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled">
|
|
<xul:hbox class="radio-check-box2" flex="1">
|
|
<xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/>
|
|
</xul:hbox>
|
|
</xul:hbox>
|
|
</xul:hbox>
|
|
<xul:hbox class="radio-label-center-box" flex="1">
|
|
<xul:hbox class="radio-label-box" flex="1">
|
|
<xul:image class="radio-icon" xbl:inherits="src"/>
|
|
<xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/>
|
|
</xul:hbox>
|
|
</xul:hbox>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="toolbarpaletteitem-spacer" extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem">
|
|
<content>
|
|
<xul:spacer class="spacer-left"/>
|
|
<children/>
|
|
<xul:spacer class="spacer-right"/>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="tabbrowser-tab" extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser-tab">
|
|
<content chromedir="&locale.dir;"
|
|
closetabtext="&closeTab.label;">
|
|
<xul:hbox class="tab-image-left" xbl:inherits="selected"/>
|
|
<xul:hbox flex="1" class="tab-image-middle" align="center" xbl:inherits="selected">
|
|
<xul:stack class="tab-icon">
|
|
<xul:image xbl:inherits="validate,src=image" class="tab-icon-image"/>
|
|
<xul:image class="tab-extra-status"/>
|
|
</xul:stack>
|
|
<xul:label flex="1" xbl:inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
|
|
</xul:hbox>
|
|
<xul:toolbarbutton anonid="close-button" class="tab-close-button" tabindex="-1"/>
|
|
<xul:hbox class="tab-image-right" xbl:inherits="selected"/>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="tabs" extends="chrome://global/content/bindings/tabbox.xml#tabs">
|
|
<content>
|
|
<xul:spacer class="tab-border-top-left-cap"/>
|
|
<xul:spacer class="tab-border-top-left"/>
|
|
<children/>
|
|
<xul:stack flex="1">
|
|
<xul:spacer class="tab-border-top-right"/>
|
|
<xul:hbox class="tabs-misc-dec" align="center">
|
|
<xul:spacer flex="1"/>
|
|
</xul:hbox>
|
|
</xul:stack>
|
|
<xul:spacer class="tab-border-top-right-cap"/>
|
|
</content>
|
|
</binding>
|
|
|
|
<binding id="tabbrowser-tabs"
|
|
extends="chrome://global/content/bindings/tabbrowser.xml#tabbrowser-tabs">
|
|
<content>
|
|
<xul:stack flex="1" class="tabs-stack">
|
|
<xul:vbox>
|
|
<xul:spacer flex="1"/>
|
|
<xul:hbox class="tabs-bottom" align="center"/>
|
|
</xul:vbox>
|
|
<xul:vbox>
|
|
<xul:hbox>
|
|
<xul:stack>
|
|
<xul:spacer class="tabs-left"/>
|
|
</xul:stack>
|
|
<xul:arrowscrollbox anonid="arrowscrollbox"
|
|
orient="horizontal"
|
|
flex="1"
|
|
style="min-width: 1px;"
|
|
chromedir="&locale.dir;"
|
|
class="tabbrowser-arrowscrollbox">
|
|
<children/>
|
|
</xul:arrowscrollbox>
|
|
<xul:stack align="center" pack="end" chromedir="&locale.dir;"
|
|
class="tabs-alltabs-stack">
|
|
<!-- XXXsspitzer hack
|
|
this extra hbox with position: relative
|
|
is needed to work around two bugs.
|
|
see bugs #346307 and #346035
|
|
-->
|
|
<xul:hbox style="position: relative;">
|
|
<xul:hbox flex="1"
|
|
class="tabs-alltabs-box"
|
|
anonid="alltabs-box"/>
|
|
</xul:hbox>
|
|
<!-- XXXsspitzer hack
|
|
this extra hbox with position: relative
|
|
is needed to work around two bugs.
|
|
see bugs #346307 and #346035
|
|
-->
|
|
<xul:hbox style="position: relative;">
|
|
<xul:hbox flex="1" class="tabs-alltabs-box-animate"
|
|
anonid="alltabs-box-animate"/>
|
|
</xul:hbox>
|
|
<!-- XXXsspitzer hack
|
|
this extra hbox with position: relative
|
|
is needed to work around two bugs.
|
|
see bugs #346307 and #346035
|
|
-->
|
|
<xul:hbox style="position: relative;">
|
|
<xul:toolbarbutton class="tabs-alltabs-button" type="menu"
|
|
anonid="alltabs-button"
|
|
tooltipstring="&listAllTabs.label;">
|
|
<xul:menupopup class="tabs-alltabs-popup"
|
|
anonid="alltabs-popup" position="after_end"/>
|
|
</xul:toolbarbutton>
|
|
</xul:hbox>
|
|
</xul:stack>
|
|
<xul:hbox class="tabs-closebutton-box" align="center" pack="end" anonid="tabstrip-closebutton">
|
|
<xul:toolbarbutton class="close-button tabs-closebutton"/>
|
|
</xul:hbox>
|
|
</xul:hbox>
|
|
<xul:spacer class="tabs-bottom-spacer"/>
|
|
</xul:vbox>
|
|
</xul:stack>
|
|
</content>
|
|
</binding>
|
|
</bindings>
|