fix buttons classes

This commit is contained in:
Mathieu Jaumotte 2021-07-06 13:49:12 +02:00
parent 4668f657ab
commit 690688f5e1
6 changed files with 9 additions and 8 deletions

View File

@ -21,6 +21,7 @@
&.btn-reset,
&.btn-delete,
&.btn-danger,
&.btn-remove {
background-color: $chill-red;
color: $light;

View File

@ -76,9 +76,9 @@
</template>
<template v-slot:footer>
<button class="btn bg-green"
<button class="btn btn-create"
@click.prevent="$emit('addNewAddress', { address, modal })">
<i class="fa fa-plus fa-fw"></i>{{ $t('action.add')}}
{{ $t('action.add')}}
</button>
</template>

View File

@ -6,7 +6,7 @@
<div class="modal-content">
<div class="modal-header">
<slot name="header"></slot>
<button class="close btn bg-gray" @click="$emit('close')">
<button class="close btn" @click="$emit('close')">
<i class="fa fa-times" aria-hidden="true"></i></button>
</div>
<div class="body-head">

View File

@ -32,7 +32,7 @@
<p>{{ $t('confirm.sure_description') }}</p>
</template>
<template v-slot:footer>
<button class="btn bg-red" @click="confirmCourse">
<button class="btn btn-danger" @click="confirmCourse">
{{ $t('confirm.ok') }}
</button>
</template>

View File

@ -30,7 +30,7 @@
<p>Quisque non erat tincidunt, lacinia justo ut, pulvinar nisl. Nunc id enim ut sem pretium interdum consectetur eu quam. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Etiam posuere erat eget augue finibus luctus. Maecenas auctor, tortor non luctus ultrices, neque neque porttitor ex, nec lacinia lorem ligula et elit. Sed tempor nulla vitae lorem sollicitudin dictum. Vestibulum nec arcu eget elit pulvinar pretium. Phasellus facilisis metus sed diam luctus, feugiat scelerisque velit dignissim.</p>
</template>
<template v-slot:footer>
<button class="btn bg-green" @click="modal1.showModal = false; modal2.showModal = true">
<button class="btn btn-create" @click="modal1.showModal = false; modal2.showModal = true">
{{ $t('action.next')}}</button>
</template>
</modal>
@ -45,7 +45,7 @@
<p>modal 2</p>
</template>
<template v-slot:footer>
<button class="btn bg-green" @click="modal2.showModal = false">
<button class="btn btn-create" @click="modal2.showModal = false">
{{ $t('action.save')}}</button>
</template>
</modal>

View File

@ -77,9 +77,9 @@
</template>
<template v-slot:footer>
<button class="btn bg-green"
<button class="btn btn-create"
@click.prevent="$emit('addNewPersons', { selected, modal })">
<i class="fa fa-plus fa-fw"></i>{{ $t('action.add')}}
{{ $t('action.add')}}
</button>
</template>