batch rename sc-button cancel

This commit is contained in:
2021-07-05 21:22:05 +02:00
parent 05a1f7d041
commit 342fd3e297
6 changed files with 11 additions and 6 deletions

View File

@@ -39,4 +39,9 @@
background-color: $chill-blue;
color: $light;
}
&.btn-cancel {
background-color: $chill-light-gray;
color: $black;
}
}

View File

@@ -36,7 +36,7 @@
<div>
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<li class="btn btn-cancel">
<a :href=backUrl class="btn btn-cancel">{{ $t('back_to_the_list') }}</a>
</li>
<li v-if="!edit">

View File

@@ -16,7 +16,7 @@
<slot name="body"></slot>
</div>
<div class="modal-footer">
<button class="sc-button cancel" @click="$emit('close')">{{ $t('action.close') }}</button>
<button class="btn btn-cancel" @click="$emit('close')">{{ $t('action.close') }}</button>
<slot name="footer"></slot>
</div>
</div>
@@ -55,7 +55,7 @@ export default {
display: table;
transition: opacity 0.3s ease;
}
.modal-header .close { // bootstrap classes, override sc-button 0 radius
.modal-header .close {
border-top-right-radius: 0.3rem;
}
/*