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"); /* set default namespace to XUL */ michael@0: @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ michael@0: michael@0: #palette-box { michael@0: overflow: auto; michael@0: display: block; michael@0: min-height: 3em; michael@0: } michael@0: michael@0: #palette-box > toolbarpaletteitem { michael@0: width: 110px; michael@0: height: 94px; michael@0: overflow: hidden; michael@0: display: inline-block; michael@0: } michael@0: michael@0: .toolbarpaletteitem-box { michael@0: -moz-box-pack: center; michael@0: -moz-box-flex: 1; michael@0: width: 110px; michael@0: max-width: 110px; michael@0: } michael@0: michael@0: toolbarpaletteitem > label { michael@0: text-align: center; michael@0: } michael@0: michael@0: #main-box > box { michael@0: overflow: hidden; michael@0: } michael@0: michael@0: /* Hide the toolbarbutton label because we replicate it on the wrapper */ michael@0: .toolbarbutton-text { michael@0: display: none; michael@0: }