OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |