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

Side by Side Diff: chrome/browser/resources/local_ntp/local_ntp.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 | « no previous file | chrome/browser/resources/local_ntp/most_visited_single.css » ('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 4
5 /* TODO: Need to discuss with NTP folks before we remove font-family from the 5 /* TODO: Need to discuss with NTP folks before we remove font-family from the
6 * body tag. */ 6 * body tag. */
7 body { 7 body {
8 background-attachment: fixed !important; 8 background-attachment: fixed !important;
9 background-color: white; 9 background-color: white;
10 cursor: default; 10 cursor: default;
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 } 587 }
588 588
589 .thumb-ntp .mv-favicon-fallback { 589 .thumb-ntp .mv-favicon-fallback {
590 background-image: -webkit-image-set( 590 background-image: -webkit-image-set(
591 url(images/ntp_default_favicon.png) 1x, 591 url(images/ntp_default_favicon.png) 1x,
592 url(images/ntp_default_favicon.png@2x) 2x); 592 url(images/ntp_default_favicon.png@2x) 2x);
593 background-repeat: no-repeat; 593 background-repeat: no-repeat;
594 background-size: 16px 16px; 594 background-size: 16px 16px;
595 } 595 }
596 596
597 .mv-favicon img {
598 height: 100%;
599 width: 100%;
600 }
601
597 /* The notification shown when a tile is blacklisted. */ 602 /* The notification shown when a tile is blacklisted. */
598 #mv-notice { 603 #mv-notice {
599 font-size: 12px; 604 font-size: 12px;
600 font-weight: bold; 605 font-weight: bold;
601 opacity: 1; 606 opacity: 1;
602 padding: 10px 0; 607 padding: 10px 0;
603 } 608 }
604 609
605 .icon-ntp #mv-notice { 610 .icon-ntp #mv-notice {
606 margin-top: 30px; 611 margin-top: 30px;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 padding: 3px; 688 padding: 3px;
684 position: fixed; 689 position: fixed;
685 right: 8px; 690 right: 8px;
686 } 691 }
687 692
688 html[dir=rtl] #attribution, 693 html[dir=rtl] #attribution,
689 html[dir=rtl] #recent-tabs { 694 html[dir=rtl] #recent-tabs {
690 left: 8px; 695 left: 8px;
691 right: auto; 696 right: auto;
692 } 697 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/local_ntp/most_visited_single.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698