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

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

Issue 473583002: [Local NTP] Implementing Material Design styling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
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 @font-face {
5 font-family: 'Roboto2';
6 font-weight: 400;
7 src: local('Roboto'), local('Roboto2-Regular'),
8 url(roboto.woff2) format('woff2'), url(roboto.woff) format('woff');
9 }
10
4 body { 11 body {
5 height: 100%; 12 height: 100%;
6 position: absolute; 13 position: absolute;
7 width: 100%; 14 width: 100%;
8 } 15 }
9 16
10 a { 17 a {
11 height: 100%; 18 height: 100%;
12 width: 100%; 19 width: 100%;
13 } 20 }
14 21
15 div { 22 div {
16 bottom: 24px; 23 bottom: 24px;
17 margin: 0 7px; 24 margin: 0 7px;
18 overflow: hidden; 25 overflow: hidden;
19 position: absolute; 26 position: absolute;
20 text-align: center; 27 text-align: center;
21 text-overflow: ellipsis; 28 text-overflow: ellipsis;
22 white-space: nowrap; 29 white-space: nowrap;
23 width: 90%; 30 width: 90%;
24 } 31 }
25 32
26 img, 33 img {
27 .shadow {
28 border-radius: 2px;
29 height: 100%; 34 height: 100%;
30 width: 100%; 35 width: 100%;
31 } 36 }
32
33 .shadow {
34 box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.09);
35 position: absolute;
36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698