Bug 1211643 - Add toolbarbutton-icon dimensions to show them also on SM. r=Fallen f=Ratty
authorRichard Marti <richard.marti@gmail.com>
Tue, 10 Nov 2015 22:10:37 +0800
changeset 26519 9d5bd15ae87ded857b11eb22497ef2ec727e259f
parent 26518 a1219339b58f03035b6bd234feffcc68a267aab3
child 26520 66acdae10268b90db9b7ffa42bb63ced2eafc313
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1211643
Bug 1211643 - Add toolbarbutton-icon dimensions to show them also on SM. r=Fallen f=Ratty a=approval-calendar-aurora+ a=approval-calendar-beta+ a=Ratty for CLOSED TREE
calendar/base/themes/common/dialogs/calendar-event-dialog.css
calendar/lightning/jar.mn
calendar/lightning/themes/common/lightning.css
--- a/calendar/base/themes/common/dialogs/calendar-event-dialog.css
+++ b/calendar/base/themes/common/dialogs/calendar-event-dialog.css
@@ -27,16 +27,23 @@ label.label {
 #item-calendar,
 #item-categories,
 #item-repeat,
 #item-alarm,
 .datepicker-text-class {
     min-width: 12em;
 }
 
+@media not all and (-moz-os-version: windows-xp) {
+  .cal-event-toolbarbutton .toolbarbutton-icon {
+    width: 18px;
+    height: 18px;
+  }
+}
+
 /*--------------------------------------------------------------------
  *   Event dialog keep duration button
  *-------------------------------------------------------------------*/
 
 #keepduration-button {
     list-style-image: url(chrome://calendar-common/skin/calendar-event-dialog.png);
     -moz-image-region: rect(0px 147px 24px 140px);
     padding-top: 3px;
@@ -437,17 +444,17 @@ freebusy-day > box {
 #content-frame {
     border-left: 1px solid ThreeDDarkShadow;
     border-right: 1px solid ThreeDLightShadow;
     min-width: 10px;
     min-height: 10px;
     height: 400px;
 }
 
-.attendees-list-listbox > listboxbody { 
+.attendees-list-listbox > listboxbody {
     overflow-y: hidden !important;
 }
 
 .selection-bar-left {
     width: 3px;
     cursor: w-resize;
 }
 
--- a/calendar/lightning/jar.mn
+++ b/calendar/lightning/jar.mn
@@ -60,16 +60,18 @@ lightning.jar:
     content/lightning/suite-overlay-sidebar.js             (content/suite-overlay-sidebar.js)
     content/lightning/suite-overlay-sidebar.xul            (content/suite-overlay-sidebar.xul)
 % skin lightning classic/1.0 chrome/skin/linux/lightning/
 % skin lightning classic/1.0 chrome/skin/osx/lightning/ os=Darwin
 % skin lightning classic/1.0 chrome/skin/windows/lightning/ os=WINNT
 % skin lightning-common classic/1.0 chrome/skin/lightning-common/
 % style chrome://global/content/customizeToolbar.xul chrome://lightning/skin/lightning-toolbar.css
 % style chrome://calendar/content/calendar-event-dialog.xul chrome://communicator/skin/communicator.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
+% style chrome://global/content/customizeToolbar.xul chrome://lightning-common/skin/lightning.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
+% style chrome://global/content/customizeToolbar.xul chrome://calendar-common/skin/dialogs/calendar-event-dialog.css application={92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}
     ../skin/lightning-common/mode-switch-icons.png            (themes/common/images/mode-switch-icons.png)
 
 # Linux theme files
     ../skin/linux/lightning/accountCentral.css                (themes/linux/accountCentral.css)
     ../skin/linux/lightning/imip.css                          (themes/linux/imip.css)
     ../skin/linux/lightning/imip.png                          (themes/linux/imip.png)
     ../skin/linux/lightning/lightning.css                     (themes/linux/lightning.css)
     ../skin/linux/lightning/lightning-toolbar.css             (themes/linux/lightning-toolbar.css)
--- a/calendar/lightning/themes/common/lightning.css
+++ b/calendar/lightning/themes/common/lightning.css
@@ -25,8 +25,19 @@
 
 .imipMoreButton > .toolbarbutton-icon {
   display: none;
 }
 
 .imipMoreButton >.toolbarbutton-icon {
   display: none;
 }
+
+@media not all and (-moz-os-version: windows-xp) {
+  #task-tab-button .toolbarbutton-icon,
+  #calendar-tab-button .toolbarbutton-icon,
+  .calbar-toolbarbutton-1 .toolbarbutton-icon,
+  toolbarpaletteitem > .msgHeaderView-button .toolbarbutton-icon,
+  #task-actions-toolbar > .msgHeaderView-button .toolbarbutton-icon {
+    width: 18px;
+    height: 18px;
+  }
+}