mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Change reordering icons [SCI-6953] (#4208)
This commit is contained in:
parent
5cb53c774c
commit
cb113c4bdb
6 changed files with 10 additions and 5 deletions
|
@ -15,3 +15,8 @@
|
|||
fill: inherit;
|
||||
}
|
||||
}
|
||||
|
||||
.fas-rotated-90 {
|
||||
display: inline-block;
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
@click="startStepReorder"
|
||||
@keyup.enter="startStepReorder"
|
||||
tabindex="0" >
|
||||
<span class="fas fa-arrows-alt-v" aria-hidden="true"></span>
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt" aria-hidden="true"></i>
|
||||
<span>{{ i18n.t("protocols.reorder_steps.button") }}</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
{{ i18n.t('protocols.steps.options_dropdown.title') }}
|
||||
</li>
|
||||
<li v-if="urls.reorder_elements_url" class="action" @click="openReorderModal" :class="{ 'disabled': elements.length < 2 }">
|
||||
<i class="fas fa-arrows-alt-v"></i>
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||
{{ i18n.t('protocols.steps.options_dropdown.rearrange') }}
|
||||
</li>
|
||||
<li v-if="urls.delete_url" class="action" @click="showDeleteModal">
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="step-checklist-container">
|
||||
<div class="step-element-header" :class="{ 'locked': locked, 'editing-name': editingName }">
|
||||
<div v-if="reorderElementUrl" class="step-element-grip" @click="$emit('reorder')">
|
||||
<i class="fas fa-grip-vertical"></i>
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||
</div>
|
||||
<div class="step-element-name">
|
||||
<InlineEdit
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="step-table-container">
|
||||
<div class="step-element-header" :class="{ 'editing-name': editingName }">
|
||||
<div v-if="reorderElementUrl" class="step-element-grip" @click="$emit('reorder')">
|
||||
<i class="fas fa-grip-vertical"></i>
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||
</div>
|
||||
<div class="step-element-name">
|
||||
<InlineEdit
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="step-text-container" :class="{ 'edit': inEditMode }" @keyup.enter="enableEditMode($event)" tabindex="0">
|
||||
<div v-if="reorderElementUrl" class="element-grip" @click="$emit('reorder')">
|
||||
<i class="fas fa-grip-vertical"></i>
|
||||
<i class="fas fas-rotated-90 fa-exchange-alt"></i>
|
||||
</div>
|
||||
<div class="buttons-container">
|
||||
<button v-if="element.attributes.orderable.urls.update_url" class="btn icon-btn btn-light" tabindex="-1" @click="enableEditMode($event)">
|
||||
|
|
Loading…
Reference in a new issue