Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Unified Diff: chrome/browser/resources/local_ntp/most_visited_thumbnail.css

Issue 1010783002: [Icons NTP] Working prototype to fetch, store, and display big icons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/local_ntp/most_visited_thumbnail.css
diff --git a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
index 52eb41597910e2ac1fc08a4c7e8c5a7170c14143..d2693bf746a83228fbd4f9cf0ceedd086bcd0dd8 100644
--- a/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
+++ b/chrome/browser/resources/local_ntp/most_visited_thumbnail.css
@@ -35,8 +35,20 @@ span.blocker {
width: 100%;
}
-img {
+img.thumbnail {
height: auto;
min-height: 100%;
width: 100%;
}
+
+img.big-icon {
+ height: 48px;
+ left: 50%;
+ margin-left: -24px;
+ margin-top: -24px;
+ min-height: initial;
+ position: absolute;
+ top: 50%;
+ vertical-align: middle;
+ width: 48px;
+}

Powered by Google App Engine
This is Rietveld 408576698