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.
This commit is contained in:
2026-07-08 09:46:44 -04:00
parent ed3ca4e6ea
commit 1322511cfd
3 changed files with 31 additions and 22 deletions

View File

@ -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%;
}

View File

@ -3475,15 +3475,8 @@ function renderBibEpreuveIdentityHeader($tabEpreuve, $infoBib, $strLangue = 'fr'
ob_start();
?>
<div class="epr-header epr-header--epr-identity">
<div class="epr-identity-toolbar">
<button type="button"
class="btn btn-sm btn-light btn-view-range"
data-epr-id="<?php echo $intEprId; ?>"
data-range-id="0"<?php echo fxBibAideTippyAttr('bib_v4_col_view'); ?>>
<i class="fa fa-eye" aria-hidden="true"></i>
</button>
</div>
<div class="epr-epr-title">
<div class="epr-identity-head">
<div class="epr-epr-title">
<?php if ($strCat !== '') { ?>
<span class="epr-epr-title-line epr-epr-title-line--cat"><?php echo fxBibEsc($strCat); ?></span>
<?php } ?>
@ -3493,6 +3486,13 @@ function renderBibEpreuveIdentityHeader($tabEpreuve, $infoBib, $strLangue = 'fr'
<?php if ($strNom !== '') { ?>
<span class="epr-epr-title-line epr-epr-title-line--nom"><?php echo fxBibEsc($strNom); ?></span>
<?php } ?>
</div>
<button type="button"
class="btn btn-sm btn-light btn-view-range"
data-epr-id="<?php echo $intEprId; ?>"
data-range-id="0"<?php echo fxBibAideTippyAttr('bib_v4_col_view'); ?>>
<i class="fa fa-eye" aria-hidden="true"></i>
</button>
</div>
<span class="epr-header-summaries epr-header-summaries--stacked">
<?php echo fxBibEpreuveHeaderSummaries($tabEpreuve, $infoBib); ?>

View File

@ -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');