Replaced moving description in items by a big popup on hover.

This commit is contained in:
Vlyan
2021-06-23 09:20:34 +02:00
parent 30a6d96014
commit 08a3d2cceb
37 changed files with 508 additions and 162 deletions

View File

@@ -1,12 +1,9 @@
<li class="item property flexcol toggle-on-click" data-toggle="item-description-{{property.id}}" data-property-id="{{property.id}}">
<li class="item property flexcol" data-property-id="{{property.id}}">
<ul class="item-header property-control">
<li class="item-img"><img src="{{property.img}}" title="{{property.name}}" width="32px" height="32px"/></li>
<li class="item-name">{{property.name}}</li>
<li class="item-name l5r5e-tooltip" data-property-id="{{property.id}}">{{property.name}}</li>
{{#if editable}}
<li class="property-delete" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></li>
{{/if}}
</ul>
{{#if property.data.data.description}}
<div class="item-description item-description-{{property.id}}">{{{property.data.data.description}}}</div>
{{/if}}
</li>