| 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://messenger/skin/"); |
| 29 | @import url("chrome://communicator/skin/sidebar/sidebar.css"); |
| 30 | |
| 31 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 32 | |
| 33 | /* ::::: addressbook image precaching ::::: */ |
| 34 | |
| 35 | #resource_bundle_addressbook { |
| 36 | -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook"); |
| 37 | } |
| 38 | |
| 39 | /* ::::: primary toolbar buttons ::::: */ |
| 40 | |
| 41 | #button-newcard { |
| 42 | list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); |
| 43 | } |
| 44 | |
| 45 | #button-newcard[disabled="true"], |
| 46 | #button-newcard[disabled="true"]:hover, |
| 47 | #button-newcard[disabled="true"]:hover:active |
| 48 | { |
| 49 | list-style-image : url("chrome://messenger/skin/addressbook/newcard-disabled.gif"); |
| 50 | } |
| 51 | |
| 52 | #button-newcard:hover, |
| 53 | #button-newcard:hover:active |
| 54 | { |
| 55 | list-style-image : url("chrome://messenger/skin/addressbook/newcard-hover.gif"); |
| 56 | } |
| 57 | |
| 58 | #button-newlist { |
| 59 | list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif"); |
| 60 | } |
| 61 | |
| 62 | #button-newlist[disabled="true"], |
| 63 | #button-newlist[disabled="true"]:hover, |
| 64 | #button-newlist[disabled="true"]:hover:active |
| 65 | { |
| 66 | list-style-image : url("chrome://messenger/skin/addressbook/newlist-disabled.gif"); |
| 67 | } |
| 68 | |
| 69 | #button-newlist:hover, |
| 70 | #button-newlist:hover:active |
| 71 | { |
| 72 | list-style-image : url("chrome://messenger/skin/addressbook/newlist-hover.gif"); |
| 73 | } |
| 74 | |
| 75 | #button-editcard { |
| 76 | list-style-image:url("chrome://messenger/skin/addressbook/person.gif"); |
| 77 | } |
| 78 | |
| 79 | #button-editcard[disabled="true"], |
| 80 | #button-editcard[disabled="true"]:hover, |
| 81 | #button-editcard[disabled="true"]:hover:active |
| 82 | { |
| 83 | list-style-image : url("chrome://messenger/skin/addressbook/person-disabled.gif"); |
| 84 | } |
| 85 | |
| 86 | #button-editcard:hover, |
| 87 | #button-editcard:hover:active |
| 88 | { |
| 89 | list-style-image : url("chrome://messenger/skin/addressbook/person-hover.gif"); |
| 90 | } |
| 91 | |
| 92 | #button-newmessage { |
| 93 | list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif"); |
| 94 | } |
| 95 | |
| 96 | #button-newmessage[disabled="true"], |
| 97 | #button-newmessage[disabled="true"]:hover, |
| 98 | #button-newmessage[disabled="true"]:hover:active |
| 99 | { |
| 100 | list-style-image : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif"); |
| 101 | } |
| 102 | |
| 103 | #button-newmessage:hover, |
| 104 | #button-newmessage:hover:active |
| 105 | { |
| 106 | list-style-image : url("chrome://messenger/skin/addressbook/newmsg-hover.gif"); |
| 107 | } |
| 108 | |
| 109 | #button-delete { |
| 110 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif"); |
| 111 | } |
| 112 | |
| 113 | #button-delete[disabled="true"], |
| 114 | #button-delete[disabled="true"]:hover, |
| 115 | #button-delete[disabled="true"]:hover:active |
| 116 | { |
| 117 | list-style-image : url("chrome://messenger/skin/addressbook/trash-disabled.gif"); |
| 118 | } |
| 119 | |
| 120 | #button-delete:hover, |
| 121 | #button-delete:hover:active |
| 122 | { |
| 123 | list-style-image : url("chrome://messenger/skin/addressbook/trash-hover.gif"); |
| 124 | } |
| 125 | |
| 126 | /* ::::: sidebar header ::::: */ |
| 127 | |
| 128 | sidebarheader { |
| 129 | border: none; |
| 130 | } |
| 131 | |
| 132 | #sidebar-title-box { |
| 133 | border: none; |
| 134 | } |
| 135 | |
| 136 | /* CardView styles - used in the Card View Pane */ |
| 137 | |
| 138 | #CardViewOuterBox { |
| 139 | /* border-left: 1px solid ThreeDShadow; |
| 140 | border-top: 1px solid ThreeDShadow; |
| 141 | border-right: 1px solid ThreeDHighlight; */ |
| 142 | } |
| 143 | |
| 144 | #CardViewBox { |
| 145 | -moz-user-focus: ignore; |
| 146 | overflow: auto; |
| 147 | min-width: 150px; |
| 148 | background-color: #000000; |
| 149 | } |
| 150 | |
| 151 | #CardViewInnerBox { |
| 152 | margin-top: 2px; |
| 153 | margin-bottom: 2px; |
| 154 | padding-left: 8px; |
| 155 | padding-right: 8px; |
| 156 | } |
| 157 | |
| 158 | #CardTitle { |
| 159 | font-size: 150%; |
| 160 | font-weight: bold; |
| 161 | border-bottom: 2px solid #6000CF; |
| 162 | min-width: 120px; |
| 163 | margin: 0px; |
| 164 | } |
| 165 | |
| 166 | .cardViewGroup { |
| 167 | margin-top: 8px; |
| 168 | padding-bottom: 5px; |
| 169 | min-width: 50px; |
| 170 | } |
| 171 | |
| 172 | .CardViewHeading { |
| 173 | padding: 1px; |
| 174 | padding-left: 5px; |
| 175 | margin: 0px 0px 1px 0px; |
| 176 | background-color: #008484; |
| 177 | color: #000000; |
| 178 | font-weight: bold; |
| 179 | min-width: 30px; |
| 180 | } |
| 181 | |
| 182 | .CardViewText { |
| 183 | padding-left: 20px; |
| 184 | padding-right: 2px; |
| 185 | min-width: 30px; |
| 186 | margin: 0px; |
| 187 | } |
| 188 | |
| 189 | html|a { |
| 190 | padding-left: 0px; |
| 191 | padding-right: 2px; |
| 192 | border: none !important; |
| 193 | } |
| 194 | |
| 195 | html|p { |
| 196 | border: none !important; |
| 197 | } |
| 198 | |
| 199 | /* ::::: border adjustments ::::: */ |
| 200 | |
| 201 | #sidebar-box { |
| 202 | /* border-top: none; |
| 203 | border-right: 1px solid ThreeDHighlight; |
| 204 | border-bottom: none; |
| 205 | border-left: 1px solid ThreeDShadow; */ |
| 206 | } |
| 207 | |
| 208 | #results-splitter { |
| 209 | border: none; |
| 210 | } |
| 211 | |
| 212 | #dirTree, #resultsTree { |
| 213 | border: none; |
| 214 | } |
| 215 | |
| 216 | #resultsTree { |
| 217 | /* border-left: 1px solid ThreeDShadow; */ |
| 218 | } |
| 219 | |
| 220 | |