Bug 1492962 - Port bug 1490952 to TB: Align <tabs> default and override styles on Mac. r=philipp
authorRichard Marti <richard.marti@gmail.com>
Thu, 20 Sep 2018 22:13:11 +0200
changeset 33558 e367632f459f714b4ce088e575413e3ad77d12bf
parent 33557 49663c46916aa3ac7684ba6a426c78f83013c8a0
child 33559 af375c66045719acca3362cd98c497efebd6ab81
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersphilipp
bugs1492962, 1490952
Bug 1492962 - Port bug 1490952 to TB: Align <tabs> default and override styles on Mac. r=philipp
calendar/base/themes/osx/calendar-views.css
mail/themes/osx/mail/tabmail.css
--- a/calendar/base/themes/osx/calendar-views.css
+++ b/calendar/base/themes/osx/calendar-views.css
@@ -60,27 +60,31 @@ agenda-richlist-item[status="CANCELLED"]
     border-width: 0 0 0 1px;
 }
 
 #view-tabbox {
     margin: 0;
 }
 
 .calview-tabs {
+    -moz-box-align: stretch;
+    padding-left: 0;
+    padding-right: 0;
     margin-bottom: 0;
-    padding: 0;
+    position: static;
 }
 
 tab[calview] {
     color: #2e4e73;
     padding-top: 4px;
 }
 
 tab[calview][selected="true"] {
     background-color: #fff;
+    color: inherit;
 }
 
 tab[calview] > .tab-middle {
     padding: 0;
 }
 
 .view-header {
     margin-top: 3px;
--- a/mail/themes/osx/mail/tabmail.css
+++ b/mail/themes/osx/mail/tabmail.css
@@ -67,21 +67,21 @@
   -moz-font-smoothing-background-color: var(--toolbar-bgcolor);
 }
 
 .tabmail-tab:focus > .tab-stack > .tab-content > .tab-label-container {
   box-shadow: var(--focus-ring-box-shadow);
 }
 
 #tabmail-tabs {
-  border: none;
-  -moz-box-pack: center;
-  -moz-box-align: center;
-  height: 23px;
+  -moz-box-align: stretch;
+  padding-left: 0;
+  padding-right: 0;
   margin-bottom: 0;
+  position: static;
 }
 
 tabmail > tabbox > tabpanels {
   -moz-appearance: none !important;
 }
 
 /**
  * Tab Drag and Drop