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

Side by Side Diff: chrome/browser/resources/ntp4/new_tab.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
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 html { 6 html {
7 font-family: segoe ui, arial, helvetica, sans-serif; 7 font-family: segoe ui, arial, helvetica, sans-serif;
8 font-size: 14px; 8 font-size: 14px;
9 /* It's necessary to put this here instead of in body in order to get the 9 /* It's necessary to put this here instead of in body in order to get the
10 background-size of 100% to work properly */ 10 background-size of 100% to work properly */
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 } 155 }
156 156
157 #footer-content > * { 157 #footer-content > * {
158 margin: 0 9px; 158 margin: 0 9px;
159 } 159 }
160 160
161 #logo-img { 161 #logo-img {
162 margin-top: 4px; 162 margin-top: 4px;
163 } 163 }
164 164
165 .starting-up * {
166 -webkit-transition: none !important;
167 }
168
165 /* Trash. *********************************************************************/ 169 /* Trash. *********************************************************************/
166 170
167 #trash { 171 #trash {
168 height: 100%; 172 height: 100%;
169 position: absolute; 173 position: absolute;
170 opacity: 0; 174 opacity: 0;
171 right: 0; 175 right: 0;
172 top: 50px; 176 top: 50px;
173 -webkit-transition: top 0.2s, opacity 0; 177 -webkit-transition: top 0.2s, opacity 0;
174 -webkit-transition-delay: 0, 0.2s; 178 -webkit-transition-delay: 0, 0.2s;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 min-width: 90px; 213 min-width: 90px;
210 opacity: 0.3; 214 opacity: 0.3;
211 top: 0; 215 top: 0;
212 z-index: 5; 216 z-index: 5;
213 -webkit-transition: width 150ms, right 150ms, background-color 150ms; 217 -webkit-transition: width 150ms, right 150ms, background-color 150ms;
214 } 218 }
215 219
216 .page-switcher:hover { 220 .page-switcher:hover {
217 background-color: rgba(0, 0, 0, 0.2); 221 background-color: rgba(0, 0, 0, 0.2);
218 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/card_slider.js ('k') | chrome/browser/resources/ntp4/new_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698