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: #CCD0DD;
17 /* ::::: toolbar & menubar ::::: */
21 border-bottom: 1px solid #9999CC;
22 background-color: #CCD0DD;
26 /* in browser.xul, the menubar is inside a toolbar... */
27 toolbaritem > menubar {
28 border-bottom-style: none;
29 background-color: transparent;
32 /* ::::: lightweight theme ::::: */
36 toolbar:-moz-lwtheme {
38 border-color: transparent;
41 /* ::::: toolbar decorations ::::: */
45 border-right: 1px solid #666699;
53 toolbar[mode="icons"] .toolbarbutton-text {
57 toolbar[mode="text"] .toolbarbutton-icon {
61 toolbar[mode="text"] .toolbarbutton-text {
62 padding: 0 !important;
63 margin: 1px 3px !important;
66 /* ::::: toolbarpaletteitem ::::: */
72 .toolbarpaletteitem-box[type="spacer"],
73 .toolbarpaletteitem-box[type="spring"] {
74 border: 1px solid #666699;
75 background-color: #FFFFFF !important;
78 toolbarpaletteitem[place="toolbar"] > toolbarspacer {
82 .toolbarpaletteitem-box[type="spacer"][place="toolbar"],
83 .toolbarpaletteitem-box[type="spring"][place="toolbar"] {
86 margin-inline-start: 0px;
87 margin-inline-end: 2px;
90 .toolbarpaletteitem-box[type="separator"][place="palette"] {
95 .toolbarpaletteitem-box[type="spacer"][place="palette"],
96 .toolbarpaletteitem-box[type="spring"][place="palette"] {
102 .toolbarpaletteitem-box[type="spring"][place="palette"] {
103 background: url("chrome://global/skin/toolbar/spring.gif") no-repeat center;
106 /* ..... drag and drop feedback ..... */
108 toolbarpaletteitem[place="toolbar"] {
109 margin-inline-start: -2px;
110 margin-inline-end: -2px;
111 border-left: 2px solid transparent;
112 border-right: 2px solid transparent;
115 toolbarpaletteitem[dragover="left"] {
116 border-left-color: #000000;
119 toolbarpaletteitem[dragover="right"] {
120 border-right-color: #000000;