mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
added spinner into dashboard AlertBox.vue
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<button class="button-base" :class="buttonStyle" type="button">
|
||||
<div v-if="loading" class="icon">
|
||||
<refresh-cw-icon size="16" class="sync-alt" />
|
||||
<refresh-cw-icon size="16" class="animate-spin" />
|
||||
</div>
|
||||
<div class="content">
|
||||
<slot v-if="!loading"></slot>
|
||||
@@ -93,19 +93,6 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.sync-alt {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.dark {
|
||||
.button-base {
|
||||
&.secondary {
|
||||
|
||||
Reference in New Issue
Block a user