Redesign NAS file manager to match admin dark theme
- Published package views to resources/views/vendor/nas-file-manager/ - Rewrote file-manager.blade.php using admin CSS variables (--bg, --bg-card, --border, --text, --brand, etc.) and Bootstrap Icons instead of Tailwind/SVGs - Replaced accordion wrapper with flat tab bar matching .adm-* tab pattern - Dialogs use --bg-card2, --border-light, and .adm-btn classes - Removed Tailwind CDN and brand color overrides from nas-storage.blade.php Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
8a00bcecac
commit
615e7efd7c
2 files changed
+704
-25
No files matched your search
@@ -2,12 +2,6 @@
|
||||
|
||||
@section('title', 'NAS Storage')
|
||||
|
||||
@section('extra_styles')
|
||||
<style>
|
||||
.nas-wrapper * { box-sizing: border-box; }
|
||||
</style>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<div class="adm-page-header">
|
||||
<h1 class="adm-page-title">
|
||||
@@ -15,7 +9,7 @@
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="nas-wrapper">
|
||||
<div class="adm-card">
|
||||
@include('nas-file-manager::file-manager', [
|
||||
'nodes' => $nodes,
|
||||
'canEdit' => true,
|
||||
@@ -26,22 +20,4 @@
|
||||
|
||||
@section('scripts')
|
||||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js" defer></script>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
brand: {
|
||||
50: 'rgba(230,30,30,.08)',
|
||||
500: '#e61e1e',
|
||||
600: '#e61e1e',
|
||||
700: '#c91a1a',
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
corePlugins: { preflight: false }
|
||||
}
|
||||
</script>
|
||||
@endsection
|
||||
Reference in new issue
Block a user