/* Front du matching, style du front de la promotion (zako.nc/avp), sans leur nom ni leur logo. Mise en page : barre d'icônes · liste · fiche · en bref. Tout est préfixé .avf (page Gradio). */ .gradio-container { max-width: none !important; padding: 0 !important; margin: 0 !important; } /* Gradio met « overflow: hidden » sur son conteneur, ce qui empêche le panneau et les listes de rester accrochés en haut pendant le défilement (position: sticky). « clip » coupe toujours ce qui dépasse sur les côtés, sans créer de zone de défilement. */ .gradio-container { overflow-x: clip !important; overflow-y: visible !important; } .gradio-container > .main, .gradio-container main { padding: 0 !important; max-width: none !important; } .avf { --fond: #f4f6f8; --carte: #ffffff; --panneau: #eef3fb; --encre: #0f1a2b; --encre-2: #46536a; --muet: #7a869b; --trait: #dee3ea; --trait-2: #ebeef2; --marine: #17356b; --orange: #e8892b; --orange-fond: #fdf1e3; --orange-texte: #a85a0c; --vert: #1f7a4a; --vert-fond: #e6f5ec; --bleu-fond: #e7eefa; --gris-fond: #f0f2f5; --rouge: #b42318; --rouge-fond: #fdecea; --rouge-trait: #f4b8b0; --trait-fort: #c5cede; --neutre: #cfd6e0; --orange-trait: #f3c99a; --vert-trait: #b9e2c9; --bleu-trait: #c5d5f0; --panneau-trait: #d9e3f3; --bouton: #17356b; --bouton-survol: #21478d; --ombre: rgba(15,26,43,.6); --erreur-fond: #fdecec; --erreur-trait: #f3c2c2; --erreur-texte: #8f1f1f; --or-1: #fff6dc; --or-2: #fde2a1; --or-trait: #e2b23c; --or-texte: #6e4500; --f: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace; color-scheme: light; background: var(--fond); color: var(--encre); font: 400 14px/1.55 var(--f); min-height: 100vh; text-align: left; } /* Thème sombre : Gradio met la classe "dark" sur (réglage du système ou ?__theme=dark) */ .dark .avf { --fond: #0e1420; --carte: #161e2c; --panneau: #172338; --encre: #e8edf5; --encre-2: #b4bfd0; --muet: #8592a8; --trait: #2a3446; --trait-2: #222b3a; --marine: #8fb2f2; --orange: #f0a04b; --orange-fond: #33240f; --orange-texte: #f3bd7c; --vert: #6fd39b; --vert-fond: #12301f; --bleu-fond: #1b2a45; --gris-fond: #1c2433; --rouge: #f28b82; --rouge-fond: #3a1714; --rouge-trait: #7a2e27; --trait-fort: #3a4760; --neutre: #4a566c; --orange-trait: #7a5222; --vert-trait: #24603e; --bleu-trait: #34507f; --panneau-trait: #2a3b5a; --bouton: #2f5bb0; --bouton-survol: #3a6cc9; --ombre: rgba(0,0,0,.8); --erreur-fond: #3a1618; --erreur-trait: #6e2a2e; --erreur-texte: #f4b4b4; --or-1: #3d2e0a; --or-2: #5a4210; --or-trait: #c99a2e; --or-texte: #ffd77a; color-scheme: dark; } .avf *, .avf *::before, .avf *::after { box-sizing: border-box; } .avf button { font: inherit; color: inherit; cursor: pointer; } .avf button:focus-visible, .avf select:focus-visible, .avf input:focus-visible, .avf textarea:focus-visible { outline: 2px solid var(--marine); outline-offset: 2px; } .avf p { margin: 0; } /* Mise en page : la fiche défile avec la PAGE (un seul défilement pour lire la suite) ; seules les listes (postes, candidats) ont leur propre défilement, accrochées en haut de l'écran. */ .avf .app { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; min-height: 100vh; } /* Dans le cadre de la page Hugging Face (iframe sans barre de défilement, dont la hauteur suit mal le contenu et coupait la fiche) : l'application tient dans la fenêtre et le contenu défile d'un bloc. */ /* --avf-haut : hauteur visible dans la page Hugging Face, posée par front.js (100vh à défaut) */ .avf.cadre .app { height: var(--avf-haut, 100vh); min-height: 0; } .avf.cadre .contenu { height: var(--avf-haut, 100vh); overflow-y: auto; overscroll-behavior: contain; } /* Panneau Candidat / Recruteur : flottant, séparé du contenu par une bande, masquable (bouton en tête) */ .avf .nav { background: var(--carte); border: 1px solid var(--trait); border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px; width: 90px; margin: 14px 0 14px 14px; position: sticky; top: 14px; height: calc(100vh - 28px); box-shadow: 0 12px 30px -24px var(--ombre); } .avf.cadre .nav { position: static; height: calc(var(--avf-haut, 100vh) - 28px); } .avf .app.sans-nav { grid-template-columns: minmax(0, 1fr); } .avf .app.sans-nav .nav { display: none; } .avf .bascule-nav { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border: 1px solid var(--trait); border-radius: 12px; background: var(--carte); color: var(--encre-2); } .avf .bascule-nav:hover { color: var(--encre); border-color: var(--trait-fort); } .avf .bascule-nav svg { width: 20px; height: 20px; } .avf .nav button { width: 68px; border: 0; background: transparent; border-radius: 12px; padding: 10px 4px 8px; display: grid; justify-items: center; gap: 4px; font-size: 11px; color: var(--encre-2); position: relative; } .avf .nav svg { width: 20px; height: 20px; } .avf .nav button[aria-current="page"] { background: var(--bleu-fond); color: var(--marine); font-weight: 600; } .avf .nav button[aria-current="page"]::before { content: ""; position: absolute; left: -8px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--orange); } .avf .nav .bas { margin-top: 10px; font-size: 10px; color: var(--muet); text-align: center; line-height: 1.3; } /* Choix du thème, en bas du panneau : Clair · Système · Sombre */ .avf .theme { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding: 4px; border: 1px solid var(--trait); border-radius: 14px; background: var(--fond); } .avf .nav .theme button { width: 60px; padding: 6px 2px; border-radius: 10px; gap: 2px; font-size: 10px; } .avf .nav .theme button:hover { color: var(--encre); } .avf .nav .theme button[aria-pressed="true"] { background: var(--bleu-fond); color: var(--marine); font-weight: 600; } .avf .nav .theme svg { width: 16px; height: 16px; } .avf .theme span { color: inherit; font-size: inherit; } /* Contenu : bande de 34 px avec le panneau, largeur bornée sur très grand écran */ .avf .contenu { padding: 22px 32px 48px 34px; min-width: 0; width: 100%; max-width: 1640px; margin: 0 auto; } .avf .app.sans-nav .contenu { padding-left: 32px; } /* Sur l'adresse directe du Space, Hugging Face pose son badge en haut à droite : on descend l'en-tête */ .avf.hf .contenu { padding-top: 62px; } /* En-tête sur une ligne : bouton du panneau, logos, nom ; la description se coupe plutôt que de passer à la ligne */ .avf .marque { display: flex; align-items: center; gap: 12px 18px; margin-bottom: 24px; min-height: 44px; } .avf .marque .nom { flex: 1 1 auto; min-width: 0; display: flex; align-items: baseline; gap: 12px; } .avf .marque b { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; } .avf .marque span { color: var(--muet); font-size: 12px; } .avf .marque .source { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* Bandeau de logos (CV-Matching, OPT-NC, IAE, Station N) côte à côte sur un fond blanc : les fichiers ont un fond blanc ou un texte foncé, ils restent ainsi lisibles en thème sombre */ .avf .logos { display: inline-flex; align-items: center; flex: none; padding: 5px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--trait); box-shadow: 0 8px 20px -18px var(--ombre); } .avf .logos .logo { display: inline-flex; align-items: center; } .avf .logos .logo + .logo { margin-left: 11px; padding-left: 11px; border-left: 1px solid #e3e7ee; } .avf .logos img { height: 26px; width: auto; display: block; } .avf .grille { display: grid; grid-template-columns: 330px minmax(0, 1fr) 290px; gap: 28px; align-items: start; } .avf .grille.rec { grid-template-columns: 290px 320px minmax(0, 1fr); } .avf .col { min-width: 0; display: grid; gap: 14px; align-content: start; } /* Listes (postes, candidats) : accrochées en haut de l'écran, elles défilent seules */ .avf .grille > .col-liste { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 2px 6px 16px 2px; } .avf.cadre .grille > .col-liste { top: 0; max-height: calc(var(--avf-haut, 100vh) - 14px); } .avf .col-liste::-webkit-scrollbar { width: 8px; } .avf .col-liste::-webkit-scrollbar-thumb { background: var(--trait-fort); border-radius: 8px; } .avf .col-liste::-webkit-scrollbar-track { background: transparent; } .avf h1, .avf h2, .avf h3 { margin: 0; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; color: var(--encre); } .avf h1 { font-size: 26px; line-height: 1.15; } .avf .souligne::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--orange); margin-top: 8px; } .avf .surtitre { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muet); } .avf .intro { color: var(--encre-2); max-width: 64ch; } .avf .champ { display: grid; gap: 8px; } .avf .champ label, .avf .etiquette { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muet); } .avf select, .avf input[type="search"], .avf textarea { width: 100%; border: 1px solid var(--trait); border-radius: 12px; background: var(--carte); padding: 0 12px; font: inherit; color: var(--encre); } .avf select, .avf input[type="search"] { height: 42px; } .avf textarea { padding: 10px 12px; font: 400 12px/1.5 var(--mono); min-height: 220px; resize: vertical; } .avf .bascule { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--encre-2); } /* Case native : le thème Gradio redessine les cases à cocher et masquerait la coche */ .avf .bascule input { width: 16px; height: 16px; accent-color: var(--marine); appearance: auto !important; -webkit-appearance: checkbox !important; background: none !important; border: 0 !important; } /* Dépôt d'un fichier CV (glisser-déposer ou choix du fichier) */ .avf .depot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 6px; padding: 14px 12px; border: 1.5px dashed var(--trait-fort); border-radius: 12px; background: var(--carte); font-size: 13px; color: var(--encre-2); text-align: center; } .avf .depot.survol { border-color: var(--marine); background: var(--bleu-fond); } .avf .depot .lien { color: var(--marine); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } .avf .cache { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; } .avf details summary { cursor: pointer; font-size: 13px; color: var(--marine); font-weight: 600; } .avf details[open] summary { margin-bottom: 8px; } .avf .principal { height: 46px; border: 0; border-radius: 14px; background: var(--bouton); color: #fff; font-weight: 700; } .avf .principal:hover { background: var(--bouton-survol); } .avf .principal:disabled { opacity: .6; cursor: progress; } .avf .attente { font-size: 12px; color: var(--muet); } /* Deuxième avis IA */ .avf .ia-bloc { display: grid; gap: 6px; } .avf .secondaire { height: 40px; border: 1px solid var(--bleu-trait); border-radius: 12px; background: var(--bleu-fond); color: var(--marine); font-weight: 700; } .avf .secondaire:hover { border-color: var(--marine); } .avf .secondaire:disabled { opacity: .6; cursor: progress; } .avf .pilule.ia { font-weight: 600; } .avf .ia-avis { display: grid; gap: 8px; padding: 14px 16px; border: 1px dashed var(--bleu-trait); border-radius: 14px; } .avf .ia-avis p { margin: 0; font-size: 14px; line-height: 1.5; } .avf .ia-avis .src { color: var(--muet); font-size: 12px; } .avf .erreur { background: var(--erreur-fond); border: 1px solid var(--erreur-trait); color: var(--erreur-texte); border-radius: 12px; padding: 10px 12px; font-size: 13px; } .avf .secours { background: var(--orange-fond); border: 1px solid var(--orange-trait); color: var(--orange-texte); border-radius: 12px; padding: 10px 12px; font-size: 12px; } .avf .carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 16px; } .avf .item { text-align: left; width: 100%; padding: 14px 16px; display: grid; gap: 10px; border: 1px solid var(--trait); border-radius: 14px; background: var(--carte); transition: border-color .15s, box-shadow .15s; } .avf .item:hover { border-color: var(--trait-fort); } .avf .item[aria-pressed="true"] { border-color: var(--marine); box-shadow: 0 10px 24px -18px var(--ombre); border-left: 4px solid var(--orange); padding-left: 13px; } .avf .item .ligne1 { display: flex; gap: 10px; align-items: flex-start; } .avf .item .t { font-weight: 700; line-height: 1.3; flex: 1; min-width: 0; } .avf .item .score { font: 800 20px/1 var(--f); letter-spacing: -0.03em; text-align: right; min-width: 44px; } .avf .item .score small { display: block; font: 600 10px/1.3 var(--f); color: var(--muet); white-space: nowrap; letter-spacing: 0; } .avf .item .sous { font-size: 12px; color: var(--muet); } .avf .pilules { display: flex; flex-wrap: wrap; gap: 8px; } .avf .pilule { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--trait); background: var(--carte); font-size: 12px; color: var(--encre-2); white-space: nowrap; } .avf .pilule.orange { background: var(--orange-fond); border-color: var(--orange-trait); color: var(--orange-texte); } .avf .pilule.vert { background: var(--vert-fond); border-color: var(--vert-trait); color: var(--vert); } .avf .pilule.rouge { background: var(--rouge-fond); border-color: var(--rouge-trait); color: var(--rouge); } .avf .pilule.bleu { background: var(--bleu-fond); border-color: var(--bleu-trait); color: var(--marine); } .avf .pilule.gris { background: var(--gris-fond); color: var(--muet); } /* Avis sur le profil : une couleur par niveau */ .avf .pilule.niv { font-weight: 600; } .avf .pilule.niv-adapte { background: var(--vert-fond); border-color: var(--vert-trait); color: var(--vert); font-weight: 700; } .avf .pilule.niv-a_etudier { background: var(--bleu-fond); border-color: var(--bleu-trait); color: var(--marine); } .avf .pilule.niv-peu_adapte { background: var(--gris-fond); border-color: var(--trait); color: var(--muet); font-weight: 500; } .avf .pilule.grand { height: 30px; padding: 0 14px; font-size: 14px; } .avf .barre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; font: 500 12px/1 var(--mono); color: var(--encre-2); } .avf .barre .piste { height: 6px; border-radius: 6px; background: var(--trait-2); overflow: hidden; } .avf .barre .plein { height: 100%; border-radius: 6px; background: var(--marine); } .avf .fiche { padding: 28px 30px 34px; display: grid; gap: 28px; } .avf .tete { display: grid; gap: 12px; } .avf .bilan { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; padding: 18px 20px; background: var(--gris-fond); border-radius: 14px; } /* Sommaire de la fiche : un bouton par rubrique (aller à « Ce qui manque » sans tout faire défiler) */ .avf .sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -10px; } .avf .sommaire .pilule { height: 30px; padding: 0 14px; font-size: 13px; font-weight: 600; cursor: pointer; } .avf .sommaire .pilule:hover { border-color: var(--marine); } .avf .bilan .gros { font: 800 34px/1 var(--f); letter-spacing: -0.04em; } .avf .bilan .gros small { font-size: 18px; color: var(--muet); font-weight: 700; letter-spacing: 0; } .avf .bilan .gros .sous-gros { display: block; margin-top: 4px; font: 600 11px/1.3 var(--f); letter-spacing: .02em; color: var(--muet); max-width: 9em; } .avf .bilan .d { display: grid; gap: 10px; min-width: 0; } .avf .bilan .phrase { color: var(--encre-2); font-size: 13px; } /* Échelle du libellé sous la pilule : la marche atteinte est en gras */ .avf .echelle { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 11.5px; line-height: 1.5; color: var(--muet); } .avf .echelle .marche { white-space: nowrap; } .avf .echelle .marche + .marche::before { content: "·"; margin-right: 8px; color: var(--muet); } .avf .echelle .ici { color: var(--encre); font-weight: 700; } /* Décomposition du score : obtenus | perdus (compétences) | perdus (savoir-être) = 100 */ .avf .decomp { display: grid; gap: 8px; } .avf .decomp .pile { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--carte); } .avf .decomp .pile span { display: block; height: 100%; } .avf .decomp .o { background: var(--marine); } .avf .decomp .pc { background: var(--orange-trait); } .avf .decomp .ps { background: var(--neutre); } .avf .decomp .legende { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--encre-2); } .avf .decomp .legende i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; } .avf .rubrique { display: grid; gap: 12px; scroll-margin-top: 12px; } .avf .rubrique > h2 { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); } .avf .rubrique > h2::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); } .avf .rubrique > h2 .nb { font: 500 11px/1 var(--mono); color: var(--muet); letter-spacing: 0; } .avf .rubrique .aide { margin-top: -2px; font-size: 12px; color: var(--muet); line-height: 1.6; } .avf .liste { list-style: none; margin: 0; padding: 0; display: grid; } .avf .liste li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-top: 1px solid var(--trait-2); } .avf .liste li > div { display: grid; gap: 4px; } .avf .liste li:first-child { border-top: 0; } .avf .liste .a { font-weight: 600; } .avf .liste .p { color: var(--encre-2); font-size: 13px; } .avf .liste .src { font: 400 11px var(--mono); color: var(--muet); } .avf .liste .notes { font: 400 11px/1.6 var(--mono); color: var(--muet); } .avf .liste .pts { font: 600 12px/1.6 var(--mono); } .avf .liste .pts.gain { color: var(--marine); } .avf .liste .pts.perte { color: var(--orange-texte); } .avf .vide { color: var(--muet); font-size: 13px; } .avf .plus { border: 0; background: none; color: var(--marine); font-weight: 600; font-size: 13px; padding: 6px 0; justify-self: start; } .avf .enbref { background: var(--panneau); border: 1px solid var(--panneau-trait); border-radius: 18px; padding: 22px 24px; display: grid; gap: 16px; } .avf .enbref h2 { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre-2); font-weight: 700; } .avf .enbref h2::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); } .avf .enbref dl { margin: 0; display: grid; gap: 12px; } .avf .enbref dt { font-size: 12px; color: var(--muet); } .avf .enbref dd { margin: 0; font-size: 13px; line-height: 1.5; } .avf .enbref a { color: var(--marine); font-weight: 700; text-decoration: none; } .avf .enbref a:hover { text-decoration: underline; } .avf .note { font-size: 12px; color: var(--muet); } .avf .accueil { padding: 32px 34px; display: grid; gap: 16px; align-content: start; max-width: 70ch; } .avf .chargement { display: flex; align-items: center; gap: 10px; color: var(--encre-2); font-size: 13px; } .avf .rond { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--trait); border-top-color: var(--marine); animation: avf-tourne .8s linear infinite; } @keyframes avf-tourne { to { transform: rotate(360deg); } } @media (max-width: 1180px) { .avf .grille { grid-template-columns: 300px minmax(0, 1fr); } .avf .col-bref { grid-column: 2; } .avf .grille.rec { grid-template-columns: 280px minmax(0, 1fr); } .avf .grille.rec > .col:last-child { grid-column: 1 / -1; } } @media (max-width: 820px) { .avf .app { grid-template-columns: minmax(0, 1fr); } .avf.cadre .app { grid-template-rows: auto minmax(0, 1fr); } .avf.cadre .app.sans-nav { grid-template-rows: minmax(0, 1fr); } .avf.cadre .contenu { height: auto; min-height: 0; } .avf.cadre .nav { height: auto; } .avf.hf .app { padding-top: 50px; } .avf .nav { position: static; height: auto; width: auto; margin: 10px 12px 0; padding: 8px 10px; flex-direction: row; justify-content: center; } .avf .nav .bas { display: none; } .avf .nav button[aria-current="page"]::before { display: none; } .avf .theme { margin: 0 0 0 auto; flex-direction: row; align-self: center; } .avf .nav .theme button { width: 40px; min-height: 40px; padding: 6px 2px; } .avf .theme span { display: none; } /* icônes seules ; le nom reste dans title */ .avf .contenu, .avf.hf .contenu { padding: 18px 16px 36px; } .avf .app.sans-nav .contenu { padding-left: 16px; } .avf .marque { flex-wrap: wrap; } .avf .marque .source { display: none; } .avf .logos img { height: 24px; } .avf .grille, .avf .grille.rec { grid-template-columns: minmax(0, 1fr); } .avf .grille > .col-liste { position: static; max-height: none; overflow: visible; padding: 0; } .avf .col-bref, .avf .grille.rec > .col:last-child { grid-column: auto; } } @media (max-width: 520px) { .avf .contenu, .avf.hf .contenu, .avf .app.sans-nav .contenu { padding: 14px 12px 32px; } .avf .nav { margin: 8px 10px 0; } .avf .nav button { width: auto; min-width: 80px; } .avf .nav .theme button { width: 40px; min-width: 0; } .avf .fiche { padding: 20px 16px 24px; gap: 22px; } .avf .logos { padding: 4px 9px; } .avf .logos .logo + .logo { margin-left: 8px; padding-left: 8px; } .avf .logos img { height: 21px; } .avf .bilan { grid-template-columns: minmax(0, 1fr); gap: 10px; } .avf .liste li { grid-template-columns: 46px minmax(0, 1fr); gap: 8px; } .avf h1 { font-size: 22px; } } @media (prefers-reduced-motion: reduce) { .avf * { transition: none !important; animation: none !important; } }