| 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| 2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
| 3 | * |
| 4 | * The contents of this file are subject to the Netscape Public License |
| 5 | * Version 1.1 (the "License"); you may not use this file except in |
| 6 | * compliance with the License. You may obtain a copy of the License at |
| 7 | * http://www.mozilla.org/NPL/ |
| 8 | * |
| 9 | * Software distributed under the License is distributed on an "AS IS" basis, |
| 10 | * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
| 11 | * for the specific language governing rights and limitations under the |
| 12 | * License. |
| 13 | * |
| 14 | * The Original Code is mozilla.org code. |
| 15 | * |
| 16 | * The Initial Developer of the Original Code is |
| 17 | * Netscape Communications Corporation. |
| 18 | * Portions created by the Initial Developer are Copyright (C) 1998 |
| 19 | * the Initial Developer. All Rights Reserved. |
| 20 | * |
| 21 | * Contributor(s): |
| 22 | * Joe Hewitt (hewitt@netscape.com) |
| 23 | * Robert Kaiser <KaiRo@KaiRo.at> |
| 24 | * |
| 25 | * Alternatively, the contents of this file may be used under the terms of |
| 26 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
| 27 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
| 28 | * in which case the provisions of the GPL or the LGPL are applicable instead |
| 29 | * of those above. If you wish to allow use of your version of this file only |
| 30 | * under the terms of either the GPL or the LGPL, and not to allow others to |
| 31 | * use your version of this file under the terms of the NPL, indicate your |
| 32 | * decision by deleting the provisions above and replace them with the notice |
| 33 | * and other provisions required by the GPL or the LGPL. If you do not delete |
| 34 | * the provisions above, a recipient may use your version of this file under |
| 35 | * the terms of any one of the NPL, the GPL or the LGPL. |
| 36 | * |
| 37 | * ***** END LICENSE BLOCK ***** */ |
| 38 | |
| 39 | /* ===== addressbook.css ================================================ |
| 40 | == Styles for the main Address Book window. |
| 41 | ======================================================================= */ |
| 42 | |
| 43 | @import url("chrome://messenger/skin/"); |
| 44 | @import url("chrome://communicator/skin/sidebar/sidebar.css"); |
| 45 | |
| 46 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 47 | |
| 48 | /* ::::: addressbook image precaching ::::: */ |
| 49 | |
| 50 | #resource_bundle_addressbook { |
| 51 | -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook"); |
| 52 | } |
| 53 | |
| 54 | /* ::::: primary toolbar buttons ::::: */ |
| 55 | |
| 56 | #button-newcard { |
| 57 | list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); |
| 58 | } |
| 59 | |
| 60 | #button-newcard[disabled="true"], |
| 61 | #button-newcard[disabled="true"]:hover, |
| 62 | #button-newcard[disabled="true"]:hover:active |
| 63 | { |
| 64 | list-style-image : url("chrome://messenger/skin/addressbook/newcard-disabled.gif"); |
| 65 | } |
| 66 | |
| 67 | #button-newcard:hover, |
| 68 | #button-newcard:hover:active |
| 69 | { |
| 70 | list-style-image : url("chrome://messenger/skin/addressbook/newcard-hover.gif"); |
| 71 | } |
| 72 | |
| 73 | #button-newlist { |
| 74 | list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif"); |
| 75 | } |
| 76 | |
| 77 | #button-newlist[disabled="true"], |
| 78 | #button-newlist[disabled="true"]:hover, |
| 79 | #button-newlist[disabled="true"]:hover:active |
| 80 | { |
| 81 | list-style-image : url("chrome://messenger/skin/addressbook/newlist-disabled.gif"); |
| 82 | } |
| 83 | |
| 84 | #button-newlist:hover, |
| 85 | #button-newlist:hover:active |
| 86 | { |
| 87 | list-style-image : url("chrome://messenger/skin/addressbook/newlist-hover.gif"); |
| 88 | } |
| 89 | |
| 90 | #button-editcard { |
| 91 | list-style-image:url("chrome://messenger/skin/addressbook/person.gif"); |
| 92 | } |
| 93 | |
| 94 | #button-editcard[disabled="true"], |
| 95 | #button-editcard[disabled="true"]:hover, |
| 96 | #button-editcard[disabled="true"]:hover:active |
| 97 | { |
| 98 | list-style-image : url("chrome://messenger/skin/addressbook/person-disabled.gif"); |
| 99 | } |
| 100 | |
| 101 | #button-editcard:hover, |
| 102 | #button-editcard:hover:active |
| 103 | { |
| 104 | list-style-image : url("chrome://messenger/skin/addressbook/person-hover.gif"); |
| 105 | } |
| 106 | |
| 107 | #button-newmessage { |
| 108 | list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif"); |
| 109 | } |
| 110 | |
| 111 | #button-newmessage[disabled="true"], |
| 112 | #button-newmessage[disabled="true"]:hover, |
| 113 | #button-newmessage[disabled="true"]:hover:active |
| 114 | { |
| 115 | list-style-image : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif"); |
| 116 | } |
| 117 | |
| 118 | #button-newmessage:hover, |
| 119 | #button-newmessage:hover:active |
| 120 | { |
| 121 | list-style-image : url("chrome://messenger/skin/addressbook/newmsg-hover.gif"); |
| 122 | } |
| 123 | |
| 124 | #button-delete { |
| 125 | list-style-image:url("chrome://messenger/skin/addressbook/trash.gif"); |
| 126 | } |
| 127 | |
| 128 | #button-delete[disabled="true"], |
| 129 | #button-delete[disabled="true"]:hover, |
| 130 | #button-delete[disabled="true"]:hover:active |
| 131 | { |
| 132 | list-style-image : url("chrome://messenger/skin/addressbook/trash-disabled.gif"); |
| 133 | } |
| 134 | |
| 135 | #button-delete:hover, |
| 136 | #button-delete:hover:active |
| 137 | { |
| 138 | list-style-image : url("chrome://messenger/skin/addressbook/trash-hover.gif"); |
| 139 | } |
| 140 | |
| 141 | /* ::::: sidebar header ::::: */ |
| 142 | |
| 143 | sidebarheader { |
| 144 | border: none; |
| 145 | } |
| 146 | |
| 147 | #sidebar-title-box { |
| 148 | border: none; |
| 149 | } |
| 150 | |
| 151 | /* CardView styles - used in the Card View Pane */ |
| 152 | |
| 153 | #CardViewOuterBox { |
| 154 | /* border-left: 1px solid ThreeDShadow; |
| 155 | border-top: 1px solid ThreeDShadow; |
| 156 | border-right: 1px solid ThreeDHighlight; */ |
| 157 | } |
| 158 | |
| 159 | #CardViewBox { |
| 160 | -moz-user-focus: ignore; |
| 161 | overflow: auto; |
| 162 | min-width: 150px; |
| 163 | background-color: #000000; |
| 164 | } |
| 165 | |
| 166 | #CardViewInnerBox { |
| 167 | margin-top: 2px; |
| 168 | margin-bottom: 2px; |
| 169 | padding-left: 8px; |
| 170 | padding-right: 8px; |
| 171 | } |
| 172 | |
| 173 | #CardTitle { |
| 174 | font-size: 150%; |
| 175 | font-weight: bold; |
| 176 | border-bottom: 2px solid #6000CF; |
| 177 | min-width: 120px; |
| 178 | margin: 0px; |
| 179 | } |
| 180 | |
| 181 | .cardViewGroup { |
| 182 | margin-top: 8px; |
| 183 | padding-bottom: 5px; |
| 184 | min-width: 50px; |
| 185 | } |
| 186 | |
| 187 | .CardViewHeading { |
| 188 | padding: 1px; |
| 189 | padding-left: 5px; |
| 190 | margin: 0px 0px 1px 0px; |
| 191 | background-color: #008484; |
| 192 | color: #000000; |
| 193 | font-weight: bold; |
| 194 | min-width: 30px; |
| 195 | } |
| 196 | |
| 197 | .CardViewText, |
| 198 | .CardViewLink { |
| 199 | padding-left: 20px; |
| 200 | padding-right: 2px; |
| 201 | min-width: 30px; |
| 202 | margin: 0px; |
| 203 | } |
| 204 | |
| 205 | .CardViewLink { |
| 206 | color: blue; |
| 207 | text-decoration: underline; |
| 208 | cursor: pointer; |
| 209 | } |
| 210 | |
| 211 | html|a { |
| 212 | padding-left: 0px; |
| 213 | padding-right: 2px; |
| 214 | border: none !important; |
| 215 | } |
| 216 | |
| 217 | html|p { |
| 218 | border: none !important; |
| 219 | } |
| 220 | |
| 221 | /* ::::: border adjustments ::::: */ |
| 222 | |
| 223 | #sidebar-box { |
| 224 | /* border-top: none; |
| 225 | border-right: 1px solid ThreeDHighlight; |
| 226 | border-bottom: none; |
| 227 | border-left: 1px solid ThreeDShadow; */ |
| 228 | } |
| 229 | |
| 230 | #results-splitter { |
| 231 | border: none; |
| 232 | } |
| 233 | |
| 234 | #dirTree, #resultsTree { |
| 235 | border: none; |
| 236 | margin: 0px; |
| 237 | } |
| 238 | |
| 239 | #resultsTree { |
| 240 | /* border-left: 1px solid ThreeDShadow; */ |
| 241 | } |