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

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: Fixing comments. 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 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 {
11 height: 100%; 11 height: 100%;
12 width: 100%; 12 width: 100%;
13 } 13 }
14 14
15 div { 15 div {
16 bottom: 24px; 16 bottom: 24px;
17 margin: 0 7px; 17 margin: 0 7px;
18 overflow: hidden; 18 overflow: hidden;
19 position: absolute; 19 position: absolute;
20 text-align: center; 20 text-align: center;
21 text-overflow: ellipsis; 21 text-overflow: ellipsis;
22 white-space: nowrap; 22 white-space: nowrap;
23 width: 90%; 23 width: 90%;
24 } 24 }
25 25
26 img, 26 img {
27 .shadow {
28 border-radius: 2px;
29 height: 100%; 27 height: 100%;
30 width: 100%; 28 width: 100%;
31 } 29 }
32
33 .shadow {
34 box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.09);
35 position: absolute;
36 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/local_ntp/local_ntp_design.js ('k') | chrome/browser/resources/local_ntp/most_visited_thumbnail.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698