/* =================================================================== * STYLE GLOBAL & GRAPHIQUE SIGMA * =================================================================== */ #sigma-container { width: 100%; height: 600px; /* Un peu plus de hauteur pour un meilleur confort */ border: 1px solid var(--bs-border-color); /* Variable Bootstrap */ margin-top: 1rem; border-radius: var(--bs-border-radius); /* Variable Bootstrap */ background-color: var(--bs-light-bg-subtle); /* Fond légèrement teinté */ } /* =================================================================== * STYLE DES CARTES "HIGHLIGHTS" * =================================================================== */ /* Applique une hauteur de 100% aux cartes dans les colonnes pour un alignement parfait */ .genealogy-column .card { height: 100%; } /* Style spécifique pour la carte centrale du modèle recherché */ .card-searched { border: 2px solid var(--bs-primary); /* Bordure primaire de Bootstrap */ box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Ombre plus prononcée */ background-color: var(--bs-light); /* Fond clair Bootstrap */ } /* =================================================================== * STYLE DES TABLES (DATATABLES) * =================================================================== */ /* Permet au texte de revenir à la ligne naturellement */ #descendance-table th, #descendance-table td, #ascendance-table th, #ascendance-table td { white-space: normal; /* <-- La correction clé ! */ word-wrap: break-word; /* Force le retour à la ligne des mots longs */ vertical-align: middle; /* Garde le centrage vertical */ } /* On peut donner une largeur minimale aux colonnes pour garder une bonne structure */ #descendance-table th, #ascendance-table th { min-width: 120px; /* Ajustez cette valeur selon vos besoins */ } /* Cas spécifique pour les colonnes potentiellement longues comme le nom du modèle */ #descendance-table th:first-child, #ascendance-table th:first-child { min-width: 200px; } /* Empêche le texte de se couper dans les cellules, force le défilement horizontal */ #descendance-table th, #descendance-table td, #ascendance-table th, #ascendance-table td { white-space: nowrap; vertical-align: middle; /* Centrage vertical pour un look plus propre */ } /* Personnalisation de l'input de recherche de DataTables pour qu'il ressemble à un champ Bootstrap */ div.dataTables_wrapper div.dataTables_filter input { border: 1px solid var(--bs-border-color); border-radius: var(--bs-border-radius); padding: 0.375rem 0.75rem; margin-left: 0.5em; } /* Amélioration de la visibilité des flèches de tri de DataTables */ div.dataTables_wrapper .table thead th.sorting::before, div.dataTables_wrapper .table thead th.sorting::after { opacity: 0.4; color: var(--bs-body-color); } div.dataTables_wrapper .table thead th.sorting_asc::after, div.dataTables_wrapper .table thead th.sorting_desc::before { opacity: 1; color: var(--bs-primary); /* Couleur primaire de Bootstrap */ } div.dataTables_wrapper .table thead th.sorting_asc::before, div.dataTables_wrapper .table thead th.sorting_desc::after { opacity: 0.2; } /* =================================================================== * STYLE DES COMPOSANTS D'INTERFACE * =================================================================== */ /* NOTE: La plupart des classes de layout comme .search-controls-container, .depth-controls * ont été supprimées car la mise en page est maintenant gérée par la grille et * les utilitaires Flexbox de Bootstrap directement dans le HTML (row, col, d-flex, gap-3). */ /* Style pour la liste de suggestions de l'autocomplétion */ /* Le HTML utilise maintenant