/* Details Section */ /* Conteneur principal */ /* Conteneur principal */ /* Conteneur principal */ .info-tab { position: fixed; /* Se superpose à tout, même avec un défilement */ top: 1vh; /* Utilisation de vh pour une hauteur relative à la fenêtre */ right: 0; /* Attaché au bord droit */ display: flex; flex-direction: column; /* Le bouton apparaît au-dessus de la carte */ align-items: flex-end; /* Aligner les éléments à droite */ z-index: 2; transition: transform 0.3s ease; gap: 10px; /* Ajoute un espace constant entre le bouton et la carte */ } /* Bouton de l'onglet */ .info-toggle { background-color: var(--bg-color); color: var(--neutral-color); border: 1px black solid; border-radius: 10px; z-index: 30; padding: 5px; font-size: 30px; /* Taille globale */ cursor: pointer; box-shadow: var(--box-shadow); display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease; } .info-toggle:hover { background-color: var(--primary-color); } /* Icône dans le bouton */ .icon-container { display: flex; align-items: center; justify-content: center; transform: none; /* Empêche toute rotation */ transition: none; /* Aucune transition sur l'icône */ } /* Carte des informations */ .info-card { background-color: var(--neutral-color); color: var(--bg-color); box-shadow: var(--box-shadow); border-radius: 10px; width: 300px; z-index: 4; padding: 15px; position: relative; /* Relative au conteneur parent */ transform: translateX(100%); /* Déplacé à droite par défaut */ transition: opacity 0.3s ease, transform 0.3s ease; } /* Carte visible */ .info-tab.open .info-card { transform: translateX(0); /* Révèle la carte */ } .info-tab button.active { background-color: var(--primary-color); color: var(--bg-color); border: 2px solid var(--bg-color); /* Indique que ce bouton est actif */ } #property-details { /* Style Sources */ width: 30svw; display: flex; flex-direction: column; align-items: stretch; justify-content: center; flex-grow: 1; flex-shrink: 0; align-self: stretch; min-width: 30svw; max-width: max-content; padding: 10px; /* Cascaded */ background-color: rgba(255, 255, 255, 0.87); border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none; border-top-color: rgba(106, 55, 146, 0.87); border-right-color: rgba(106, 55, 146, 0.87); border-bottom-color: rgba(106, 55, 146, 0.87); border-left-color: rgba(106, 55, 146, 0.87); border-top-left-radius: 15px; border-top-right-radius: 15px; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.2); margin: 5px; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ box-sizing: border-box; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; outline-width: 1px; } .details-card { /* Style Sources */ display: flex; flex-direction: column; flex-grow: 1; flex-shrink: 0; align-self: stretch; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ box-sizing: border-box; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; outline-width: 1px; } .property-title{ /* Style Sources */ align-self: auto; flex-grow: 1; flex-shrink: 0; width: 100%; min-width: 100%; order: 0; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ display: contents; white-space: normal; white-space-collapse: collapse; } #property-info{ /* Style Sources */ flex-grow: 1; flex-shrink: 0; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ box-sizing: border-box; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; outline-width: 1px; } .technical-info{ /* Style Sources */ align-self: auto; flex-grow: 1; flex-shrink: 0; width: 100%; min-width: 100%; order: 0; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ display: contents; white-space: normal; white-space-collapse: collapse; } #description-container{ /* Style Sources */ flex-grow: 1; flex-shrink: 0; align-self: stretch; min-width: 100svw; max-width: none; padding: 10px; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ box-sizing: border-box; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; outline-width: 1px; } .description{ justify-content: start; flex-direction: column; height: 100%; min-height: 100%; /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ box-sizing: border-box; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; outline-width: 1px; } #text-description{ /* Inherited */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; /* Preset */ display: contents; white-space: normal; white-space-collapse: collapse; } #description-content{ display: flex; }