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