some corrections and finishing touches to that LCARStrek works well for Firefox 55...
[themes.git] / skin / classicBindings.xml
1 <?xml version="1.0"?>
2
3 <bindings id="buttonBindings"
4           xmlns="http://www.mozilla.org/xbl"
5           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7   <binding id="textdisabled" extends="xul:text">
8     <content excludes="observes,template">
9       <xul:stack>
10         <xul:text class="text-bottom" inherits="value=label,accesskey,crop"/>
11         <xul:text class="text-top" inherits="value=label,accesskey,crop"/>
12       </xul:stack>
13     </content>
14   </binding>
15
16   <binding id="toolbargrippy" extends="xul:box">
17     <content orient="vertical">
18       <xul:box autostretch="never" halign="center">
19         <xul:image class="toolbargrippy-twisty"/>
20       </xul:box>
21       <xul:spring class="toolbargrippy-texture" flex="1"/>
22     </content>
23   </binding>
24   
25   <binding id="radio" extends="chrome://global/content/radioBindings.xml#radio">
26     <content excludes="observes">
27       <xul:box flex="1" class="radio-internal-box" autostretch="never" valign="middle">
28         <xul:box class="radio-checkmark-box-1" autostretch="never" inherits="disabled">
29           <xul:box class="radio-checkmark-box-2" autostretch="never" flex="1">
30             <xul:image class="radio-check" inherits="checked,disabled"/>
31           </xul:box>
32         </xul:box>
33         <xul:image class="radio-icon" inherits="src,disabled"/>
34         <xul:html class="radio-text" inherits="value=label,accesskey,crop,disabled" flex="1">
35           <children/>
36         </xul:html>
37       </xul:box>
38     </content>
39   </binding>
40
41   <binding id="checkbox" extends="chrome://global/content/xulBindings.xml#checkbox">
42     <content excludes="observes">
43       <xul:box flex="1" class="checkbox-internal-box" autostretch="never" valign="middle">
44         <xul:box class="checkbox-checkmark-box-1" autostretch="never" inherits="disabled">
45           <xul:box class="checkbox-checkmark-box-2" autostretch="never" flex="1">
46             <xul:image class="checkbox-check" inherits="checked,disabled"/>
47           </xul:box>
48         </xul:box>
49         <xul:image class="checkbox-icon" inherits="src,disabled"/>
50         <xul:html class="checkbox-text" inherits="value=label,accesskey,crop,disabled" flex="1">
51           <children/>
52         </xul:html>
53       </xul:box>
54     </content>
55   </binding>
56
57   <binding id="thumb" extends="xul:box">
58     <content>
59       <xul:box class="thumb-box" autostretch="never" orient="vertical" flex="1">
60         <xul:spring flex="1"/>
61       </xul:box>
62     </content>
63   </binding>
64
65   <binding id="scrollbar">
66     <content>
67       <xul:scrollbarbutton type="decrement" inherits="align:sborient"/>
68       <xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment">
69               <xul:thumb inherits="align,src" flex="1"/>
70       </xul:slider>
71       <xul:scrollbarbutton type="increment" inherits="align:sborient"/>
72     </content>
73   </binding>
74   
75   <binding id="scrollbarbutton">
76     <content>
77       <xul:box class="scrollbarbutton-box" flex="1">
78         <xul:image class="scrollbarbutton-icon" inherits="src"/>
79       </xul:box>
80     </content>
81   </binding>
82
83   <binding id="slider">
84     <content>
85             <xul:button class="slider-button"/>
86         </content>
87   </binding>
88   
89   <binding id="grippy">
90     <content>
91       <xul:box class="grippy-box" flex="1">
92         <xul:image class="grippy-image" inherits="src" />
93       </xul:box>
94     </content>
95   </binding>
96
97   <binding id="autocomplete-history-button" extends="xul:box">
98     <content>
99       <xul:box class="autocomplete-history-button-internal-box" autostretch="never">
100         <children/>
101       </xul:box>
102     </content>
103   </binding>
104   
105 </bindings>
106