PageRenderTime 23ms CodeModel.GetById 10ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/toolkit/content/customizeToolbar.css

http://github.com/zpao/v8monkey
CSS | 75 lines | 28 code | 7 blank | 40 comment | 0 complexity | f027809c13173b302ce05c6686b9d3f1 MD5 | raw file
 1/* ***** BEGIN LICENSE BLOCK *****
 2 Version: MPL 1.1/GPL 2.0/LGPL 2.1
 3
 4 The contents of this file are subject to the Mozilla Public License Version
 5 1.1 (the "License"); you may not use this file except in compliance with
 6 the License. You may obtain a copy of the License at
 7 http://www.mozilla.org/MPL/
 8
 9 Software distributed under the License is distributed on an "AS IS" basis,
10 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 for the specific language governing rights and limitations under the
12 License.
13
14 The Original Code is Mozilla Communicator client code, released
15 March 31, 1998.
16
17 The Initial Developer of the Original Code is
18 David Hyatt.
19 Portions created by the Initial Developer are Copyright (C) 2002
20 the Initial Developer. All Rights Reserved.
21
22 Contributor(s):
23   David Hyatt <hyatt@apple.com>
24   Blake Ross <blaker@netscape.com>
25   Jared Wein <jwein@mozilla.com>
26
27 Alternatively, the contents of this file may be used under the terms of
28 either the GNU General Public License Version 2 or later (the "GPL"), or
29 the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
30 in which case the provisions of the GPL or the LGPL are applicable instead
31 of those above. If you wish to allow use of your version of this file only
32 under the terms of either the GPL or the LGPL, and not to allow others to
33 use your version of this file under the terms of the MPL, indicate your
34 decision by deleting the provisions above and replace them with the notice
35 and other provisions required by the GPL or the LGPL. If you do not delete
36 the provisions above, a recipient may use your version of this file under
37 the terms of any one of the MPL, the GPL or the LGPL.
38
39 ***** END LICENSE BLOCK ***** */
40
41@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
42@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
43
44#palette-box {
45  overflow: auto;
46  display: block;
47  min-height: 3em;
48}
49
50#palette-box > toolbarpaletteitem {
51  width: 110px;
52  height: 94px;
53  overflow: hidden;
54  display: inline-block;
55}
56
57.toolbarpaletteitem-box {
58  -moz-box-pack: center;
59  -moz-box-flex: 1;
60  width: 110px;
61  max-width: 110px;
62}
63
64toolbarpaletteitem > label {
65  text-align: center;
66}
67
68#main-box > box {
69  overflow: hidden; 
70}
71
72/* Hide the toolbarbutton label because we replicate it on the wrapper */
73.toolbarbutton-text {
74  display: none;
75}