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

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

Issue 1059993002: [New Tab Page] Local NTP: bound the size of favicon image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code movement. Created 5 years, 8 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 | « chrome/browser/resources/local_ntp/local_ntp.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 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 4
5 body { 5 body {
6 -webkit-user-select: none; 6 -webkit-user-select: none;
7 background: none transparent; 7 background: none transparent;
8 color: #323232; 8 color: #323232;
9 margin: 0; 9 margin: 0;
10 overflow: hidden; 10 overflow: hidden;
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 } 361 }
362 362
363 .mv-favicon.failed-favicon { 363 .mv-favicon.failed-favicon {
364 background-image: -webkit-image-set( 364 background-image: -webkit-image-set(
365 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x, 365 url(chrome-search://local-ntp/images/ntp_default_favicon.png) 1x,
366 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x); 366 url(chrome-search://local-ntp/images/ntp_default_favicon.png@2x) 2x);
367 background-repeat: no-repeat; 367 background-repeat: no-repeat;
368 background-size: 16px 16px; 368 background-size: 16px 16px;
369 } 369 }
370 370
371 .mv-favicon img {
372 height: 100%;
373 width: 100%;
374 }
375
371 .mv-favicon.failed-favicon img { 376 .mv-favicon.failed-favicon img {
372 display: none; 377 display: none;
373 } 378 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698