newdesigngestionnaire/Bootstrap_new/css/style-portail.css
2026-04-06 12:25:20 +00:00

253 lines
5.3 KiB
CSS

/* ============================================================
INTER SANTÉ — LOGIN UI v2026
Style exclusif à la page de connexion (Gabarit Carrousel)
============================================================ */
:root {
--login-primary: #0088cf;
--login-bg-light: #f3f2f1;
--login-text-dark: #323130;
--login-radius: 12px;
--login-transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* --- STRUCTURE PRINCIPALE (NO-SCROLL) --- */
html, body {
height: 100%;
margin: 0;
overflow: hidden; /* Verrouille le scroll sur toute la page */
font-family: 'DM Sans', 'Poppins', sans-serif;
}
.login-wrapper {
display: flex;
height: 100vh;
width: 100vw;
}
/* --- SECTION GAUCHE : CARROUSEL --- */
.slide-container {
width: 40vw;
height: 100vh;
position: relative;
background-color: #000;
}
.slides {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
}
.slides img {
width: 100%;
height: 100%;
position: absolute;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
z-index: 1;
}
.slides img.active {
opacity: 1;
z-index: 2;
}
/* Navigation Carrousel */
.nav-btn {
position: absolute;
top: 50%;
transform: translateY(-50%);
padding: 15px;
color: white;
font-size: 20px;
cursor: pointer;
z-index: 10;
background: rgba(0, 136, 207, 0.2);
border-radius: 50%;
transition: var(--login-transition);
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
border: none;
}
.nav-btn:hover {
background: var(--login-primary);
transform: translateY(-50%) scale(1.1);
}
.prev { left: 20px; }
.next { right: 20px; }
/* Indicateurs (Dots) */
.dotsContainer {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 10;
display: flex;
gap: 8px;
}
.dot {
width: 10px;
height: 10px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
cursor: pointer;
transition: var(--login-transition);
border: 1px solid rgba(255, 255, 255, 0.5);
}
.dot.active {
background: var(--login-primary);
width: 25px; /* Effet pilule moderne */
border-radius: 10px;
}
/* --- SECTION DROITE : FORMULAIRE --- */
.form-side {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #ffffff;
padding: 2rem;
position: relative;
}
.logo-container {
margin-bottom: 2.5rem;
text-align: center;
}
.logo-container img {
width: 130px;
height: auto;
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
/* Card de connexion */
.login-card {
width: 100%;
max-width: 380px;
}
/* Groupes d'entrée personnalisés */
.form-group-custom {
margin-bottom: 1.25rem;
text-align: left;
}
.form-group-custom label {
display: block;
font-weight: 600;
font-size: 0.85rem;
color: var(--login-text-dark);
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.03em;
}
.input-wrapper {
position: relative;
}
.input-wrapper i {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #adb5bd;
font-size: 1rem;
transition: color 0.3s ease;
}
.input-custom {
width: 100% !important;
padding: 12px 15px 12px 45px !important;
border: 2px solid #edf2f7 !important;
border-radius: var(--login-radius) !important;
font-size: 1rem !important;
color: var(--login-text-dark) !important;
background-color: #f8fafc !important;
transition: all 0.3s ease !important;
}
.input-custom:focus {
border-color: var(--login-primary) !important;
background-color: #fff !important;
box-shadow: 0 0 0 4px rgba(0, 136, 207, 0.1) !important;
outline: none !important;
}
.input-custom:focus + i {
color: var(--login-primary);
}
/* Bouton Connexion */
.login-btn-premium {
width: 100%;
padding: 14px !important;
background: var(--login-primary) !important;
color: white !important;
border: none !important;
border-radius: var(--login-radius) !important;
font-weight: 700 !important;
font-size: 1.05rem !important;
cursor: pointer !important;
transition: all 0.3s ease !important;
margin-top: 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
box-shadow: 0 4px 12px rgba(0, 136, 207, 0.2);
}
.login-btn-premium:hover {
background: #0077b5 !important;
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 136, 207, 0.3);
}
/* Alertes de maintenance / erreur */
.alert-login {
border-radius: var(--login-radius);
font-size: 0.85rem;
border: none;
background-color: #fff5f5;
color: #c53030;
padding: 12px;
border-left: 4px solid #c53030;
margin-bottom: 1.5rem;
}
/* Footer de version */
.login-footer {
position: absolute;
bottom: 25px;
font-size: 0.75rem;
color: #94a3b8;
font-weight: 500;
letter-spacing: 0.05em;
}
/* --- RESPONSIVE --- */
@media (max-width: 992px) {
.slide-container { display: none; }
.form-side { width: 100vw; padding: 20px; }
}
/* --- UTILS --- */
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0,0,0,0); border: 0;
}