- Added `barryvdh/laravel-dompdf` to `composer.json` for PDF generation capabilities. - Updated `boost.json` to include `tailwindcss-development` in skills. - Modified `package.json` and `package-lock.json` to upgrade Tailwind CSS and related packages. - Improved README.md for clarity and corrected French language errors. - Created design system documentation for Filament components. - Added new Filament pages for Dashboard and Documentation with dynamic content loading. - Enhanced TablesExplorer functionality with improved table and column management.
192 lines
4.3 KiB
CSS
192 lines
4.3 KiB
CSS
@import '../../../../vendor/filament/filament/resources/css/theme.css';
|
|
|
|
@plugin "@tailwindcss/typography";
|
|
|
|
@source '../../../../app/Filament/**/*';
|
|
@source '../../../../resources/views/filament/**/*';
|
|
@source '../../../../resources/views/components/logistics/**/*';
|
|
|
|
/* --- Documentation prose overrides (dark mode Filament) --- */
|
|
|
|
.documentation-prose {
|
|
--tw-prose-body: theme(--color-gray-300);
|
|
--tw-prose-headings: theme(--color-white);
|
|
--tw-prose-links: theme(--color-blue-400);
|
|
--tw-prose-bold: theme(--color-white);
|
|
--tw-prose-code: theme(--color-blue-300);
|
|
--tw-prose-hr: theme(--color-white/10);
|
|
--tw-prose-th-borders: theme(--color-white/10);
|
|
--tw-prose-td-borders: theme(--color-white/5);
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.documentation-prose h1 {
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
padding-bottom: 0.75rem;
|
|
border-bottom: 1px solid oklch(from white l c h / 0.1);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.documentation-prose h2 {
|
|
font-size: 1.35rem;
|
|
font-weight: 600;
|
|
letter-spacing: -0.015em;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 1px solid oklch(from white l c h / 0.07);
|
|
margin-top: 2.5rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.documentation-prose h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
margin-top: 2rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.documentation-prose h4 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-top: 1.5rem;
|
|
margin-bottom: 0.5rem;
|
|
color: oklch(from white l c h / 0.85);
|
|
}
|
|
|
|
.documentation-prose hr {
|
|
border-color: oklch(from white l c h / 0.1);
|
|
margin-top: 2rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.documentation-prose a {
|
|
color: oklch(0.7 0.15 250);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.documentation-prose a:hover {
|
|
color: oklch(0.8 0.15 250);
|
|
}
|
|
|
|
/* --- Tables --- */
|
|
|
|
.documentation-prose table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: 0.8125rem;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
border: 1px solid oklch(from white l c h / 0.1);
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.documentation-prose thead {
|
|
background: oklch(from white l c h / 0.05);
|
|
}
|
|
|
|
.documentation-prose thead tr {
|
|
border-bottom: 1px solid oklch(from white l c h / 0.1);
|
|
}
|
|
|
|
.documentation-prose th {
|
|
padding: 0.625rem 0.75rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: oklch(from white l c h / 0.6);
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.documentation-prose td {
|
|
padding: 0.5rem 0.75rem;
|
|
color: oklch(from white l c h / 0.75);
|
|
vertical-align: top;
|
|
border-top: 1px solid oklch(from white l c h / 0.05);
|
|
}
|
|
|
|
.documentation-prose tbody tr:hover {
|
|
background: oklch(from white l c h / 0.03);
|
|
}
|
|
|
|
/* --- Code blocks --- */
|
|
|
|
.documentation-prose pre {
|
|
background: oklch(0.15 0.005 260);
|
|
border: 1px solid oklch(from white l c h / 0.1);
|
|
border-radius: 0.5rem;
|
|
padding: 1rem 1.25rem;
|
|
overflow-x: auto;
|
|
font-size: 0.8125rem;
|
|
line-height: 1.6;
|
|
margin-top: 0.75rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.documentation-prose pre code {
|
|
background: transparent;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
font-size: inherit;
|
|
color: oklch(0.75 0.05 200);
|
|
}
|
|
|
|
.documentation-prose :not(pre) > code {
|
|
background: oklch(from white l c h / 0.08);
|
|
border: 1px solid oklch(from white l c h / 0.1);
|
|
border-radius: 0.25rem;
|
|
padding: 0.125rem 0.375rem;
|
|
font-size: 0.8125em;
|
|
color: oklch(0.78 0.1 250);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* --- Lists --- */
|
|
|
|
.documentation-prose ol {
|
|
list-style-type: decimal;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.documentation-prose ul {
|
|
list-style-type: disc;
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.documentation-prose li {
|
|
margin-top: 0.25rem;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.documentation-prose li::marker {
|
|
color: oklch(from white l c h / 0.4);
|
|
}
|
|
|
|
/* --- Blockquotes --- */
|
|
|
|
.documentation-prose blockquote {
|
|
border-left: 3px solid oklch(0.6 0.15 250);
|
|
padding-left: 1rem;
|
|
color: oklch(from white l c h / 0.7);
|
|
font-style: italic;
|
|
}
|
|
|
|
/* --- Strong / Bold --- */
|
|
|
|
.documentation-prose strong {
|
|
color: oklch(from white l c h / 0.95);
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* --- Paragraphs --- */
|
|
|
|
.documentation-prose p {
|
|
margin-top: 0.5rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|