X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fmessenger%2Faddressbook%2Faddressbook.css;h=031b973ddee70ea6d94c65149c7726a874f890f7;hp=963853a1fa3ea3c5484c9ce2fc71960fa6b89057;hb=HEAD;hpb=1d7eeb22041c5a8703bf6993bbd9b8ff593c4960 diff --git a/EarlyBlue/messenger/addressbook/addressbook.css b/EarlyBlue/messenger/addressbook/addressbook.css index 963853a1..031b973d 100644 --- a/EarlyBlue/messenger/addressbook/addressbook.css +++ b/EarlyBlue/messenger/addressbook/addressbook.css @@ -1,40 +1,6 @@ -/* ***** BEGIN LICENSE BLOCK ***** - * Version: NPL 1.1/GPL 2.0/LGPL 2.1 - * - * The contents of this file are subject to the Netscape Public License - * Version 1.1 (the "License"); you may not use this file except in - * compliance with the License. You may obtain a copy of the License at - * http://www.mozilla.org/NPL/ - * - * Software distributed under the License is distributed on an "AS IS" basis, - * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License - * for the specific language governing rights and limitations under the - * License. - * - * The Original Code is mozilla.org code. - * - * The Initial Developer of the Original Code is - * Netscape Communications Corporation. - * Portions created by the Initial Developer are Copyright (C) 1998 - * the Initial Developer. All Rights Reserved. - * - * Contributor(s): - * Joe Hewitt (hewitt@netscape.com) - * Robert Kaiser - * - * Alternatively, the contents of this file may be used under the terms of - * either the GNU General Public License Version 2 or later (the "GPL"), or - * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), - * in which case the provisions of the GPL or the LGPL are applicable instead - * of those above. If you wish to allow use of your version of this file only - * under the terms of either the GPL or the LGPL, and not to allow others to - * use your version of this file under the terms of the NPL, indicate your - * decision by deleting the provisions above and replace them with the notice - * and other provisions required by the GPL or the LGPL. If you do not delete - * the provisions above, a recipient may use your version of this file under - * the terms of any one of the NPL, the GPL or the LGPL. - * - * ***** END LICENSE BLOCK ***** */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== addressbook.css ================================================ == Styles for the main Address Book window. @@ -101,6 +67,68 @@ -moz-image-region: rect(0px 50px 21px 25px); } +/* ::::: small primary toolbar buttons ::::: */ + +toolbar[iconsize="small"] > #button-newcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(32px 16px 48px 0); +} + +toolbar[iconsize="small"] > #button-newcard[disabled] { + -moz-image-region: rect(32px 32px 48px 16px); +} + +toolbar[iconsize="small"] > #button-newlist, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newlist { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(48px 16px 64px 0); +} + +toolbar[iconsize="small"] > #button-newlist[disabled] { + -moz-image-region: rect(48px 32px 64px 16px); +} + +toolbar[iconsize="small"] > #button-editcard, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(16px 16px 32px 0); +} + +toolbar[iconsize="small"] > #button-editcard[disabled] { + -moz-image-region: rect(16px 32px 32px 16px); +} + +toolbar[iconsize="small"] > #button-newmessage, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png"); + -moz-image-region: rect(80px 16px 96px 0); +} + +toolbar[iconsize="small"] > #button-newmessage[disabled="true"] { + -moz-image-region: rect(80px 32px 96px 16px); +} + +toolbar[iconsize="small"] > #button-newim, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-newim { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(64px 16px 80px 0); +} + +toolbar[iconsize="small"] > #button-newim[disabled] { + -moz-image-region: rect(64px 32px 80px 16px); +} + +toolbar[iconsize="small"] > #button-abdelete, +toolbar[iconsize="small"] > toolbarpaletteitem > #button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons-small.png"); + -moz-image-region: rect(0 16px 16px 0); +} + +toolbar[iconsize="small"] > #button-abdelete[disabled] { + -moz-image-region: rect(0 32px 16px 16px); +} + /* CardView styles - used in the Card View Pane */ #CardViewOuterBox { @@ -119,8 +147,8 @@ #CardViewInnerBox { margin-top: 2px; margin-bottom: 2px; - -moz-padding-start: 8px; - -moz-padding-end: 8px; + padding-inline-start: 8px; + padding-inline-end: 8px; } #CardTitle { @@ -139,7 +167,7 @@ .CardViewHeading { padding: 1px; - -moz-padding-start: 5px; + padding-inline-start: 5px; margin: 0 0 1px; background-color: #9999CC; color: #FFFFFF; @@ -148,14 +176,14 @@ } #cvBuddyIcon { - -moz-padding-start: 20px; + padding-inline-start: 20px; padding-top: 2px; } .CardViewText, .CardViewLink { - -moz-padding-start: 20px; - -moz-padding-end: 2px; + padding-inline-start: 20px; + padding-inline-end: 2px; min-width: 30px; margin: 0px; } @@ -171,8 +199,8 @@ } html|a { - -moz-padding-start: 0px; - -moz-padding-end: 2px; + padding-inline-start: 0px; + padding-inline-end: 2px; border: none !important; } @@ -182,11 +210,15 @@ html|p { /* ::::: border adjustments ::::: */ -#dirTree, #abResultsTree { - border: none; - margin: 0px; +#abResultsTree { +/* border-left: 1px solid ThreeDShadow; */ } -#resultsTree { -/* border-left: 1px solid ThreeDShadow; */ +/* ::::: lightweight themes ::::: */ + +#CardViewOuterBox:-moz-lwtheme, +treecols:-moz-lwtheme { + text-shadow: none; + /* color: -moz-dialogtext; + background-color: -moz-dialog; */ }