From 49bed253beb260fc9820b4fffc2b890124441124 Mon Sep 17 00:00:00 2001
From: Robert Kaiser <robert@notebook.box.kairo.at>
Date: Sat, 13 Dec 2008 21:21:02 +0100
Subject: [PATCH] add support for small messenger icons

---
 .../messenger/icons/messengericons-small.png  | Bin 0 -> 1438 bytes
 LCARStrek/messenger/primaryToolbar.css        |  43 +++++++++++-------
 2 files changed, 26 insertions(+), 17 deletions(-)
 create mode 100644 LCARStrek/messenger/icons/messengericons-small.png

diff --git a/LCARStrek/messenger/icons/messengericons-small.png b/LCARStrek/messenger/icons/messengericons-small.png
new file mode 100644
index 0000000000000000000000000000000000000000..92ff195bfe841e55f8dfa5726f74f35b5dad9d13
GIT binary patch
literal 1438
zcmV;P1!4M$P)<h;3K|Lk000e1NJLTq001xm008g;0{{R3JA@CQ00001b5ch_0Itp)
z=>Px#3{Xr|MOy#@0001hP_X~c0JYw8OaK4?0d!JMQvg8b*k%9#010qNS#tmY3ljhU
z3ljkVnw%H_000McNliru*bEI65)bxAXV3ru02y>eSad^gZEa<4bO1wgWnpw>WFU8G
zbZ8()Nlj2!fese{00ibqL_t(Y$F-KRs_VKEhCfL*7-O&lc5hM{SBA6(E8z4AMDHU~
znLI^E74#GWw}!k*Agw{CI2ZQLI^4y+>u{(07^xWjn)wGlBLr{`i~(Lb+)_Bkz_NpB
z3*!c!;my_EIhYf}z`Jd^R~08b^I*BOntjDE^j+IFbybxGc~6%%)Nx5cK7?1=x?5bC
zBY6*L191s|3@fA$h|hc<VFmX9a|V0{HUS+0O9oQ{V+1S<OcRVF`O7cq%}()Ak94_z
z)~US~u|DAOxy7a$9TP$b&N*j{F?iTn*lO5(LI-&bX#w#kWS|m|5eV`SLh780jWOTW
zlK}}30pvgm#K1FnuFi5W8s6c>-Q75uBVi5RJ)AXXqX}WaxfWw82%*Qh24hMH>n^y*
z)|vChz>Az4DMw<M*>PdZo(*(<rnVOfy@zg4)UBkb1av5BBn1M75NMsF`o5mQLu;YZ
ze+(gnmvioBj5*>5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{h~Ub1w=`<Q|n;WUT)-
zwBOzB|E5m}Ywz5nG3H$IqVI1s&5^QXVd*EPW@Idx$-;%i?THM2SbEz|jjqNL?>nrm
s(Yk=u=iy;fch>P21N-;z-}arq06~ROk5`xWssI2007*qoM6N<$g1$q2SO5S3

literal 0
HcmV?d00001

diff --git a/LCARStrek/messenger/primaryToolbar.css b/LCARStrek/messenger/primaryToolbar.css
index 1223c068..e12e21f9 100644
--- a/LCARStrek/messenger/primaryToolbar.css
+++ b/LCARStrek/messenger/primaryToolbar.css
@@ -250,7 +250,7 @@
 }
 
 /* ::::: small primary toolbar buttons ::::: */
-/*
+
 toolbar[iconsize="small"] > #button-getmsg {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(48px 16px 64px 0);
@@ -261,7 +261,8 @@ toolbar[iconsize="small"] > #button-getmsg[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-getmsg:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-getmsg[open="true"] {
   -moz-image-region: rect(48px 48px 64px 32px);
 }
 
@@ -289,7 +290,8 @@ toolbar[iconsize="small"] > #button-reply[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-reply:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-reply[open="true"] {
   -moz-image-region: rect(112px 48px 128px 32px);
 }
 
@@ -303,7 +305,8 @@ toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-replyall[open="true"] {
   -moz-image-region: rect(128px 48px 144px 32px);
 }
 
@@ -317,7 +320,8 @@ toolbar[iconsize="small"] > #button-forward[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-forward:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-forward[open="true"] {
   -moz-image-region: rect(32px 48px 48px 32px);
 }
 
@@ -331,10 +335,11 @@ toolbar[iconsize="small"] > #button-file[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-file:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-file[open="true"] {
   -moz-image-region: rect(16px 48px 32px 32px);
 }
-*/
+
 toolbar[iconsize="small"] > #button-goback {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(32px 16px 48px 0);
@@ -345,7 +350,8 @@ toolbar[iconsize="small"] > #button-goback[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-goback:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-goback[open="true"] {
   -moz-image-region: rect(32px 48px 48px 32px);
 }
 
@@ -359,10 +365,11 @@ toolbar[iconsize="small"] > #button-goforward[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-goforward:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-goforward[open="true"] {
   -moz-image-region: rect(48px 48px 64px 32px);
 }
-/*
+
 toolbar[iconsize="small"] > #button-next {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(96px 16px 112px 0);
@@ -373,7 +380,8 @@ toolbar[iconsize="small"] > #button-next[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-next:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-next[open="true"] {
   -moz-image-region: rect(96px 48px 112px 32px);
 }
 
@@ -401,24 +409,25 @@ toolbar[iconsize="small"] > #button-mark[disabled="true"] {
 }
 
 toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-mark:not([disabled="true"]):hover:active,
+toolbar[iconsize="small"] > #button-mark[open="true"] {
   -moz-image-region: rect(64px 48px 80px 32px);
 }
 
-toolbar[iconsize="small"] > #button-junk > .toolbarbutton-1 {
+toolbar[iconsize="small"] > #button-junk {
   list-style-image: url("chrome://messenger/skin/icons/messengericons-small.png");
   -moz-image-region: rect(192px 16px 208px 0);
 }
 
-toolbar[iconsize="small"] > #button-replyall[disabled="true"] {
+toolbar[iconsize="small"] > #button-junk[disabled="true"] {
   -moz-image-region: rect(192px 32px 208px 16px) !important;
 }
 
-toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover,
-toolbar[iconsize="small"] > #button-replyall:not([disabled="true"]):hover:active {
+toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover,
+toolbar[iconsize="small"] > #button-junk:not([disabled="true"]):hover:active {
   -moz-image-region: rect(192px 48px 208px 32px);
 }
-*/
+
 toolbar[iconsize="small"] > #button-print {
   list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png");
   -moz-image-region: rect(0 16px 16px 0);
-- 
2.43.0