MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1,150:
/* 1. GLOBAL LAYER (All Devices) - STACKING TRAP FIX */
/* ======================================================= */
 
/* Target ONLY the open overlay containers. Excludes the AI trigger icon! */
/* A. Fix the Codex Overlay wrapper.
.cdx-overlay-container,
NEVER apply 'transform' here, or it breaks position:fixed children! */
.cdx-overlay-container, {
z-index: 2147483647 !important;
transform: translateZ(10px)none !important;
 
/* B. Break the Minerva skin's default stacking trap.
This ensures the AI panel can escape the text body and float above the header. */
#content,
.mw-body,
#mw-content-text {
willz-changeindex: transformauto !important;
}
 
/* C. Give ONLY the panel itself the hardware acceleration.
This ensures it sits physically above the buttons' translateZ(0) hack. */
.ext-aiassistant-panel {
z-index: 2147483647 !important;
transform: translateZ(10px) !important;
will-change: transform !important;
}
 
Line 1,638 ⟶ 1,655:
max-width: min(100%, 1200px) !important;
}
 
/* ======================================================= */
/* FIX: ELEVATE AI ASSISTANT PARENT WRAPPER */
/* ======================================================= */
.ext-aiassistant {
/* Lifts the entire extension stack above your 1002 buttons */
z-index: 2147483647 !important;
/* Ensures it competes on the same hardware-accelerated plane as the buttons */
transform: translateZ(10px) !important;
will-change: transform !important;
}