Bug 1220455 - Fix the day text position in todaypane button. r=Fallen, a=Fallen
authorRichard Marti <richard.marti@gmail.com>
Sun, 01 Nov 2015 11:23:55 +0100
changeset 26533 8206a6dab914ea80d71e44384759c6c4b50c2d43
parent 26532 5720bcc25d1cccbd667d5996951a6192fe256d77
child 26534 3f9bc9fae33f3b1cfb7faa17f19499d44e152de7
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, Fallen
bugs1220455
Bug 1220455 - Fix the day text position in todaypane button. r=Fallen, a=Fallen
calendar/lightning/themes/common/lightning.css
calendar/lightning/themes/linux/lightning.css
calendar/lightning/themes/osx/lightning.css
calendar/lightning/themes/windows/lightning.css
--- a/calendar/lightning/themes/common/lightning.css
+++ b/calendar/lightning/themes/common/lightning.css
@@ -5,29 +5,24 @@
 /* avoids contributing to the min width when Lightning is not selected */
 #calendarTabPanel:not([selected]) {
   visibility: collapse;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
   text-align: center;
   -moz-margin-start: 0;
-  margin-top: 4px;
   margin-bottom: -4px;
   font-size: 7pt;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: bold;
   text-shadow: none;
   background-color: transparent;
 }
 
-#calendar-status-todaypane-button:-moz-lwtheme-brighttext > stack > .toolbarbutton-day-text {
-  color: inherit;
-}
-
 .imipMoreButton > .toolbarbutton-icon {
   display: none;
 }
 
 .imipMoreButton >.toolbarbutton-icon {
   display: none;
 }
 
--- a/calendar/lightning/themes/linux/lightning.css
+++ b/calendar/lightning/themes/linux/lightning.css
@@ -165,17 +165,17 @@ radio[pane=paneLightning] {
 
 /* compensate the 18px icon height */
 #calendar-status-todaypane-button > stack > .toolbarbutton-icon-begin {
   margin-top: -1px;
   margin-bottom: -1px;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  color: DarkBlue;
+  margin-top: 4px;
 }
 
 /* shift the today pane button label up by one pixel to center it */
 #calendar-status-todaypane-button > .toolbarbutton-text {
   margin: 0 0 1px !important;
 }
 
 #calendar-status-todaypane-button > .toolbarbutton-icon-end {
--- a/calendar/lightning/themes/osx/lightning.css
+++ b/calendar/lightning/themes/osx/lightning.css
@@ -157,20 +157,25 @@ radio[pane=paneLightning] {
 }
 
 #calendar-status-todaypane-button:-moz-lwtheme-brighttext > stack >
   .toolbarbutton-icon-begin {
   list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#pane-inverted);
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  -moz-margin-end: 4px;
+  margin-top: 5px;
+  margin-inline-end: 0;
   color: #0969B2;
 }
 
+#calendar-status-todaypane-button:-moz-lwtheme-brighttext > stack > .toolbarbutton-day-text {
+  color: inherit;
+}
+
 /* shift the today pane button label up by one pixel to center it */
 #calendar-status-todaypane-button > .toolbarbutton-text {
   margin: 0 6px 1px !important;
 }
 
 #calendar-status-todaypane-button > .toolbarbutton-icon-end {
   list-style-image: url(chrome://global/skin/icons/collapse.png);
 }
--- a/calendar/lightning/themes/windows/lightning.css
+++ b/calendar/lightning/themes/windows/lightning.css
@@ -45,17 +45,17 @@ radio[pane=paneLightning] {
 #calendar-status-todaypane-button:hover {
   border: 1px solid ThreeDShadow;
   background-color: transparent !important;
   background-image: none;
   -moz-appearance: none;
 }
 
 #calendar-status-todaypane-button > stack > .toolbarbutton-day-text {
-  color: DarkBlue;
+  margin-top: 4px;
 }
 
 #calendar-status-todaypane-button > .toolbarbutton-icon-end {
   list-style-image: url(chrome://global/skin/icons/collapse.png);
 }
 
 #calendar-status-todaypane-button[checked="true"] > .toolbarbutton-icon-end {
   list-style-image: url(chrome://global/skin/icons/expand.png);