diff --git a/Bootstrap_new/css/style-portail.css b/Bootstrap_new/css/style-portail.css index 2f4e31b4..7d9b00de 100644 --- a/Bootstrap_new/css/style-portail.css +++ b/Bootstrap_new/css/style-portail.css @@ -1,25 +1,26 @@ /* ============================================================ style-portail.css – INTER SANTE · Portail Gestionnaire - v2 – Image1 (icônes FA, overlay gradient, badge carrousel, - bouton avec icône) + Image2 (logo grand, titre uppercase - imposant, aération, focus fond bleu, proportions 42/58) + v3 – nouvelles variables brand, fit parfait à 100 % zoom, + form-select Bootstrap, textes carrousel animés ============================================================ */ -/* ---------- Variables ---------- */ +/* ---------- Variables (mises à jour client) ---------- */ :root { --brand: #212E53; --brand-dark: #1a1d24; --brand-light: #4c566a; --brand-focus: #0c4b65; + --brand-btn-hover-txt: #212E53; --white: #ffffff; + --input-border: #c5d4e0; --text-dark: #1a2e3b; --text-muted: #6b8a9a; --text-label: #3a5060; --danger: #dc3545; --border-r: 10px; - --input-h: 48px; + --input-h: 44px; --transition: 0.22s ease; - --shadow-btn: 0 4px 16px rgba(0,136,207,.38); + --shadow-btn: 0 4px 16px rgba(33,46,83,.35); } /* ---------- Reset / Base ---------- */ @@ -35,7 +36,9 @@ html, body { a { text-decoration: none; } -/* ---------- Wrapper principal ---------- */ +/* ============================================= + LAYOUT PRINCIPAL + ============================================= */ .portail-wrapper { display: flex; height: 100vh; @@ -44,7 +47,7 @@ a { text-decoration: none; } } /* ============================================= - PANNEAU GAUCHE — Carrousel 42 % (Image 2) + PANNEAU GAUCHE — Carrousel 42 % ============================================= */ .slide-container { position: relative; @@ -71,45 +74,63 @@ a { text-decoration: none; } .slides .slide.active { left: 0; } -/* Overlay dégradé bleu profond (Image 1) */ +/* Overlay dégradé */ .slide-container::after { content: ''; position: absolute; inset: 0; background: linear-gradient( 160deg, - rgba(0, 100, 180, .28) 0%, - rgba(0, 28, 65, .58) 100% + rgba(33, 46, 83, .30) 0%, + rgba(10, 15, 30, .65) 100% ); pointer-events: none; z-index: 1; } -/* Badge marque bas-gauche (Image 1) */ +/* ---------- Badge marque + caption par slide ---------- */ .slide-brand { position: absolute; bottom: 52px; left: 36px; z-index: 5; color: var(--white); + max-width: calc(100% - 80px); } .slide-brand h2 { - font-size: 1.5rem; + font-size: 1.45rem; font-weight: 700; letter-spacing: .6px; line-height: 1.2; - text-shadow: 0 2px 8px rgba(0,0,0,.4); + text-shadow: 0 2px 8px rgba(0,0,0,.45); } -.slide-brand p { +.slide-brand .slide-subtitle { font-size: .80rem; opacity: .85; - margin-top: 5px; + margin-top: 3px; text-shadow: 0 1px 4px rgba(0,0,0,.35); } -/* Boutons prev / next (Image 1 style) */ +/* Texte par slide — animation synchronisée */ +.slide-caption { + margin-top: 10px; + font-size: .95rem; + font-weight: 600; + line-height: 1.4; + text-shadow: 0 2px 6px rgba(0,0,0,.5); + opacity: 1; + transform: translateY(0); + transition: opacity .35s ease, transform .35s ease; +} + +.slide-caption.animating { + opacity: 0; + transform: translateY(10px); +} + +/* Boutons prev / next */ .slide-btn { position: absolute; top: 50%; @@ -118,10 +139,10 @@ a { text-decoration: none; } background: rgba(255,255,255,.20); border: none; color: var(--white); - width: 38px; - height: 38px; + width: 36px; + height: 36px; border-radius: 50%; - font-size: .88rem; + font-size: .85rem; cursor: pointer; backdrop-filter: blur(4px); transition: background var(--transition); @@ -131,13 +152,13 @@ a { text-decoration: none; } } .slide-btn:hover { background: rgba(255,255,255,.42); } -.slide-btn.prev { left: 16px; } -.slide-btn.next { right: 16px; } +.slide-btn.prev { left: 14px; } +.slide-btn.next { right: 14px; } -/* Indicateurs dots */ +/* Dots indicateurs */ .dotsContainer { position: absolute; - bottom: 18px; + bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 5; @@ -162,7 +183,8 @@ a { text-decoration: none; } } /* ============================================= - PANNEAU DROIT — Formulaire 58 % (Image 2) + PANNEAU DROIT — Formulaire 58 % + Fit parfait à 100 % zoom (≈ 900 px hauteur) ============================================= */ .form-panel { flex: 1; @@ -170,45 +192,46 @@ a { text-decoration: none; } flex-direction: column; align-items: center; justify-content: center; - padding: 0 52px 56px; /* bottom padding = place pour le footer absolu */ + /* padding bottom = espace pour le footer absolu */ + padding: 10px 48px 50px; background: var(--white); overflow: hidden; position: relative; } -/* Logo grand et centré (Image 2) */ +/* Logo */ .form-logo { - width: 115px; - height: 115px; + width: 90px; + height: 90px; object-fit: contain; - margin-bottom: 12px; + margin-bottom: 8px; } -/* Titre imposant uppercase (Image 2) */ +/* Titre */ .portail-title { - font-size: 1.5rem; + font-size: 1.38rem; font-weight: 800; color: var(--brand); letter-spacing: 1.8px; text-transform: uppercase; text-align: center; - margin-bottom: 8px; + margin-bottom: 6px; line-height: 1.2; } /* Séparateur */ .portail-divider { - width: 44px; + width: 40px; height: 3px; background: var(--brand); border-radius: 2px; - margin: 0 auto 20px; + margin: 0 auto 16px; } /* Formulaire */ .login100-form { width: 100%; - max-width: 355px; + max-width: 360px; display: flex; flex-direction: column; } @@ -216,9 +239,9 @@ a { text-decoration: none; } /* Alerte maintenance / erreur */ .alert-portail { border-radius: var(--border-r); - font-size: .83rem; - padding: 10px 14px; - margin-bottom: 14px; + font-size: .82rem; + padding: 9px 12px; + margin-bottom: 12px; text-align: center; } @@ -228,21 +251,21 @@ a { text-decoration: none; } color: var(--danger); } -/* Groupe champ — aéré (Image 2) */ +/* Groupe champ */ .field-group { - margin-bottom: 13px; + margin-bottom: 10px; } .field-group label { display: block; - font-size: .79rem; + font-size: .77rem; font-weight: 600; color: var(--text-label); - margin-bottom: 5px; + margin-bottom: 4px; letter-spacing: .2px; } -/* Wrapper input + icône (Image 1) */ +/* Wrapper input + icône */ .input-icon-wrap { position: relative; display: flex; @@ -251,9 +274,9 @@ a { text-decoration: none; } .input-icon-wrap .field-icon { position: absolute; - left: 14px; + left: 13px; color: var(--brand); - font-size: .90rem; + font-size: .88rem; pointer-events: none; z-index: 2; } @@ -262,65 +285,49 @@ a { text-decoration: none; } .input-icon-wrap .input100 { width: 100%; height: var(--input-h); - padding: 0 14px 0 40px; - border: 2px solid #c5e1f3; + padding: 0 12px 0 38px; + border: 2px solid var(--input-border); border-radius: var(--border-r); - font-size: .9rem; + font-size: .88rem; color: var(--brand); background: var(--white); transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); outline: none; } -.input-icon-wrap .input100::placeholder { color: #a8cce0; } +.input-icon-wrap .input100::placeholder { color: #a8bfcc; } -/* Focus : fond bleu clair + bordure pleine (Image 2) */ .input-icon-wrap .input100:focus { border-color: var(--brand); - background: var(--brand-focus); - box-shadow: 0 0 0 3px rgba(0,136,207,.10); + background: #eef3f8; + box-shadow: 0 0 0 3px rgba(33,46,83,.10); } -/* Bootstrap-select langue */ -.bootstrap-select.field-select { - width: 100% !important; -} - -.bootstrap-select.field-select > .dropdown-toggle { +/* ---------- form-select Bootstrap (remplace selectpicker) ---------- */ +.input-icon-wrap .form-select { + width: 100%; height: var(--input-h); - padding: 0 14px 0 40px; - border: 2px solid #c5e1f3 !important; + padding: 0 36px 0 38px; + border: 2px solid var(--input-border); border-radius: var(--border-r) !important; - background: var(--white) !important; + font-size: .88rem; color: var(--brand); - font-size: .9rem; - box-shadow: none !important; - display: flex; - align-items: center; - transition: border-color var(--transition), background var(--transition); + background-color: var(--white); + background-image: none; /* on gère la flèche via FA */ + cursor: pointer; + outline: none; + appearance: none; + -webkit-appearance: none; + transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); } -.bootstrap-select.field-select.show > .dropdown-toggle, -.bootstrap-select.field-select > .dropdown-toggle:active { - border-color: var(--brand) !important; - background: var(--brand-focus) !important; - box-shadow: 0 0 0 3px rgba(0,136,207,.10) !important; - outline: none !important; +.input-icon-wrap .form-select:focus { + border-color: var(--brand); + background-color: #eef3f8; + box-shadow: 0 0 0 3px rgba(33,46,83,.10); } -.bootstrap-select.field-select .filter-option-inner-inner { - color: var(--brand) !important; - background: transparent !important; - text-align: left; - font-size: .9rem; - height: auto; - line-height: normal; -} - -/* Masque la caret native Bootstrap-select, on utilise notre icône FA */ -.bootstrap-select.field-select .caret { display: none !important; } - -/* Flèche custom positionnée à droite du select */ +/* Flèche custom (remplace la caret native et celle de bootstrap-select) */ .select-arrow { position: absolute; right: 13px; @@ -330,15 +337,15 @@ a { text-decoration: none; } z-index: 3; } -/* Bouton connexion (Image 1 icône + Image 2 propreté) */ +/* Bouton connexion */ .btn-login { width: 100%; - height: 48px; + height: 44px; background: var(--brand); color: var(--white); border: 2px solid var(--brand); border-radius: var(--border-r); - font-size: 1rem; + font-size: .95rem; font-weight: 700; letter-spacing: .5px; cursor: pointer; @@ -348,23 +355,23 @@ a { text-decoration: none; } display: flex; align-items: center; justify-content: center; - gap: 9px; + gap: 8px; } .btn-login:hover { background: var(--white); - color: var(--brand); + color: var(--brand-btn-hover-txt); box-shadow: none; } /* Lien mot de passe oublié */ .link-forgot { text-align: center; - margin-top: 15px; + margin-top: 12px; } .link-forgot a { - font-size: .82rem; + font-size: .80rem; color: var(--text-muted); transition: color var(--transition); display: inline-flex; @@ -374,21 +381,21 @@ a { text-decoration: none; } .link-forgot a:hover { color: var(--brand); } -/* Footer ancré en bas du panneau (Image 2) */ +/* Footer ancré en bas absolu */ .portail-footer { position: absolute; - bottom: 14px; + bottom: 12px; left: 0; right: 0; text-align: center; - font-size: .72rem; + font-size: .70rem; color: var(--text-muted); line-height: 1.6; } .portail-footer a { color: var(--brand); - font-weight: 600; + font-weight: 700; } .portail-footer a:hover { text-decoration: underline; } @@ -406,15 +413,8 @@ a { text-decoration: none; } ============================================= */ @media screen and (max-width: 768px) { .slide-container { display: none; } - - .portail-wrapper { justify-content: center; } - - .form-panel { - padding: 36px 24px 64px; - justify-content: flex-start; - } - - .login100-form { max-width: 100%; } - - .portail-footer { bottom: 10px; } + .portail-wrapper { justify-content: center; } + .form-panel { padding: 30px 20px 60px; justify-content: flex-start; } + .login100-form { max-width: 100%; } + .portail-footer { bottom: 10px; } } diff --git a/Vue/Ajaxconnexioncookie/english.php b/Vue/Ajaxconnexioncookie/english.php index ab262272..a18ec147 100755 --- a/Vue/Ajaxconnexioncookie/english.php +++ b/Vue/Ajaxconnexioncookie/english.php @@ -2,8 +2,7 @@ /* * Ajaxconnexioncookie/english.php * Login form — English version. - * Image 1 : FA icons in fields, icon on submit button. - * Image 2 : uppercase bold title, airy layout, blue focus background. + * v3 : Bootstrap form-select (replaces selectpicker), no inline styles. */ $maintenance = $societeusersaas['maintenance']; @@ -12,11 +11,9 @@ if ($maintenance === '1') { } ?> - Manager Portal
-
-
+
= $contenu ?>
-