pjs/themes/modern/global/globalBindings.xml

257 строки
9.8 KiB
XML

<?xml version="1.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">
<binding id="button-doubletext" extends="chrome://global/content/xulBindings.xml#basetext">
<content>
<xul:box class="button-internal-box" orient="vertical" autostretch="never" flex="1">
<xul:image class="button-icon" inherits="src"/>
<xul:box orient="vertical" class="button-text-container" autostretch="never" flex="1">
<xul:stack flex="1">
<xul:text class="button-text-shadow" inherits="value,accesskey,crop,dragover-top,disabled"/>
<xul:text class="button-text" inherits="value,accesskey,crop,dragover-top"/>
</xul:stack>
</xul:box>
</xul:box>
</content>
</binding>
<binding id="toolbar-primary" extends="chrome://global/content/toolbarBindings.xml#toolbar">
<content>
<xul:toolbargrippy inherits="tooltiptext=grippytooltiptext,tooltip=grippytooltip,last-toolbar"
tbattr="toolbar-grippy" class="toolbar-primary-grippy"/>
<xul:spring class="toolbar-primary-image-left"/>
<xul:box flex="1" class="toolbar-primary-image-middle toolbar-holder"
inherits="collapsed,last-toolbar,orient=tborient,autostretch=tbautostretch" autostretch="never">
<children/>
</xul:box>
<xul:spring class="toolbar-primary-image-right"/>
</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="nav-bar-inner" extends="xul:box">
<content>
<xul:image class="navbar-inner-groove-image-left"/>
<xul:box flex="1" class="navbar-inner-border-outer">
<xul:box flex="1" class="navbar-inner-border-middle">
<xul:box flex="1" class="navbar-inner-border-inner">
<children/>
</xul:box>
</xul:box>
</xul:box>
<xul:image class="navbar-inner-groove-image-right"/>
</content>
</binding>
<binding id="urlbar-group" extends="xul:box">
<content>
<xul:image class="urlbar-image-left"/>
<xul:box flex="1" class="urlbar-border-outer">
<xul:box flex="1" class="urlbar-border-inner">
<children/>
</xul:box>
</xul:box>
<xul:image class="urlbar-image-right"/>
</content>
</binding>
<binding id="taskbar" extends="xul:box">
<content>
<xul:box flex="1" class="taskbar-image-middle">
<children/>
</xul:box>
<xul:spring class="taskbar-image-right"/>
</content>
</binding>
<binding id="taskbar-menu-box" extends="xul:box">
<content>
<xul:spring class="taskbar-mb-image-left"/>
<xul:box flex="1" class="taskbar-mb-middle-border-outer">
<xul:box flex="1" class="taskbar-mb-middle-border-middle">
<xul:box flex="1" class="taskbar-mb-middle-border-inner">
<children/>
</xul:box>
</xul:box>
</xul:box>
<xul:spring class="taskbar-mb-image-right"/>
</content>
</binding>
<binding id="throbber" extends="chrome://global/content/xulBindings.xml#basetext">
<content>
<xul:spring class="throbber-groove-left"/>
<xul:box flex="1" class="throbber-middle" orient="vertical">
<xul:spring class="throbber-groove-top"/>
<xul:image flex="1" class="throbber-icon" inherits="src" autostretch="never"/>
<xul:spring class="throbber-groove-bottom"/>
</xul:box>
<xul:spring class="throbber-groove-right"/>
</content>
</binding>
<!-- WIDGETS -->
<binding id="nine-slice-button" extends="chrome://global/content/xulBindings.xml#basetext">
<content includes="menupopup">
<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:box class="button-box-mid" inherits="default,disabled" orient="vertical" flex="1">
<xul:spring class="button-mid-top" inherits="default,disabled"/>
<xul:box class="button-mid-mid" inherits="default,disabled" flex="1" autostretch="never">
<xul:image class="button-icon" inherits="src"/>
<xul:text class="button-text-mid" inherits="default,disabled,value,crop,accesskey"/>
</xul:box>
<xul:spring class="button-mid-btm" inherits="default,disabled"/>
</xul:box>
<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>
</content>
</binding>
<binding id="nine-slice-menulist" extends="chrome://global/content/menulistBindings.xml#menulist">
<content includes="menupopup">
<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:box class="menulist-box-mid" inherits="disabled" flex="1" orient="vertical">
<xul:spring class="menulist-mid-top" inherits="disabled"/>
<xul:box class="menulist-mid-mid" inherits="disabled" flex="1" autostretch="never">
<xul:image class="menulist-icon" inherits="src"/>
<xul:text class="menulist-text-mid" flex="1" inherits="disabled,value,crop,accesskey"/>
</xul:box>
<xul:spring class="menulist-mid-btm" inherits="disabled"/>
</xul:box>
<xul:box class="menulist-box-right" inherits="disabled" orient="vertical">
<xul:box class="menulist-right-mid" inherits="disabled" flex="1">
<xul:box class="menulist-right-mid2" inherits="disabled" flex="1" autostretch="never">
<xul:image class="menulist-dropmarker" inherits="disabled"/>
</xul:box>
</xul:box>
<xul:spring class="menulist-right-btm" inherits="disabled"/>
</xul:box>
</content>
</binding>
<binding id="scrollbar">
<content>
<xul:scrollbarbutton type="decrement" inherits="sborient=align">
<xul:image inherits="src"/>
</xul:scrollbarbutton>
<xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment,align">
<xul:thumb inherits="align,src" flex="1"/>
</xul:slider>
<xul:scrollbarbutton 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>
<xul:box flex="1" orient="horizontal">
<xul:spring class="tab-image-left" inherits="selected"/>
<xul:box flex="1" class="tab-image-middle" orient="horizontal" align="center" inherits="selected" autostretch="never">
<xul:image class="tab-left"/>
<xul:text flex="1" inherits="value,crop,accesskey" crop="right" class="tab-text"/>
</xul:box>
<xul:spring class="tab-image-right" inherits="selected"/>
</xul:box>
</content>
</binding>
<binding id="tabbox" extends="chrome://global/content/tabBindings.xml#tabbox">
<content>
<xul:spring class="tab-border-top-left-cap"/>
<xul:spring class="tab-border-top-left"/>
<xul:box inherits="align">
<children/>
</xul:box>
<xul:spring class="tab-border-top-right" flex="1"/>
<xul:spring class="tab-border-top-right-cap"/>
</content>
</binding>
<binding id="largeheader" extends="xul:box">
<content>
<xul:box class="largeheader-box" flex="1">
<xul:box class="largeheader-text-container" orient="vertical">
<xul:spring flex="1"/>
<xul:text class="largeheader-header-text" inherits="value=title" crop="right"/>
<xul:html class="largeheader-desc-text" inherits="value=description"/>
<xul:spring flex="1"/>
</xul:box>
<xul:spring flex="1"/>
<xul:box class="largeheader-icon-container" autostretch="never">
<xul:image class="largeheader-icon" inherits="src"/>
</xul:box>
</xul:box>
</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>