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

Side by Side Diff: chrome/browser/resources/ntp_search/thumbnail_page.css

Issue 10867021: NTP5: Improving the Tile Page resize logic (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resync'ing and rebasing Created 8 years, 3 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
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 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 /* ----------------------------------------------------------------------------- 5 /* -----------------------------------------------------------------------------
6 Thumbnail Cell and Tile 6 Thumbnail Cell and Tile
7 ----------------------------------------------------------------------------- */ 7 ----------------------------------------------------------------------------- */
8 8
9 .thumbnail-page .tile-cell { 9 .thumbnail-page .tile-cell {
10 -webkit-margin-start: 18px; 10 -webkit-margin-start: 18px;
(...skipping 17 matching lines...) Expand all
28 .thumbnail-page .tile-cell .tile:hover .thumbnail-card { 28 .thumbnail-page .tile-cell .tile:hover .thumbnail-card {
29 /* TODO(pedrosimonetti): Confirm value with Marcin. */ 29 /* TODO(pedrosimonetti): Confirm value with Marcin. */
30 border-color: rgb(127, 127, 127); 30 border-color: rgb(127, 127, 127);
31 } 31 }
32 32
33 .thumbnail-page .tile-cell.filler .tile { 33 .thumbnail-page .tile-cell.filler .tile {
34 background: -webkit-linear-gradient(rgb(242, 242, 242), rgb(232, 232, 232)); 34 background: -webkit-linear-gradient(rgb(242, 242, 242), rgb(232, 232, 232));
35 border-color: rgb(224, 224, 224); 35 border-color: rgb(224, 224, 224);
36 border-radius: 3px; 36 border-radius: 3px;
37 box-shadow: inset 0 2px 3px rgba(0, 0, 0, .09); 37 box-shadow: inset 0 2px 3px rgba(0, 0, 0, .09);
38 display: inline-block;
39 position: absolute;
40 } 38 }
41 39
42 /* ----------------------------------------------------------------------------- 40 /* -----------------------------------------------------------------------------
43 Thumbnail 41 Thumbnail
44 ----------------------------------------------------------------------------- */ 42 ----------------------------------------------------------------------------- */
45 43
46 .thumbnail .thumbnail-image { 44 .thumbnail .thumbnail-image {
47 background-size: 130px 81px; 45 background-size: 130px 81px;
48 } 46 }
49 47
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 border-radius: 2px; 100 border-radius: 2px;
103 display: inline-block; 101 display: inline-block;
104 height: 100%; 102 height: 100%;
105 margin-top: -1px; 103 margin-top: -1px;
106 position: relative; 104 position: relative;
107 width: 100%; 105 width: 100%;
108 } 106 }
109 107
110 .thumbnail-card:first-child { 108 .thumbnail-card:first-child {
111 -webkit-margin-start: -1px; 109 -webkit-margin-start: -1px;
112 } 110 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp_search/new_tab.html ('k') | chrome/browser/resources/ntp_search/tile_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698