pjs/themes/modern/global/globalBindings.xml

211 строки
9.2 KiB
XML

<?xml version="1.0"?>
<bindings id="globalBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding id="nine-slice-button" extends="chrome://global/content/xulBindings.xml#basetext">
<content>
<xul:box class="button-box-left" inherits="default,disabled" orient="vertical">
<xul:spring class="button-left-top" inherits="default,disabled"/>
<xul:spring class="button-left-mid" inherits="default,disabled" flex="1"/>
<xul:spring class="button-left-btm" inherits="default,disabled"/>
</xul:box>
<xul:stack class="button-stack" flex="1">
<xul:box class="button-box-mid" inherits="default,disabled" orient="vertical">
<xul:spring class="button-mid-top" inherits="default,disabled"/>
<xul:box class="button-mid-mid" inherits="default,disabled" flex="1"/>
<xul:spring class="button-mid-btm" inherits="default,disabled"/>
</xul:box>
<xul:box class="button-text-box" autostretch="never">
<xul:image class="button-icon-mid" inherits="src"/>
<xul:text class="button-text-mid" inherits="default,disabled,value=label,crop,accesskey"/>
</xul:box>
</xul:stack>
<xul:box class="button-box-right" inherits="default,disabled" orient="vertical">
<xul:spring class="button-right-top" inherits="default,disabled"/>
<xul:spring class="button-right-mid" inherits="default,disabled" flex="1"/>
<xul:spring class="button-right-btm" inherits="default,disabled"/>
</xul:box>
<children includes="menupopup"/>
</content>
<resources>
<resource type="image" src="chrome://global/skin/button/btn-act-lft-top.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-lft-mid.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-lft-btm.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-mid-top.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-mid-mid.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-mid-btm.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-rit-top.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-rit-mid.gif"/>
<resource type="image" src="chrome://global/skin/button/btn-act-rit-btm.gif"/>
</resources>
</binding>
<binding id="nine-slice-menulist" extends="chrome://global/content/menulistBindings.xml#menulist">
<content>
<xul:box class="menulist-box-left" inherits="disabled" orient="vertical">
<xul:spring class="menulist-left-top" inherits="disabled"/>
<xul:spring class="menulist-left-mid" inherits="disabled" flex="1"/>
<xul:spring class="menulist-left-btm" inherits="disabled"/>
</xul:box>
<xul:stack class="menulist-stack-mid" flex="1">
<xul:box class="menulist-box-mid" inherits="disabled" orient="vertical">
<xul:spring class="menulist-mid-top" inherits="disabled"/>
<xul:box class="menulist-mid-mid" inherits="disabled" flex="1"/>
<xul:spring class="menulist-mid-btm" inherits="disabled"/>
</xul:box>
<xul:box class="menulist-text-box" autostretch="never">
<xul:image class="menulist-icon-mid" inherits="src"/>
<xul:text class="menulist-text-mid" inherits="disabled,value=label,crop,accesskey" flex="1"/>
</xul:box>
</xul:stack>
<xul:stack class="menulist-stack-right">
<xul:box class="menulist-box-right" inherits="disabled" orient="vertical">
<xul:spring class="menulist-right-top" inherits="disabled"/>
<xul:spring class="menulist-right-mid" inherits="disabled" flex="1"/>
<xul:spring class="menulist-right-btm" inherits="disabled"/>
</xul:box>
<xul:box class="menulist-dropmarker-box" autostretch="never">
<xul:image class="menulist-dropmarker" inherits="disabled"/>
</xul:box>
</xul:stack>
<children includes="menupopup"/>
</content>
</binding>
<binding id="menulist-compact" extends="chrome://global/content/menulistBindings.xml#menulist">
<content flex="1">
<xul:box class="menulist-compact-internal-box" flex="1" autostretch="never">
<xul:image class="menulist-compact-dropmarker" inherits="disabled"/>
<xul:spring flex="1"/>
<xul:text class="menulist-compact-text" inherits="value=label,accesskey,crop,disabled" crop="right"/>
</xul:box>
<children includes="menupopup"/>
</content>
</binding>
<binding id="progressmeter" extends="chrome://global/content/xulBindings.xml#progressmeter">
<content autostretch="never">
<xul:progressbar class="progressmeter-progressbar" inherits="value,mode,statusbar" flex="1">
<xul:box class="progress-bar" inherits="mode"/>
<xul:box class="progress-remainder" inherits="mode"/>
</xul:progressbar>
</content>
</binding>
<binding id="scrollbar" extends="chrome://global/content/scrollbarBindings.xml#scrollbar">
<content>
<xul:scrollbarbutton sbattr="scrollbar-up-top" type="decrement" inherits="sborient=align">
<xul:image inherits="src"/>
</xul:scrollbarbutton>
<xul:scrollbarbutton sbattr="scrollbar-down-top" type="increment" collapsed="true" inherits="sborient=align">
<xul:image inherits="src"/>
</xul:scrollbarbutton>
<xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment,align">
<xul:thumb sbattr="scrollbar-thumb" inherits="align,src" flex="1"/>
</xul:slider>
<xul:scrollbarbutton sbattr="scrollbar-up-bottom" type="decrement" collapsed="true" inherits="sborient=align">
<xul:image inherits="src"/>
</xul:scrollbarbutton>
<xul:scrollbarbutton sbattr="scrollbar-down-bottom" type="increment" inherits="sborient=align">
<xul:image inherits="src"/>
</xul:scrollbarbutton>
</content>
</binding>
<binding id="thumb-vertical" extends="xul:button">
<content orient="vertical">
<xul:spring class="thumb-vert-spring-top"/>
<xul:box flex="1" class="thumb-vert-box-middle" orient="vertical">
<xul:spring flex="1"/>
<xul:image class="thumb-vert-grippy"/>
<xul:spring flex="1"/>
</xul:box>
<xul:spring class="thumb-vert-spring-bottom"/>
</content>
</binding>
<binding id="thumb-horizontal" extends="xul:button">
<content>
<xul:spring class="thumb-horz-spring-left"/>
<xul:box flex="1" class="thumb-horz-box-middle">
<xul:spring flex="1"/>
<xul:image class="thumb-horz-grippy"/>
<xul:spring flex="1"/>
</xul:box>
<xul:spring class="thumb-horz-spring-right"/>
</content>
</binding>
<binding id="tab" extends="chrome://global/content/tabBindings.xml#tab">
<content orient="vertical">
<xul:box class="tab-top" flex="1" orient="horizontal">
<xul:box class="tab-image-left" orient="vertical">
<xul:spring class="tab-image-left-top" inherits="selected"/>
<xul:spring class="tab-image-left-mid" inherits="selected" flex="1"/>
<xul:spring class="tab-image-left-btm" inherits="selected"/>
</xul:box>
<xul:box flex="1" class="tab-image-mid" orient="vertical" inherits="selected">
<xul:box class="tab-image-mid-top" inherits="selected"/>
<xul:box class="tab-image-mid-mid" orient="horizontal" align="center" autostretch="never" flex="1">
<xul:image class="tab-left"/>
<xul:text flex="1" inherits="value=label,crop,accesskey" crop="right" class="tab-text"/>
</xul:box>
<xul:box class="tab-image-mid-btm" inherits="selected"/>
</xul:box>
<xul:box class="tab-image-right" orient="vertical">
<xul:spring class="tab-image-right-top" inherits="selected"/>
<xul:spring class="tab-image-right-mid" inherits="selected" flex="1"/>
<xul:spring class="tab-image-right-btm" inherits="selected"/>
</xul:box>
</xul:box>
</content>
</binding>
<binding id="tabbox" extends="chrome://global/content/tabBindings.xml#tabbox">
<content>
<xul:spring class="tabbox-top-left-cap"/>
<xul:spring class="tabbox-top-left"/>
<children/>
<xul:spring class="tabbox-top-right" flex="1"/>
<xul:spring class="tabbox-top-right-cap"/>
</content>
</binding>
<binding id="toolbargrippy" extends="chrome://global/content/toolbarBindings.xml#toolbargrippy">
<content orient="vertical">
<xul:box class="toolbargrippy-top"/>
<xul:spring class="toolbargrippy-mid" flex="1"/>
<xul:box class="toolbargrippy-btm"/>
</content>
</binding>
<binding id="toolbargrippy-collapsed" extends="chrome://global/content/toolbarBindings.xml#toolbargrippy">
<content>
<xul:box class="toolbargrippy-collapsed-left"/>
<xul:box class="toolbargrippy-collapsed-context" flex="1"/>
</content>
</binding>
<binding id="splitter" extends="xul:splitter">
<content autostretch="always">
<xul:box class="splitter-internal-box" flex="1" autostretch="never">
<children/>
</xul:box>
</content>
</binding>
</bindings>