Update CSS styles for grid layout and button design; increment version code
This commit modifies the CSS to adjust grid column widths for better alignment and updates the button styles for improved visual consistency. The version code is incremented to 4.72.660, reflecting these changes. These updates enhance the user interface by providing a more organized layout and refined button aesthetics.
This commit is contained in:
32
.cursor/rules/css-js-version-bump.mdc
Normal file
32
.cursor/rules/css-js-version-bump.mdc
Normal file
@ -0,0 +1,32 @@
|
||||
---
|
||||
description: Incrémenter _VERSION_CODE après modification CSS/JS servis par Minify
|
||||
globs: css/**/*.css,js/**/*.js,min/groupsConfig.php,inc_footer_scripts.php,inc_header.php
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Cache busting CSS / JS (MS1 inscription)
|
||||
|
||||
Les feuilles de style et scripts du site public passent par Minify :
|
||||
|
||||
- CSS : `/min/g=css&version=v{_VERSION_CODE}` (`inc_header.php`)
|
||||
- JS : `/min/index.php?g=js&version=v{_VERSION_CODE}`
|
||||
|
||||
`_VERSION_CODE` est défini dans **`php/inc_settings.php`** (environnement local/dev).
|
||||
|
||||
## Obligation
|
||||
|
||||
Après **toute modification** d’un fichier inclus dans `min/groupsConfig.php` (ex. `css/style.css`, `css/ms1-doc.css`, JS du groupe `js`) **ou** d’un asset chargé avec `?version=v{_VERSION_CODE}` :
|
||||
|
||||
1. Incrémenter le **dernier segment** de `_VERSION_CODE` dans `php/inc_settings.php`
|
||||
Ex. `4.72.659` → `4.72.660`
|
||||
2. Mettre à jour `_DATE_CODE` à la date du jour (YYYY-MM-DD).
|
||||
|
||||
Ne pas oublier cette étape dans le même changement que le CSS/JS — sinon le navigateur garde l’ancien bundle en cache.
|
||||
|
||||
## Vérification rapide
|
||||
|
||||
Le pied de page affiche : `code (v{_VERSION_CODE})` — utile pour confirmer que la nouvelle version est déployée.
|
||||
|
||||
## Autres environnements
|
||||
|
||||
Fichiers séparés si déploiement ciblé : `php/inc_settingsprod.php`, `inc_settings_baloo.php`, etc. En dev local, c’est **`php/inc_settings.php`** qui compte.
|
||||
@ -1817,7 +1817,7 @@ a.ms1-trad-link.btn-aide-trad{
|
||||
.epr-line{
|
||||
display:grid;
|
||||
grid-template-columns:
|
||||
32px
|
||||
40px
|
||||
40px
|
||||
58px
|
||||
58px
|
||||
@ -1833,7 +1833,7 @@ a.ms1-trad-link.btn-aide-trad{
|
||||
|
||||
.bib-container.batch-mode .epr-line{
|
||||
grid-template-columns:
|
||||
32px
|
||||
40px
|
||||
40px
|
||||
58px
|
||||
58px
|
||||
@ -1852,10 +1852,17 @@ a.ms1-trad-link.btn-aide-trad{
|
||||
|
||||
.btn-bib-lock{
|
||||
width:100%;
|
||||
padding-left:0;
|
||||
padding-right:0;
|
||||
min-height:31px;
|
||||
padding:4px 0;
|
||||
border-width:1px;
|
||||
border-style:solid;
|
||||
font-size:15px;
|
||||
line-height:1;
|
||||
}
|
||||
|
||||
.btn-bib-lock .fa{
|
||||
font-size:15px;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
.btn-bib-lock--open{
|
||||
|
||||
@ -7,8 +7,8 @@
|
||||
* Constantes *
|
||||
*
|
||||
**************/
|
||||
define('_VERSION_CODE', '4.72.659');
|
||||
define('_DATE_CODE', '2026-06-17');
|
||||
define('_VERSION_CODE', '4.72.660');
|
||||
define('_DATE_CODE', '2026-06-18');
|
||||
//MSIN-4290
|
||||
define('QR_SECRET_KEY', 'ms1_qr_2026_cle_secrete_longue_et_fixe');
|
||||
// Outil temporaire ms1_kc_set.php — modifier key_chain_http (lien /kc/{pk}/)
|
||||
|
||||
Reference in New Issue
Block a user