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

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

Issue 1015393002: Files.app: Add fade animation on toggling checkmarks on grid view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/ui/file_grid.js » ('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/file_manager.css
diff --git a/ui/file_manager/file_manager/foreground/css/file_manager.css b/ui/file_manager/file_manager/foreground/css/file_manager.css
index e79b26e433c5888e141dcdf586066a64aaa2c73b..2558289ae451b7b1cc98e971a557a56e27a6250d 100644
--- a/ui/file_manager/file_manager/foreground/css/file_manager.css
+++ b/ui/file_manager/file_manager/foreground/css/file_manager.css
@@ -1039,24 +1039,32 @@ body[type='full-page'] .detail-name .detail-icon {
width: 34px;
}
-body.selecting .thumbnail-grid .checkmark {
+.thumbnail-grid .checkmark.inactive {
background-image: -webkit-image-set(
url(../images/files/ui/thumbnail_unchecked.png) 1x,
url(../images/files/ui/2x/thumbnail_unchecked.png) 2x);
- opacity: 0.6;
}
-body.check-select .thumbnail-grid .thumbnail-item .checkmark {
+.thumbnail-grid .checkmark.active {
background-image: -webkit-image-set(
- url(../images/files/ui/thumbnail_unchecked.png) 1x,
- url(../images/files/ui/2x/thumbnail_unchecked.png) 2x);
+ url(../images/files/ui/thumbnail_checked.png) 1x,
+ url(../images/files/ui/2x/thumbnail_checked.png) 2x);
+}
+
+body.selecting .thumbnail-grid .checkmark.inactive {
+ opacity: 0.6;
+}
+
+body.check-select .thumbnail-grid .thumbnail-item .checkmark.inactive {
opacity: 1;
}
-body.check-select .thumbnail-grid .thumbnail-item[selected] .checkmark {
- background-image: -webkit-image-set(
- url(../images/files/ui/thumbnail_checked.png) 1x,
- url(../images/files/ui/2x/thumbnail_checked.png) 2x);
+body.check-select .thumbnail-grid .thumbnail-item[selected]
+ .checkmark.inactive {
+ opacity: 0;
+}
+
+body.check-select .thumbnail-grid .thumbnail-item[selected] .checkmark.active {
opacity: 1;
}
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/ui/file_grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698