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

Unified Diff: ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html

Issue 2109563002: Quick View: Add more metadata and update UI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 6 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/elements/files_metadata_entry.html
diff --git a/ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html b/ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html
new file mode 100644
index 0000000000000000000000000000000000000000..62000659bf484f7ef15670331a7e3252d130cdbe
--- /dev/null
+++ b/ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html
@@ -0,0 +1,53 @@
+<!-- Copyright 2016 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.
+-->
+
+<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
+
+<dom-module id="files-metadata-entry">
+ <style>
+ div {
+ margin: 0;
+ }
+
+ #box {
+ display: flex;
+ margin: 12px 0;
+ min-height: 14px;
+ width: 320px;
+ }
+
+ #box[hidden] {
+ display: none;
+ }
+
+ #padding {
+ width: 15px;
+ }
+
+ #key {
+ color: #EFEFEF;
+ font-weight: bold;
+ overflow-wrap: break-word;
+ vertical-align: bottom;
+ width: 150px;
+ }
+
+ #value {
+ color: #D6D6D6;
+ overflow-wrap: break-word;
+ vertical-align: bottom;
+ width: 150px;
+ }
+ </style>
+ <template>
+ <div id="box" hidden="[[!value]]">
+ <div id="padding"></div>
+ <div id="key">[[key]]</div>
+ <div id="value">[[value]]</div>
+ </div>
+ </template>
+</dom-module>
+
+<script src="files_metadata_entry.js"></script>

Powered by Google App Engine
This is Rietveld 408576698