X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fmessenger%2Faddressbook%2Faddressbook.css;h=ba402279f2ef2a247bb57d5ada8728b3a2536b9a;hp=3bd7c0a664208e296a4b6dfa3579e8eb125d5d21;hb=0c8f119a82ab0a10f0a8884b04e3bbdc5140f3be;hpb=07b3f50491fd13e9107c43e9c86b00af6a8f2fe2 diff --git a/LCARStrek/messenger/addressbook/addressbook.css b/LCARStrek/messenger/addressbook/addressbook.css index 3bd7c0a6..ba402279 100644 --- a/LCARStrek/messenger/addressbook/addressbook.css +++ b/LCARStrek/messenger/addressbook/addressbook.css @@ -13,7 +13,7 @@ * * The Original Code is mozilla.org code. * - * The Initial Developer of the Original Code is + * 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. @@ -23,7 +23,7 @@ * 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 + * 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 @@ -43,86 +43,93 @@ @import url("chrome://messenger/skin/"); @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); +@namespace html url("http://www.w3.org/1999/xhtml"); /* ::::: primary toolbar buttons ::::: */ #button-newcard { - list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif"); + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(42px 25px 63px 0px); } -#button-newcard:hover, -#button-newcard:hover:active { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-hover.gif"); -} - #button-newcard[disabled="true"] { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-disabled.gif") !important; + -moz-image-region: rect(42px 50px 63px 25px); +} + +#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/icons/newlist.gif"); + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(63px 25px 84px 0px); } -#button-newlist:hover, -#button-newlist:hover:active { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-hover.gif"); -} - #button-newlist[disabled="true"] { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important; -} + -moz-image-region: rect(63px 50px 84px 25px); +} -#button-editcard { - list-style-image:url("chrome://messenger/skin/addressbook/icons/person.gif"); +#button-newlist:not([disabled="true"]):hover, +#button-newlist:not([disabled="true"]):hover:active { + -moz-image-region: rect(63px 75px 84px 50px); } -#button-editcard:hover, -#button-editcard:hover:active { - list-style-image: url("chrome://messenger/skin/addressbook/icons/person-hover.gif"); -} +#button-editcard { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(21px 25px 42px 0px); +} #button-editcard[disabled="true"] { - list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important; -} + -moz-image-region: rect(21px 50px 42px 25px); +} -#button-newmessage { - list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif"); +#button-editcard:not([disabled="true"]):hover, +#button-editcard:not([disabled="true"]):hover:active { + -moz-image-region: rect(21px 75px 42px 50px); } -#button-newmessage:hover, -#button-newmessage:hover:active { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif"); -} +#button-newmessage { + list-style-image: url("chrome://messenger/skin/icons/messengericons.png"); + -moz-image-region: rect(105px 25px 126px 0px); +} #button-newmessage[disabled="true"] { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; -} + -moz-image-region: rect(105px 50px 126px 25px); +} -#button-newim { - list-style-image:url("chrome://messenger/skin/addressbook/icons/newmsg.gif"); +#button-newmessage:not([disabled="true"]):hover, +#button-newmessage:not([disabled="true"]):hover:active { + -moz-image-region: rect(105px 75px 126px 50px); } -#button-newim:hover, -#button-newim:hover:active { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif"); -} +#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"] { - list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important; -} + -moz-image-region: rect(84px 25px 105px 0px); +} -#button-delete { - list-style-image:url("chrome://global/skin/icons/trash.gif"); +#button-newim:not([disabled="true"]):hover, +#button-newim:not([disabled="true"]):hover:active { + -moz-image-region: rect(84px 25px 105px 0px); } -#button-delete:hover, -#button-delete:hover:active { - list-style-image:url("chrome://global/skin/icons/trash-hover.gif"); -} +#button-abdelete { + list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png"); + -moz-image-region: rect(0px 25px 21px 0px); +} -#button-delete[disabled="true"] { - list-style-image: url("chrome://global/skin/icons/trash-disabled.gif") !important; -} +#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); +} /* CardView styles - used in the Card View Pane */ @@ -151,7 +158,7 @@ min-width: 120px; margin: 0px; } - + .cardViewGroup { margin-top: 8px; padding-bottom: 5px; @@ -160,8 +167,8 @@ .CardViewHeading { padding: 1px; - padding-left: 5px; - margin: 0px 0px 1px 0px; + -moz-padding-start: 5px; + margin: 0 0 1px; background-color: #008484; color: #000000; font-weight: bold; @@ -169,14 +176,14 @@ } #cvBuddyIcon { - padding-left: 20px; + -moz-padding-start: 20px; padding-top: 2px; } .CardViewText, .CardViewLink { - padding-left: 20px; - padding-right: 2px; + -moz-padding-start: 20px; + -moz-padding-end: 2px; min-width: 30px; margin: 0px; } @@ -192,8 +199,8 @@ } html|a { - padding-left: 0px; - padding-right: 2px; + -moz-padding-start: 0px; + -moz-padding-end: 2px; border: none !important; } @@ -203,24 +210,19 @@ html|p { /* ::::: border adjustments ::::: */ -#results-splitter { +#results-splitter { border: none; } -#dirTree, #abResultsTree { - border: none; - margin: 0px; -} - -#resultsTree { +#abResultsTree { /* border-left: 1px solid ThreeDShadow; */ } -/* ::::: Search Bar ::::: */ +/* ::::: lightweight themes ::::: */ -#searchBox { -/* - border-top: 1px solid ThreeDHighlight; - border-bottom: 1px solid ThreeDShadow; -*/ +#CardViewOuterBox:-moz-lwtheme, +treecols:-moz-lwtheme { + text-shadow: none; + /* color: -moz-dialogtext; + background-color: -moz-dialog; */ }