Bug 1383593 - Noticeable delay when opening of new tabs if activity stream is enabled. r=k88hudson
authorEd Lee <edilee@mozilla.com>
Wed, 11 Oct 2017 11:55:28 -0700
changeset 679140 310eff6bb091017d6125610d2148926d4b8e2cd7
parent 679139 12c5e82b0240f8f0c7909b690ab99b94bd1022ad
child 679141 0567ed7f60742717d1377d830eb201cfa3045759
push id84141
push userbmo:schien@mozilla.com
push dateThu, 12 Oct 2017 11:13:04 +0000
reviewersk88hudson
bugs1383593
milestone58.0a1
Bug 1383593 - Noticeable delay when opening of new tabs if activity stream is enabled. r=k88hudson MozReview-Commit-ID: EjZhPfhX80v
browser/extensions/activity-stream/data/content/activity-stream.css
--- a/browser/extensions/activity-stream/data/content/activity-stream.css
+++ b/browser/extensions/activity-stream/data/content/activity-stream.css
@@ -216,24 +216,23 @@ main {
   font-size: 13px;
   font-weight: bold;
   text-transform: uppercase; }
   .section-title span {
     color: #737373;
     fill: #737373;
     vertical-align: middle; }
 
-.body-wrapper {
+.body-wrapper .sections-list .section:last-of-type,
+.body-wrapper .section-title {
   opacity: 0;
-  transition: opacity 75ms ease-in-out; }
+}
 
-@-moz-document url(about:newtab) {
-  .body-wrapper {
-    transition-delay: 125ms; } }
-  .body-wrapper.on {
+.body-wrapper.on .sections-list .section:last-of-type,
+.body-wrapper.on .section-title {
     opacity: 1; }
 
 .top-sites-list {
   list-style: none;
   margin: 0;
   margin-bottom: -18px;
   padding: 0;
   margin-inline-end: -32px; }