1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 /* ===== toolbar.css ====================================================
6 == Styles used by XUL toolbar-related elements.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
11 /* ::::: toolbox ::::: */
14 background-color: #000000;
18 /* ::::: toolbar & menubar ::::: */
22 border-bottom: 3px solid #000000;
23 background-color: #000000;
28 /* toolbar-holder is the body of the main part of a toolbar */
30 background-color: #9C9CFF;
32 -moz-padding-end: 2px;
35 menubar > .toolbar-box > .toolbar-holder,
36 toolbar[type="menubar"] > .toolbar-box > .toolbar-holder {
37 background-color: #6000CF;
41 /* ::::: toolbargrippy, startcap (LCARStrek specific) ::::: */
46 border-radius: 8px 0px 0px 8px;
47 -moz-box-orient: vertical;
48 -moz-box-align: center;
49 background-color: #FF9F00;
51 border-right: 3px solid black;
57 background-color: #FFCF00;
60 /* ::::: endcap (LCARStrek specific) ::::: */
64 border-radius: 0px 8px 8px 0px;
65 background-color: #FF9F00;
67 border-left: 3px solid black;
72 /* ::::: collapsed tray and grippies ::::: */
74 toolbargrippy[tbgrippy-collapsed="true"] {
75 -moz-box-orient: horizontal;
76 border-radius: 4px 0px 0px 4px;
79 /* height gets set to the width of the uncollapsed grippy by default
80 so use !important to force all to the same smaller height */
81 height: 10px !important;
85 .collapsed-tray-spacer {
89 /* in some cases, the menubar is inside a toolbar... */
90 toolbaritem > menubar,
92 border-bottom-style: none;
93 background-color: transparent;
96 /* ::::: lightweight theme ::::: */
100 toolbar:-moz-lwtheme {
101 -moz-appearance: none;
103 border-color: transparent;
106 /* ::::: toolbar decorations ::::: */
111 border-right: 1px solid #000000;
119 toolbar[mode="icons"] .toolbarbutton-text {
123 toolbar[mode="text"] .toolbarbutton-icon {
127 toolbar[mode="text"] .toolbarbutton-text {
128 padding: 0 !important;
129 margin: 1px 3px !important;
132 /* ::::: toolbarpaletteitem ::::: */
138 .toolbarpaletteitem-box[type="spacer"],
139 .toolbarpaletteitem-box[type="spring"] {
141 border: 1px solid #9C9CFF;
142 background-color: #000000 !important;
145 toolbarpaletteitem[place="toolbar"] > toolbarspacer {
149 .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
150 .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
153 -moz-margin-start: 0px;
154 -moz-margin-end: 2px;
157 .toolbarpaletteitem-box[type="separator"][place="palette"] {
162 .toolbarpaletteitem-box[type="spacer"][place="palette"],
163 .toolbarpaletteitem-box[type="spring"][place="palette"] {
169 .toolbarpaletteitem-box[type="spring"][place="palette"] {
170 background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center;
173 /* ..... drag and drop feedback ..... */
175 toolbarpaletteitem[place="toolbar"] {
176 -moz-margin-start: -2px;
177 -moz-margin-end: -2px;
178 border-left: 2px solid transparent;
179 border-right: 2px solid transparent;
182 toolbarpaletteitem[dragover="left"] {
183 border-left-color: #008484;
186 toolbarpaletteitem[dragover="right"] {
187 border-right-color: #008484;