Fix bug 689140 - Icons in task view and mail icon in Write button are size scaled with aero theme. r=paenglab,a=philipp
authorDecathlon <bv1578@gmail.com>
Fri, 04 Nov 2011 11:29:58 +0100
changeset 9336 672ee035ff4af0c457ea73ac19bf1110e270b64f
parent 9335 43a28e66abc276e38623bea9687e990cb84faf5e
child 9337 f0c7a724baade856a744a3995daa33069386b0f5
push idunknown
push userunknown
push dateunknown
reviewerspaenglab, philipp
bugs689140
Fix bug 689140 - Icons in task view and mail icon in Write button are size scaled with aero theme. r=paenglab,a=philipp
calendar/base/themes/gnomestripe/calendar-task-view.css
calendar/base/themes/pinstripe/calendar-task-view.css
calendar/base/themes/winstripe/calendar-task-view.css
calendar/lightning/themes/gnomestripe/lightning.css
calendar/lightning/themes/winstripe/lightning-aero.css
calendar/lightning/themes/winstripe/lightning.css
--- a/calendar/base/themes/gnomestripe/calendar-task-view.css
+++ b/calendar/base/themes/gnomestripe/calendar-task-view.css
@@ -48,24 +48,28 @@
     z-index: 10;
 }
 
 #calendar-header-name-column,
 #calendar-task-details-attachment-row > hbox {
     -moz-padding-start: 0.1em;
 }
 
-#calendar-task-details-grid,
-#other-actions-box {
-    padding: 0.1em;
+#calendar-task-details-grid {
+    padding-top: 1px;
     -moz-padding-start: 0;
     -moz-padding-end: 0;
     padding-bottom: 0.2em;
 }
 
+#other-actions-box {
+    -moz-margin-end: -1px;
+    padding-bottom: 0.3em;
+}
+
 #calendar-task-details {
     min-height: 6ex;
 }
 
 #task-addition-box {
     border-left: 1px solid ThreeDShadow;
     border-right: 0px;
     border-bottom: 1px solid ThreeDShadow;
@@ -184,17 +188,17 @@ window[toolboxId="task-actions-toolbox"]
 }
 
 #task-actions-toolbox[doCustomization] {
     background: grey;
 }
 
 #task-actions-toolbox[doCustomization] #task-actions-toolbar {
     min-width: 100px;
-    min-height: 10px;
+    min-height: 24px;
 }
 
 #task-actions-category {
     list-style-image: url(chrome://calendar/skin/tasks-actions.png);
     -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 #task-actions-markcompleted {
--- a/calendar/base/themes/pinstripe/calendar-task-view.css
+++ b/calendar/base/themes/pinstripe/calendar-task-view.css
@@ -40,24 +40,28 @@
     overflow: hidden;
 }
 
 #calendar-header-name-column,
 #calendar-task-details-attachment-row > hbox {
     -moz-padding-start: 0.1em;
 }
 
-#calendar-task-details-grid,
-#other-actions-box {
-    padding: 0.1em;
+#calendar-task-details-grid {
+    padding-top: 1px;
     -moz-padding-start: 0;
     -moz-padding-end: 0;
     padding-bottom: 0.2em;
 }
 
+#other-actions-box {
+    -moz-margin-end: 3px;
+    padding-bottom: 0.3em;
+}
+
 #calendar-task-details {
     min-height: 6ex;
 }
 
 #task-addition-box {
     border-left: 1px solid ThreeDShadow;
     border-right: 0px;
     border-bottom: 1px solid ThreeDShadow;
@@ -172,17 +176,17 @@ window[toolboxId="task-actions-toolbox"]
 }
 
 #task-actions-toolbox[doCustomization] {
     background: grey;
 }
 
 #task-actions-toolbox[doCustomization] #task-actions-toolbar {
     min-width: 100px;
-    min-height: 10px;
+    min-height: 24px;
 }
 
 #task-actions-category {
     list-style-image: url(chrome://calendar/skin/tasks-actions.png);
     -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 #task-actions-markcompleted {
--- a/calendar/base/themes/winstripe/calendar-task-view.css
+++ b/calendar/base/themes/winstripe/calendar-task-view.css
@@ -49,24 +49,28 @@
     overflow: hidden;
 }
 
 #calendar-header-name-column,
 #calendar-task-details-attachment-row > hbox {
     -moz-padding-start: 0.1em;
 }
 
-#calendar-task-details-grid,
-#other-actions-box {
-    padding: 0.1em;
+#calendar-task-details-grid {
+    padding-top: 1px;
     -moz-padding-start: 0;
     -moz-padding-end: 0;
     padding-bottom: 0.2em;
 }
 
+#other-actions-box {
+    -moz-margin-end: -2px;
+    padding-bottom: 0.3em;
+}
+
 #calendar-task-details {
     min-height: 6ex;
 }
 
 #task-addition-box {
     border-left: 1px solid ThreeDShadow;
     border-right: 0px;
     border-bottom: 1px solid ThreeDShadow;
@@ -185,17 +189,23 @@ window[toolboxId="task-actions-toolbox"]
 }
 
 #task-actions-toolbox[doCustomization] {
     background: grey;
 }
 
 #task-actions-toolbox[doCustomization] #task-actions-toolbar {
     min-width: 100px;
-    min-height: 10px;
+    min-height: 24px;
+}
+
+#task-actions-toolbox .toolbarbutton-icon {
+    margin: 0;
+    width: auto;
+    height: auto;
 }
 
 #task-actions-category {
     list-style-image: url(chrome://calendar/skin/tasks-actions.png);
     -moz-image-region: rect(0px, 16px, 16px, 0px);
 }
 
 #task-actions-markcompleted {
--- a/calendar/lightning/themes/gnomestripe/lightning.css
+++ b/calendar/lightning/themes/gnomestripe/lightning.css
@@ -147,18 +147,18 @@ radio[pane=paneLightning] {
 
 /* Lightning sidebar background in calendar and task mode */
 #ltnSidebar {
   background-color: -moz-field;  
 }
 
 /* Write button */
 #newMsgButton-mail-menuitem {
-  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar.png);
-  -moz-image-region: rect(0px 48px 24px 24px);
+  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar-small.png);
+  -moz-image-region: rect(0px 32px 16px 16px);
 }
 
 #newMsgButton-calendar-menuitem {
   list-style-image: url(chrome://calendar/skin/toolbar-small.png);
   -moz-image-region: rect(0px 16px 16px 0px);
 }
 
 #newMsgButton-task-menuitem {
--- a/calendar/lightning/themes/winstripe/lightning-aero.css
+++ b/calendar/lightning/themes/winstripe/lightning-aero.css
@@ -32,23 +32,17 @@
  * and other provisions required by the GPL or the LGPL. If you do not delete
  * the provisions above, a recipient may use your version of this file under
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #newMsgButton-mail-menuitem {
   list-style-image: url(chrome://messenger/skin/icons/mail-toolbar.png);
-  -moz-image-region: rect(0px 36px 18px 18px) !important;
-}
-
-#newMsgButton-mail-menuitem .toolbarbutton-icon {
-  margin: 0 !important;
-  width: auto !important;
-  height: auto !important;
+  -moz-image-region: rect(1px 35px 17px 19px) !important;
 }
 
 #calendar-tab-button,
 #task-tab-button,
 .tabmail-tab[type="calendar"],
 .tabmail-tab[type="tasks"],
 #lightning-button-calendar,
 #lightning-button-tasks {
@@ -74,12 +68,8 @@
   margin: 1px;
 }
 
 #newMsgButton-calendar-menuitem,
 #newMsgButton-task-menuitem,
 #calendar-status-todaypane-button > stack > .toolbarbutton-icon-begin {
   list-style-image: url(chrome://calendar/skin/toolbar-small-aero.png);
 }
-
-#calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  margin-left: 1px;
-}
--- a/calendar/lightning/themes/winstripe/lightning.css
+++ b/calendar/lightning/themes/winstripe/lightning.css
@@ -114,18 +114,18 @@ radio[pane=paneLightning] {
 
 /* Lightning sidebar background in calendar and task mode */
 #ltnSidebar {
   background-color: -moz-field;  
 }
 
 /* Write button */
 #newMsgButton-mail-menuitem {
-  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar.png);
-  -moz-image-region: rect(0px 48px 24px 24px);
+  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar-small.png);
+  -moz-image-region: rect(0px 32px 16px 16px);
 }
 
 #newMsgButton-calendar-menuitem {
   list-style-image: url(chrome://calendar/skin/toolbar-small.png);
   -moz-image-region: rect(0px 16px 16px 0px);
 }
 
 #newMsgButton-task-menuitem {