mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-02 11:32:52 +02:00
fixed #1728 put plugin desc in dropdown
This commit is contained in:
@@ -2,7 +2,6 @@ function setDisplayClassic() {
|
||||
$(".pluginContainer").removeClass("line-form").removeClass("compact-form").addClass("classic-form");
|
||||
|
||||
$(".pluginDesc").show();
|
||||
$(".pluginDescCompact").hide();
|
||||
$(".pluginActions").show();
|
||||
$(".pluginActionsSmallIcons").hide();
|
||||
|
||||
@@ -15,7 +14,6 @@ function setDisplayCompact() {
|
||||
$(".pluginContainer").removeClass("line-form").addClass("compact-form").removeClass("classic-form");
|
||||
|
||||
$(".pluginDesc").hide();
|
||||
$(".pluginDescCompact").show();
|
||||
$(".pluginActions").hide();
|
||||
$(".pluginActionsSmallIcons").show();
|
||||
|
||||
@@ -28,7 +26,6 @@ function setDisplayLine() {
|
||||
$(".pluginContainer").addClass("line-form").removeClass("compact-form").removeClass("classic-form");
|
||||
|
||||
$(".pluginDesc").show();
|
||||
$(".pluginDescCompact").hide();
|
||||
$(".pluginActions").show();
|
||||
$(".pluginActionsSmallIcons").hide();
|
||||
// normalTitle();
|
||||
|
||||
@@ -160,7 +160,6 @@ let plugin_filter = searchParams.get('filter');
|
||||
|
||||
<div class="PluginOptionsBlock dropdown">
|
||||
<div class="dropdown-option-content"> {if !empty($author)}{'By %s'|@translate:$author} | {/if}{'Version'|@translate} {$version}</div>
|
||||
<div style="padding: 5px 10px;">{$plugin.DESC}</div>
|
||||
<div class="pluginDescCompact">
|
||||
{$plugin.DESC}
|
||||
</div>
|
||||
|
||||
@@ -732,6 +732,11 @@ LI.menuLi {
|
||||
background-color: #00000012;
|
||||
}
|
||||
|
||||
.dropdown-plugin-desc {
|
||||
padding: 5px 10px;
|
||||
max-width: 200px;
|
||||
}
|
||||
|
||||
.badge-number {
|
||||
border-radius: 20px;
|
||||
background-color: #777;
|
||||
@@ -2899,13 +2904,13 @@ legend {text-align:left;}
|
||||
right: 30px;
|
||||
top: 0;
|
||||
z-index: 2;
|
||||
transform: translateY(calc(50% - 30px));
|
||||
transform: translateY(0px);
|
||||
}
|
||||
|
||||
.pluginContainer.line-form .pluginBox .dropdown::after {
|
||||
content: " ";
|
||||
position: absolute;
|
||||
bottom: 55%;
|
||||
top: 20px;
|
||||
left: calc(100% + 5px);
|
||||
margin-left: -5px;
|
||||
border-width: 5px;
|
||||
|
||||
Reference in New Issue
Block a user