From 1322511cfd891f494e24423dd007862b2f25f44a Mon Sep 17 00:00:00 2001 From: stephan Date: Wed, 8 Jul 2026 09:46:44 -0400 Subject: [PATCH] Refactor identity header styles and update version code to 4.72.745 This commit refines the CSS for the identity header, adjusting alignment, padding, and gap properties for better layout and user interaction. The toolbar is restructured to enhance the visual hierarchy, and the version code is incremented to reflect these updates. --- css/style.css | 33 +++++++++++++++++++++------------ php/inc_fx_promoteur.php | 18 +++++++++--------- php/inc_settings.php | 2 +- 3 files changed, 31 insertions(+), 22 deletions(-) diff --git a/css/style.css b/css/style.css index d7dfa74..8cc427c 100644 --- a/css/style.css +++ b/css/style.css @@ -1196,29 +1196,38 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active { display:flex; flex-direction:column; align-items:stretch; - gap:6px; + gap:4px; flex-shrink:0; + padding:8px; } -/* MSIN-4436 — œil en haut de la colonne identité (hauteur minimale quand panneaux fermés). */ -.epr-identity-toolbar{ +/* MSIN-4436 — œil aligné en haut à droite du titre (sans ligne dédiée). */ +.epr-identity-head{ display:flex; - justify-content:flex-end; - margin:-2px 0 0; + align-items:flex-start; + justify-content:space-between; + gap:6px; } -.epr-header--epr-identity .btn-view-range{ +.epr-identity-head .epr-epr-title{ + flex:1 1 auto; + min-width:0; +} + +.epr-identity-head .btn-view-range{ + flex:0 0 auto; + align-self:flex-start; width:auto; - min-width:32px; - padding:3px 8px; + min-width:28px; + padding:2px 6px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.55); color:#fff; - line-height:1.2; + line-height:1.1; } -.epr-header--epr-identity .btn-view-range:hover, -.epr-header--epr-identity .btn-view-range:focus{ +.epr-identity-head .btn-view-range:hover, +.epr-identity-head .btn-view-range:focus{ background:rgba(255,255,255,.32); border-color:#fff; color:#fff; @@ -1227,7 +1236,7 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active { .epr-header--epr-identity .epr-header-summaries{ flex-direction:column; align-items:stretch; - gap:4px; + gap:3px; width:100%; } diff --git a/php/inc_fx_promoteur.php b/php/inc_fx_promoteur.php index 69ceb05..b177f95 100644 --- a/php/inc_fx_promoteur.php +++ b/php/inc_fx_promoteur.php @@ -3475,15 +3475,8 @@ function renderBibEpreuveIdentityHeader($tabEpreuve, $infoBib, $strLangue = 'fr' ob_start(); ?>
-
- -
-
+
+
@@ -3493,6 +3486,13 @@ function renderBibEpreuveIdentityHeader($tabEpreuve, $infoBib, $strLangue = 'fr' +
+
diff --git a/php/inc_settings.php b/php/inc_settings.php index cdf9c48..01f1608 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -7,7 +7,7 @@ * Constantes * * **************/ -define('_VERSION_CODE', '4.72.744'); +define('_VERSION_CODE', '4.72.745'); define('_DATE_CODE', '2026-07-08'); //MSIN-4290 define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');