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

Unified Diff: ui/file_manager/file_manager/foreground/css/menu.css

Issue 1373793003: Files.app: add feedback animation to context menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments. Created 5 years, 3 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 | ui/file_manager/file_manager/foreground/js/compiled_resources.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/css/menu.css
diff --git a/ui/file_manager/file_manager/foreground/css/menu.css b/ui/file_manager/file_manager/foreground/css/menu.css
index 74501da6edd35474c2774a6224cfa76fe2df868d..a0611ae3d487e471e160c13e0e873eefa32de9f1 100644
--- a/ui/file_manager/file_manager/foreground/css/menu.css
+++ b/ui/file_manager/file_manager/foreground/css/menu.css
@@ -55,3 +55,21 @@ cr-menu-item.providers-menu-item .menu-icon {
html[dir='rtl'] cr-menu-item.providers-menu-item .menu-icon {
float: right;
}
+
+/* Keeps menu visibile while animating. Fade out animation is performed by
+ Javascript. */
+cr-menu[hidden].files-menu.animating {
+ opacity: 1;
+ visibility: visible;
+}
+
+cr-menu.files-menu > cr-menu-item {
+ position: relative;
+}
+
+/* Make ripple size wider to make the animation speed faster since paper-ripple
+ doesn't allow us to change its animation speed. */
+cr-menu.files-menu > cr-menu-item > paper-ripple {
+ left: -25%;
+ width: 150%;
+}
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/compiled_resources.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698