Bug 1396062 - Use White as the fill color for the tab loading indicator when the tabs toolbar has brighttext. r=Gijs
authorJared Wein <jwein@mozilla.com>
Wed, 13 Sep 2017 17:14:39 -0400
changeset 430417 065ed2f128fe30c5938558fd7bd1d38d9f94bea5
parent 430416 e3a8671c18c208504bb0ad10544f9184d78253f3
child 430418 17fa89d452864c168865801c2088210d65ab0607
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1396062
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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]),