summaryrefslogtreecommitdiffstats
path: root/toolkit/content/customizeToolbar.css
blob: ae90a2f28a321fb747ab6cbd8dc4d43fc1c1c420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */

#palette-box {
  overflow: auto;
  display: block;
  min-height: 3em;
}

#palette-box > toolbarpaletteitem {
  width: 110px;
  height: 94px;
  overflow: hidden;
  display: inline-block;
}

.toolbarpaletteitem-box {
  -moz-box-pack: center;
  -moz-box-flex: 1;
  width: 110px;
  max-width: 110px;
}

toolbarpaletteitem > label {
  text-align: center;
}

#main-box > box {
  overflow: hidden; 
}

/* Hide the toolbarbutton label because we replicate it on the wrapper */
.toolbarbutton-text {
  display: none;
}