Jump to content

MediaWiki:Group-sysop.css: Difference between revisions

From Costa Sano MediaWiki
No edit summary
No edit summary
Line 1: Line 1:
/* MediaWiki:Group-sysop.css - High Specificity Restoration */
/* MediaWiki:Group-sysop.css - Fluid Admin View */


/* 1. Restore the Top Toolbar (Read, Edit, History) */
/* 1. Restore the Top Toolbar (Read, Edit, History) */
/* We target the ID and the class to be absolutely sure */
html body.skin-vector-2022 .vector-page-toolbar {
html body.skin-vector-2022 .vector-page-toolbar,
html body.skin-vector-2022 #p-views,
html body.skin-vector-2022 #p-cactions {
     display: flex !important;
     display: flex !important;
     visibility: visible !important;
     visibility: visible !important;
}
}


/* 2. Restore the Right Column Tools */
/* 2. Restore the Right Column Tools WITHOUT shrinking the content */
html body.skin-vector-2022 .vector-column-end {
html body.skin-vector-2022 .vector-column-end {
     display: block !important;
     display: block !important;
     visibility: visible !important;
     visibility: visible !important;
    position: absolute !important; /* Floats the tools so they don't push the content */
    right: 0;
    top: 150px;
    z-index: 100;
}
}


/* 3. Ensure the Page Content doesn't overlap the restored tools */
/* 3. FORCE CONTENT FULL-WIDTH for Sysop */
html body.skin-vector-2022 .mw-content-container {
html body.skin-vector-2022 .mw-content-container {
     margin-right: 300px !important; /* Standard Vector column width */
    max-width: none !important;
     margin-right: 0 !important; /* Removes the "squeeze" */
}
}

Revision as of 22:24, 12 February 2026

/* MediaWiki:Group-sysop.css - Fluid Admin View */

/* 1. Restore the Top Toolbar (Read, Edit, History) */
html body.skin-vector-2022 .vector-page-toolbar {
    display: flex !important;
    visibility: visible !important;
}

/* 2. Restore the Right Column Tools WITHOUT shrinking the content */
html body.skin-vector-2022 .vector-column-end {
    display: block !important;
    visibility: visible !important;
    position: absolute !important; /* Floats the tools so they don't push the content */
    right: 0;
    top: 150px;
    z-index: 100;
}

/* 3. FORCE CONTENT FULL-WIDTH for Sysop */
html body.skin-vector-2022 .mw-content-container {
    max-width: none !important;
    margin-right: 0 !important; /* Removes the "squeeze" */
}