fixing crasher with resource bindings
[themes.git] / LCARStrek / skin / LCARStrek / global / toolbar.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
8  *
9  * Software distributed under the License is distributed on an "AS IS" basis,
10  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11  * for the specific language governing rights and limitations under the
12  * License.
13  *
14  * The Original Code is "Classic" theme of mozilla.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * the Mozilla Organization.
18  * Portions created by the Initial Developer are Copyright (C) 1998-2001
19  * the Initial Developer. All Rights Reserved.
20  *
21  * Contributor(s):
22  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
24  * Alternatively, the contents of this file may be used under the terms of
25  * either the GNU General Public License Version 2 or later (the "GPL"), or
26  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27  * in which case the provisions of the GPL or the LGPL are applicable instead
28  * of those above. If you wish to allow use of your version of this file only
29  * under the terms of either the GPL or the LGPL, and not to allow others to
30  * use your version of this file under the terms of the MPL, indicate your
31  * decision by deleting the provisions above and replace them with the notice
32  * and other provisions required by the GPL or the LGPL. If you do not delete
33  * the provisions above, a recipient may use your version of this file under
34  * the terms of any one of the MPL, the GPL or the LGPL.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
40 toolbox
41   {
42     background-color      : #000000;
43   }
44
45 toolbar
46   {
47     background-color      : #000000;
48 /*    border                : 1px solid #9C9CFF; */
49     /*
50      * DON'T DELETE.  Removes disappearance of scrollbars in content
51      * pane when window is made smaller.
52      * Talk to evaughan@netscape.com for details.
53      */
54     min-width             : 1px;      
55     border-bottom         : 3px solid #000000;
56   }
57   
58 toolbar > .toolbar-holder
59   {
60     background-color      : #9C9CFF;
61 }
62
63 toolbar > .toolbar-endcap
64 {
65     -moz-border-radius    : 0px 8px 8px 0px;
66     background-color      : #FF9F00;
67     border                : none;
68     border-left           : 3px solid black;
69     width                 : 15px;
70     min-height            : 16px;
71   }
72
73 menubar
74   {
75     /* DON'T DELETE.  Removes disappearance of scrollbars
76      * in content pane when window is made smaller.
77      * Talk to evaughan@netscape.com for details.
78      */
79     min-width             : 1px;
80     border-bottom         : 3px solid #000000;
81    }
82
83 menubar > .toolbar-holder
84   {
85     background-color      : #6000CF;
86   }
87
88 menubar > .menubar-endcap
89 {
90     -moz-border-radius    : 0px 8px 8px 0px;
91     background-color      : #FF9F00;
92     border                : none;
93     border-left           : 3px solid black;
94     width                 : 15px;
95     min-height            : 16px;
96   }
97
98 toolbargrippy 
99   { 
100     -moz-box-orient       : vertical;
101     -moz-border-radius    : 8px 0px 0px 8px;
102     background-color      : #FF9F00; 
103     border                : none;
104     border-right          : 3px solid black;
105     width                 : 15px;
106     min-height            : 16px;
107   } 
108
109 toolbar[collapsed="true"]
110   {
111     min-height            : 0px;
112   }
113
114 toolbargrippy[tbgrippy-collapsed="true"] 
115   {
116     -moz-box-orient       : horizontal;
117     -moz-border-radius    : 5px 0px 0px 5px;
118     margin-bottom         : 3px;
119     min-height            : 10px;
120     max-height            : 10px;
121   }
122
123 .collapsed-tray-spacer
124   {
125     border-bottom         : none;
126   }  
127   
128 toolbargrippy:hover
129   {
130     background-color      : #FFCF00;
131   }
132   
133 toolbar[collapsed="true"] > toolbargrippy
134   {
135     width                 : 30px;
136   }
137   
138 toolbarseparator 
139   {
140     width                 : 1px;
141     background-color      : #000000;
142     margin                : 2px;
143     margin-right          : 0px;
144   }
145   
146 .toolbar-focustarget
147   {
148     -moz-user-focus       : ignore !important;
149   }