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

Unified Diff: chrome/browser/resources/ntp4/apps_page.css

Issue 7799015: ntp4: some appearance fixes (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/apps_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/apps_page.css
diff --git a/chrome/browser/resources/ntp4/apps_page.css b/chrome/browser/resources/ntp4/apps_page.css
index 3dec51c9d8b5b38e13ba2bca16ffeb7dcb96e807..d486a703bc1beb3f8106175380ef26a364da2c10 100644
--- a/chrome/browser/resources/ntp4/apps_page.css
+++ b/chrome/browser/resources/ntp4/apps_page.css
@@ -9,7 +9,7 @@
-webkit-transition: -webkit-transform 0.1s;
}
-.app:active,
+.app:active:not(.right-mouse-down),
.dragging .app,
.drag-representation .app {
/* Don't animate the initial scaling. */
@@ -17,6 +17,12 @@
-webkit-transform: scale(1.1);
}
+/* Active gets applied right before .right-mouse-down, so to avoid flicker
+ * we need to make the scale go back to normal without an animation. */
+.app.right-mouse-down {
+ -webkit-transition-duration: 0;
+}
+
.app-contents > span {
cursor: pointer;
display: block;
« no previous file with comments | « no previous file | chrome/browser/resources/ntp4/apps_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698