mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-06 02:33:48 +00:00
# Conflicts: # app/FileManagerFolder.php # app/Http/Controllers/AppFunctionsController.php # app/Http/Controllers/Auth/AuthController.php # app/Http/Controllers/FileManager/BrowseController.php # app/Http/Controllers/General/SetupWizardController.php # app/Http/Controllers/General/UpgradeAppController.php # app/Http/Controllers/Sharing/FileSharingController.php # app/Http/helpers.php # app/Setting.php # composer.lock # public/mix-manifest.json # resources/js/App.vue # resources/js/components/Others/Forms/FormLabel.vue # resources/js/store/modules/app.js # resources/js/views/Admin.vue # resources/js/views/Mobile/AdminMobileMenu.vue # resources/js/views/Shared/SharedPage.vue # resources/views/index.blade.php # resources/views/vuefilemanager/crawler/og-view.blade.php # resources/views/vuefilemanager/invoice.blade.php # routes/api.php # routes/web.php
57 lines
1.1 KiB
Vue
57 lines
1.1 KiB
Vue
<template>
|
|
<div class="form-label">
|
|
<edit-2-icon v-if="!icon" size="22" class="icon text-theme" />
|
|
<settings-icon v-if="icon === 'settings'" size="22" class="icon text-theme" />
|
|
<b class="label">
|
|
<slot></slot>
|
|
</b>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { Edit2Icon, SettingsIcon } from 'vue-feather-icons'
|
|
|
|
export default {
|
|
name: 'FormLabel',
|
|
props: ['icon'],
|
|
components: {
|
|
Edit2Icon,
|
|
SettingsIcon
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
@import '@assets/vuefilemanager/_variables';
|
|
@import '@assets/vuefilemanager/_mixins';
|
|
|
|
.form-label {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
|
|
.icon {
|
|
margin-right: 10px;
|
|
|
|
path, circle {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
.label {
|
|
@include font-size(18);
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.form-label {
|
|
|
|
.label {
|
|
color: $dark_mode_text_primary;
|
|
}
|
|
}
|
|
}
|
|
|
|
</style>
|