Bug 1251953 - Small size tweaks on toolbars. r=clokep r=rkent
authorRichard Marti <richard.marti@gmail.com>
Sun, 28 Feb 2016 17:45:37 +0100
changeset 26944 74ad096eb84645c557b973aa7d9eafbce4001ebf
parent 26943 bf9217456d7bda0b2deb5922cc1287e73b465f18
child 26945 ce5070e54d806a302d0dffd47b07a3f29a0cc007
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)
reviewersclokep, rkent
bugs1251953
Bug 1251953 - Small size tweaks on toolbars. r=clokep r=rkent
calendar/lightning/themes/windows/lightning-toolbar.css
mail/themes/windows/mail/addrbook/addressbook.css
mail/themes/windows/mail/chat.css
mail/themes/windows/mail/compose/messengercompose.css
mail/themes/windows/mail/mailWindow1.css
mail/themes/windows/mail/messenger.css
mail/themes/windows/mail/primaryToolbar.css
mail/themes/windows/mail/searchBox.css
--- a/calendar/lightning/themes/windows/lightning-toolbar.css
+++ b/calendar/lightning/themes/windows/lightning-toolbar.css
@@ -1,15 +1,14 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #calendar-toolbar2,
 #task-toolbar2 {
-  padding: 1px 0;
   border-top-width: 0;
 }
 
 @media (-moz-windows-glass) {
   #calendar-toolbox:not(:-moz-lwtheme) {
     border-bottom-color: #AABCCF;
   }
 }
--- a/mail/themes/windows/mail/addrbook/addressbook.css
+++ b/mail/themes/windows/mail/addrbook/addressbook.css
@@ -304,16 +304,20 @@
     border: none;
   }
 
   #ab-toolbox > toolbar {
     /* force iconsize="small" on these toolbars */
     counter-reset: smallicons;
   }
 
+  #ab-toolbox > toolbar:not([type="menubar"]) {
+    padding: 2px 1px;
+  }
+
   #ab-toolbox > toolbar:not([type="menubar"]):-moz-lwtheme {
     text-shadow: none;
   }
 
   toolbox > toolbar:last-of-type {
     padding-top: 1px;
     padding-bottom: 1px;
   }
--- a/mail/themes/windows/mail/chat.css
+++ b/mail/themes/windows/mail/chat.css
@@ -253,20 +253,16 @@
 @media not all and (-moz-os-version: windows-xp) {
   .statusMessageToolbarItem {
     margin: 0 1px;
     -moz-margin-start: -2px;
     padding: 3px 3px 4px;
     border-radius: 2px;
   }
 
-  #chat-toobar {
-    padding: 1px 0;
-  }
-
   #listSplitter,
   #contextSplitter {
     border: none;
     background-color: transparent;
     min-width: 0;
     /* splitter grip area */
     width: 5px;
     margin-top: 0;
--- a/mail/themes/windows/mail/compose/messengercompose.css
+++ b/mail/themes/windows/mail/compose/messengercompose.css
@@ -1136,16 +1136,20 @@
     border: none;
   }
 
   #compose-toolbox > toolbar {
     /* force iconsize="small" on these toolbars */
     counter-reset: smallicons;
   }
 
+  #compose-toolbox > toolbar:not([type="menubar"]) {
+    padding: 2px 1px;
+  }
+
   #compose-toolbox > toolbar:not([type="menubar"]):-moz-lwtheme {
     text-shadow: none;
   }
 
   #msgIdentity {
     -moz-margin-end: 5px;
     -moz-padding-start: 3px !important;
     background-image: none;
@@ -1422,16 +1426,17 @@
 
     .textbox-addressingWidget:hover,
     .textbox-addressingWidget[focused="true"] {
       background-color: -moz-field;
       border-color: #a9b7c9 !important;
     }
 
     menulist {
+      color: inherit;
       border: 1px solid;
       background: var(--toolbarbutton-hover-background);
       border-color: var(--toolbarbutton-hover-bordercolor);
       box-shadow: var(--toolbarbutton-hover-boxshadow);
       transition-property: background-color, border-color, box-shadow;
       transition-duration: 150ms;
     }
 
--- a/mail/themes/windows/mail/mailWindow1.css
+++ b/mail/themes/windows/mail/mailWindow1.css
@@ -881,17 +881,17 @@ treechildren::-moz-tree-image(subjectCol
       border-top-color: ThreeDLightShadow;
     }
 
     menulist {
       -moz-appearance: none;
       min-height: 24px;
       color: inherit;
       margin: 1px 4px;
-      padding: 1px 5px !important;
+      padding: 0 5px 1px !important;
       border: 1px solid;
       background: var(--toolbarbutton-hover-background);
       border-color: var(--toolbarbutton-hover-bordercolor);
       box-shadow: var(--toolbarbutton-hover-boxshadow);
       transition-property: background-color, border-color, box-shadow;
       transition-duration: 150ms;
     }
 
--- a/mail/themes/windows/mail/messenger.css
+++ b/mail/themes/windows/mail/messenger.css
@@ -495,21 +495,16 @@ button[type="menu-button"] > button {
 
   .toolbarbutton-1:not([disabled="true"]):-moz-any(:hover,[open="true"]) >
   .toolbarbutton-menubutton-dropmarker {
     border-inline-start-color: hsla(210, 54%, 20%, .35);
   }
 }
 
 @media (-moz-windows-default-theme) and (-moz-os-version: windows-win10) {
-  #viewPicker,
-  #locationFolders {
-    min-height: 28px;
-  }
-
   #PopupGlodaAutocomplete:not(:-moz-lwtheme) {
     margin-top: -2px;
   }
 }
 
 @media (-moz-windows-compositor) {
   #unifinder-searchBox,
   #task-addition-box {
--- a/mail/themes/windows/mail/primaryToolbar.css
+++ b/mail/themes/windows/mail/primaryToolbar.css
@@ -159,20 +159,16 @@ menu:not(:-moz-lwtheme):-moz-window-inac
   background-color: ThreeDShadow;
 }
 
 .mail-toolbox > toolbar:-moz-lwtheme,
 .contentTabToolbox > toolbar:-moz-lwtheme {
   border-top: none;
 }
 
-#mail-bar3 {
-  padding: 1px 0;
-}
-
 .button-appmenu .toolbarbutton-text,
 .button-appmenu .toolbarbutton-menu-dropmarker {
   display: none;
 }
 
 toolbar[mode="text"] .button-appmenu .toolbarbutton-icon {
   display: -moz-box;
 }
@@ -200,18 +196,18 @@ toolbar[mode="text"] .button-appmenu .to
 
 .msgNotificaton-smallText {
   -moz-padding-start: 10px;
   font-size: 90%;
 }
 
 .button-appmenu {
   min-width: 35px !important;
-  margin-right: 4px;
-  margin-left: 4px;
+  margin-right: 3px;
+  margin-left: 3px;
 }
 
 /* AppMenu styling */
 
 .splitmenu-menuitem {
   -moz-margin-end: 1px;
 }
 
@@ -1060,16 +1056,20 @@ toolbar[mode="text"] .button-appmenu .to
 @media not all and (-moz-os-version: windows-xp) {
   .mail-toolbox > toolbar {
     -moz-margin-start: 0;
     border-bottom: none;
     /* force iconsize="small" on these toolbars */
     counter-reset: smallicons;
   }
 
+  .mail-toolbox > toolbar:not([type="menubar"]) {
+    padding: 1px;
+  }
+
   .mail-toolbox > toolbar:not(:-moz-lwtheme),
   #navigation-toolbox > toolbar:not(:-moz-lwtheme),
   .contentTabToolbox:not(:-moz-lwtheme) > toolbar:not(:-moz-lwtheme) {
     -moz-appearance: none;
     border-style: none;
     background-color: transparent;
   }
 
--- a/mail/themes/windows/mail/searchBox.css
+++ b/mail/themes/windows/mail/searchBox.css
@@ -97,22 +97,22 @@
     background-clip: padding-box;
     min-height: 24px;
     margin-top: 1px;
     margin-bottom: 1px;
     width: 25em;
   }
 
   #searchInput,
-  #IMSearchInput {
+  #IMSearchInput,
+  #peopleSearchInput {
     margin-top: -1px;
     margin-bottom: -1px;
   }
 
-
   .searchBox[focused],
   #view-task-edit-field[focused],
   #unifinder-task-edit-field[focused] {
     border-color: Highlight;
   }
 }
 
 @media (-moz-windows-default-theme) and (-moz-os-version: windows-vista),