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..ec2c2b301b1c4b88889b63dbcf19bca989347fb2 |
--- /dev/null |
+++ b/ui/file_manager/file_manager/foreground/css/file_status.css |
@@ -0,0 +1,43 @@ |
+/* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
mtomasz
2015/01/14 00:34:34
(c) 2012 -> 2015
Ben Kwa
2015/01/14 16:19:33
Done.
|
+ * 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-color: gray; |
+ background-image: -webkit-image-set( |
+ url(../images/files/ui/copied_badge.png) 1x, |
+ url(../images/files/ui/2x/copied_badge.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-color: transparent; |
+ 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-color: gray; |
+ 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-color: transparent; |
+ background-image: -webkit-image-set( |
+ url(../images/files/ui/drive_badge.png) 1x, |
+ url(../images/files/ui/2x/drive_badge.png) 2x); |
+} |