MDL-82376 course_format: Remove the move icon in course index

* Remove the move icon in the course index
* Make sure the mouse pointer change when able to drag and
drop an item
This commit is contained in:
Laurent David 2024-08-06 07:30:37 +02:00
parent d75652fd16
commit f3803d66b4
5 changed files with 9 additions and 2 deletions

View File

@ -64,7 +64,6 @@
<span class="courseindex-locked ms-1" data-for="cm_name">
{{#pix}} t/locked, core {{/pix}}
</span>
<span class="dragicon ms-auto">{{#pix}}i/dragdrop{{/pix}}</span>
{{/hasdelegatedsection}}
{{#hasdelegatedsection}}
{{#sectioninfo}}

View File

@ -105,7 +105,6 @@
<span class="courseindex-locked ms-1" data-for="cm_name">
{{#pix}} t/locked, core {{/pix}}
</span>
<span class="dragicon ms-auto">{{#pix}}i/dragdrop{{/pix}}</span>
</div>
<div id="courseindexcollapse{{number}}"
class="courseindex-item-content collapse {{^indexcollapsed}}show{{/indexcollapsed}}"

View File

@ -30,6 +30,9 @@ $courseindex-item-current: $primary !default;
color: $courseindex-link-hover-color;
}
}
&.draggable {
cursor: move;
}
}
}

View File

@ -38546,6 +38546,9 @@ div.editor_atto_toolbar button .icon {
.courseindex .courseindex-item:focus.dimmed .courseindex-chevron {
color: black;
}
.courseindex .courseindex-item:hover.draggable, .courseindex .courseindex-item:focus.draggable {
cursor: move;
}
.courseindex .courseindex-item.dragging {
border: 1px solid #b8dce2;
background-color: #e0f0f2;

View File

@ -38480,6 +38480,9 @@ div.editor_atto_toolbar button .icon {
.courseindex .courseindex-item:focus.dimmed .courseindex-chevron {
color: black;
}
.courseindex .courseindex-item:hover.draggable, .courseindex .courseindex-item:focus.draggable {
cursor: move;
}
.courseindex .courseindex-item.dragging {
border: 1px solid #b8dce2;
background-color: #e0f0f2;