X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmessenger%2Faddressbook%2Faddressbook.css;h=919fc04ad42e86aba0caf1868c5c565d66db1ef7;hp=3daee33aa4d682777de8ea0c54e504d3ad4da720;hb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf;hpb=351107c90e7ee7a17d9bf63798f2861307118309 diff --git a/LCARStrek/messenger/addressbook/addressbook.css b/LCARStrek/messenger/addressbook/addressbook.css index 3daee33a..919fc04a 100644 --- a/LCARStrek/messenger/addressbook/addressbook.css +++ b/LCARStrek/messenger/addressbook/addressbook.css @@ -1,151 +1,192 @@ -/* ***** 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. ======================================================================= */ @import url("chrome://messenger/skin/"); -@import url("chrome://communicator/skin/sidebar/sidebar.css"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - -/* ::::: addressbook image precaching ::::: */ - -#resource_bundle_addressbook { - -moz-binding: url("chrome://messenger/skin/addressbook/resources.xml#resource_bundle_addressbook"); -} +@namespace html url("http://www.w3.org/1999/xhtml"); /* ::::: primary toolbar buttons ::::: */ #button-newcard { - list-style-image:url("chrome://messenger/skin/addressbook/newcard.gif"); + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(42px 25px 63px 0px); } -#button-newcard[disabled="true"], -#button-newcard[disabled="true"]:hover, -#button-newcard[disabled="true"]:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newcard-disabled.gif"); - } +#button-newcard[disabled="true"] { + -moz-image-region: rect(42px 50px 63px 25px); +} -#button-newcard:hover, -#button-newcard:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newcard-hover.gif"); - } +#button-newcard:not([disabled="true"]):hover, +#button-newcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(42px 75px 63px 50px); +} #button-newlist { - list-style-image: url("chrome://messenger/skin/addressbook/newlist.gif"); + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(63px 25px 84px 0px); } -#button-newlist[disabled="true"], -#button-newlist[disabled="true"]:hover, -#button-newlist[disabled="true"]:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newlist-disabled.gif"); - } +#button-newlist[disabled="true"] { + -moz-image-region: rect(63px 50px 84px 25px); +} -#button-newlist:hover, -#button-newlist:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newlist-hover.gif"); - } +#button-newlist:not([disabled="true"]):hover, +#button-newlist:not([disabled="true"]):hover:active { + -moz-image-region: rect(63px 75px 84px 50px); +} #button-editcard { - list-style-image:url("chrome://messenger/skin/addressbook/person.gif"); + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(21px 25px 42px 0px); } -#button-editcard[disabled="true"], -#button-editcard[disabled="true"]:hover, -#button-editcard[disabled="true"]:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/person-disabled.gif"); - } +#button-editcard[disabled="true"] { + -moz-image-region: rect(21px 50px 42px 25px); +} -#button-editcard:hover, -#button-editcard:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/person-hover.gif"); - } +#button-editcard:not([disabled="true"]):hover, +#button-editcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(21px 75px 42px 50px); +} #button-newmessage { - list-style-image:url("chrome://messenger/skin/addressbook/newmsg.gif"); + list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); + -moz-image-region: rect(105px 25px 126px 0px); +} + +#button-newmessage[disabled="true"] { + -moz-image-region: rect(105px 50px 126px 25px); +} + +#button-newmessage:not([disabled="true"]):hover, +#button-newmessage:not([disabled="true"]):hover:active { + -moz-image-region: rect(105px 75px 126px 50px); +} + +#button-newim { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(84px 25px 105px 0px); +} + +#button-newim[disabled="true"] { + -moz-image-region: rect(84px 25px 105px 0px); +} + +#button-newim:not([disabled="true"]):hover, +#button-newim:not([disabled="true"]):hover:active { + -moz-image-region: rect(84px 25px 105px 0px); +} + +#button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(0px 25px 21px 0px); +} + +#button-abdelete[disabled="true"] { + -moz-image-region: rect(0px 50px 21px 25px); +} + +#button-abdelete:not([disabled="true"]):hover, +#button-abdelete:not([disabled="true"]):hover:active { + -moz-image-region: rect(0px 75px 21px 50px); +} + +/* ::::: 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-newcard:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(32px 48px 48px 32px); +} + +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-newlist:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newlist:not([disabled="true"]):hover:active { + -moz-image-region: rect(48px 48px 64px 32px); +} + +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-editcard:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-editcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(16px 48px 32px 32px); +} + +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); } -#button-newmessage[disabled="true"], -#button-newmessage[disabled="true"]:hover, -#button-newmessage[disabled="true"]:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newmsg-disabled.gif"); - } +toolbar[iconsize="small"] > #button-newmessage[disabled="true"] { + -moz-image-region: rect(80px 32px 96px 16px); +} -#button-newmessage:hover, -#button-newmessage:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/newmsg-hover.gif"); - } +toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newmessage:not([disabled="true"]):hover:active { + -moz-image-region: rect(80px 48px 96px 32px); +} -#button-delete { - list-style-image:url("chrome://messenger/skin/addressbook/trash.gif"); +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); } -#button-delete[disabled="true"], -#button-delete[disabled="true"]:hover, -#button-delete[disabled="true"]:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/trash-disabled.gif"); - } +toolbar[iconsize="small"] > #button-newim[disabled] { + -moz-image-region: rect(64px 32px 80px 16px); +} -#button-delete:hover, -#button-delete:hover:active - { - list-style-image : url("chrome://messenger/skin/addressbook/trash-hover.gif"); - } +toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover:active { + -moz-image-region: rect(64px 48px 80px 32px); +} -/* ::::: sidebar header ::::: */ +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); +} -sidebarheader { - border: none; +toolbar[iconsize="small"] > #button-abdelete[disabled] { + -moz-image-region: rect(0 32px 16px 16px); } -#sidebar-title-box { - border: none; +toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover, +toolbar[iconsize="small"] > #button-abdelete:not([disabled="true"]):hover:active { + -moz-image-region: rect(0 48px 16px 32px); } /* CardView styles - used in the Card View Pane */ @@ -157,61 +198,68 @@ sidebarheader { } #CardViewBox { - -moz-user-focus: ignore; - overflow: auto; - min-width: 150px; - background-color: #000000; + -moz-user-focus: ignore; + overflow: auto; + min-width: 150px; + background-color: #000000; } #CardViewInnerBox { - margin-top: 2px; - margin-bottom: 2px; - padding-left: 8px; - padding-right: 8px; + margin: 2px 0px; + padding: 0px 8px; } #CardTitle { - font-size: 150%; - font-weight: bold; - border-bottom: 2px solid #6000CF; - min-width: 120px; - margin: 0px; + font-size: 150%; + font-weight: bold; + border-bottom: 2px solid #6000CF; + min-width: 120px; + margin: 0px; } - + .cardViewGroup { - margin-top: 8px; - padding-bottom: 5px; - min-width: 50px; + margin-top: 8px; + padding-bottom: 5px; + min-width: 50px; } .CardViewHeading { - padding: 1px; - padding-left: 5px; - margin: 0px 0px 1px 0px; - background-color: #008484; - color: #000000; - font-weight: bold; - min-width: 30px; + padding: 1px; + padding-inline-start: 5px; + margin: 0 0 1px; + background-color: #008484; + color: #000000; + font-weight: bold; + min-width: 30px; +} + +#cvBuddyIcon { + padding-inline-start: 20px; + padding-top: 2px; } .CardViewText, .CardViewLink { - padding-left: 20px; - padding-right: 2px; - min-width: 30px; - margin: 0px; + padding-inline-start: 20px; + padding-inline-end: 2px; + min-width: 30px; + margin: 0px; } .CardViewLink { - color: blue; - text-decoration: underline; - cursor: pointer; + color: #3333FF; + text-decoration: underline; + cursor: pointer; +} + +#cvHomeMapIt, #cvWorkMapIt { + margin-bottom: 0px; } html|a { - padding-left: 0px; - padding-right: 2px; - border: none !important; + padding-inline-start: 0px; + padding-inline-end: 2px; + border: none !important; } html|p { @@ -220,22 +268,15 @@ html|p { /* ::::: border adjustments ::::: */ -#sidebar-box { -/* border-top: none; - border-right: 1px solid ThreeDHighlight; - border-bottom: none; - border-left: 1px solid ThreeDShadow; */ -} - -#results-splitter { - border: none; +#abResultsTree { +/* border-left: 1px solid ThreeDShadow; */ } -#dirTree, #resultsTree { - border: none; - margin: 0px; -} +/* ::::: lightweight themes ::::: */ -#resultsTree { -/* border-left: 1px solid ThreeDShadow; */ +#CardViewOuterBox:-moz-lwtheme, +treecols:-moz-lwtheme { + text-shadow: none; + /* color: -moz-dialogtext; + background-color: -moz-dialog; */ }