Add admin panel, Meilisearch buyer search, email redesign, and multiple features
Admin panel (/admin, ROLE_ROOT):
- Dashboard with CA HT Global/Commission cards and Meilisearch sync button
- Buyers page with search (Meilisearch), create form, pagination (KnpPaginator)
- Buyer actions: resend verification, force verify, reset password, delete
- Organizers page with tabs (pending/approved), approve/reject with emails
- Neo-brutalist design matching main site theme
- Vite admin entry point with dedicated SCSS
- CSP-compatible confirm dialogs via data-confirm attributes
Meilisearch integration:
- Auto-index buyers on email verification
- Remove from index on buyer deletion
- Manual sync button on dashboard
- Search bar on buyers page
- Add Meilisearch service to CI/SonarQube workflows
- Add MEILISEARCH env vars to .env.test
- Fix MeilisearchMessageHandler infinite loop: use request() directly instead
of service methods that re-dispatch messages
Email templates:
- Redesign base email template to neo-brutalist style (borders, shadows, yellow footer)
- Add E-Cosplay logo, "E-Ticket solution proposee par e-cosplay.fr"
- Add admin_reset_password, organizer_approved, organizer_rejected templates
Other:
- Install knplabs/knp-paginator-bundle
- Add ^/admin access_control for ROLE_ROOT in security.yaml
- Update site footer with E-Ticket branding
- 18 admin tests, updated MeilisearchMessageHandler tests
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 14:07:07 +01:00
|
|
|
@import "tailwindcss";
|
Add organizer pages, SEO breadcrumbs, Open Graph, homepage redesign, and infrastructure updates
- Add public organizers list page (/organisateurs) with neo-brutalist card grid, social icons, and logo display
- Add organizer detail page (/organisateur/{id}-{slug}) with company info, SIRET, email, address, social links, and events placeholder
- Add slug-based URLs with 301 redirect on wrong slug, getSlug() method on User entity
- Add "Voir les evenements" button on organizer cards linking to detail page
- Add JSON-LD BreadcrumbList to all 17 pages that were missing breadcrumbs (login, forgot_password, register_success, email_verified, legal/*, attestation/*, account/*)
- Add Open Graph meta tags (og:title, og:description, og:image, og:type, og:locale, og:site_name) in base.html.twig with automatic inheritance from title/description blocks
- Add og:image with organizer logo on detail page
- Update sitemap: add /organisateurs to sitemap-main, generate organizer detail URLs in sitemap-orgas with logo images
- Update navbar to highlight "Organisateurs" on detail pages
- Redesign homepage with hero section, marquee, stats counters, how-it-works, and CTA sections
- Add Tailwind v4 @source "../templates" directive to app.scss and admin.scss
- Migrate Flysystem from S3 to local storage (uploads/events, uploads/logos)
- Update Liip Imagine config with FormatExtensionResolver for webp conversion
- Add User entity social fields (website, facebook, instagram, twitter, tiktok), logo upload (Vich), __serialize/__unserialize for session safety
- Add account page settings tab with profile, logo upload, and social media for organizers
- Add Stripe Connect status display and sub-account management in account page
- Delete WebpExtensionSubscriber (replaced by FormatExtensionResolver)
- Add migration for social fields and logo columns
- Add deploy.yml chmod tasks for uploads directories
- Add HomeController tests (detail success, wrong slug redirect, 404 cases)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 10:44:31 +01:00
|
|
|
@source "../templates";
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Layout ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-body {
|
|
|
|
|
background: #fbfbfb;
|
|
|
|
|
color: #111827;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-header {
|
|
|
|
|
border-bottom: 4px solid #111827;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
box-shadow: 3px 3px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-main {
|
|
|
|
|
max-width: 70rem;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding: 2rem 1rem;
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Nav ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-nav-active {
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
box-shadow: 2px 2px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-nav-link {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-nav-dark {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
background: #111827;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Cards ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-card {
|
|
|
|
|
border: 4px solid #111827;
|
|
|
|
|
box-shadow: 6px 6px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: white;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-card-yellow {
|
|
|
|
|
border: 4px solid #111827;
|
|
|
|
|
box-shadow: 6px 6px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-card-reject {
|
|
|
|
|
border: 4px solid #991b1b;
|
|
|
|
|
box-shadow: 6px 6px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: white;
|
|
|
|
|
padding: 1.5rem;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Stats ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-stat-label {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Tables ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table thead tr {
|
|
|
|
|
background: #111827;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table thead th {
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table thead th.text-center {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table thead th.text-right {
|
|
|
|
|
text-align: right;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table tbody tr {
|
|
|
|
|
border-bottom: 1px solid #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-table tbody td {
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Detail Tables ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-detail-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-detail-table thead tr {
|
|
|
|
|
border-bottom: 2px solid #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-detail-table thead th {
|
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-detail-table tbody tr {
|
|
|
|
|
border-bottom: 1px solid #e5e7eb;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-detail-table tbody tr:last-child {
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-detail-table tbody td {
|
|
|
|
|
padding: 0.5rem 0;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Forms ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-form-label {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
display: block;
|
|
|
|
|
margin-bottom: 0.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-label-lg {
|
|
|
|
|
font-size: 10px;
|
|
|
|
|
letter-spacing: 0.1em;
|
|
|
|
|
display: block;
|
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-input-lg {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-select {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
outline: none;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-textarea {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0.75rem 1rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
outline: none;
|
|
|
|
|
resize: vertical;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-form-checkbox {
|
|
|
|
|
width: 1.25rem;
|
|
|
|
|
height: 1.25rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Buttons ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-btn {
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
box-shadow: 4px 4px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-sm {
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-sm-yellow {
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-sm-white {
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
background: white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-sm-danger {
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
border: 2px solid #991b1b;
|
|
|
|
|
background: #dc2626;
|
|
|
|
|
color: white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-danger {
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: 3px solid #991b1b;
|
|
|
|
|
box-shadow: 4px 4px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: #dc2626;
|
|
|
|
|
color: white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-outline {
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
background: white;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-search {
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-clear {
|
|
|
|
|
padding: 0.5rem 1rem;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
background: white;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-lg {
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
box-shadow: 4px 4px 0 rgb(0 0 0 / 100%);
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-btn-lg-outline {
|
|
|
|
|
padding: 0.75rem 1.5rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Badges ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-badge-green {
|
|
|
|
|
background: #d1fae5;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-red {
|
|
|
|
|
background: #fee2e2;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-blue {
|
|
|
|
|
background: #dbeafe;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-yellow {
|
|
|
|
|
background: #fef3c7;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.75rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-indigo {
|
|
|
|
|
background: #e0e7ff;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-badge-indigo-lg {
|
|
|
|
|
background: #e0e7ff;
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.75rem;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Tabs ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-tab {
|
|
|
|
|
flex: 1;
|
|
|
|
|
text-align: center;
|
|
|
|
|
padding: 0.75rem;
|
|
|
|
|
border: 3px solid #111827;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-tab-active {
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-tab-inactive {
|
|
|
|
|
background: white;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-tab-first {
|
|
|
|
|
border-right: none;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Pagination ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-page-active {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.admin-page-link {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.4rem 0.75rem;
|
|
|
|
|
background: white;
|
|
|
|
|
}
|
Migrate all remaining inline styles to CSS classes for CSP compliance
- Remove ALL inline style= attributes from 22 templates (except email/pdf)
- Add admin CSS classes in admin.scss (admin-card, admin-table, admin-btn, admin-badge, admin-tab, admin-form, admin-nav, admin-pagination)
- Add .bg-instagram, .detail-table, .section-header to app.scss
- Templates migrated: base, account/index, account/edit_subaccount, security/register, security/change_password, home/tarifs, home/index, all 7 legal pages, all 8 admin pages
- Total: ~1000 inline style= replaced with CSS classes and Tailwind utilities
- Fixes Content Security Policy violations blocking inline styles in production
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 15:38:02 +01:00
|
|
|
|
|
|
|
|
/* ===== Admin Download Link ===== */
|
2026-03-20 16:18:45 +01:00
|
|
|
|
|
|
|
|
.admin-download {
|
|
|
|
|
border: 2px solid #111827;
|
|
|
|
|
padding: 0.15rem 0.5rem;
|
|
|
|
|
background: #fabf04;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|