mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
batch rename sc-button cancel
This commit is contained in:
parent
05a1f7d041
commit
342fd3e297
@ -39,4 +39,9 @@
|
||||
background-color: $chill-blue;
|
||||
color: $light;
|
||||
}
|
||||
|
||||
&.btn-cancel {
|
||||
background-color: $chill-light-gray;
|
||||
color: $black;
|
||||
}
|
||||
}
|
||||
|
@ -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">
|
||||
|
@ -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;
|
||||
}
|
||||
/*
|
||||
|
@ -62,7 +62,7 @@
|
||||
|
||||
<div>
|
||||
<ul class="record_actions">
|
||||
<li class="cancel">
|
||||
<li class="btn btn-cancel">
|
||||
<a href="#" class="btn btn-cancel">
|
||||
{{ $t('action.cancel') }}
|
||||
</a>
|
||||
|
@ -33,7 +33,7 @@
|
||||
</div>
|
||||
<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>
|
||||
|
@ -90,7 +90,7 @@ export default {
|
||||
margin-left: 0.5em;
|
||||
align-self: baseline;
|
||||
}
|
||||
a.sc-button {
|
||||
a.btn {
|
||||
border: 1px solid lightgrey;
|
||||
font-size: 70%;
|
||||
padding: 4px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user