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