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

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

Issue 2313763003: Show a local folder's size in QuickView. (Closed)
Patch Set: Created 4 years, 3 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
index 5321a3d34c985d29c1b175f01cb602804c3c6cd8..514bdc75ed0b711a0223e751090bb115643d6da6 100644
--- a/ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html
+++ b/ui/file_manager/file_manager/foreground/elements/files_metadata_entry.html
@@ -42,12 +42,38 @@
vertical-align: bottom;
width: 128px;
}
+
+ .loading {
fukino 2016/09/06 09:12:45 instead of the '.loading' class, #value[loading] s
harukam 2016/09/06 11:25:24 Thanks.
+ font-size: 30px;
+ }
+
+ .loading:after {
+ overflow: hidden;
fukino 2016/09/06 09:12:45 Sort properties.
harukam 2016/09/06 11:25:24 Done.
+ display: inline-block;
+ vertical-align: bottom;
+ -webkit-animation: ellipsis steps(4,end) 900ms infinite;
+ animation: ellipsis steps(4,end) 900ms infinite;
+ content: "\2026"; /* ascii code for the ellipsis character */
+ width: 0px;
+ }
+
+ @keyframes ellipsis {
+ to {
+ width: 1.25em;
+ }
+ }
+
+ @-webkit-keyframes ellipsis {
+ to {
+ width: 1.25em;
+ }
+ }
</style>
<template>
<div id="box" hidden="[[!value]]">
<div id="padding"></div>
<div id="key">[[key]]</div>
- <div id="value">[[value]]</div>
+ <div id="value" class$="{{setLoadingClass(loading)}}"><div hidden="[[loading]]">[[value]]</div></div>
</div>
</template>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698