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

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

Issue 7670073: ntp4: disable animations for pages that are off screen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | 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 height: 100%; 7 height: 100%;
8 position: relative; 8 position: relative;
9 width: 100%; 9 width: 100%;
10 } 10 }
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 -webkit-animation-timing-function: linear; 147 -webkit-animation-timing-function: linear;
148 -webkit-transform: scale(0.3, 0.02); 148 -webkit-transform: scale(0.3, 0.02);
149 } 149 }
150 } 150 }
151 151
152 .tile > .removing-tile-contents { 152 .tile > .removing-tile-contents {
153 pointer-events: none; 153 pointer-events: none;
154 -webkit-animation: blipout 0.3s; 154 -webkit-animation: blipout 0.3s;
155 } 155 }
156 156
157 .tile-page:not(.selected-card) * {
158 -webkit-transition: none !important;
159 }
160
157 /** Scrollbars ****************************************************************/ 161 /** Scrollbars ****************************************************************/
158 162
159 .tile-page-content::-webkit-scrollbar { 163 .tile-page-content::-webkit-scrollbar {
160 width: 13px; 164 width: 13px;
161 } 165 }
162 166
163 .tile-page-content::-webkit-scrollbar-button { 167 .tile-page-content::-webkit-scrollbar-button {
164 display: none; 168 display: none;
165 } 169 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698