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

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: most visited polish 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
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..f4b918e627fb9e8f46f079b49bdf847df5deb1f5 100644
--- a/chrome/browser/resources/ntp4/most_visited_page.css
+++ b/chrome/browser/resources/ntp4/most_visited_page.css
@@ -147,3 +147,15 @@ html[dir=rtl] .most-visited .close-button {
.filler .thumbnail-wrapper {
visibility: visible;
}
+
+/* 'restoring' is the state we are in after dropping on the trash can.
+ * Override opacity of the tile to 1, so that we new tile animation
Rick Byers 2011/08/08 15:24:15 s/we/the
Evan Stade 2011/08/08 18:26:58 Done.
+ * occurs simultaneously with the trash animation. */
+.tile.restoring.restoring {
Rick Byers 2011/08/08 15:24:15 I assume the second .restoring is necessary to giv
Evan Stade 2011/08/08 18:26:58 yes, it's to override .tile.dragging
+ opacity: 1;
+}
+
+/* Don't display the new tile until there's something to show. */
+.blacklisted {
+ opacity: 0;
+}

Powered by Google App Engine
This is Rietveld 408576698