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: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: toolbar { michael@0: min-width: 1px; michael@0: min-height: 20px; michael@0: -moz-appearance: toolbar; michael@0: } michael@0: michael@0: menubar:-moz-lwtheme, michael@0: toolbar:-moz-lwtheme { michael@0: -moz-appearance: none; michael@0: background: none; michael@0: border-style: none; michael@0: } michael@0: michael@0: menubar { michael@0: -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */ michael@0: min-width: 1px; michael@0: } michael@0: michael@0: .toolbar-holder { michael@0: min-width: 1px; michael@0: } michael@0: michael@0: .toolbar-primary { michael@0: min-height: 24px; michael@0: } michael@0: michael@0: toolbarseparator { michael@0: -moz-appearance: none; michael@0: margin: 3px 4px; michael@0: background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y; michael@0: padding: 0; michael@0: width: 1px !important; michael@0: } michael@0: michael@0: /* ::::: toolbarpaletteitem ::::: */ michael@0: michael@0: toolbarpaletteitem { michael@0: cursor: grab; michael@0: } michael@0: michael@0: toolbar[iconsize="small"] toolbarpaletteitem[type="spacer"] { michael@0: min-width: 24px !important; michael@0: } michael@0: michael@0: toolbarpaletteitem[type="spacer"] { michael@0: min-width: 32px !important; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spacer"] { michael@0: border: 1px solid #A3A3A3; michael@0: background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; michael@0: width: 32px; michael@0: margin-top: 18px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spring"] { michael@0: border: 1px solid #A3A3A3; michael@0: background: url("chrome://global/skin/toolbar/spring.png") #FFFFFF no-repeat; michael@0: width: 32px; michael@0: margin-top: 18px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spring"][place="toolbar"] { michael@0: background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spacer"][place="toolbar"], michael@0: .toolbarpaletteitem-box[type="spring"][place="toolbar"] { michael@0: margin: 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-top: 0; michael@0: margin-bottom: 2px; michael@0: height: 32px; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box[type="spring"][place="palette"] { michael@0: background-position: center; michael@0: margin-left: 8px; michael@0: margin-right: 8px; 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: } michael@0: michael@0: toolbar[iconsize="small"] toolbarspacer { michael@0: min-width: 24px !important; michael@0: } michael@0: michael@0: toolbarspacer { michael@0: min-width: 32px !important; michael@0: } michael@0: