Files
Alfredv2/alfred/app/static/css/alfred-reponse-close-v1.css
T
2026-10-30 22:10:03 +01:00

80 lines
2.6 KiB
CSS

/* ALFRED_REPONSE_CLOSE_V1 — actions toujours au-dessus du contenu rendu par Hermes. */
.alfred-glass-theme #stage {
padding-top: clamp(76px, 9vh, 104px) !important;
position: fixed;
}
.alfred-glass-theme #stage .av-reponse-actions {
position: absolute;
top: clamp(14px, 2.2vh, 25px);
right: clamp(15px, 2vw, 31px);
z-index: 32;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: flex-end;
gap: 10px;
pointer-events: auto;
}
/* #avBack est déplacé hors de .alfred-main-v1 pour éviter son contexte d'empilement. */
.alfred-glass-theme #stage #avBack.av-reponse-home,
.alfred-glass-theme #stage .av-reponse-close {
position: static !important;
inset: auto !important;
transform: none !important;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
min-height: 43px;
padding: 10px 16px;
border: 1px solid rgba(181, 218, 248, .47);
border-radius: 13px;
background: rgba(18, 42, 65, .93);
color: #f6fbff;
font: 600 13px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
letter-spacing: 0;
cursor: pointer;
box-shadow: 0 6px 18px rgba(0, 5, 15, .4);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
opacity: 1 !important;
visibility: visible !important;
}
.alfred-glass-theme #stage #avBack.av-reponse-home[hidden] { display: none !important; }
.alfred-glass-theme #stage .av-reponse-close {
width: 43px;
min-width: 43px;
padding: 9px;
border-radius: 50%;
background: rgba(37, 51, 70, .96);
}
.alfred-glass-theme #stage .av-reponse-close svg,
.alfred-glass-theme #stage #avBack.av-reponse-home svg {
width: 18px;
height: 18px;
flex: 0 0 auto;
}
.alfred-glass-theme #stage .av-reponse-close:hover,
.alfred-glass-theme #stage #avBack.av-reponse-home:hover {
background: rgba(21, 103, 169, .98);
border-color: #9ed7ff;
}
.alfred-glass-theme #stage .av-reponse-close:focus-visible,
.alfred-glass-theme #stage #avBack.av-reponse-home:focus-visible {
outline: 3px solid #83d1ff;
outline-offset: 3px;
}
@media (max-width: 600px) {
.alfred-glass-theme #stage { padding-top: 88px !important; }
.alfred-glass-theme #stage .av-reponse-actions { top: 12px; right: 12px; gap: 7px; }
.alfred-glass-theme #stage #avBack.av-reponse-home,
.alfred-glass-theme #stage .av-reponse-close { font-size: 12px; padding: 8px 11px; min-height: 40px; }
.alfred-glass-theme #stage .av-reponse-close { width: 40px; min-width: 40px; padding: 8px; }
}
/* DONA_HIDE_REDUNDANT_RETURN_V1 */
/* Bouton historique conserve dans le DOM : la croix l'utilise via click(). */
.alfred-glass-theme #stage #avBack.av-reponse-home {
display: none !important;
}