| 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-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 | ======================================================================= */ |
| 27 | |
| 28 | @import url(chrome://communicator/skin/); |
| 29 | |
| 30 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 31 | |
| 32 | /* ::::: addressbook image precaching ::::: */ |
| 33 | #resource_bundle_addressbook { |
| 34 | -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook"); |
| 35 | |
| 36 | /* ::::: primary toolbar buttons ::::: */ |
| 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 | |
| 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; |
| 86 | } |
| 87 | |
| 88 | #CardViewInnerBox { |
| 89 | margin-top: 2px; |
| 90 | margin-bottom: 2px; |
| 91 | padding-left: 8px; |
| 92 | padding-right: 8px; |
| 93 | } |
| 94 | |
| 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 | } |
| 108 | |
| 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; |
| 117 | } |
| 118 | |
| 119 | .CardViewText { |
| 120 | padding-left: 20px; |
| 121 | padding-right: 2px; |
| 122 | min-width: 30px; |
| 123 | margin: 0px; |
| 124 | } |
| 125 | |
| 126 | html|a { |
| 127 | padding-left: 0px; |
| 128 | padding-right: 2px; |
| 129 | border: 0px !important; |
| 130 | } |
| 131 | |
| 132 | html|p { |
| 133 | border: none !important; |
| 134 | } |
| 135 | |
| 136 | /* ::::: border adjustments ::::: */ |
| 137 | |
| 138 | #sidebar-box { |
| 139 | border: none; |
| 140 | } |
| 141 | |
| 142 | #dirTree { // Tree that lists different Address Books |
| 143 | min-width : 10px; |
| 144 | border : none; |
| 145 | } |
| 146 | |
| 147 | #dirTreeBox { |
| 148 | border : none; |
| 149 | } |
| 150 | |
| 151 | #dirTree[type="dialog"] { |
| 152 | } |
| 153 | |
| 154 | #resultsTree { |
| 155 | border-top : none; |
| 156 | border-bottom : none; |
| 157 | } |