mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-14 03:30:17 +01:00
106 lines
4.3 KiB
XML
106 lines
4.3 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="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;" class="tabbrowser-arrowscrollbox">
|
||
|
<children/>
|
||
|
</xul:arrowscrollbox>
|
||
|
<xul:stack align="center" pack="end" 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>
|