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

Side by Side Diff: chrome/browser/resources/contextual_search/promo.css

Issue 456833003: [Search] Make the text swoosh away off the screen when the user taps the opt-in link. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 2014 The Chromium Authors. All rights reserved. 1 /* Copyright 2014 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 @font-face { 5 @font-face {
6 font-family: 'Roboto'; 6 font-family: 'Roboto';
7 font-weight: 400; 7 font-weight: 400;
8 src: url(/roboto.woff) format('woff'); 8 src: url(/roboto.woff) format('woff');
9 } 9 }
10 10
(...skipping 22 matching lines...) Expand all
33 white-space: nowrap; 33 white-space: nowrap;
34 } 34 }
35 35
36 .label a { 36 .label a {
37 font-weight: bold; 37 font-weight: bold;
38 text-decoration: none; 38 text-decoration: none;
39 text-transform: uppercase; 39 text-transform: uppercase;
40 } 40 }
41 41
42 #button-container { 42 #button-container {
43 -webkit-transform: none;
huangs 2014/08/11 16:10:51 Probably redundant. Same below.
pedro (no code reviews) 2014/08/11 17:54:06 No need for transforms here. Animating the contain
Mathieu 2014/08/11 21:11:03 Acknowledged.
Mathieu 2014/08/11 21:11:03 Acknowledged.
43 position: fixed; 44 position: fixed;
44 text-align: right; 45 text-align: right;
45 top: calc(70% - 76px /* action bar */ - 69px /* height of content */); 46 top: calc(70% - 76px /* action bar */ - 69px /* height of content */);
46 width: 100%; 47 width: 100%;
47 } 48 }
49
50 #container {
51 -webkit-transform: none;
52 position: fixed;
53 }
54
55 #container.slide, #button-container.slide {
56 -webkit-transform: translate(0, 1000px);
pedro (no code reviews) 2014/08/11 17:54:06 Let's talk about the animation offline if you want
Mathieu 2014/08/11 21:11:03 Acknowledged.
57 transition: -webkit-transform 1s;
58 }
59
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698