Fix cursor for pri/other
This commit is contained in:
parent
dc67ab2978
commit
6b07a352a9
2 changed files with 8 additions and 12 deletions
|
@ -73,30 +73,26 @@
|
||||||
.manage-labels-list {
|
.manage-labels-list {
|
||||||
> li:not(.empty-message):not(.is-not-draggable) {
|
> li:not(.empty-message):not(.is-not-draggable) {
|
||||||
background-color: $white-light;
|
background-color: $white-light;
|
||||||
cursor: move;
|
|
||||||
cursor: -webkit-grab;
|
|
||||||
cursor: -moz-grab;
|
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 11px 10px 11px $gl-padding;
|
padding: 11px 10px 11px $gl-padding;
|
||||||
border-radius: $border-radius-default;
|
border-radius: $border-radius-default;
|
||||||
|
|
||||||
&:active {
|
|
||||||
cursor: -webkit-grabbing;
|
|
||||||
cursor: -moz-grabbing;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.sortable-ghost {
|
&.sortable-ghost {
|
||||||
opacity: 0.3;
|
opacity: 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.prioritized-labels & {
|
.prioritized-labels & {
|
||||||
box-shadow: 0 1px 2px $issue-boards-card-shadow;
|
box-shadow: 0 1px 2px $issue-boards-card-shadow;
|
||||||
}
|
cursor: move;
|
||||||
|
cursor: -webkit-grab;
|
||||||
|
cursor: -moz-grab;
|
||||||
|
|
||||||
&.no-hand {
|
&:active {
|
||||||
cursor: auto;
|
cursor: -webkit-grabbing;
|
||||||
|
cursor: -moz-grabbing;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
- show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project)
|
- show_label_merge_requests_link = show_label_issuables_link?(label, :merge_requests, project: @project)
|
||||||
- show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project)
|
- show_label_issues_link = show_label_issuables_link?(label, :issues, project: @project)
|
||||||
|
|
||||||
%li.label-list-item{ class: ('no-hand' unless label.priority?), id: label_css_id, data: { id: label.id } }
|
%li.label-list-item{ id: label_css_id, data: { id: label.id } }
|
||||||
= render "shared/label_row", label: label
|
= render "shared/label_row", label: label
|
||||||
%ul.label-actions-list
|
%ul.label-actions-list
|
||||||
%li.inline
|
%li.inline
|
||||||
|
|
Loading…
Reference in a new issue