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

Side by Side Diff: chrome/browser/resources/ntp4/tile_page.css

Issue 8772053: NTP4: Making tiles on the NTP printable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
« no previous file with comments | « no previous file | 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 (c) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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 .tile-page { 6 .tile-page {
7 display: -webkit-box; 7 display: -webkit-box;
8 height: 100%; 8 height: 100%;
9 position: relative; 9 position: relative;
10 width: 100%; 10 width: 100%;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 .tile-grid { 46 .tile-grid {
47 overflow: hidden; 47 overflow: hidden;
48 position: relative; 48 position: relative;
49 width: 100%; 49 width: 100%;
50 } 50 }
51 51
52 .tile { 52 .tile {
53 display: inline-block; 53 display: inline-block;
54 position: absolute; 54 position: absolute;
55 -webkit-print-color-adjust: exact;
55 /* Don't offer the context menu on long-press. */ 56 /* Don't offer the context menu on long-press. */
56 -webkit-touch-callout: none; 57 -webkit-touch-callout: none;
57 -webkit-user-drag: element; 58 -webkit-user-drag: element;
58 } 59 }
59 60
60 /* I don't know why this is necessary. -webkit-user-drag: element on .tile 61 /* I don't know why this is necessary. -webkit-user-drag: element on .tile
61 * should be enough. If we don't do this, we get 2 drag representations for 62 * should be enough. If we don't do this, we get 2 drag representations for
62 * the image. */ 63 * the image. */
63 .tile img { 64 .tile img {
64 -webkit-user-drag: none; 65 -webkit-user-drag: none;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 163
163 /** Scrollbars ****************************************************************/ 164 /** Scrollbars ****************************************************************/
164 165
165 .tile-page-content::-webkit-scrollbar { 166 .tile-page-content::-webkit-scrollbar {
166 width: 13px; 167 width: 13px;
167 } 168 }
168 169
169 .tile-page-content::-webkit-scrollbar-button { 170 .tile-page-content::-webkit-scrollbar-button {
170 display: none; 171 display: none;
171 } 172 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698