007a1ea7f065fc020f3c7e32222b833367b20235
[themes.git] / 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 /* ===== toolbar.css ====================================================
41   == Styles used by XUL toolbar-related elements.
42   ======================================================================= */
43
44 /* ::::: toolbox ::::: */
45
46 toolbox {
47   background-color: #000000;
48 }
49
50 /* ::::: toolbar & menubar ::::: */
51
52 toolbar,
53 menubar {
54   border-bottom: 3px solid #000000;
55   background-color: #000000;
56   min-width: 1px; /* DON'T DELETE!
57     Prevents hiding of scrollbars in browser when window is made smaller.*/
58 }
59
60 /* toolbar-holder is the body of the main part of a toolbar */
61 toolbar > .toolbar-holder {
62   background-color: #9C9CFF;
63 }
64
65 menubar > .toolbar-holder {
66   background-color: #6000CF;
67 }
68
69 /* ::::: toolbargrippy ::::: */
70
71 toolbargrippy {
72   -moz-box-orient: vertical;
73   -moz-border-radius: 8px 0px 0px 8px;
74   -moz-box-align: center;
75   border: none;
76   border-right: 3px solid black;
77   background-color: #FF9F00;
78   width: 15px;
79   min-height: 16px;
80 }
81
82 toolbargrippy:hover {
83   background-color: #FFCF00;
84 }
85
86 /* ::::: endcap (LCARStrek specific) ::::: */
87
88 toolbar > .toolbar-endcap {
89   -moz-border-radius: 0px 8px 8px 0px;
90   background-color: #FF9F00;
91   border: none;
92   border-left: 3px solid black;
93   width: 15px;
94   min-height: 16px;
95 }
96
97 menubar > .menubar-endcap {
98   -moz-border-radius: 0px 8px 8px 0px;
99   background-color: #FF9F00;
100   border: none;
101   border-left: 3px solid black;
102   width: 15px;
103   min-height: 16px;
104 }
105
106 /* ::::: collapsed tray and grippies ::::: */
107
108 toolbargrippy[tbgrippy-collapsed="true"] {
109   -moz-box-orient: horizontal;
110   -moz-border-radius: 5px 0px 0px 5px;
111   margin-bottom: 3px;
112   width: 30px;
113   height: 10px;
114 }
115
116 .collapsed-tray-spacer {
117   border-bottom: none;
118 }  
119
120 /* ::::: toolbarseparator ::::: */
121
122 toolbarseparator {
123   margin: 2px 0px 2px 2px;
124   border-right: 1px solid #000000; 
125   width: 1px;
126 }
127