Bug 1054099 - Remove use of gradients in new tab page. r=dao, a=lmandel
authorTim Taubert <ttaubert@mozilla.com>
Sat, 20 Sep 2014 13:04:08 +0200
changeset 216813 b73f15e656a1
parent 216812 f8eec8fe1b2b
child 216814 02eaea5dce76
push id3922
push userryanvm@gmail.com
push date2014-09-22 17:26 +0000
treeherdermozilla-beta@02eaea5dce76 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, lmandel
bugs1054099
milestone33.0
Bug 1054099 - Remove use of gradients in new tab page. r=dao, a=lmandel
browser/themes/shared/newtab/newTab.inc.css
--- a/browser/themes/shared/newtab/newTab.inc.css
+++ b/browser/themes/shared/newtab/newTab.inc.css
@@ -129,29 +129,16 @@
 .newtab-site[type=affiliate] .newtab-thumbnail,
 .newtab-site[type=enhanced] .newtab-thumbnail,
 .newtab-site[type=organic] .newtab-thumbnail,
 .newtab-site[type=sponsored] .newtab-thumbnail {
   background-position: center center;
   background-size: auto;
 }
 
-/* Use a pseudo-element to overlay a gradient on the thumbnail */
-.newtab-site[type=history]:not(:hover) .newtab-thumbnail:first-child::after {
-  background-image: linear-gradient(0deg, rgba(251, 251, 251, 0.8), rgba(251, 251, 251, 0) 33%);
-  border-radius: inherit;
-  bottom: 0;
-  content: "";
-  left: 0;
-  pointer-events: none;
-  position: absolute;
-  right: 0;
-  top: 0;
-}
-
 /* TITLES */
 .newtab-title {
   color: #737373;
 }
 
 .newtab-site:hover .newtab-title {
   color: #4a4a4a;
 }