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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/contextual_search/promo.css
diff --git a/chrome/browser/resources/contextual_search/promo.css b/chrome/browser/resources/contextual_search/promo.css
index d5c57e50a207412d8fd3ee86ac9c6c691066b538..f624daa6910f03e9d36ba5138a7eb8c491702239 100644
--- a/chrome/browser/resources/contextual_search/promo.css
+++ b/chrome/browser/resources/contextual_search/promo.css
@@ -40,8 +40,20 @@ a {
}
#button-container {
+ -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.
position: fixed;
text-align: right;
top: calc(70% - 76px /* action bar */ - 69px /* height of content */);
width: 100%;
}
+
+#container {
+ -webkit-transform: none;
+ position: fixed;
+}
+
+#container.slide, #button-container.slide {
+ -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.
+ transition: -webkit-transform 1s;
+}
+

Powered by Google App Engine
This is Rietveld 408576698