Bug 1326253 - Don't double define event-toolbox/-toolbar styles. r=MakeMyDay a=philipp
authorRichard Marti <richard.marti@gmail.com>
Thu, 29 Dec 2016 19:40:50 +0100
changeset 26891 363756557c31d4e9e62f499d40c2fd054097ab16
parent 26890 d9b7c9856c1a2537f33e3b7d99ba0fb365f31076
child 26892 829bed2c00042014f38a23959356dbd6bbc40f0a
push id1834
push userclokep@gmail.com
push dateMon, 23 Jan 2017 21:48:40 +0000
treeherdercomm-beta@293cffe83e59 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMakeMyDay, philipp
bugs1326253
Bug 1326253 - Don't double define event-toolbox/-toolbar styles. r=MakeMyDay a=philipp
calendar/base/themes/windows/dialogs/calendar-event-dialog.css
--- a/calendar/base/themes/windows/dialogs/calendar-event-dialog.css
+++ b/calendar/base/themes/windows/dialogs/calendar-event-dialog.css
@@ -254,43 +254,18 @@
   toolbar[brighttext] #button-freebusy {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#freebusy-inverted);
   }
 
   toolbar[brighttext] #button-timezones {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#timezones-inverted);
   }
 
-  #event-toolbox {
-    -moz-appearance: none;
-    border-top: none;
-    background-color: -moz-Dialog;
-    border-bottom: 1px solid ThreeDShadow;
-  }
-
-  #event-menubar,
-  #event-toolbar {
-    -moz-appearance: none;
-    border-style: none;
-    background-color: transparent
-  }
-
-  #event-toolbar {
-    margin-inline-start: 0;
-    padding: 1px 0 2px;
-  }
-}
-
-@media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),
-       (-moz-windows-default-theme) and (-moz-os-version: windows-win7) {
-  /* < Win8 */
-  #event-toolbox {
-    background-color: hsl(210, 75%, 92%);
-    background-image: linear-gradient(rgba(255, 255, 255, .5),
-                      rgba(255, 255, 255, 0));
+  #calendar-event-dialog > #event-toolbox > #event-toolbar {
+    padding-bottom: 2px;
   }
 }
 
 @media (-moz-windows-default-theme) and (-moz-os-version: windows-win8),
        (-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
   #button-save {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#save-flat);
   }
@@ -318,14 +293,8 @@
   #button-freebusy {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#freebusy-flat);
   }
 
   #button-timezones {
     list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#timezones-flat);
   }
 }
-
-@media (-moz-windows-glass) {
-  #event-toolbox {
-    border-bottom-color: #AABCCF;
-  }
-}