switch chatzilla theme files to MPL2 as the original files switched for the themes...
[themes.git] / LCARStrek / messenger / addressbook / addressbook.css
index 799b000f1f44101a9adde4ed3b04bd9f54aefb9f..8f6be2b0eabfcc99ec1fff343539b75f54c6084f 100644 (file)
 /* ::::: primary toolbar buttons ::::: */
 
 #button-newcard {
-  list-style-image:url("chrome://messenger/skin/addressbook/icons/newcard.gif");
-}
-
-#button-newcard:hover,
-#button-newcard:hover:active {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/newcard-hover.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(42px 25px 63px 0px);
 }
 
 #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"] {
+  -moz-image-region: rect(63px 50px 84px 25px);
 }
 
-#button-newlist[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/newlist-disabled.gif") !important;
+#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/icons/person.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(21px 25px 42px 0px);
 }
 
-#button-editcard:hover,
-#button-editcard:hover:active {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/person-hover.gif");
+#button-editcard[disabled="true"] {
+  -moz-image-region: rect(21px 50px 42px 25px);
 }
 
-#button-editcard[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/person-disabled.gif") !important;
+#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/icons/newmsg.gif");
+  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+  -moz-image-region: rect(105px 25px 126px 0px);
 }
 
-#button-newmessage:hover,
-#button-newmessage:hover:active {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-hover.gif");
+#button-newmessage[disabled="true"] {
+  -moz-image-region: rect(105px 50px 126px 25px);
 }
 
-#button-newmessage[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/newmsg-disabled.gif") !important;
+#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/im.gif");
+  list-style-image: url("chrome://messenger/skin/addressbook/icons/addressbookicons.png");
+  -moz-image-region: rect(84px 25px 105px 0px);
 }
 
-#button-newim:hover,
-#button-newim:hover:active {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/im-hover.gif");
+#button-newim[disabled="true"] {
+  -moz-image-region: rect(84px 25px 105px 0px);
 }
 
-#button-newim[disabled="true"] {
-  list-style-image: url("chrome://messenger/skin/addressbook/icons/im-disabled.gif") !important;
+#button-newim:not([disabled="true"]):hover,
+#button-newim:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(84px 25px 105px 0px);
 }
 
-#button-delete {
-  list-style-image: url("chrome://messenger/skin/icons/messengericons.png");
+#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"] {
+#button-abdelete[disabled="true"] {
   -moz-image-region: rect(0px 50px 21px 25px);
 }
 
-#button-delete:not([disabled="true"]):hover,
-#button-delete:not([disabled="true"]):hover:active {
+#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);
+}
+
+toolbar[iconsize="small"] > #button-newmessage[disabled="true"] {
+  -moz-image-region: rect(80px 32px 96px 16px);
+}
+
+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);
+}
+
+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-newim:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-newim:not([disabled="true"]):hover:active {
+  -moz-image-region: rect(64px 48px 80px 32px);
+}
+
+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);
+}
+
+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 */
 
 #CardViewOuterBox {
@@ -209,20 +306,15 @@ html|p {
   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; */
 }