MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Manual revert
No edit summary
Line 1,109:
.minerva-header .search-box {
display: none !important;
}
}
 
/* ======================================================= */
/* AXA BRAIN AI ASSISTANT OVERRIDES */
/* ======================================================= */
 
/* 1. Z-INDEX FIX (Desktop & Mobile) */
/* Must be higher than floating buttons (1003) and TOC Panel (1005) */
.ext-aiassistant,
.ext-aiassistant-panel {
z-index: 2000 !important;
}
 
/* 2. MOBILE FULL SCREEN MODE */
@media screen and (max-width: 768px) {
/* Target the panel directly */
.ext-aiassistant-panel {
/* Force Fixed Full Screen */
position: fixed !important;
top: 0 !important;
left: 0 !important;
right: 0 !important;
bottom: 0 !important;
 
/* OVERRIDE INLINE STYLES (Important!) */
/* This kills the specific width: 500px; height: 750px in the HTML */
width: 100% !important;
height: 100% !important;
max-width: 100% !important;
max-height: 100vh !important;
/* Reset margins and border radius for a clean "App" look */
margin: 0 !important;
border-radius: 0 !important;
box-shadow: none !important;
 
/* Flexbox setup to make the chat body stretch */
display: flex !important;
flex-direction: column !important;
}
 
/* Make the chat history area expand to fill the available height */
.ext-aiassistant-body {
flex-grow: 1 !important;
height: auto !important;
overflow-y: auto !important; /* Scrollable internal area */
}
 
/* iPhone/Android Notch Safety - Header */
.ext-aiassistant-header {
padding-top: env(safe-area-inset-top) !important;
min-height: 50px !important;
}
 
/* iPhone Home Bar Safety - Footer */
.ext-aiassistant-footer {
padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
}
}