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,
76 .button-toolbar[disabled="true"] > .button-box,
77 .button-toolbar[disabled="true"]:hover > .button-box,
78 .button-toolbar[disabled="true"]:hover:active > .button-box {
79 border-left : 1px solid ThreeDHighlight !important;
80 border-top : 1px solid ThreeDHighlight !important;
81 border-right : 1px solid ThreeDShadow !important;
82 border-bottom : 1px solid ThreeDShadow !important;
85 .button-toolbar:hover:active > .button-box {
86 border-left : 1px solid ThreeDShadow !important;
87 border-top : 1px solid ThreeDShadow !important;
88 border-bottom : 1px solid ThreeDHighlight !important;
89 border-right : 1px solid ThreeDHighlight !important;
92 .button-toolbar[checked="true"] > .button-box {
93 border-left : 1px solid ThreeDShadow;
94 border-top : 1px solid ThreeDShadow;
95 border-right : 1px solid ThreeDHighlight;
96 border-bottom : 1px solid ThreeDHighlight;
97 background-color : ThreeDHighlight;
100 .button-toolbar[checked="true"]:hover > .button-box {
101 border-left : 1px solid ThreeDShadow;
102 border-top : 1px solid ThreeDShadow;
103 border-right : 1px solid ThreeDHighlight;
104 border-bottom : 1px solid ThreeDHighlight;
105 background-color : -moz-Dialog;
106 background-image : none;
109 .button-toolbar > .button-box > .button-box-2,
110 .button-toolbar > .button-box > .button-box-2 > .button-box-text {
112 border: none !important;
117 .button-toolbar > .button-box > .button-icon {
121 .button-toolbar > .button-box > .button-text {
125 /* ::::: reorder buttons ::::: */
135 .reorder-up > .button-internal-box > .button-icon,
136 .reorder-down > .button-internal-box > .button-icon {