adding new LCARStrek skin
[themes.git] / LCARStrek / skin / LCARStrek / communicator / button.css
CommitLineData
3c30e09e 1/*
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/
6 *
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.
11 *
12 * The Original Code is Mozilla Communicator client code, released
13 * March 31, 1998.
14 *
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
18 * Rights Reserved.
19 *
20 * Contributor(s):
21 *
22 */
23
24/* ==== button.css ==========================================================
25 == Styles for special buttons in the Communicator suite.
26 ========================================================================== */
27
28@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
29
30/* ::::: large toolbar buttons ::::: */
31
32.toolbarbutton-1,
33.toolbarbutton-1 > .toolbarbutton-menubutton-box > .toolbarbutton-menubutton-button
34{
35 min-width : 36px;
36 min-height : 36px;
37/* font-size : smaller; */
38 -moz-box-orient : vertical;
39}
40
41.toolbarbutton-1[type="menu-button"] {
42 -moz-box-orient : horizontal;
43}
44
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
50{
51 padding : 1px;
52}
53
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
57{
58 padding : 2px 0px 0px 2px;
59}
60
61.toolbarbutton-1[type="menu"] > .toolbarbutton-box > .toolbarbutton-dropmarker {
62 display: none;
63}
64
65/* ::::: normal buttons on toolbars ::::: */
66
67.button-toolbar {
68 -moz-user-focus : ignore;
69 min-width : 0px;
70 max-width : 10em;
71 background-color : transparent;
72}
73
74/*
75.button-toolbar > .button-box > .button-box-2,
76.button-toolbar > .button-box > .button-box-2 > .button-box-text {
77 margin: none;
78 border: none !important;
79 padding: 0px 2px;
80}
81*/
82
83.button-toolbar > .button-box > .button-icon {
84 margin-right: 3px;
85}
86
87.button-toolbar > .button-box > .button-text {
88 margin-right: 1px;
89}
90
91/* ::::: reorder buttons ::::: */
92
93.reorder-up {
94 min-width : 0px;
95}
96
97.reorder-down {
98 min-width : 0px;
99}
100
101.reorder-up > .button-internal-box > .button-icon,
102.reorder-down > .button-internal-box > .button-icon {
103 margin : 0;
104 padding : 0;
105}