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

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

Issue 7592001: ntp4: most visited dragging onto apps page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment 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 | « chrome/browser/resources/ntp4/apps_page.js ('k') | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/ntp4/most_visited_page.css
diff --git a/chrome/browser/resources/ntp4/most_visited_page.css b/chrome/browser/resources/ntp4/most_visited_page.css
index 1bb3dea4c2f1823fdb98874723ce6a98ed581a47..d4d4030c918a01ef5640319eaae7f9c1e197f7fd 100644
--- a/chrome/browser/resources/ntp4/most_visited_page.css
+++ b/chrome/browser/resources/ntp4/most_visited_page.css
@@ -56,6 +56,10 @@ html[dir=rtl] .most-visited .close-button {
-webkit-transition-delay: 0.5s;
}
+.close-button:hover {
+ -webkit-transition-delay: 0;
+}
+
.most-visited .favicon {
background: no-repeat 5px 50%;
background-size: 32px;
@@ -147,3 +151,15 @@ html[dir=rtl] .most-visited .close-button {
.filler .thumbnail-wrapper {
visibility: visible;
}
+
+/* 'finishing-drag' is the state we are in after dropping on the trash can.
+ * Override opacity of the tile to 1, so that the new tile animation
+ * occurs simultaneously with the trash animation. */
+.tile.dragging.finishing-drag {
+ opacity: 1;
+}
+
+/* Don't display the new tile until there's something to show. */
+.blacklisted {
+ opacity: 0;
+}
« no previous file with comments | « chrome/browser/resources/ntp4/apps_page.js ('k') | chrome/browser/resources/ntp4/most_visited_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698