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

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

Issue 840863004: Files.app: Add a new column in table view to reflect cloud import status. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to master. Created 5 years, 11 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: ui/file_manager/file_manager/foreground/css/file_status.css
diff --git a/ui/file_manager/file_manager/foreground/css/file_status.css b/ui/file_manager/file_manager/foreground/css/file_status.css
new file mode 100644
index 0000000000000000000000000000000000000000..7f31f9bf964861a6e841c8071d00340c26fbb558
--- /dev/null
+++ b/ui/file_manager/file_manager/foreground/css/file_status.css
@@ -0,0 +1,39 @@
+/* Copyright (c) 2015 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+/* Small icons for file statuses, used in lists and menus. */
+[file-status-icon] {
+ background-image: none;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 16px 16px;
+}
+
+[file-status-icon='copied'] {
+ background-image: -webkit-image-set(
+ url(../images/files/ui/copied_badge_gray.png) 1x,
+ url(../images/files/ui/2x/copied_badge_gray.png) 2x);
+}
+
+tree:focus .tree-item[selected] > .tree-row > [file-status-icon='copied'],
+list:focus [selected] [file-status-icon='copied'],
+list.autocomplete-suggestions [selected] [file-status-icon='copied'] {
+ background-image: -webkit-image-set(
+ url(../images/files/ui/copied_badge.png) 1x,
+ url(../images/files/ui/2x/copied_badge.png) 2x);
+}
+
+[file-status-icon='imported'] {
+ background-image: -webkit-image-set(
+ url(../images/files/ui/drive_badge.png) 1x,
+ url(../images/files/ui/2x/drive_badge.png) 2x);
+}
+
+tree:focus .tree-item[selected] > .tree-row > [file-status-icon='imported'],
+list:focus [selected] [file-status-icon='imported'],
+list.autocomplete-suggestions [selected] [file-status-icon='imported'] {
+ background-image: -webkit-image-set(
+ url(../images/files/ui/drive_badge_white.png) 1x,
+ url(../images/files/ui/2x/drive_badge_white.png) 2x);
+}

Powered by Google App Engine
This is Rietveld 408576698