db10b15c |
1 | /* |
0042fc01 |
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-2001 Netscape Communications Corporation. All |
18 | * Rights Reserved. |
19 | * |
20 | * Contributor(s): |
21 | * Joe Hewitt (hewitt@netscape.com) |
22 | */ |
23 | |
24 | /* ===== addressbook.css ================================================ |
25 | == Styles for the main Address Book window. |
26 | ======================================================================= */ |
db10b15c |
27 | |
28 | @import url(chrome://communicator/skin/); |
29 | |
0042fc01 |
30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
db10b15c |
31 | |
0042fc01 |
32 | /* ::::: addressbook image precaching ::::: */ |
33 | #resource_bundle_addressbook { |
34 | -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook"); |
db10b15c |
35 | |
0042fc01 |
36 | /* ::::: primary toolbar buttons ::::: */ |
db10b15c |
37 | |
38 | #button-newcard { |
39 | list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); |
40 | } |
41 | |
42 | #button-newcard[disabled="true"] { |
43 | list-style-image:url("chrome://messenger/skin/addressbook/newcard_dis.gif"); |
44 | } |
45 | |
46 | #button-newlist { |
47 | list-style-image:url("chrome://messenger/skin/addressbook/newlist.gif"); |
48 | } |
49 | |
50 | #button-newlist[disabled="true"] { |
51 | list-style-image:url("chrome://messenger/skin/addressbook/newlist_dis.gif"); |
52 | } |
53 | |
54 | #button-editcard { |
55 | list-style-image:url("chrome://messenger/skin/addressbook/edit.gif"); |
56 | } |
57 | |
58 | #button-editcard[disabled="true"] { |
59 | list-style-image:url("chrome://messenger/skin/addressbook/edit_dis.gif"); |
60 | } |
61 | |
62 | #button-newmessage { |
63 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab.gif"); |
64 | } |
65 | |
66 | #button-newmessage[disabled="true"] { |
67 | list-style-image:url("chrome://messenger/skin/addressbook/newmsgab_dis.gif"); |
68 | } |
69 | |
70 | #button-delete { |
71 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif") !important; |
72 | } |
73 | |
74 | #button-delete[disabled="true"] { |
75 | list-style-image:url("chrome://messenger/skin/addressbook/trash_dis.gif") !important; |
76 | } |
77 | |
0042fc01 |
78 | |
79 | /* CardView styles - used in the Card View Pane*/ |
80 | |
81 | #CardViewBox { |
82 | /* overflow: auto;*/ |
83 | background-color: #CCD0DD; |
84 | min-width: 150px; |
85 | user-focus: ignore; |
db10b15c |
86 | } |
87 | |
0042fc01 |
88 | #CardViewInnerBox { |
89 | margin-top: 2px; |
90 | margin-bottom: 2px; |
91 | padding-left: 8px; |
92 | padding-right: 8px; |
db10b15c |
93 | } |
94 | |
0042fc01 |
95 | #CardTitle { |
96 | font-size: 150%; |
97 | font-weight: bold; |
98 | border-bottom: 2px solid black; |
99 | min-width: 120px; |
100 | margin: 0px; |
101 | } |
102 | |
103 | .cardViewGroup { |
104 | margin-top: 8px; |
105 | padding-bottom: 5px; |
106 | min-width: 50px; |
107 | } |
db10b15c |
108 | |
0042fc01 |
109 | .CardViewHeading { |
110 | padding: 1px; |
111 | padding-left: 5px; |
112 | margin: 0px 0px 1px 0px; |
113 | background-color: #9999CC; |
114 | color: white; |
115 | font-weight: bold; |
116 | min-width: 30px; |
db10b15c |
117 | } |
118 | |
0042fc01 |
119 | .CardViewText { |
120 | padding-left: 20px; |
121 | padding-right: 2px; |
122 | min-width: 30px; |
123 | margin: 0px; |
db10b15c |
124 | } |
125 | |
0042fc01 |
126 | html|a { |
127 | padding-left: 0px; |
128 | padding-right: 2px; |
129 | border: 0px !important; |
130 | } |
db10b15c |
131 | |
0042fc01 |
132 | html|p { |
133 | border: none !important; |
db10b15c |
134 | } |
135 | |
0042fc01 |
136 | /* ::::: border adjustments ::::: */ |
137 | |
138 | #sidebar-box { |
db10b15c |
139 | border: none; |
140 | } |
141 | |
142 | #dirTree { // Tree that lists different Address Books |
143 | min-width : 10px; |
144 | border : none; |
145 | } |
146 | |
147 | #dirTreeBox { |
0042fc01 |
148 | border : none; |
db10b15c |
149 | } |
150 | |
151 | #dirTree[type="dialog"] { |
152 | } |
153 | |
154 | #resultsTree { |
155 | border-top : none; |
156 | border-bottom : none; |
157 | } |