N°3930 Restore dashlet blocker on dashboard editor

This commit is contained in:
Stephen Abello
2021-08-02 11:20:23 +02:00
parent 3359609349
commit 2e132d5c53
3 changed files with 15 additions and 1 deletions

View File

@@ -1274,7 +1274,7 @@ abstract class DashletGroupBy extends Dashlet
$aExtraParams["panel_class"] = $sClass;
$oPanel = $oBlock->GetDisplay($oPage, $sBlockId, array_merge($aExtraParams, $aParams));
if ($bEditMode) {
$oPanel->AddHtml('<div class="dashlet-blocker"></div>');
$oPanel->AddHtml('<div class="ibo-dashlet-blocker dashlet-blocker"></div>');
}
return $oPanel;

View File

@@ -27,4 +27,13 @@ $ibo-dashlet--elements-spacing-y: 24px !default;
}
.ibo-details{
margin-top: 5px;
}
.ibo-dashlet-blocker{
position: absolute;
z-index: 9; /* To be above calendar links & all, but below .close-box (9) */
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: not-allowed;
}

View File

@@ -103,4 +103,9 @@ $ibo-dashboard-editor--delete-dashlet-icon--z-index: 21 !default;
@extend .ibo-button;
@extend .ibo-is-alternative;
@extend .ibo-is-danger;
}
.ibo-dashboard-editor .itop-dashboard{
a{
cursor: not-allowed;
}
}