mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
68 lines
1.5 KiB
Vue
68 lines
1.5 KiB
Vue
<template>
|
|
<div class="empty-message">
|
|
<div class="message">
|
|
<eye-off-icon v-if="icon === 'eye-off'" size="36" class="icon"></eye-off-icon>
|
|
<p>{{ message }}</p>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { EyeOffIcon } from 'vue-feather-icons'
|
|
|
|
export default {
|
|
name: 'EmptyMessage',
|
|
props: ['icon', 'message'],
|
|
components: {
|
|
EyeOffIcon
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
@import '@assets/vue-file-manager/_variables';
|
|
@import '@assets/vue-file-manager/_mixins';
|
|
|
|
.empty-message {
|
|
text-align: center;
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
|
|
.message {
|
|
margin: 0 auto;
|
|
|
|
p {
|
|
margin-top: 10px;
|
|
max-width: 130px;
|
|
@include font-size(13);
|
|
font-weight: 500;
|
|
color: $text-muted;
|
|
}
|
|
|
|
.icon {
|
|
path, line, polyline, rect, circle {
|
|
stroke: $text;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.empty-message {
|
|
|
|
.message {
|
|
.icon {
|
|
path, line, polyline, rect, circle {
|
|
stroke: $dark_mode_text_secondary;
|
|
}
|
|
}
|
|
|
|
p {
|
|
color: $dark_mode_text_secondary;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</style>
|