Переход на иконки line-awesome
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div ref="header" class="header row justify-end" @mousedown.prevent.stop="onMouseDown"
|
||||
@touchstart.stop="onTouchStart" @touchend.stop="onTouchEnd" @touchmove.stop="onTouchMove">
|
||||
<span class="header-text col"><slot name="header"></slot></span>
|
||||
<span class="close-button row justify-center items-center" @mousedown.stop @click="close"><q-icon name="o_close" size="18px"/></span>
|
||||
<span class="close-button row justify-center items-center" @mousedown.stop @click="close"><q-icon name="la la-times" size="16px"/></span>
|
||||
</div>
|
||||
|
||||
<slot></slot>
|
||||
|
||||
@@ -15,7 +15,7 @@ export function notify(vue, opts) {
|
||||
color,
|
||||
textColor: iconColor,
|
||||
icon,
|
||||
actions: [{icon: 'o_close', color: 'black'}],
|
||||
actions: [{icon: 'la la-times', color: 'black'}],
|
||||
html: true,
|
||||
|
||||
message:
|
||||
@@ -27,13 +27,13 @@ export function notify(vue, opts) {
|
||||
}
|
||||
|
||||
export function success(vue, message, caption) {
|
||||
notify(vue, {color: 'positive', icon: 'o_check_circle', message, caption});
|
||||
notify(vue, {color: 'positive', icon: 'la la-check-circle', message, caption});
|
||||
}
|
||||
|
||||
export function error(vue, message, caption) {
|
||||
notify(vue, {color: 'negative', icon: 'o_error_outline', messageColor: 'yellow', message, caption});
|
||||
notify(vue, {color: 'negative', icon: 'la la-exclamation-circle', messageColor: 'yellow', message, caption});
|
||||
}
|
||||
|
||||
export function info(vue, message, caption) {
|
||||
notify(vue, {color: 'info', icon: 'o_notifications', message, caption});
|
||||
notify(vue, {color: 'info', icon: 'la la-bell', message, caption});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user