From 199b315bc27821ec1b83aaea802c294c708413b0 Mon Sep 17 00:00:00 2001 From: Allison Date: Wed, 29 Apr 2026 10:22:57 -0400 Subject: [PATCH] =?UTF-8?q?fix(marketing):=20phone=20container=20width=20s?= =?UTF-8?q?table=20+=20palette=20brand=20canonique=20(b1/b2/b3)=20sur=20Co?= =?UTF-8?q?mment=20=C3=A7a=20marche?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Phone shell hauteur/largeur FIXES (280×580px) — bezel ne reflow plus selon le mode actif. Zone TOP 96px / MIDDLE 374px overflow:hidden / BOTTOM 90px. Chaque mode a maintenant w-full h-full overflow-hidden. - Modes 1/2/3/6/0 : scroll interne invisible (.dictia-mode-scroll + fade gradient bottom .dictia-fade-bottom) pour contenu long. - Suppression mécanique des hex non-brand : #A78BFA, #22D3EE, #6B9FFF, #34D399, #F59E0B, #1E6FD9, #7C3AED, #5B21B6, #065F46, #1C3A5E, #D93E1E, #C4B5FD, #DDD6FE, etc. — remplacés par brand-b1 (#2563eb), brand-b2 (#06b6d4), brand-b3 (#c026d3) et leurs déclinaisons (#0891b2, #1d4ed8, #a21caf, #1e40af, #0e7490, #9333ea, #e879f9). - FEATURES / CONVO / LANG_COLORS / USER_COLORS / FILE_TYPES réalignés sur palette officielle. Sophie=b2, Marc=b1, Julie=b3. - Status sémantiques conservés : #EF4444 (REC dot), #10b981 (online status / 7 FORMATS PRÊTS / LOCAL badge), #dc2626 (PDF file icon). - font-family:monospace inline → font-mono Tailwind (JetBrains Mono). - Mobile : phone reste à 280px fixe, scale 0.92 en dessous de 320px. - Eyebrow + connecting line gradient SVG en couleurs brand. Tests : 9/9 fonctionnalites passent. 2 échecs préexistants sur /conformite (SOC 2 hedge / AGPL section) sans rapport avec ce fix. Co-Authored-By: Claude Opus 4.7 (1M context) --- templates/marketing/fonctionnalites.html | 373 ++++++++++++----------- 1 file changed, 199 insertions(+), 174 deletions(-) diff --git a/templates/marketing/fonctionnalites.html b/templates/marketing/fonctionnalites.html index d7db458..7df6386 100644 --- a/templates/marketing/fonctionnalites.html +++ b/templates/marketing/fonctionnalites.html @@ -398,6 +398,20 @@ /* Hide scrollbar mobile pills */ .dictia-hide-scrollbar::-webkit-scrollbar { display: none; } + /* ============ INTERNAL SCROLL (modes content) — scrollbar invisible ============ */ + .dictia-mode-scroll { + overflow-y: auto; + scrollbar-width: none; + -ms-overflow-style: none; + } + .dictia-mode-scroll::-webkit-scrollbar { display: none; } + + /* Fade gradient bottom (suggest scroll continuation) */ + .dictia-fade-bottom { + mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%); + -webkit-mask-image: linear-gradient(to bottom, black 0%, black 85%, transparent 100%); + } + /* ============ MOBILE OPTIMIZATIONS ============ */ @media (max-width: 767px) { .dictia-statusbar, @@ -409,6 +423,12 @@ .dictia-bg-orbs, .dictia-bg-grid, .dictia-wave-bar { display: none !important; } + + /* Phone reste à largeur fixe — pas de stretch, scale léger si écran très étroit */ + .dictia-phone-wrap { width: 280px !important; max-width: 100% !important; } + } + @media (max-width: 320px) { + .dictia-phone-wrap { transform: scale(0.92); transform-origin: top center; } } @media (prefers-reduced-motion: reduce) { @@ -425,14 +445,14 @@ {# Decorative background : grid + floating orbs (desktop only) #}

+ style="background:linear-gradient(135deg, rgba(6,182,212,0.10), rgba(192,38,211,0.10)); border:1px solid rgba(192,38,211,0.18);">

+
- {# Phone shell (bezel, glow ring, drop shadow) #} -
+ {# Phone shell (bezel, glow ring, drop shadow) — LARGEUR/HAUTEUR FIXES pour stabilité du cadre #} +
{# External glow ring (pulse) #} -
+
{# Ambient color tint overlay #} {# Status bar mobile-style (9:41 + signals) #} -