Bug 712938 - Polish tabs-on-top theme on Mac OS X, r+ui-r=mconley, a=Standard8.
authorFlorian Quèze <florian@queze.net>
Thu, 12 Jan 2012 09:19:10 -0500
changeset 10094 4326aa65d49a129bafd5477666f5c95317e35668
parent 10093 e1158a0f23b0fa7571cbb4523d35e6a63f50ad59
child 10095 98f65cb2e5cb5179b49d6394b1d2ff0c2f3b3b13
push idunknown
push userunknown
push dateunknown
reviewersStandard8
bugs712938
Bug 712938 - Polish tabs-on-top theme on Mac OS X, r+ui-r=mconley, a=Standard8.
mail/themes/pinstripe/mail/quickFilterBar.css
mail/themes/pinstripe/mail/tabmail.css
--- a/mail/themes/pinstripe/mail/quickFilterBar.css
+++ b/mail/themes/pinstripe/mail/quickFilterBar.css
@@ -5,17 +5,17 @@
 #qfb-show-filter-bar {
   -moz-box-orient: vertical;
   visibility: visible !important;
   list-style-image: url("chrome://messenger/skin/icons/mail-toolbar-small.png");
   -moz-image-region: rect(0px 504px 24px 480px);
   border: none;
   border-right: 1px solid transparent;
   border-left: 1px solid transparent;
-  margin: 1px 0;
+  margin: 0 0 1px;
   padding: 0 4px;
 }
 
 #qfb-show-filter-bar:hover:active {
   -moz-image-region: rect(24px 504px 48px 480px);
 }
 
 toolbar[iconsize="large"] #qfb-show-filter-bar {
--- a/mail/themes/pinstripe/mail/tabmail.css
+++ b/mail/themes/pinstripe/mail/tabmail.css
@@ -38,17 +38,16 @@
 .tabmail-tabs > .tabmail-tab:first-child > .tab-close-button {
   visibility: collapse;
 }
 
 .tab-icon-image,
 .tab-throbber {
   width: 16px;
   height: 16px;
-  margin-bottom: 2px;
 }
 
 .tabmail-tab {
   list-style-image: url("chrome://global/skin/tree/item.png");
 }
 
 .tab-throbber {
   list-style-image: url("chrome://global/skin/icons/loading_16.png") !important;
@@ -58,33 +57,33 @@
   opacity: .6;
 }
 
 .tabmail-tab[type="glodaSearch"] {
   list-style-image: url("chrome://messenger/skin/icons/search-tab.png");
 }
 
 .tab-text {
-  margin-top: 3px !important;
+  margin-top: 0 !important;
   margin-bottom: 0 !important;
   font: message-box;
   font-weight: bold;
   text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
 }
 
 .tabmail-tab {
   position: static;
   -moz-appearance: none;
   background: -moz-linear-gradient(hsla(0, 0%, 100%, .2),
               hsla(0, 0%, 45%, .2) 1px, hsla(0, 0%, 32%, .2) 50%);
   background-position: -5px -2px;
   background-repeat: no-repeat;
   background-size: -moz-calc(100% + 11px) -moz-calc(100% + 11px);
   margin: 0;
-  padding: 0;
+  padding: 1px 0 0;
   -moz-border-image: url(chrome://messenger/skin/tabs/tab-normal-active.png) 4 5 3 6 /
                      4px 5px 3px 6px repeat stretch;
   border-radius: 4px 4px 0 0;
   min-height: 23px;
 }
 
 .tabmail-tab[selected="true"] {
   -moz-border-image: url(chrome://messenger/skin/tabs/tab.png) 4 5 3 6 /
@@ -183,27 +182,26 @@ tabmail > tabbox > tabpanels {
 }
 
 /**
  * In-tab close button
  */
 
 .tab-close-button > .toolbarbutton-icon {
   -moz-margin-end: 0px !important;
-  margin-top: 1px;
   padding: 0;
 }
 
 .tab-close-button {
   list-style-image: url("chrome://global/skin/icons/close.png");
   -moz-appearance: none;
   -moz-image-region: rect(0, 16px, 16px, 0);
   border: none !important;
   padding: 0;
-  margin: 1px 0 0;
+  margin: 0;
   background: none;
   cursor: default;
 }
 
 .tab-close-button:hover,
 .tabmail-tab[selected="true"] > .tab-close-button:hover {
   -moz-image-region: rect(0, 32px, 16px, 16px);
 }