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

Side by Side Diff: chrome/browser/resources/local_ntp/most_visited_thumbnail.css

Issue 1013173003: [Icons NTP] Make Local NTP render largeIconUrl instead of thumbnail, if available. (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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2013 The Chromium Authors. All rights reserved. 1 /* Copyright 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 body { 4 body {
5 height: 100%; 5 height: 100%;
6 position: absolute; 6 position: absolute;
7 width: 100%; 7 width: 100%;
8 } 8 }
9 9
10 a { 10 a {
(...skipping 17 matching lines...) Expand all
28 width: 90%; 28 width: 90%;
29 } 29 }
30 30
31 span.blocker { 31 span.blocker {
32 display: inline-block; 32 display: inline-block;
33 height: 100%; 33 height: 100%;
34 position: absolute; 34 position: absolute;
35 width: 100%; 35 width: 100%;
36 } 36 }
37 37
38 img { 38 img.thumbnail {
39 height: auto; 39 height: auto;
40 min-height: 100%; 40 min-height: 100%;
41 width: 100%; 41 width: 100%;
42 } 42 }
43
44 img.large-icon {
45 height: 48px;
46 left: 50%;
47 margin-left: -24px;
48 margin-top: -24px;
49 min-height: initial;
50 position: absolute;
51 top: 50%;
52 vertical-align: middle;
53 width: 48px;
54 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698