From 1f96cce839b7d3caa753e2667a0e012845f5b57e Mon Sep 17 00:00:00 2001 From: stephan Date: Thu, 9 Jul 2026 11:40:11 -0400 Subject: [PATCH] Update CSS styles for bib tool, enhance JavaScript tippy configuration, and increment version code to 4.72.778 This commit modifies the CSS to change overflow properties for menu items and adds new styles for help button text visibility. The JavaScript is updated to include z-index and appendTo properties for tippy tooltips, improving their display. The version code is incremented to 4.72.778 to reflect these changes. --- css/style.css | 9 ++++++++- js/v2/bib-assignments.js | 8 ++++++-- php/inc_fx_promoteur.php | 2 +- php/inc_settings.php | 2 +- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/css/style.css b/css/style.css index 0de24fe..5d3df9a 100644 --- a/css/style.css +++ b/css/style.css @@ -1109,7 +1109,7 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active { text-align:left; cursor:pointer; user-select:none; - overflow:hidden; + overflow:visible; transition:background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; } @@ -2004,6 +2004,12 @@ ul.ms1-menu-compte li a:hover, ul.ms1-menu-compte li a:active { font-weight:700; line-height:1; cursor:pointer; + overflow:visible; +} + +.btn-aide-bib .bib-aide-text, +.bib-aide-trigger .bib-aide-text{ + display:none !important; } .btn-aide-bib:hover, @@ -2199,6 +2205,7 @@ a.ms1-trad-link.btn-aide-trad{ } .tippy-box[data-theme~='ms1-bib']{ + z-index:10050; background-color:#1e293b; color:#f8fafc; font-size:12px; diff --git a/js/v2/bib-assignments.js b/js/v2/bib-assignments.js index 0859788..0fe66b1 100644 --- a/js/v2/bib-assignments.js +++ b/js/v2/bib-assignments.js @@ -1292,7 +1292,9 @@ animation: 'fade', allowHTML: false, maxWidth: 280, - interactive: false + interactive: false, + appendTo: function () { return document.body; }, + zIndex: 10050 }); tippy(scope.querySelectorAll('.bib-aide-trigger'), { @@ -1301,7 +1303,9 @@ allowHTML: true, maxWidth: 420, interactive: true, - content: bibTippyAideContent + content: bibTippyAideContent, + appendTo: function () { return document.body; }, + zIndex: 10050 }); } diff --git a/php/inc_fx_promoteur.php b/php/inc_fx_promoteur.php index d6ab328..abda809 100644 --- a/php/inc_fx_promoteur.php +++ b/php/inc_fx_promoteur.php @@ -4509,7 +4509,7 @@ function renderBibToolNav($int_eve_id, $tabEpreuves, $strLangue = 'fr') { = 2) { - echo renderBibToolNavBtn('global_batch', 'bib_v4_global_batch_title', '', true, 'bib_v4_global_batch_doc'); + echo renderBibToolNavBtn('global_batch', 'bib_v4_global_batch_title', '', false, 'bib_v4_global_batch_doc'); } ?>
diff --git a/php/inc_settings.php b/php/inc_settings.php index bd03d4c..183a2d4 100644 --- a/php/inc_settings.php +++ b/php/inc_settings.php @@ -7,7 +7,7 @@ * Constantes * * **************/ -define('_VERSION_CODE', '4.72.777'); +define('_VERSION_CODE', '4.72.778'); define('_DATE_CODE', '2026-07-09'); //MSIN-4290 define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');