39 lines
3.7 KiB
CSS
39 lines
3.7 KiB
CSS
/* DONA_FILES_V91 — panneau autonome et réactif */
|
|
.df-overlay[hidden],.df-current[hidden],.df-preview[hidden]{display:none!important}
|
|
.df-overlay{position:fixed;inset:0;z-index:12700;background:rgba(7,11,20,.86);backdrop-filter:blur(13px);display:grid;place-items:center;padding:12px;color:#ecf5ff}
|
|
.df-panel{box-sizing:border-box;width:min(810px,100%);max-height:calc(100dvh - 24px);overflow:auto;padding:clamp(14px,2.7vw,26px);background:linear-gradient(150deg,#1a2a3b,#111925);border:1px solid #476075;border-radius:20px;box-shadow:0 15px 65px #000a;font:15px/1.5 system-ui,sans-serif;color:#f2f7ff}
|
|
.df-panel *{box-sizing:border-box}.df-panel button,.df-panel textarea{font:inherit}.df-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.df-head h2{font-size:23px;line-height:1.25;margin:4px 0 10px}.df-eyebrow{font-size:11px;letter-spacing:.15em;color:#a5d2e9}.df-close{cursor:pointer;color:#fff;background:#2d4051;border:1px solid #5b7689;border-radius:50%;font-size:24px;width:41px;height:41px;flex-shrink:0}
|
|
.df-hint{color:#a2bccc;font-size:12px;margin:9px 0 13px}.df-drop{display:grid;justify-items:center;gap:8px;padding:17px;border:2px dashed #65859c;border-radius:14px;background:#172b3d;text-align:center;margin:12px 0}.df-drop.df-over{border-color:#a1f2e6;background:#24465a}.df-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.df-upload-icon{font-size:28px}.df-button{border:1px solid #587a98;border-radius:11px;color:#edfaff;background:#2e4960;padding:9px 14px;cursor:pointer}.df-button:hover,.df-chip:hover{filter:brightness(1.18)}.df-primary{background:#126b82;border-color:#299dc4}.df-button:disabled{opacity:.55;cursor:wait}.df-current{padding:8px 12px;border:1px solid #3d617a;border-radius:12px;margin-bottom:9px}.df-filename{font-weight:600;overflow-wrap:anywhere;margin:6px 0}.df-preview{display:block;max-height:185px;max-width:100%;object-fit:contain;border-radius:9px;margin:8px 0}.df-del{font-size:12px;background:#5b303c}.df-label{display:block;font-weight:600;margin:13px 0 7px}.df-question{display:block;width:100%;background:#111f2e;color:#fff;border:1px solid #68859a;border-radius:10px;padding:12px;resize:vertical;min-height:85px}.df-examples{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.df-chip{padding:7px 11px;background:#273c53;color:#e9f5ff;border:1px solid #496b85;border-radius:18px;cursor:pointer}.df-run{margin:6px 0}.df-status{min-height:20px;color:#a4d8eb;font-size:13px;margin:10px 0}.df-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;background:rgba(14,27,42,.85);border:1px solid #34566c;border-radius:12px;padding:16px;margin-top:10px;min-height:50px}.df-launch{cursor:pointer}
|
|
@media(max-width:650px){.df-overlay{padding:0}.df-panel{height:100dvh;max-height:100dvh;border-radius:0;padding:13px}.df-head h2{font-size:20px}.df-drop{padding:12px}}
|
|
|
|
/* DONA_FILES_V911_COMPOSE : bouton 📎 après Envoyer, dans la barre Écrire à Dona. */
|
|
body.dona-family-v1 .dona-compose-row #dfOpen.df-compose-attach{
|
|
flex:0 0 48px;
|
|
width:48px;
|
|
min-width:48px;
|
|
height:48px;
|
|
min-height:48px;
|
|
padding:0!important;
|
|
display:grid;
|
|
place-items:center;
|
|
border-radius:50%!important;
|
|
background:rgba(255,255,255,.1)!important;
|
|
border:1px solid rgba(255,204,165,.55)!important;
|
|
color:#ffe3ca!important;
|
|
font-size:23px!important;
|
|
font-weight:500!important;
|
|
cursor:pointer;
|
|
}
|
|
body.dona-family-v1 .dona-compose-row #dfOpen.df-compose-attach:hover{
|
|
background:rgba(255,195,139,.24)!important;
|
|
}
|
|
body.dona-family-v1 .dona-compose-row #dfOpen.df-compose-attach:focus-visible{
|
|
outline:2px solid #ffce92;
|
|
outline-offset:2px;
|
|
}
|
|
@media(max-width:700px){
|
|
body.dona-family-v1 .dona-compose-row #dfOpen.df-compose-attach{
|
|
width:46px;min-width:46px;flex-basis:46px;height:46px;min-height:46px;
|
|
}
|
|
}
|