mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[style] fix confirmation modals styling
This commit is contained in:
parent
0ef9708643
commit
e102da4503
1 changed files with 4 additions and 6 deletions
|
@ -17,12 +17,7 @@ Vue.config.productionTip = false
|
||||||
Vue.use(BootstrapVue, {
|
Vue.use(BootstrapVue, {
|
||||||
BSkeleton: { animation: 'none' },
|
BSkeleton: { animation: 'none' },
|
||||||
BAlert: { show: true },
|
BAlert: { show: true },
|
||||||
BBadge: { pill: true },
|
BBadge: { pill: true }
|
||||||
BModal: {
|
|
||||||
bodyBgVariant: 'warning',
|
|
||||||
centered: true,
|
|
||||||
bodyClass: ['font-weight-bold', 'rounded-top']
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
Vue.use(VueShowdown, {
|
Vue.use(VueShowdown, {
|
||||||
|
@ -37,6 +32,9 @@ Vue.prototype.$askConfirmation = function (message, props) {
|
||||||
return this.$bvModal.msgBoxConfirm(message, {
|
return this.$bvModal.msgBoxConfirm(message, {
|
||||||
okTitle: this.$i18n.t('ok'),
|
okTitle: this.$i18n.t('ok'),
|
||||||
cancelTitle: this.$i18n.t('cancel'),
|
cancelTitle: this.$i18n.t('cancel'),
|
||||||
|
bodyBgVariant: 'warning',
|
||||||
|
centered: true,
|
||||||
|
bodyClass: ['font-weight-bold', 'rounded-top', store.state.theme ? 'text-white' : 'text-black'],
|
||||||
...props
|
...props
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue