Bug 1415019 - Tweak the colors for the tab throbber when brighttext is used. r?sfoster draft
authorJared Wein <jwein@mozilla.com>
Tue, 07 Nov 2017 15:45:49 -0500
changeset 697261 a45b17777fd04decee5ec6b236ed30bd79721957
parent 695799 41a66272bd113526fa1e533268ebd5bbf39f7532
child 740067 6d4417c43bc832e1190a099c0c900a8519b1a0b7
push id88943
push userbmo:jaws@mozilla.com
push dateMon, 13 Nov 2017 19:03:19 +0000
reviewerssfoster
bugs1415019
milestone58.0a1
Bug 1415019 - Tweak the colors for the tab throbber when brighttext is used. r?sfoster MozReview-Commit-ID: EKw8ej3prwX
browser/themes/shared/tabs.inc.css
--- a/browser/themes/shared/tabs.inc.css
+++ b/browser/themes/shared/tabs.inc.css
@@ -188,23 +188,32 @@ tabbrowser {
 @keyframes tab-throbber-animation {
   100% { transform: translateX(-100%); }
 }
 
 @keyframes tab-throbber-animation-rtl {
   100% { transform: translateX(100%); }
 }
 
+#TabsToolbar[brighttext] .tab-throbber[busy]:not([visuallyselected=true])::before {
+  /* Don't change the --tab-loading-fill variable because this should only affect
+     tabs that are not visually selected. */
+  fill: #717171;
+  opacity: 1;
+}
+
 :root[sessionrestored] .tab-throbber[progress]::before {
   fill: var(--tab-loading-fill);
   opacity: 1;
 }
 
-#TabsToolbar[brighttext] .tabbrowser-tab:not([visuallyselected=true]) {
-  --tab-loading-fill: #bbbbff;
+#TabsToolbar[brighttext] .tab-throbber[progress]:not([visuallyselected=true])::before {
+  /* Don't change the --tab-loading-fill variable because this should only affect
+     tabs that are not visually selected. */
+  fill: #84c1ff;
 }
 
 #tabbrowser-tabs[schedulepressure] .tab-throbber,
 #tabbrowser-tabs:not([schedulepressure]) .tab-throbber-fallback {
   display: none;
 }
 
 .tab-icon-image {