drag n drop for pagesTree

master
Boris Voropaev 2023-09-26 18:02:48 +03:00
parent 049495e337
commit ffcb177f5c
2 changed files with 10 additions and 4 deletions

View File

@ -12,7 +12,8 @@
</div>
<div class="right">
<div class="menu">
<button type="button" class="clear move" title="Переместить"></button>
<div class="move" title="Переместить"></div>
<!-- <button type="button" class="clear move" title="Переместить"></button> -->
<button type="button" class="clear add-child" title="Добавить страницу" (click)="add()"></button>
<button type="button" class="clear edit" title="Редактировать" (click)="edit()"></button>
<button type="button" class="clear close-blue" title="Удалить" (click)="delete()"></button>

View File

@ -95,10 +95,15 @@ button, .btn, a.btn {
background-image: url('~src/assets/images/icons/drag-n-drop_24.svg');
};
}
div.move{
cursor: move;
width: 24px;
height: 24px;
background: center no-repeat;
background-image: url('~src/assets/images/icons/drag-n-drop_24.svg');
}
// .inline-menu.default {