Bug 1647471 - Center align the text elements in the statusbar. r=aleca a=wsmwk
authorRichard Marti <richard.marti@gmail.com>
Wed, 24 Jun 2020 13:54:13 +0300
changeset 39466 9caa7a6dd9e0decce8db434724cf1f563326fe6a
parent 39465 d1c8ddd1d58b739ec117b62bc2e6327e6371ff78
child 39467 bea7504e2efa9fdabccef3cb53895dbb6def2503
push id402
push userclokep@gmail.com
push dateMon, 29 Jun 2020 20:48:04 +0000
reviewersaleca, wsmwk
bugs1647471
Bug 1647471 - Center align the text elements in the statusbar. r=aleca a=wsmwk
calendar/base/themes/linux/lightning.css
calendar/base/themes/osx/lightning.css
calendar/base/themes/windows/lightning.css
mail/themes/shared/mail/messenger.css
--- a/calendar/base/themes/linux/lightning.css
+++ b/calendar/base/themes/linux/lightning.css
@@ -52,17 +52,17 @@
   padding: 0 2px 1px !important;
 }
 
 #calendar-status-todaypane-button[hideLabel] > stack {
   margin-inline-start: 5px;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  margin-top: 4px;
+  margin-top: 3px;
 }
 
 /* shift the today pane button label up by one pixel to center it */
 #calendar-status-todaypane-button > .toolbarbutton-text {
   margin: 0 0 1px !important;
 }
 
 #calMinimonthBox {
--- a/calendar/base/themes/osx/lightning.css
+++ b/calendar/base/themes/osx/lightning.css
@@ -40,17 +40,17 @@
 
 /* Today pane button in status bar */
 #calendar-status-todaypane-button,
 #calendar-status-todaypane-button[checked="true"] {
   padding: 0 2px !important;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  margin-top: 5px;
+  margin-top: 4px;
   margin-inline-end: 0;
 }
 
 /* shift the today pane button label up by one pixel to center it */
 #calendar-status-todaypane-button > .toolbarbutton-text {
   margin: 0 6px 1px !important;
 }
 
--- a/calendar/base/themes/windows/lightning.css
+++ b/calendar/base/themes/windows/lightning.css
@@ -32,21 +32,21 @@
 /* Lightning sidebar background in calendar and task mode */
 #ltnSidebar {
   background-color: -moz-field;
 }
 
 /* Today pane button in status bar */
 #calendar-status-todaypane-button,
 #calendar-status-todaypane-button[checked="true"] {
-  padding: 1px 2px 0 !important;
+  padding: 0 2px !important;
 }
 
 #calendar-status-todaypane-button[hideLabel] > stack {
-  margin-top: -1px;
+  margin-top: -2px;
   margin-inline-start: 5px;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
   margin-top: 4px;
 }
 
 /* shift the today pane button label up by one pixel to center it */
--- a/mail/themes/shared/mail/messenger.css
+++ b/mail/themes/shared/mail/messenger.css
@@ -374,16 +374,20 @@ toolbarpaletteitem toolbarbutton {
 #status-bar:-moz-lwtheme toolbarbutton {
   color: var(--lwt-text-color, inherit);
 }
 
 .statusbarpanel {
   padding: 0 4px;
 }
 
+label.statusbarpanel {
+  margin-block: 3px;
+}
+
 .statusbarpanel-progress {
   -moz-box-align: center;
 }
 
 /* ::::: online/offline icons ::::: */
 
 #offline-status {
   padding: 0 2px;