fixes #1250 pluginBox ThemeBox fixed

pluginbox dropdown hover is now like theme, from grey to black, doesn t show delete option on themebox not deactivated anymore
This commit is contained in:
Louis
2020-11-05 10:50:22 +01:00
parent 44c4119120
commit b982c260fa
3 changed files with 8 additions and 6 deletions
@@ -296,7 +296,7 @@ jQuery(".pluginMiniBox").each(function(index){
<div class="pluginContent">
<div class="PluginOptionsIcons">
{if $plugin.STATE == 'active' || $plugin.STATE == 'inactive'}
<a class="icon-ellipsis-vert showOptions" ></a>
<a class="icon-ellipsis-vert showOptions showInfo" ></a>
{/if}
</div>
@@ -118,10 +118,12 @@ $(window).bind("load", function() {
<div class="showInfo-dropdown-content">
{$theme.DESC|@escape:'html'}
</div>
{if $theme.DELETABLE}
<a class="dropdown-option icon-trash delete-plugin-button delete-theme-button" href="{$delete_baseurl}{$theme.ID}">{'Delete'|@translate}</a>
{else}
<span class="dropdown-option icon-trash delete-plugin-button"title="{$theme.DELETE_TOOLTIP}">{'Delete'|@translate}</span>
{if $theme.STATE != "active"}
{if $theme.DELETABLE}
<a class="dropdown-option icon-trash delete-plugin-button delete-theme-button" href="{$delete_baseurl}{$theme.ID}">{'Delete'|@translate}</a>
{else}
<span class="dropdown-option icon-trash delete-plugin-button"title="{$theme.DELETE_TOOLTIP}">{'Delete'|@translate}</span>
{/if}
{/if}
{if $theme.DEACTIVABLE}
<a href="{$deactivate_baseurl}{$theme.ID}" class="showInfo-dropdown-action tiptip icon-cancel-circled" title="{'Forbid this theme to users'|@translate}">{'Deactivate'|@translate}</a>
+1 -1
View File
@@ -1978,7 +1978,7 @@ h2:lang(en) { text-transform:capitalize; }
margin-left: 0;
box-shadow: 0px 0px 5px #acacac;
}
.pluginMiniBox a:hover { color: white ;}
.PluginOptionsBlock a:hover { color: white ;}
.pluginContent {
width: 100%;
text-align: left;