Bug 1244451 - Don't use white close button on selected tabs. r=mkmelin, a=rkent
authorRichard Marti <richard.marti@gmail.com>
Fri, 29 Jan 2016 11:32:54 +0100
changeset 26690 15ef716ececd83ddb7468805d9973de00dceb0eb
parent 26689 0e667df015f6acfb5670b1e039d4d218acbda36b
child 26691 f3e4a42b85af11a1cfb5a93841bba9e324e81272
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)
reviewersmkmelin, rkent
bugs1244451
Bug 1244451 - Don't use white close button on selected tabs. r=mkmelin, a=rkent
mail/themes/linux/mail/tabmail.css
--- a/mail/themes/linux/mail/tabmail.css
+++ b/mail/themes/linux/mail/tabmail.css
@@ -56,22 +56,20 @@ tabpanels {
 .tabmail-tab > .tab-stack > .tab-content > .tab-text {
   /* tabmail-tab focus ring */
   border: 1px dotted transparent;
   margin: -1px !important; /* let the border not consume any space, like outline */
 }
 
 .tabmail-tab:not(:-moz-lwtheme) > .tab-stack > .tab-content > .tab-text {
   color: -moz-MenuBarText;
-  opacity: .6;
 }
 
 .tabmail-tab[selected]:not(:-moz-lwtheme) > .tab-stack > .tab-content > .tab-text {
   color: -moz-DialogText;
-  opacity: 1;
 }
 
 .tabmail-tab[selected]:focus > .tab-stack > .tab-content > .tab-text {
   border: 1px dotted -moz-DialogText;
 }
 
 /* Tab drag and drop */
 .tab-drop-indicator {
@@ -85,29 +83,29 @@ tabpanels {
   margin-top: 1px;
 }
 
 /* In-tab close button */
 .tab-close-button {
   list-style-image: none;
 }
 
-.tabs-closebutton:not([selected]):not(:hover),
+.tabs-closebutton:not(:hover),
 .tab-close-button:not([selected]):not(:hover) {
   background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 64, 16, 48);
 }
 
 .tabs-closebutton:not(:hover):-moz-lwtheme-brighttext,
 .tab-close-button:not(:hover):-moz-lwtheme-brighttext,
 #tabs-toolbar[brighttext] .tabs-closebutton:not(:hover),
-#tabs-toolbar[brighttext] .tab-close-button:not(:hover) {
+#tabs-toolbar[brighttext] .tab-close-button:not([selected]):not(:hover) {
   background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 80, 16, 64);
 }
 
-.tabs-closebutton:not([selected]):not(:hover):-moz-lwtheme-darktext,
+.tabs-closebutton:not(:hover):-moz-lwtheme-darktext,
 .tab-close-button:not([selected]):not(:hover):-moz-lwtheme-darktext {
   background-image: -moz-image-rect(url("chrome://global/skin/icons/close.svg"), 0, 96, 16, 80);
 }
 
 /**
  * Tab Scrollbox Arrow Buttons
  */