Bug 876488 - Use inverted icons on calendar- and task-toolbar with LW-themes. ui-r=andreasn r=philipp
authorRichard Marti <richard.marti@gmail.com>
Sun, 26 May 2013 21:38:05 +0200
changeset 15657 61454ecf45f69eb071489432f1008a68cf8f8ae5
parent 15656 8db4df05782751b3e4abb625b672df4165ad4d52
child 15658 706c1e8df22717f2d7341637bdab33ec68f67d05
push id942
push userbugzilla@standard8.plus.com
push dateMon, 05 Aug 2013 19:15:38 +0000
treeherdercomm-beta@0e1a1c4a9f0c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersandreasn, philipp
bugs876488
Bug 876488 - Use inverted icons on calendar- and task-toolbar with LW-themes. ui-r=andreasn r=philipp
calendar/base/jar.mn
calendar/base/themes/windows/images/toolbar-aero-inverted.png
calendar/base/themes/windows/win-aero/lightning-toolbar.css
--- a/calendar/base/jar.mn
+++ b/calendar/base/jar.mn
@@ -197,11 +197,12 @@ calendar.jar:
     skin/calendar/win-aero/calendar.css                    (themes/@THEME@/win-aero/calendar.css)
     skin/calendar/win-aero/calendar-event-dialog.css       (themes/@THEME@/win-aero/calendar-event-dialog.css)
     skin/calendar/win-aero/lightning.css                   (themes/@THEME@/win-aero/lightning.css)
     skin/calendar/win-aero/lightning-toolbar.css           (themes/@THEME@/win-aero/lightning-toolbar.css)
     skin/calendar/calendar-event-dialog-toolbar-aero.png   (themes/@THEME@/dialogs/images/calendar-event-dialog-toolbar-aero.png)
     skin/calendar/calendar-occurrence-prompt-aero.png      (themes/@THEME@/images/calendar-occurrence-prompt-aero.png)
     skin/calendar/tasks-actions-aero.png                   (themes/@THEME@/images/tasks-actions-aero.png)
     skin/calendar/toolbar-aero.png                         (themes/@THEME@/images/toolbar-aero.png)
+    skin/calendar/toolbar-aero-inverted.png                (themes/@THEME@/images/toolbar-aero-inverted.png)
     skin/calendar/toolbar-large-aero.png                   (themes/@THEME@/images/toolbar-large-aero.png)
     skin/calendar/toolbar-small-aero.png                   (themes/@THEME@/images/toolbar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X&8@cx|&$u+S>XfOnu$Kg9ks2jg2)s
zKpsUs$H&JP<M^;3)czKm_`8Ch<0B&@O})Ln4ff4Abm-70VPRo{9QN<uf5&1XL1|4$
zNGRc0%V$~EnZo=`wyqbKE?v4EBx<quXC!)@7hR+vf3btkV7Y4y7SdhJ%*-^iyRlhX
zj*A(T2NGwWx5{Ot6$tbQJ}9C00n3Td-BFN}cV<)cJjGE_)^iAwjdvnC6}=ekk(`&8
z7g@6T4$e0!CMHI}T(8hLL|m3H;x6t5GP5jwzMAKFDp`S<n2DC&fAOF|ATO<VLK;bA
z)ANZFC%!<!?ij32EBQTLU0p|zBl^tG&u=ryC|stlID7W&S0F|^yG&I=C;XhfTCOB`
zBtm3pqQoaGW~+yX$Gd7B0yO-+LvY})AX?$-ad>xMYT!j-t}X$h7xhDi)vPW+&7T4i
zfz7xy6_h|S?05>ki@8SVbh=C*A0PVr$P;e&%m1cOe#u=0x_kBT{{Us5>Ek`VasL1S
N002ovPDHLkV1gQhr<DKz
--- a/calendar/base/themes/windows/win-aero/lightning-toolbar.css
+++ b/calendar/base/themes/windows/win-aero/lightning-toolbar.css
@@ -15,16 +15,20 @@
 }
 
 /* Toolbar buttons */
 
 .calbar-toolbarbutton-1 {
   list-style-image: url(chrome://calendar/skin/toolbar-aero.png);
 }
 
+.calbar-toolbarbutton-1:-moz-lwtheme-brighttext {
+  list-style-image: url(chrome://calendar/skin/toolbar-aero-inverted.png);
+}
+
 #calendar-synchronize-button,
 #task-synchronize-button {
   -moz-image-region: rect(1px 17px 17px 1px);
 }
 
 #calendar-newevent-button,
 #task-newevent-button {
   -moz-image-region: rect(1px 35px 17px 19px);
@@ -53,16 +57,20 @@
 #task-print-button {
   -moz-image-region: rect(1px 125px 17px 109px);
 }
 
 #calendar-unifinder-button {
   -moz-image-region: rect(1px 143px 17px 127px);
 }
 
+.button-appmenu:-moz-lwtheme-brighttext {
+  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar-inverted.png);
+}
+
 @media (-moz-windows-compositor) {
   #calendar-toolbox {
     border-bottom-color: #AABCCF;
   }
 
   #tabbar-toolbar:not(:-moz-lwtheme-darktext) #lightning-button-calendar,
   #tabbar-toolbar:not(:-moz-lwtheme-darktext) #lightning-button-tasks {
     list-style-image: url(chrome://lightning/skin/mode-switch-icons-inverted.png);