mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
minor tweaking
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
41211aed68
commit
0a040acf3c
@ -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... */
|
/* DEBUG stuff... */
|
||||||
.container-center {
|
.container-center {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@ -381,7 +381,9 @@ var MetadataUIActions = actions.Actions({
|
|||||||
},
|
},
|
||||||
}) }
|
}) }
|
||||||
|
|
||||||
make(['Preview:', this.updatePreview()])
|
make(['Preview:', this.updatePreview()], {
|
||||||
|
cls: 'preview',
|
||||||
|
})
|
||||||
|
|
||||||
// essentials...
|
// essentials...
|
||||||
make(['$GID: ', image])
|
make(['$GID: ', image])
|
||||||
@ -407,6 +409,8 @@ var MetadataUIActions = actions.Actions({
|
|||||||
+'/'+
|
+'/'+
|
||||||
Object.keys(that.data.ribbons).length])
|
Object.keys(that.data.ribbons).length])
|
||||||
|
|
||||||
|
make.Separator()
|
||||||
|
|
||||||
if(data){
|
if(data){
|
||||||
// some abstractions...
|
// some abstractions...
|
||||||
var _basename = typeof(path) != 'undefined' ?
|
var _basename = typeof(path) != 'undefined' ?
|
||||||
@ -417,7 +421,6 @@ var MetadataUIActions = actions.Actions({
|
|||||||
: function(e){
|
: function(e){
|
||||||
return _normalize(e.split(/[\\\/]/g).slice(0, -1).join('/')) }
|
return _normalize(e.split(/[\\\/]/g).slice(0, -1).join('/')) }
|
||||||
|
|
||||||
make.Separator()
|
|
||||||
// paths...
|
// paths...
|
||||||
data.path
|
data.path
|
||||||
&& make(['File $Name: ',
|
&& make(['File $Name: ',
|
||||||
@ -464,7 +467,7 @@ var MetadataUIActions = actions.Actions({
|
|||||||
// get other sections...
|
// get other sections...
|
||||||
that.callSortedAction('metadataSection', make, image, data, mode)
|
that.callSortedAction('metadataSection', make, image, data, mode)
|
||||||
}, {
|
}, {
|
||||||
cls: 'table-view',
|
cls: 'table-view metadata-view',
|
||||||
showDisabled: false,
|
showDisabled: false,
|
||||||
})
|
})
|
||||||
.on('attached', function(){
|
.on('attached', function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user