From 0a040acf3cd8848de4d39f6e5e0be36c89259c20 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Thu, 10 Oct 2019 19:40:55 +0300 Subject: [PATCH] minor tweaking Signed-off-by: Alex A. Naanou --- ui (gen4)/css/experimenting.css | 16 ++++++++++++++++ ui (gen4)/features/metadata.js | 9 ++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/ui (gen4)/css/experimenting.css b/ui (gen4)/css/experimenting.css index c9a142d9..9f3aa730 100755 --- a/ui (gen4)/css/experimenting.css +++ b/ui (gen4)/css/experimenting.css @@ -524,6 +524,22 @@ body { +/* metadata view */ +/* remove preview text and center image... */ +.metadata-view .item.preview { + text-align: center; + opacity: 1; +} +.metadata-view .preview .text { + left: 50%; + display: none; +} +.metadata-view .preview.image { + border: rgba(200, 200, 200, 0.3) 1px solid; +} + + + /* DEBUG stuff... */ .container-center { position: absolute; diff --git a/ui (gen4)/features/metadata.js b/ui (gen4)/features/metadata.js index a9183e58..6cef9985 100755 --- a/ui (gen4)/features/metadata.js +++ b/ui (gen4)/features/metadata.js @@ -381,7 +381,9 @@ var MetadataUIActions = actions.Actions({ }, }) } - make(['Preview:', this.updatePreview()]) + make(['Preview:', this.updatePreview()], { + cls: 'preview', + }) // essentials... make(['$GID: ', image]) @@ -407,6 +409,8 @@ var MetadataUIActions = actions.Actions({ +'/'+ Object.keys(that.data.ribbons).length]) + make.Separator() + if(data){ // some abstractions... var _basename = typeof(path) != 'undefined' ? @@ -417,7 +421,6 @@ var MetadataUIActions = actions.Actions({ : function(e){ return _normalize(e.split(/[\\\/]/g).slice(0, -1).join('/')) } - make.Separator() // paths... data.path && make(['File $Name: ', @@ -464,7 +467,7 @@ var MetadataUIActions = actions.Actions({ // get other sections... that.callSortedAction('metadataSection', make, image, data, mode) }, { - cls: 'table-view', + cls: 'table-view metadata-view', showDisabled: false, }) .on('attached', function(){