Bug 1492962 - Port bug 1490952 to TB: Align <tabs> default and override styles on Mac. r=philipp a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Thu, 20 Sep 2018 22:13:11 +0200
changeset 33447 8045aba2729efda99a4f5ba814e46e857f7c6f7a
parent 33446 6e8c0cff670e744c8f85a5a403025c970a6deae8
child 33448 71906c05cb0c59af97f329d1e6d059d273b616d5
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersphilipp, jorgk
bugs1492962, 1490952
Bug 1492962 - Port bug 1490952 to TB: Align <tabs> default and override styles on Mac. r=philipp a=jorgk
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