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

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

Issue 2622133008: mediaview: Implement UI. (Closed)
Patch Set: Fix typo and add logging. Created 3 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_types.css
diff --git a/ui/file_manager/file_manager/foreground/css/file_types.css b/ui/file_manager/file_manager/foreground/css/file_types.css
index 66ec654cc8e36cf280c53dad74d028a38bfe4ee5..151de6022f848302b16fc87fd5b3cd864a5e8214 100644
--- a/ui/file_manager/file_manager/foreground/css/file_types.css
+++ b/ui/file_manager/file_manager/foreground/css/file_types.css
@@ -306,6 +306,45 @@ tree .tree-item[selected] > .tree-row > .shared[file-type-icon='folder'] {
url(../images/volumes/2x/cd_active.png) 2x);
}
+[volume-type-icon='media_view'][volume-subtype='images_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/images.png) 1x,
+ url(../images/volumes/2x/images.png) 2x);
+}
+
+.tree-row[selected]
+ [volume-type-icon='media_view'][volume-subtype='images_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/images_active.png) 1x,
+ url(../images/volumes/2x/images_active.png) 2x);
+}
+
+[volume-type-icon='media_view'][volume-subtype='videos_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/videos.png) 1x,
+ url(../images/volumes/2x/videos.png) 2x);
+}
+
+.tree-row[selected]
+ [volume-type-icon='media_view'][volume-subtype='videos_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/videos_active.png) 1x,
+ url(../images/volumes/2x/videos_active.png) 2x);
+}
+
+[volume-type-icon='media_view'][volume-subtype='audio_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/audio.png) 1x,
+ url(../images/volumes/2x/audio.png) 2x);
+}
+
+.tree-row[selected]
+ [volume-type-icon='media_view'][volume-subtype='audio_root'] {
+ background-image: -webkit-image-set(
+ url(../images/volumes/audio_active.png) 1x,
+ url(../images/volumes/2x/audio_active.png) 2x);
+}
+
[volume-type-icon='mtp'] {
background-image: -webkit-image-set(
url(../images/volumes/phone.png) 1x,

Powered by Google App Engine
This is Rietveld 408576698