|
-
- :root {
- --main-color: #2B99B4;
- --main-color-hover: #238a9f;
- --main-color-light: #3db3d1;
- --secondary-color: #27607F;
- --secondary-color-hover: #1f4d66;
- --secondary-color-light: #3a7a9e;
- --third-color: #243B5D;
- --third-color-hover: #1a2d47;
- --third-color-light: #2f4d75;
- --contrast: #F63E63;
- --contrast-hover: #e02851;
- --contrast-light: #f85979;
- --gray-primary: #6c757d;
- --gray-hover: #5a6268;
- --gray-light: #868e96;
- --gray-bg: #e9ecef;
- --yellow: #F5A623;
- --yellow-hover: #D68910;
- --font-size: 16px;
- --contrast-soft: #F48FB1;
- --contrast-soft-hover: #F06292;
- }
-
-
-
- html, body {
- font-family: 'Montserrat', Arial, sans-serif;
- height: 100%;
- width: 100%;
- margin: 0;
- padding: 0;
- overflow: hidden;
- }
-
- h1:focus {
- outline: none;
- }
-
- a, .btn-link {
- color: #0071c1;
- }
-
-
- .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
- box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
- }
-
- /* AJOUT GTO */
-
- .page-container {
- padding: 1.5rem;
- background-color: #f5f7fa;
- min-height: 100%;
- }
-
- .page-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 1.5rem;
- padding: 1.25rem;
- background-color: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0,0,0,0.08);
- }
-
- .page-title-section {
- display: flex;
- align-items: center;
- gap: 1rem;
- }
-
- .page-title {
- font-size: 1.5rem;
- font-weight: 600;
- color: #2c3e50;
- margin: 0;
- }
-
- .page-subtitle {
- font-size: 1.1rem;
- font-weight: 400;
- color: #6c757d;
- margin: 0.25rem 0 0 0;
- }
-
-
-
- /*login*/
- .login-background {
- background-image: url('/images/fond-login.jpg');
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- height: 50vh; /* plein écran */
- display: flex;
- align-items: baseline;
- justify-content: center;
- }
-
-
- .login-container {
- display: flex;
- flex-direction: row-reverse;
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100vw;
- height: 100vh;
- }
-
- .login-image {
- flex: 1;
- background-image: url('/images/fond-login.jpg');
- background-size: cover;
- background-position: center;
- background-repeat: no-repeat;
- }
-
- .login-form-section {
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- padding: 2rem;
- background: white;
- }
-
- .login-form-section h1 {
- margin-bottom: 0.5rem;
- color: #333;
- }
-
- .login-form-section p {
- margin-bottom: 2rem;
- text-align: center;
- color: #666;
- }
-
- .login-form-section h3 {
- margin-bottom: 1.5rem;
- color: #333;
- }
-
- /* Formulaire */
- .login-form {
- width: 100%;
- max-width: 350px;
- display: flex;
- flex-direction: column;
- gap: 1rem;
- }
-
- .form-input {
- padding: 0.75rem;
- border: 1px solid #ddd;
- border-radius: 4px;
- font-size: 1rem;
- width: 100%;
- box-sizing: border-box;
- }
-
- .form-input:focus {
- outline: none;
- border-color: #ffc107;
- }
-
-
- /* les boutons*/
- .btn {
- padding: 0.75rem;
- border: none;
- border-radius: 4px;
- font-size: 1rem;
- cursor: pointer;
- width: 100%;
- }
-
- .btn-close {
- border: none;
- font-size: 1.5rem;
- font-weight: 700;
- line-height: 1;
- color: #000;
- opacity: 0.5;
- padding: 0;
- cursor: pointer;
- }
-
- .btn-close:hover {
- opacity: 0.75;
- }
-
-
-
- .btn-action {
- display: inline-flex;
- align-items: center;
- gap: 0.5rem;
- padding: 0.2rem 0.7rem;
- border-radius: 8px;
- font-weight: 500;
- font-size: 0.9rem;
- transition: all 0.2s ease;
- border: none;
- cursor: pointer;
- white-space: nowrap;
- color: snow;
- }
-
- .btn-action:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 8px rgba(0,0,0,0.15);
- }
-
- .btn-action:active {
- transform: translateY(0);
- }
-
- .btn-action i {
- font-size: 1rem;
- }
-
-
-
- .btn-icon {
- display: inline-flex;
- align-items: center;
- justify-content: center;
- width: 36px;
- height: 36px;
- border-radius: 6px;
- border: none;
- cursor: pointer;
- transition: all 0.2s ease;
- font-size: 0.95rem;
- }
-
- .btn-icon:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 8px rgba(0,0,0,0.15);
- }
-
- .btn-icon:active {
- transform: translateY(0);
- }
-
-
-
- .btn-compact {
- display: flex;
- align-items: center;
- gap: 0.5rem;
- padding: 0.6rem 1.2rem;
- font-size: 0.95rem;
- max-width: 120px;
- }
-
- .btn-compact2 {
- width: 190px;
- }
- .btn-compact3 {
- width: 140px;
- }
-
-
- .btn-primary {
- background-color: var(--main-color);
- }
-
- .btn-primary:hover {
- background-color: var(--main-color-hover)
- }
-
- .btn-secondary {
- background-color: var(--gray-primary);
- }
-
- .btn-secondary:hover {
- background-color: var(--gray-hover);
- }
-
- .btn-tertiary {
- background-color: var(--third-color);
- color: ivory;
- }
-
- .btn-tertiary:hover {
- background-color: var(--third-color-hover);
- color: ivory;
- }
-
-
-
- .btn-warning {
- background-color: var(--yellow);
- color: #000;
- width:230px;
- font-weight: 500;
- }
-
- .btn-warning:hover {
- background-color: var(--yellow-hover);
- }
-
- .btn-view {
- background-color: var(--secondary-color);
- color: white;
- }
-
- .btn-view:hover {
- background-color: var(--secondary-color-hover);
- }
-
- .btn-edit {
- background-color: var(--yellow);
- color: #ffffff;
- }
-
- .btn-edit:hover {
- background-color: var(--yellow-hover);
- }
-
- .btn-delete {
- background-color: var(--contrast);
- color: white;
- }
-
- .btn-delete:hover {
- background-color: var(--contrast-hover);
- color: white;
- }
-
- .btn-danger {
- background-color: var(--contrast-soft);
- }
-
- .btn-danger:hover {
- background-color: var(--contrast-soft-hover);
- }
-
- .error-message {
- color: #dc3545;
- margin-top: 1rem;
- text-align: center;
- }
-
-
- .nocollapsible {
- cursor: auto;
- padding: 10px;
- background-color: #eaeaea;
- border: none;
- text-align: left;
- font-size: 14px;
- /*font-weight:bold;*/
- width: 100%;
- }
-
- .collapsible {
- cursor: pointer;
- padding: 10px;
- background-color: #eaeaea;
- border: none;
- text-align: left;
- font-size: 14px;
- font-weight: lighter;
- width: 100%;
- }
-
- .collapsible::before {
- content: "▶ ";
- }
-
- .collapsibleexpanded {
- cursor: pointer;
- padding: 10px;
- background-color: #eaeaea;
- border: none;
- text-align: left;
- font-size: 14px;
- font-weight: lighter;
- width: 100%;
- }
-
- .collapsibleexpanded::before {
- content: "▼ ";
- }
-
- .contentinfo {
- padding: 0px 0px;
- background-color: #f9f9f9;
- border-left: 3px solid #ccc;
- font-size: 11px;
- }
-
- .content {
- padding: 5px 5px;
- padding-top: 1.1rem;
- background-color: #f9f9f9;
- border-left: 3px solid #ccc;
- font-size: 14px;
- }
-
- .liste-utilisateurs {
- border: 1px solid #ccc;
- padding: 10px;
- }
-
- .item-utilisateur {
- padding: 5px;
- border-bottom: 1px solid #eee;
- }
-
- .filter-bool {
- min-width: 600px; /* ou plus selon besoin */
- }
-
- .modal-header-custom {
- display: grid;
- grid-template-columns: auto 1fr auto;
- align-items: center;
- gap: 10px;
- margin-bottom: 0.5rem;
- }
-
- .message-zone {
- text-align: center;
- }
-
- .display-message {
- font-weight: bold;
- white-space: nowrap;
- }
-
- .display-message-container {
- min-height: 40px; /* Pour éviter que les boutons ne masquent le texte */
- padding: 0 40px; /* Pour laisser de l'espace au texte entre les boutons */
- }
-
- .modal-custom-large {
- max-width: 100px;
- width: 100%;
- margin: auto;
- position: relative;
- top: 50%;
- transform: translateY(-50%);
- }
-
- body.modal-open {
- overflow: hidden;
- }
-
- .modal-backdrop {
- background-color: rgba(0, 0, 0, 0.5);
- }
-
- .modal-content {
- border-radius: 8px;
- border: none;
- box-shadow: 0 4px 12px rgba(0,0,0,0.15);
- overflow: hidden;
- }
-
- .modal-dialog {
- animation: modalSlideIn 0.3s ease-out;
- }
-
-
- .modal-content .btn-icon {
- width: 36px;
- height: 36px;
- color: white;
- }
-
- .modal-content .btn-icon:hover {
- background-color: #238a9f !important;
- }
-
- .modal-content .form-input:disabled,
- .modal-content .form-control:disabled {
- background-color: #f3f4f6;
- cursor: not-allowed;
- opacity: 0.7;
- }
-
-
- .access-section h6 {
- color: white;
- }
-
- .access-section summary {
- color: white;
- }
-
- .hover-cursor {
- cursor: pointer; /* s-resize; */ /* pointer;*/
- font-weight: bold;
- }
-
- .hover-cursor:hover {
- background-color: #f0f0f0;
- }
-
- table {
- font-size: 11px;
- }
-
- .table_standard {
- font-size: 12px;
- width: 100%; /* Le tableau occupe 100% de son conteneur */
- table-layout: fixed; /* Laisse le tableau adapter sa taille selon le contenu */
- word-wrap: break-word;
- }
-
- .table_standard th,
- .table_standard td {
- white-space: normal !important;
- overflow-wrap: break-word;
- }
-
- .table_collapse {
- font-size: 12px;
- width: 100%; /* Le tableau occupe 100% de son conteneur */
- table-layout: fixed; /* Force un layout fixe pour les colonnes */
- }
-
- /* Liste version "CARD" , partie Header */
- .card-custom-font-header {
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
- font-size: 14px;
- }
-
- /* Liste version "CARD" , partie Body */
- .card-custom-font-body {
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
- font-size: 10px;
- }
-
- /* Liste version "CARD" , partie Header + body (en cas de besoin) */
- .card-custom-font {
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
- font-size: 10px;
- }
-
- .th_td_standard {
- word-wrap: normal; /* Le texte se coupe et passe à la ligne si nécessaire */
- white-space: nowrap; /* Empêche les retours à la ligne automatiques */
- overflow: visible; /* Le texte s'adapte à la largeur sans troncature */
- }
-
- .th_td_collapse {
- /*width: 20%; */ /* Chaque colonne prendra 20% de la largeur totale du tableau */
- word-wrap: break-word; /* Permet au texte de se couper et d'aller à la ligne */
- white-space: normal; /* Autorise les retours à la ligne naturels */
- text-align: left; /* Aligne le texte à gauche pour une meilleure lisibilité */
- padding: 10px; /* Ajoute un espace autour du texte */
- overflow: hidden; /* Évite les débordements */
- box-sizing: border-box; /* Inclut le padding dans la largeur */
- }
-
- .th_td_col-10 {
- width: 10%;
- }
-
- .th_td_col-20 {
- width: 20%;
- }
-
- .th_td_col-30 {
- width: 30%;
- }
-
- .th_td_col-40 {
- width: 40%;
- }
-
- .th_td_col-50 {
- width: 50%;
- }
-
- th:hover {
- color: #007bff;
- }
-
- @media (max-width: 768px) {
- .th, .td {
- font-size: 14px;
- }
-
- .btn {
- font-size: 12px;
- }
-
- .input {
- width: 100%;
- }
- }
-
- .same-width {
- width: 100px;
- }
-
- button.btn-sm i {
- font-size: 16px; /* Taille des icônes */
- }
-
- button.btn-sm {
- padding: 5px; /* Réduit la taille des boutons */
- }
-
- .button-container button {
- margin-right: 10px; /* Ajoute un espace à droite de chaque bouton */
- }
-
- .button-container button:last-child {
- margin-right: 0; /* Supprime l'espace pour le dernier bouton */
- }
-
- .custom-dropdown {
- background-color: #1b6ec2; /* Fond clair */
- border: 1px solid #ccc; /* Bordure grise */
- border-radius: 5px; /* Bordure arrondie */
- }
-
- .dropdown-item:hover {
- background-color: #007bff; /* Fond bleu */
- border-radius: 5px; /* Bordure arrondie au survol */
- }
-
- .valid.modified:not([type=checkbox]) {
- outline: 1px solid #26b050;
- }
-
- .invalid {
- outline: 1px solid red;
- }
-
- .validation-message {
- color: red;
- }
-
- #blazor-error-ui {
- background: lightyellow;
- bottom: 0;
- box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
- display: none;
- left: 0;
- padding: 0.6rem 1.25rem 0.7rem 1.25rem;
- position: fixed;
- width: 100%;
- z-index: 1000;
- }
-
- #blazor-error-ui .dismiss {
- cursor: pointer;
- position: absolute;
- right: 0.75rem;
- top: 0.5rem;
- }
-
- .blazor-error-boundary {
- background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
- padding: 1rem 1rem 1rem 3.7rem;
- color: white;
- }
-
- .blazor-error-boundary::after {
- content: "An error has occurred."
- }
-
- .loading-progress {
- position: relative;
- display: block;
- width: 8rem;
- height: 8rem;
- margin: 20vh auto 1rem auto;
- }
-
- .loading-progress circle {
- fill: none;
- stroke: #e0e0e0;
- stroke-width: 0.6rem;
- transform-origin: 50% 50%;
- transform: rotate(-90deg);
- }
-
- .loading-progress circle:last-child {
- stroke: #1b6ec2;
- stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
- transition: stroke-dasharray 0.05s ease-in-out;
- }
-
- .loading-progress-text {
- position: absolute;
- text-align: center;
- font-weight: bold;
- inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
- }
-
- .loading-progress-text:after {
- content: var(--blazor-load-percentage-text, "Loading");
- }
-
- code {
- color: #c02d76;
- }
-
-
- /* Container principal */
- .home-container {
- margin: 0 auto;
- }
-
- /* En-tête */
- .home-header {
- background: linear-gradient(45deg, var(--secondary-color) 0%, var(--main-color) 70%);
- color: white;
- padding: 2rem;
- border-radius: 12px;
- margin-bottom: 2rem;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- }
-
- .home-title {
- font-size: 2.5rem;
- font-weight: 700;
- margin: 0 0 0.5rem 0;
- }
-
- .home-version {
- font-size: 0.875rem;
- opacity: 0.9;
- margin: 0 0 1rem 0;
- }
-
- .home-welcome {
- font-size: 1.125rem;
- margin: 0;
- }
-
- .home-welcome strong {
- font-weight: 600;
- }
-
- /* Badges de rôle */
- .role-badges {
- display: flex;
- gap: 0.75rem;
- margin-top: 1rem;
- flex-wrap: wrap;
- }
-
- .role-badge {
- display: inline-flex;
- align-items: center;
- padding: 0.5rem 1rem;
- background-color: rgba(255, 255, 255, 0.2);
- border-radius: 20px;
- font-size: 0.875rem;
- font-weight: 500;
- backdrop-filter: blur(10px);
- }
-
- .role-badge::before {
- content: '✓';
- margin-right: 0.5rem;
- font-weight: bold;
- }
-
- /* Section des informations */
- .info-section {
- background: white;
- border-radius: 12px;
- padding: 1.5rem;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
- margin-bottom: 2rem;
- }
-
- /* Accordéons personnalisés */
- .accordion-item {
- margin-bottom: 0.75rem;
- border-radius: 8px;
- overflow: hidden;
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
- transition: box-shadow 0.2s ease;
- }
-
- .accordion-item:hover {
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
- }
-
- .accordion-button {
- width: 100%;
- padding: 1rem 1.25rem;
- background-color: var(--secondary-color);
- border: none;
- text-align: left;
- font-size: 1rem;
- font-weight: 500;
- cursor: pointer;
- display: flex;
- align-items: center;
- transition: all 0.2s ease;
- color: #333;
- }
-
- .accordion-button:hover {
- background-color: #e9ecef;
- }
-
- .accordion-button.expanded {
- background-color: #667eea;
- color: white;
- }
-
- /* Flèche Bootstrap - rotation */
- .accordion-button::after {
- transition: transform 0.3s ease-in-out;
- }
-
- .accordion-button.expanded::after {
- transform: rotate(0deg);
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
- }
-
- .accordion-static {
- padding: 1rem 1.25rem;
- background-color: var(--main-color);
- border-radius: 8px;
- }
-
- .accordion-static.bold {
- font-weight: 600;
- background-color: #e7f1ff;
- color: var(--third-color);
- }
-
- .accordion-content {
- background-color: #ffffff;
- border-left: 3px solid #667eea;
- padding: 0.75rem 1.25rem;
- }
-
- .accordion-content ul {
- margin: 0;
- padding-left: 1.5rem;
- }
-
- .accordion-content li {
- padding: 0.375rem 0;
- line-height: 1.5;
- color: #555;
- }
-
- .accordion-content li::marker {
- color: #667eea;
- }
-
- /* Responsive */
- @media (max-width: 768px) {
- .home-container {
- padding: 1rem;
- }
-
- .home-header {
- padding: 1.5rem;
- }
-
- .home-title {
- font-size: 1.75rem;
- }
-
- .accordion-button,
- .accordion-static {
- padding: 0.875rem 1rem;
- font-size: 0.9375rem;
- }
-
- .role-badges {
- flex-direction: column;
- }
-
- .role-badge {
- width: 100%;
- justify-content: center;
- }
- }
-
- /* Animation d'entrée */
- @keyframes fadeInUp {
- from {
- opacity: 0;
- transform: translateY(20px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
- .accordion-item {
- animation: fadeInUp 0.3s ease forwards;
- }
-
- .accordion-item:nth-child(1) {
- animation-delay: 0.05s;
- }
-
- .accordion-item:nth-child(2) {
- animation-delay: 0.1s;
- }
-
- .accordion-item:nth-child(3) {
- animation-delay: 0.15s;
- }
-
- .accordion-item:nth-child(4) {
- animation-delay: 0.2s;
- }
-
- .accordion-item:nth-child(5) {
- animation-delay: 0.25s;
- }
-
- .button-container {
- display: flex;
- }
-
-
-
-
- /* NavMenu.razor.css */
- .nav-menu {
- padding: 1rem;
- height: 100%;
- }
-
- /* Éléments de navigation */
- .nav-item {
- margin-bottom: 0.5rem;
- }
-
- .nav-link2 {
- display: flex;
- align-items: center;
- padding: 0.75rem 1rem;
- color: white !important;
- text-decoration: none;
- border-radius: 8px;
- transition: all 0.2s ease;
- font-weight: 500;
- }
-
- .nav-link2:hover {
- background-color: rgba(255, 255, 255, 0.1);
- color: white !important;
- }
-
- .nav-link2.active {
- background-color: rgba(255, 255, 255, 0.2);
- color: white !important;
- font-weight: 600;
- }
-
- .nav-icon {
- margin-right: 0.75rem;
- font-size: 1.1rem;
- }
-
- /* Sections avec détails */
- .nav-section {
- margin-bottom: 0.5rem;
- }
-
- .nav-section details {
- border-radius: 8px;
- }
-
- .nav-section details[open] {
- background-color: rgba(0, 0, 0, 0.1);
- }
-
- .nav-section-header {
- display: flex;
- align-items: center;
- padding: 0.75rem 1rem;
- color: white;
- cursor: pointer;
- user-select: none;
- border-radius: 8px;
- transition: all 0.2s ease;
- font-weight: 500;
- }
-
- .nav-section-header::after {
- content: '▶';
- position: absolute;
- right: 1rem;
- font-size: 0.7rem;
- transition: transform 0.2s ease;
- opacity: 0.7;
- }
-
- details[open] .nav-section-header::after {
- transform: rotate(90deg);
- }
-
- .nav-section-header:hover {
- background-color: rgba(255, 255, 255, 0.1);
- color: white;
- }
-
- .nav-section-content {
- padding: 0.5rem 0;
- }
-
- /* Sous-liens - couleur ivoire */
- .sub-link {
- padding-left: 3rem;
- font-size: 0.9rem;
- color: ivory !important;
- font-weight: 400;
- }
-
- .sub-link:hover {
- background-color: rgba(255, 255, 255, 0.08);
- color: white !important;
- }
-
- .sub-link.active {
- background-color: rgba(255, 255, 255, 0.15);
- color: white !important;
- }
-
- /* Remove default details marker */
- details summary::-webkit-details-marker {
- display: none;
- }
-
- details summary::marker {
- display: none;
- }
-
- /* Animation pour l'ouverture/fermeture */
- details[open] .nav-section-content {
- animation: slideDown 0.2s ease-out;
- }
-
- @keyframes slideDown {
- from {
- opacity: 0;
- transform: translateY(-10px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
-
- .total-badge {
- background-color: #17a2b8;
- color: white;
- padding: 0.4rem 0.9rem;
- border-radius: 20px;
- font-size: 0.875rem;
- font-weight: 500;
- }
-
-
- .button-container {
- display: flex;
- gap: 0.75rem;
- flex-wrap: wrap;
- }
-
-
-
- .vision-options {
- display: flex;
- gap: 2rem;
- margin-bottom: 1.5rem;
- padding: 1rem;
- background-color: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0,0,0,0.08);
- }
-
- .vision-checkbox {
- display: flex;
- align-items: center;
- gap: 0.6rem;
- cursor: pointer;
- font-weight: 500;
- color: #2c3e50;
- user-select: none;
- }
-
- .vision-checkbox input[type="checkbox"] {
- width: 20px;
- height: 20px;
- cursor: pointer;
- accent-color: #17a2b8;
- }
-
- .vision-checkbox:hover {
- color: #17a2b8;
- }
-
-
- .table-container {
- background-color: white;
- border-radius: 8px;
- overflow: hidden;
- box-shadow: 0 2px 4px rgba(0,0,0,0.08);
- width: 100%;
- }
-
- .table-responsive {
- overflow-x: auto !important;
- overflow-y: visible;
- -webkit-overflow-scrolling: touch;
- }
-
- /* Scrollbar personnalisée pour le tableau */
- .table-responsive::-webkit-scrollbar {
- height: 8px;
- }
-
- .table-responsive::-webkit-scrollbar-track {
- background: #f1f1f1;
- border-radius: 4px;
- }
-
- .table-responsive::-webkit-scrollbar-thumb {
- background: #888;
- border-radius: 4px;
- }
-
- .table-responsive::-webkit-scrollbar-thumb:hover {
- background: #555;
- }
-
- .table-modern {
- width: 100%;
- margin-bottom: 0;
- border-collapse: collapse;
- min-width: 1100px
- }
-
-
- .table-modern thead {
- background-color: #2c3e50;
- }
-
- .table-modern thead th {
- color: white;
- font-weight: 600;
- border: none;
- vertical-align: middle;
- white-space: nowrap;
- background-color: #2c3e50;
- }
-
- /* Ligne de filtres */
- .table-modern .filter-row th {
- padding: 0.6rem;
- background-color: #2c3e50;
- }
-
- /* Ligne d'en-têtes */
- .table-modern .header-row th {
- padding: 0.9rem 0.70rem;
- background-color: #2c3e50;
- }
-
- /* Colonnes triables */
- .table-modern .sortable {
- cursor: pointer;
- user-select: none;
- transition: background-color 0.2s ease;
- }
-
- .table-modern .sortable:hover {
- background-color: #34495e;
- }
-
- .table-modern .sortable span {
- display: inline-block;
- }
-
- .table-modern .sort-icon {
- margin-left: 0.4rem;
- opacity: 0.7;
- font-size: 0.85rem;
- }
-
-
- .col-workforce {
- width: 15%;
- min-width: 70px;
- }
-
-
- .col-type {
- width: 12%;
- min-width: 100px;
- }
-
- .col-status {
- width: 10%;
- min-width: 90px;
- }
-
- .col-date {
- width: 10%;
- min-width: 100px;
- text-align: center;
- }
-
-
- .col-boolean {
- width: 7%;
- min-width: 80px;
- text-align: center;
- }
-
- .col-actions {
- width: 10%;
- min-width: 110px;
- text-align: center;
- }
-
- .col-libelle {
- width: 15%;
- min-width: 130px;
- }
-
- .col-number {
- width: 8%;
- min-width: 70px;
- text-align: center;
- }
-
- .col-actions-wide {
- width: 12%;
- min-width: 140px;
- text-align: center;
- }
-
- .col-comment {
- width: 20%;
- min-width: 180px;
- max-width: 400px;
- }
-
-
- .col-trigramme {
- min-width: 100px;
- }
-
- .col-email {
- min-width: 200px;
- }
-
- .col-libelle-wide {
- min-width: 250px;
- max-width: 400px;
- }
-
- .table-modern .form-control-sm,
- .table-modern .form-select-sm {
- font-size: 0.85rem;
- padding: 0.4rem 0.6rem;
- border-radius: 4px;
- border: 1px solid rgba(255,255,255,0.3);
- background-color: rgba(255,255,255,0.95);
- transition: all 0.2s ease;
- width: 100%;
- }
-
- .table-modern .form-control-sm:focus,
- .table-modern .form-select-sm:focus {
- border-color: #17a2b8;
- box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
- outline: none;
- background-color: white;
- }
-
- .table-modern .form-select-sm {
- cursor: pointer;
- padding-right: 2rem;
- }
-
-
- .table-modern tbody tr {
- transition: background-color 0.15s ease;
- border-bottom: 1px solid #e9ecef;
- }
-
- .table-modern tbody tr:hover {
- background-color: #f8f9fa;
- }
-
- .table-modern tbody tr:nth-child(even) {
- background-color: #fafbfc;
- }
-
- .table-modern tbody tr:nth-child(even):hover {
- background-color: #f0f2f5;
- }
-
- .table-modern tbody td {
- padding: 0.45rem 0.35rem;
- vertical-align: middle;
- color: #495057;
- }
-
- .badge {
- display: inline-block;
- padding: 0.35rem 0.75rem;
- border-radius: 12px;
- font-size: 0.8rem;
- font-weight: 600;
- letter-spacing: 0.3px;
- }
-
- .badge-active {
- background-color: #d4edda;
- color: #155724;
- }
-
- .badge-inactive {
- background-color: #f8d7da;
- color: #721c24;
- }
-
- .action-buttons {
- display: flex;
- gap: 0.5rem;
- justify-content: center;
- align-items: center;
- }
-
-
-
- .loading-alert {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 1rem;
- padding: 2rem;
- background-color: white;
- border-radius: 8px;
- box-shadow: 0 2px 4px rgba(0,0,0,0.08);
- color: #17a2b8;
- font-weight: 500;
- font-size: 1.1rem;
- }
-
- .loading-alert i {
- font-size: 1.5rem;
- animation: spin 2s linear infinite;
- }
-
- @keyframes spin {
- 0% {
- transform: rotate(0deg);
- }
-
- 100% {
- transform: rotate(360deg);
- }
- }
-
-
- @media (max-width: 1200px) {
- .col-workforce,
- .col-workforce {
- width: 12%;
- }
- }
-
- @media (max-width: 992px) {
- .page-header {
- flex-direction: column;
- gap: 1rem;
- align-items: flex-start;
- }
-
- .button-container {
- width: 100%;
- justify-content: flex-start;
- }
- }
-
- @media (max-width: 768px) {
- .page-container {
- padding: 1rem;
- }
-
- .page-title {
- font-size: 1.25rem;
- }
-
- .total-badge {
- font-size: 0.8rem;
- padding: 0.3rem 0.7rem;
- }
-
- .button-container {
- flex-direction: column;
- width: 100%;
- }
-
- .btn-action {
- width: 100%;
- justify-content: center;
- }
-
- .vision-options {
- flex-direction: column;
- gap: 1rem;
- }
-
- .table-modern {
- font-size: 0.85rem;
- }
-
- .table-modern tbody td {
- padding: 0.6rem 0.5rem;
- }
-
- .btn-icon {
- width: 32px;
- height: 32px;
- font-size: 0.85rem;
- }
- }
-
-
-
- :root {
- --primary: #243b5d;
- --secondary: #2984a1;
- --accent: #f63e63;
- --bg-light: #eaf8ff;
- --text-dark: #243b5d;
- --text-light: #6c757d;
- --border: #e5e7eb;
- }
-
-
- .home-container {
- display: flex;
- flex-direction: column;
- height: 100%;
- background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
- overflow: hidden;
- }
-
- .home-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- overflow-y: auto;
- max-width: 1400px;
- margin: 0 auto;
- width: 100%;
- padding: 0.5rem;
- }
-
-
- .welcome-section {
- text-align: center;
- margin-bottom: 1rem;
- }
-
- .welcome-title {
- font-size: 3rem;
- font-weight: 600;
- color: var(--text-dark);
- margin-bottom: 0.5rem;
- }
-
- .welcome-subtitle {
- font-size: 1.5rem;
- color: var(--text-light);
- font-weight: 400;
- margin: 0;
- }
-
-
- .input-container {
- width: 100%;
- padding: 16px 24px;
- background: transparent;
- display: flex;
- flex-direction: column;
- justify-content: center;
- position: relative;
- }
-
- .input-files {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- padding: 12px 16px;
- max-width: 1000px;
- margin: 0 auto;
- width: 100%;
- }
-
- .file-item {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 8px 12px;
- background: #ffffff;
- border: 1px solid var(--border);
- border-radius: 8px;
- max-width: 32%;
- transition: all 0.2s ease;
- }
-
- .file-item:hover {
- border-color: #d1d5db;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
-
- .file-info {
- flex: 1;
- min-width: 0;
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .file-name {
- font-size: 13px;
- font-weight: 500;
- color: #374151;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .remove-file-button {
- flex-shrink: 0;
- width: 24px;
- height: 24px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: transparent;
- border: none;
- border-radius: 4px;
- color: #9ca3af;
- cursor: pointer;
- transition: all 0.2s ease;
- }
-
- .remove-file-button:hover {
- background: #ffffff;
- color: #ef4444;
- }
-
- .input-wrapper {
- width: 100%;
- max-width: 1000px;
- margin: 0 auto;
- background: #ffffff;
- border: 1px solid var(--border);
- border-radius: 16px;
- padding: 16px 20px;
- display: flex;
- flex-direction: column;
- gap: 12px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
- transition: all 0.2s ease;
- }
-
- .input-wrapper.has-files {
- border-radius: 0 0 16px 16px;
- border-top: none;
- padding-top: 12px;
- }
-
- .input-wrapper:focus-within {
- border-color: var(--secondary);
- box-shadow: 0 4px 12px rgba(41, 132, 161, 0.12);
- }
-
- .input-wrapper textarea {
- width: 100%;
- border: none;
- outline: none;
- resize: none;
- font-size: 15px;
- font-family: inherit;
- color: var(--text-dark);
- background: transparent;
- min-height: 24px;
- max-height: 200px;
- line-height: 1.5;
- padding: 0;
- }
-
- .input-wrapper textarea::placeholder {
- color: #9ca3af;
- }
-
- .input-wrapper textarea:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
-
- .input-actions {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-top: 4px;
- }
-
- .attach-button {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0;
- background: transparent;
- border: none;
- color: #6b7280;
- cursor: pointer;
- font-size: 13px;
- font-weight: 500;
- transition: color 0.2s ease;
- }
-
- .attach-button:hover {
- color: var(--secondary);
- }
-
- .attach-button span {
- display: none;
- }
-
- @media (min-width: 640px) {
- .attach-button span {
- display: inline;
- }
- }
-
- .input-right-actions {
- display: flex;
- align-items: center;
- gap: 8px;
- }
-
- .voice-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 36px;
- height: 36px;
- background: transparent;
- border: none;
- color: #6b7280;
- cursor: pointer;
- border-radius: 8px;
- transition: all 0.2s ease;
- }
-
- .voice-button:hover {
- background: #f3f4f6;
- color: var(--text-dark);
- }
-
- .send-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 36px;
- height: 36px;
- background: var(--accent);
- border: none;
- color: #ffffff;
- cursor: pointer;
- border-radius: 8px;
- transition: all 0.2s ease;
- }
-
- .send-button:hover:not(:disabled) {
- transform: scale(1.05);
- box-shadow: 0 4px 12px rgba(246, 62, 99, 0.3);
- }
-
- .send-button:active:not(:disabled) {
- transform: scale(0.98);
- }
-
- .send-button:disabled {
- background: #e5e7eb;
- cursor: not-allowed;
- opacity: 0.6;
- }
-
- .send-button:disabled svg {
- color: #9ca3af;
- }
-
-
- .agents-grid {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
- gap: 1.5rem;
- width: 100%;
- max-width: 1200px;
- }
-
- .agent-card {
- display: flex;
- flex-direction: row;
- gap: 16px;
- padding: 20px 20px 30px 20px;
- background: #ffffff;
- border: 1px solid var(--border);
- border-radius: 12px;
- cursor: pointer;
- transition: all 0.2s ease;
- min-height: 100px;
- align-items: flex-start;
- }
-
- .agent-card:hover {
- border-color: var(--secondary);
- box-shadow: 0 4px 12px rgba(41, 132, 161, 0.1);
- transform: translateY(-2px);
- }
-
- .agent-card:hover .agent-icon {
- background-color: #ecf9ff;
- transform: scale(1.05);
- }
-
- .agent-card:active {
- transform: translateY(0);
- }
-
- .agent-icon {
- flex-shrink: 0;
- width: 48px;
- height: 48px;
- border-radius: 10px;
- background-color: #ecf9ff;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: all 0.2s ease;
- color: var(--primary);
- }
-
- .agent-content {
- flex: 1;
- display: flex;
- flex-direction: column;
- gap: 8px;
- min-width: 0;
- }
-
- .agent-name {
- margin: 0;
- font-size: 16px;
- font-weight: 600;
- color: #1f2937;
- line-height: 1.4;
- }
-
- .agent-description {
- margin: 0;
- font-size: 14px;
- font-weight: 400;
- color: #6b7280;
- line-height: 1.5;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- overflow: hidden;
- }
-
-
- .home-content::-webkit-scrollbar {
- width: 8px;
- }
-
- .home-content::-webkit-scrollbar-track {
- background: transparent;
- }
-
- .home-content::-webkit-scrollbar-thumb {
- background: var(--secondary);
- border-radius: 4px;
- }
-
- .home-content::-webkit-scrollbar-thumb:hover {
- background: var(--primary);
- }
-
-
- @media (max-width: 768px) {
- .welcome-title {
- font-size: 2rem;
- }
-
- .welcome-subtitle {
- font-size: 1.2rem;
- }
-
- .agents-grid {
- grid-template-columns: 1fr;
- }
-
- .home-content {
- padding: 1rem;
- }
-
- .input-container {
- padding: 12px 16px;
- }
-
- .input-files {
- padding: 10px 12px;
- gap: 6px;
- }
-
- .file-item {
- padding: 6px 10px;
- max-width: 200px;
- }
-
- .input-wrapper {
- padding: 12px 16px;
- border-radius: 14px;
- }
-
- .input-wrapper.has-files {
- border-radius: 0 0 14px 14px;
- }
-
- .input-wrapper textarea {
- font-size: 14px;
- }
-
- .input-right-actions .voice-button,
- .input-right-actions .send-button {
- width: 32px;
- height: 32px;
- }
-
- .agent-card {
- padding: 16px;
- }
-
- .agent-icon {
- width: 40px;
- height: 40px;
- }
-
- .agent-name {
- font-size: 15px;
- }
-
- .agent-description {
- font-size: 13px;
- }
- }
-
- @media (max-width: 480px) {
- .welcome-title {
- font-size: 1.75rem;
- }
-
- .welcome-subtitle {
- font-size: 1rem;
- }
-
- .input-container {
- padding: 1rem;
- }
- }
-
-
- @keyframes fileSlideIn {
- from {
- opacity: 0;
- transform: translateY(-10px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
- .file-item {
- animation: fileSlideIn 0.3s ease;
- }
-
-
-
-
-
-
-
- .chat-input-container {
- width: 100%;
- padding: 16px 24px;
- background: transparent;
- display: flex;
- flex-direction: column;
- justify-content: center;
- position: relative;
-
- .attached-files {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- padding: 12px 16px;
- max-width: 1000px;
- margin: 0 auto;
- width: 100%;
-
- .file-item {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 8px 12px;
- background: #ffffff;
- border: 1px solid #e5e7eb;
- border-radius: 8px;
- max-width: 32%;
- transition: all 0.2s ease;
-
- &:hover {
- border-color: #d1d5db;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- }
-
- .file-preview {
- flex-shrink: 0;
- width: 40px;
- height: 40px;
- border-radius: 6px;
- overflow: hidden;
- background: #ffffff;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 1px solid #e5e7eb;
-
- img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
-
- .file-icon {
- font-size: 20px;
- }
- }
-
- .file-info {
- flex: 1;
- min-width: 0;
- display: flex;
- flex-direction: column;
- gap: 2px;
-
- .file-name {
- font-size: 13px;
- font-weight: 500;
- color: #374151;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .file-size {
- font-size: 11px;
- color: #9ca3af;
- }
- }
-
- .remove-file-button {
- flex-shrink: 0;
- width: 24px;
- height: 24px;
- display: flex;
- align-items: center;
- justify-content: center;
- background: transparent;
- border: none;
- border-radius: 4px;
- color: #9ca3af;
- cursor: pointer;
- transition: all 0.2s ease;
-
- &:hover {
- background: #ffffff;
- color: #ef4444;
- }
-
- fa-icon {
- font-size: 14px;
- }
- }
- }
- }
-
- .input-wrapper {
- width: 100%;
- max-width: 1000px;
- margin: 0 auto;
- background: #ffffff;
- border: 1px solid #e5e7eb;
- border-radius: 16px;
- padding: 16px 20px;
- display: flex;
- flex-direction: column;
- gap: 12px;
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
- transition: all 0.2s ease;
-
- &.has-files {
- border-radius: 0 0 16px 16px;
- border-top: none;
- padding-top: 12px;
- }
-
- &:focus-within {
- border-color: #3498db;
- box-shadow: 0 4px 12px rgba(52, 152, 219, 0.12);
- }
-
- textarea {
- width: 100%;
- border: none;
- outline: none;
- resize: none;
- font-size: 15px;
- font-family: inherit;
- color: #1f2937;
- background: transparent;
- min-height: 24px;
- max-height: 200px;
- line-height: 1.5;
- padding: 0;
-
- &::placeholder {
- color: #9ca3af;
- }
-
- &:disabled {
- opacity: 0.6;
- cursor: not-allowed;
- }
- }
-
- .actions-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding-top: 4px;
-
- .attach-button {
- display: flex;
- align-items: center;
- gap: 8px;
- padding: 0;
- background: transparent;
- border: none;
- color: #6b7280;
- cursor: pointer;
- font-size: 13px;
- font-weight: 500;
- transition: color 0.2s ease;
-
- &:hover {
- color: #3498db;
- }
-
- fa-icon {
- font-size: 16px;
- }
-
- span {
- @media (max-width: 480px) {
- display: none;
- }
- }
- }
-
- .right-actions {
- display: flex;
- align-items: center;
- gap: 8px;
-
- .voice-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 36px;
- height: 36px;
- background: transparent;
- border: none;
- color: #6b7280;
- cursor: pointer;
- border-radius: 8px;
- transition: all 0.2s ease;
-
- &:hover {
- background: #f3f4f6;
- color: #1f2937;
- }
-
- svg {
- width: 18px;
- height: 18px;
- }
- }
-
- .send-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 36px;
- height: 36px;
- background: #f63e63;
- border: none;
- color: #ffffff;
- cursor: pointer;
- border-radius: 8px;
- transition: all 0.2s ease;
-
- &:hover:not(:disabled) {
- transform: scale(1.05);
- box-shadow: 0 4px 12px rgba(246, 62, 99, 0.3);
- }
-
- &:active:not(:disabled) {
- transform: scale(0.98);
- }
-
- &:disabled {
- background: #e5e7eb;
- cursor: not-allowed;
- opacity: 0.6;
-
- svg {
- color: #9ca3af;
- }
- }
-
- svg {
- width: 16px;
- height: 16px;
- }
- }
- }
- }
- }
-
- input[type="file"] {
- display: none;
- }
- }
-
- .chat-input-container.drag-over {
- &::before {
- content: 'Déposez vos fichiers ici';
- position: absolute;
- inset: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- border: 2px dashed #3498db;
- border-radius: 16px;
- background: rgba(52, 152, 219, 0.05);
- color: #3498db;
- font-size: 16px;
- font-weight: 600;
- pointer-events: none;
- z-index: 10;
- }
- }
-
- // Responsive
- @media (max-width: 768px) {
- .chat-input-container {
- padding: 12px 16px;
-
- .attached-files {
- padding: 10px 12px;
- border-radius: 10px 10px 0 0;
- gap: 6px;
-
- .file-item {
- padding: 6px 10px;
- max-width: 200px;
-
- .file-preview {
- width: 36px;
- height: 36px;
- }
-
- .file-info {
- .file-name {
- font-size: 12px;
- }
-
- .file-size {
- font-size: 10px;
- }
- }
-
- .remove-file-button {
- width: 20px;
- height: 20px;
-
- fa-icon {
- font-size: 12px;
- }
- }
- }
- }
-
- .input-wrapper {
- padding: 12px 16px;
- border-radius: 14px;
-
- &.has-files {
- border-radius: 0 0 14px 14px;
- }
-
- textarea {
- font-size: 14px;
- }
-
- .actions-row {
- .attach-button {
- font-size: 12px;
-
- fa-icon {
- font-size: 14px;
- }
- }
-
- .right-actions {
- gap: 6px;
-
- .voice-button,
- .send-button {
- width: 32px;
- height: 32px;
-
- svg {
- width: 15px;
- height: 15px;
- }
- }
- }
- }
- }
- }
- }
-
- // Auto-expand textarea
- @media (min-width: 769px) {
- .chat-input-container .input-wrapper textarea {
- overflow-y: auto;
- }
- }
-
- @keyframes fileSlideIn {
- from {
- opacity: 0;
- transform: translateY(-10px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
- .attached-files .file-item {
- animation: fileSlideIn 0.3s ease;
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- .sidebar {
- width: 280px;
- height: 100%;
- background: #243b5d;
- color: #ffffff;
- display: flex;
- flex-direction: column;
- transition: width 0.3s ease;
- position: relative;
- overflow-x: hidden;
- overflow-y: auto;
- }
-
- .sidebar.collapsed {
- width: 64px;
- }
-
- .sidebar.collapsed .sidebar-section {
- margin-bottom: 8px;
- }
-
-
- .sidebar-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 12px 16px;
- min-height: 56px;
- flex-shrink: 0;
- gap: 12px;
- }
-
- .home-button {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 10px 16px;
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-radius: 8px;
- color: #ffffff;
- cursor: pointer;
- font-size: 14px;
- font-weight: 500;
- transition: all 0.2s ease;
- flex: 1;
- }
-
- .home-button:hover {
- background-color: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.3);
- }
-
- .home-button-collapsed {
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 10px;
- background: transparent;
- border: 1px solid rgba(255, 255, 255, 0.2);
- border-radius: 8px;
- color: #ffffff;
- cursor: pointer;
- transition: all 0.2s ease;
- }
-
- .home-button-collapsed:hover {
- background-color: rgba(255, 255, 255, 0.1);
- border-color: rgba(255, 255, 255, 0.3);
- }
-
- .toggle-button {
- background: transparent;
- border: none;
- color: #ffffff;
- cursor: pointer;
- padding: 8px;
- border-radius: 4px;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: background-color 0.2s ease;
- flex-shrink: 0;
- }
-
- .toggle-button:hover {
- background-color: rgba(255, 255, 255, 0.1);
- }
-
-
-
- .nav-item {
- margin: 8px 16px;
- }
-
- .nav-link {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 12px 16px;
- border-radius: 8px;
- color: #ffffff;
- text-decoration: none;
- font-size: 14px;
- font-weight: 500;
- transition: all 0.2s ease;
- }
-
- .nav-link:hover {
- background-color: rgba(255, 255, 255, 0.1);
- }
-
- .nav-link.active {
- background-color: rgba(52, 152, 219, 0.3);
- border-left: 3px solid #3498db;
- font-weight: 600;
- }
-
- .nav-icon {
- font-size: 18px;
- }
-
- .icon {
- font-size: 18px;
- }
-
-
-
- .sidebar-section {
- margin-bottom: 16px;
- max-height: 45vh;
- overflow: hidden;
- }
-
- .section-title {
- font-size: 11px;
- font-weight: 600;
- text-transform: uppercase;
- color: rgba(255, 255, 255, 0.5);
- padding: 0 16px;
- margin: 0 0 8px 0;
- letter-spacing: 0.5px;
- }
-
- .section-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 0 16px;
- cursor: pointer;
- transition: background-color 0.2s ease;
- }
-
- .section-header:hover {
- background-color: rgba(255, 255, 255, 0.05);
- }
-
- .section-header .section-title {
- margin: 0;
- padding: 8px 0;
- flex: 1;
- }
-
- .section-header .expand-icon {
- font-size: 12px;
- color: rgba(255, 255, 255, 0.5);
- }
-
-
- .sidebar-icon-button {
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- padding: 14px 0;
- background: transparent;
- border: none;
- color: rgba(255, 255, 255, 0.7);
- cursor: pointer;
- transition: all 0.2s ease;
- position: relative;
- }
-
- .sidebar-icon-button::before {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- width: 3px;
- height: 0;
- background: #3498db;
- transition: height 0.2s ease;
- }
-
- .sidebar-icon-button:hover {
- background-color: rgba(255, 255, 255, 0.05);
- color: #ffffff;
- }
-
- .sidebar-icon-button:hover::before {
- height: 60%;
- }
-
-
-
- .new-chat-button {
- display: flex;
- align-items: center;
- gap: 12px;
- padding: 6px 16px;
- margin: 8px;
- background: #2984a1;
- border: none;
- border-radius: 8px;
- color: #ffffff;
- cursor: pointer;
- font-size: 12px;
- font-weight: 400;
- transition: all 0.2s ease;
- }
-
- .new-chat-button:hover {
- transform: translateY(-2px);
- box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
- }
-
-
-
- .conversations-section {
- max-height: calc(45vh - 60px);
- overflow-y: auto;
- padding: 0 8px;
- }
-
- .conversations-section::-webkit-scrollbar {
- width: 4px;
- }
-
- .conversations-section::-webkit-scrollbar-track {
- background: rgba(255, 255, 255, 0.05);
- border-radius: 2px;
- }
-
- .conversations-section::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.2);
- border-radius: 2px;
- }
-
- .conversations-section::-webkit-scrollbar-thumb:hover {
- background: rgba(255, 255, 255, 0.3);
- }
-
- .conversations-list {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
-
- .conversation-item {
- padding: 10px 12px;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.2s ease;
- display: flex;
- align-items: center;
- gap: 10px;
- }
-
- .conversation-item:hover {
- background-color: rgba(255, 255, 255, 0.1);
- }
-
- .conversation-item.active {
- background-color: rgba(52, 152, 219, 0.3);
- border-left: 3px solid #3498db;
- }
-
- .conversation-item.sub-item {
- margin-left: 20px;
- padding: 8px 12px;
- font-size: 13px;
- }
-
- .conversation-icon {
- font-size: 14px;
- color: rgba(255, 255, 255, 0.7);
- flex-shrink: 0;
- }
-
- .conversation-title {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 12px;
- flex: 1;
- }
-
-
-
- .projects-section {
- max-height: calc(45vh - 60px); /* Augmenté de 30vh à 45vh */
- overflow-y: auto;
- padding: 0 8px;
- }
-
- .projects-section::-webkit-scrollbar {
- width: 4px;
- }
-
- .projects-section::-webkit-scrollbar-track {
- background: rgba(255, 255, 255, 0.05);
- border-radius: 2px;
- }
-
- .projects-section::-webkit-scrollbar-thumb {
- background: rgba(255, 255, 255, 0.2);
- border-radius: 2px;
- }
-
- .projects-section::-webkit-scrollbar-thumb:hover {
- background: rgba(255, 255, 255, 0.3);
- }
-
- .projects-list {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
-
- .project-wrapper {
- margin-bottom: 4px;
- }
-
- .project-item {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: 10px 12px;
- border-radius: 6px;
- cursor: pointer;
- transition: all 0.2s ease;
- }
-
- .project-item:hover {
- background-color: rgba(255, 255, 255, 0.1);
- }
-
- .project-icon {
- font-size: 16px;
- color: rgba(255, 255, 255, 0.7);
- }
-
- .project-name {
- flex: 1;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- font-size: 14px;
- font-weight: 500;
- }
-
- .expand-icon {
- font-size: 12px;
- color: rgba(255, 255, 255, 0.5);
- }
-
- .project-conversations {
- margin-top: 4px;
- display: flex;
- flex-direction: column;
- gap: 2px;
- }
-
- .project-empty {
- padding: 8px 12px 8px 42px;
- font-size: 13px;
- color: rgba(255, 255, 255, 0.5);
- font-style: italic;
- }
-
-
- .emails-section {
- padding: 0 8px;
- }
-
- .emails-list {
- display: flex;
- flex-direction: column;
- gap: 4px;
- }
-
- .emails-list .nav-link {
- padding: 10px 12px;
- margin: 0;
- }
-
-
- .loading,
- .empty-state {
- padding: 12px;
- text-align: center;
- font-size: 13px;
- color: rgba(255, 255, 255, 0.5);
- font-style: italic;
- }
-
- .loading {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 8px;
- }
-
- .loading::before {
- content: '';
- width: 16px;
- height: 16px;
- border: 2px solid rgba(255, 255, 255, 0.2);
- border-top-color: rgba(255, 255, 255, 0.6);
- border-radius: 50%;
- animation: spin 0.8s linear infinite;
- }
-
- @keyframes spin {
- to {
- transform: rotate(360deg);
- }
- }
-
-
- .sidebar-footer {
- margin-top: auto;
- padding: 16px;
- border-top: 1px solid rgba(255, 255, 255, 0.1);
- display: flex;
- justify-content: center;
- gap: 12px;
- flex-shrink: 0;
- }
-
- .sidebar-footer-collapsed {
- margin-top: auto;
- padding: 16px;
- border-top: 1px solid rgba(255, 255, 255, 0.1);
- display: flex;
- flex-direction: column;
- gap: 8px;
- flex-shrink: 0;
- }
-
- .footer-button {
- background: transparent;
- border: none;
- color: rgba(255, 255, 255, 0.6);
- cursor: pointer;
- padding: 10px;
- border-radius: 6px;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 8px;
- transition: all 0.2s ease;
- font-size: 14px;
- }
-
- .footer-button:hover {
- background-color: rgba(255, 255, 255, 0.1);
- color: #ffffff;
- }
-
- .footer-button span:not(.icon) {
- font-weight: 500;
- }
-
-
-
- @media (max-width: 768px) {
- .sidebar {
- width: 64px;
- }
-
- .sidebar.collapsed {
- width: 0;
- }
- }
-
-
- @keyframes fadeIn {
- from {
- opacity: 0;
- transform: translateY(10px);
- }
-
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
-
- .conversation-item,
- .project-item {
- animation: fadeIn 0.3s ease;
- }
|