Updates sidebar on dashboard

This commit is contained in:
Nithin David
2020-02-11 19:21:55 +05:30
parent 30f4c08143
commit 6186d14593
20 changed files with 394 additions and 112 deletions

View File

@@ -1,7 +1,16 @@
<template>
<span class="spinner small"></span>
<span class="spinner" :class="size"></span>
</template>
<script>
export default {
props: {
size: {
type: String,
default: 'small',
},
},
};
</script>
<style scoped lang="scss">
@import '~widget/assets/scss/variables';
@@ -39,7 +48,7 @@
vertical-align: middle;
&.message {
padding: $space-normal;
padding: $space-one;
top: 0;
left: 0;
margin: 0 auto;
@@ -63,5 +72,17 @@
margin-top: -$space-small;
}
}
&.tiny {
width: $space-one;
height: $space-one;
padding: 0 $space-smaller;
&:before {
width: $space-one;
height: $space-one;
margin-top: -$space-small + $space-micro;
}
}
}
</style>