2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
12 * The Original Code is Mozilla Communicator client code, released
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
24 /* ==== button.css ==========================================================
25 == Styles for special buttons in the Communicator suite.
26 ========================================================================== */
28 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
30 /* ::::: large toolbar buttons ::::: */
33 .toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button
37 /* font-size : smaller; */
38 -moz-box-orient : vertical;
41 .toolbarbutton-1[type="menu-button"] {
42 -moz-box-orient : horizontal;
45 .toolbarbutton-1 > .toolbarbutton-box,
46 .toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box,
47 .toolbarbutton-1[open="true"] > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box,
48 .toolbarbutton-1[disabled="true"]:hover:active > .toolbarbutton-box,
49 .toolbarbutton-1[disabled="true"][buttondown="true"] > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box
54 .toolbarbutton-1:hover:active > .toolbarbutton-box,
55 .toolbarbutton-1[open="true"] > .toolbarbutton-box,
56 .toolbarbutton-1[buttondown="true"] > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button > .toolbarbutton-box
58 padding : 2px 0px 0px 2px;
61 .toolbarbutton-1[type="menu"] > .toolbarbutton-box > .toolbarbutton-dropmarker {
65 /* ::::: normal buttons on toolbars ::::: */
68 -moz-user-focus : ignore;
71 background-color : transparent;
75 .button-toolbar > .button-box > .button-box-2,
76 .button-toolbar > .button-box > .button-box-2 > .button-box-text {
78 border: none !important;
83 .button-toolbar > .button-box > .button-icon {
87 .button-toolbar > .button-box > .button-text {
91 /* ::::: reorder buttons ::::: */
101 .reorder-up > .button-internal-box > .button-icon,
102 .reorder-down > .button-internal-box > .button-icon {