Bug 1396062 - Use White as the fill color for the tab loading indicator when the tabs toolbar has brighttext. r?gijs draft
authorJared Wein <jwein@mozilla.com>
Wed, 13 Sep 2017 17:14:39 -0400
changeset 664935 a742b792aaeb10315ba31daaf458a772eda4e71a
parent 663831 1888ec2f277f6bb26271b8808e08914a21db9efe
child 731595 736b9ca065dcb4da134e7d95bce4997e4cb26169
push id79864
push userbmo:jaws@mozilla.com
push dateThu, 14 Sep 2017 16:43:25 +0000
reviewersgijs
bugs1396062
milestone57.0a1
Bug 1396062 - Use White as the fill color for the tab loading indicator when the tabs toolbar has brighttext. r?gijs MozReview-Commit-ID: BoCSgOEUJUx
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -157,16 +157,20 @@
   100% { transform: translateX(100%); }
 }
 
 :root[sessionrestored] .tab-throbber[progress]::before {
   fill: var(--tab-loading-fill);
   opacity: 1;
 }
 
+#TabsToolbar[brighttext] .tabbrowser-tab:not([visuallyselected=true]) {
+  --tab-loading-fill: #fff;
+}
+
 .tab-sharing-icon-overlay,
 .tab-icon-image {
   height: 16px;
   width: 16px;
 }
 
 .tab-throbber:not([pinned]),
 .tab-sharing-icon-overlay:not([pinned]),