michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* ===== toolbar.css ==================================================== michael@0: == Styles used by XUL toolbar-related elements. michael@0: ======================================================================= */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: /* ::::: toolbox ::::: */ michael@0: michael@0: toolbox { michael@0: -moz-appearance: toolbox; michael@0: } michael@0: michael@0: /* ::::: menubar & toolbar ::::: */ michael@0: michael@0: toolbar { michael@0: -moz-appearance: toolbar; michael@0: min-width: 1px; michael@0: min-height: 20px; michael@0: padding: 2px 0px; michael@0: } michael@0: michael@0: menubar, toolbar[type="menubar"] { michael@0: -moz-appearance: menubar; michael@0: min-width: 1px; michael@0: min-height: 20px; michael@0: padding: 1px 0px; michael@0: } michael@0: michael@0: menubar:-moz-lwtheme, michael@0: toolbar:-moz-lwtheme { michael@0: -moz-appearance: none; michael@0: } michael@0: michael@0: /* in browser.xul, the menubar is inside a toolbar... */ michael@0: toolbaritem > menubar { michael@0: -moz-appearance: none; michael@0: } michael@0: michael@0: /* ::::: toolbar decorations ::::: */ michael@0: michael@0: toolbarseparator { michael@0: -moz-appearance: separator !important; michael@0: margin : 0; michael@0: border: 0; michael@0: min-width: 2px; michael@0: } michael@0: michael@0: toolbarspacer { michael@0: width: 15px; michael@0: } michael@0: michael@0: /* ::::: toolbarpaletteitem ::::: */ michael@0: michael@0: toolbarpaletteitem { michael@0: cursor: grab; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spacer"], michael@0: .toolbarpaletteitem-box[type="spring"] { michael@0: border: 1px solid #808080; michael@0: background-color: #FFF !important; michael@0: } michael@0: michael@0: toolbarpaletteitem[place="toolbar"] > toolbarspacer { michael@0: width: 11px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spacer"][place="toolbar"], michael@0: .toolbarpaletteitem-box[type="spring"][place="toolbar"] { michael@0: margin-top: 2px; michael@0: margin-bottom: 2px; michael@0: -moz-margin-start: 0px; michael@0: -moz-margin-end: 2px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="separator"][place="palette"] { michael@0: width: 2px; michael@0: height: 50px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spacer"][place="palette"], michael@0: .toolbarpaletteitem-box[type="spring"][place="palette"] { michael@0: margin-bottom: 2px; michael@0: width: 50px; michael@0: height: 50px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spring"][place="palette"] { michael@0: background: url("chrome://global/skin/toolbar/spring.png") no-repeat center; michael@0: } michael@0: michael@0: /* ..... drag and drop feedback ..... */ michael@0: michael@0: toolbarpaletteitem[place="toolbar"] { michael@0: margin-left: -2px; michael@0: margin-right: -2px; michael@0: border-left: 2px solid transparent; michael@0: border-right: 2px solid transparent; michael@0: } michael@0: michael@0: toolbarpaletteitem[dragover="left"] { michael@0: border-left-color: #000000; michael@0: } michael@0: michael@0: toolbarpaletteitem[dragover="right"] { michael@0: border-right-color: #000000; michael@0: }