MediaWiki:Common.css: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1,242:
background-color: #202122 !important;
color: #ffffff !important;
border-radius: 22px18px !important;
margin-left: 100px !important;
margin-bottom: 1.6em !important;
Line 1,435:
border-color: #202122 !important;
color: #ffffff !important; /* Keep the arrow icon white */
}
 
/* ======================================================= */
/* 8. RENAME "NEW CHAT" BUTTON TO "NEW" */
/* ======================================================= */
 
/* 1. Hide the original text "New chat" */
/* We scope this to the AI panel and exclude icon-only buttons (like Close/X) */
.ext-aiassistant-panel .cdx-button--weight-quiet:not(.cdx-button--icon-only) {
font-size: 0 !important;
}
 
/* 2. Inject the new text "New" */
.ext-aiassistant-panel .cdx-button--weight-quiet:not(.cdx-button--icon-only)::before {
content: "New" !important;
/* Restore the font size (0.875rem is standard 14px) */
font-size: 0.875rem !important;
font-weight: bold !important;
/* Ensure color is inherited or set explicitly */
color: #202122 !important;
visibility: visible !important;
}