MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 986:
}
 
/* --- Alignment fixes: vertical gutters +, centering, button order --- */
 
/* 1. Shared horizontal padding so— aligns header buttons,button messagesedges, and composer
message edges, and composer edges on the same vertical rails.
all share the same left/right edge. Adjust 12px if needed after
Tune this value in DevTools until the leftmost header button
inspecting the actual header button inset in DevTools. */
and the composer left edge sit on the same line. */
.ext-aiassistant-header,
.ext-aiassistant-body,
Line 998 ⟶ 999:
}
 
/* 2. MessagesStrip flushany toextra bodyinset paddingfrom (noheader extrabutton inset)groups so */the
outermost buttons sit flush against the section padding */
.ext-aiassistant-header-actions {
margin-right: 0 !important;
padding: 0 !important;
}
 
/* 3. Messages flush to body padding */
.ext-aiassistant-message {
margin-left: 0 !important;
Line 1,004 ⟶ 1,012:
}
 
/* 34. Composer fills full footer width */
.ext-aiassistant-prompt-composer {
margin-left: 0 !important;
margin-right: 0 !important;
width: 100% !important;
box-sizing: border-box !important;
}
 
/* 45. Vertically center composer inside footer */
equal top and bottom padding does the job */
.ext-aiassistant-footer {
display: flex !important;
align-items: center !important;
justify-content: center !important;
padding-top: 10px !important;
padding-bottom: 10px !important;
}
 
/* 56. Vertically center title + icon withrow headerin buttonsheader */
.ext-aiassistant-header {
display: flex !important;
Line 1,028 ⟶ 1,039:
}
 
/* 67. ActionSwap assistant action buttons: (copy etc.)moves alwaysto right-alignedthe */right,
source moves to the left — aligns copy with user's copy btn */
.ext-aiassistant-actions {
.ext-aiassistant-message-assistant .ext-aiassistant-actions {
display: flex !important;
flex-direction: row-reverse !important;
}
 
/* 8. Keep user action buttons right-aligned as they are */
.ext-aiassistant-message-user .ext-aiassistant-actions {
display: flex !important;
justify-content: flex-end !important;
}
 
/* 79. ModeToolbar dropdown and send buttonitems vertically aligned */
.ext-aiassistant-prompt-composer__toolbar {
display: flex !important;