Fix bug 663693 - Lightning uses 24px icons on toolbar under Aero. r=philipp
authorRichard Marti <richard.marti@gmail.com>
Sun, 12 Jun 2011 04:53:00 +0200
changeset 7960 c53843c0d1bbb5ccdec03a0214a24b4f8c9caabf
parent 7959 70f82b97c52c1c23ed94f85e3a0fb02bc9f0337e
child 7961 3cbfa9d7f3d797556a244cfd21ff5121d7ce8563
push id6123
push usermozilla@kewis.ch
push dateSat, 18 Jun 2011 14:14:39 +0000
treeherdercomm-central@68f7e3957668 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp
bugs663693
Fix bug 663693 - Lightning uses 24px icons on toolbar under Aero. r=philipp
calendar/lightning/themes/winstripe/lightning-aero.css
--- a/calendar/lightning/themes/winstripe/lightning-aero.css
+++ b/calendar/lightning/themes/winstripe/lightning-aero.css
@@ -14,16 +14,17 @@
  * The Original Code is Mozilla Calendar code.
  *
  * The Initial Developer of the Original Code is
  *   Philipp Kewisch <mozilla@kewis.ch>
  * Portions created by the Initial Developer are Copyright (C) 2011
  * the Initial Developer. All Rights Reserved.
  *
  * Contributor(s):
+ * Richard Marti <mozilla@paenglab.ch>
  *
  * 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 MPL, indicate your
@@ -39,8 +40,27 @@
   -moz-image-region: rect(0px 36px 18px 18px) !important;
 }
 
 #newMsgButton-mail-menuitem .toolbarbutton-icon {
   margin: 0 !important;
   width: auto !important;
   height: auto !important;
 }
+
+#lightning-button-calendar,
+#lightning-button-calendar:hover,
+#lightning-button-calendar[disabled] {
+  -moz-image-region: rect(0 64px 16px 48px);
+}
+
+#lightning-button-tasks,
+#lightning-button-tasks:hover,
+#lightning-button-tasks[disabled] {
+  -moz-image-region: rect(0 80px 16px 64px);
+}
+
+#lightning-button-calendar > .toolbarbutton-icon,
+#lightning-button-tasks > .toolbarbutton-icon {
+  width: 16px;
+  height: 16px;
+  margin: 1px;
+}