World of Warcraft: Forever is currently in beta. This wiki is being updated regularly as new information becomes available, and details may change before launch. You can help by submitting edits and corrections as you discover them in-game.

MediaWiki:Common.css: Difference between revisions

From WowForever Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:


/* =========================================================
/* =========================================================
   VISUALEDITOR TOOLBAR
   VISUALEDITOR TOOLBAR — WHITE BACKGROUND VARIANT
   ========================================================= */
   ========================================================= */


Line 28: Line 28:
.oo-ui-toolbar-bar,
.oo-ui-toolbar-bar,
.ve-ui-toolbar {
.ve-ui-toolbar {
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
     border-bottom: 1px solid #1d3a56 !important;
     border-bottom: 1px solid #c8ccd1 !important;
}
}


/* Toolbar stays visible/pinned styling */
.oo-ui-toolbar-position-top {
.oo-ui-toolbar-position-top {
     border-bottom-color: #1d3a56 !important;
     border-bottom-color: #c8ccd1 !important;
}
}


/* Tool groups (the boxes grouping bold/italic, headings, etc.) */
/* Tool groups */
.oo-ui-toolGroup {
.oo-ui-toolGroup {
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
     border-color: #1d3a56 !important;
     border-color: #c8ccd1 !important;
}
}


.oo-ui-toolGroup-tools {
.oo-ui-toolGroup-tools {
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
}
}


/* Individual tool buttons (bold, italic, link, etc.) */
/* Individual tool buttons (bold, italic, link, etc.) */
.oo-ui-tool-link {
.oo-ui-tool-link,
    color: #ffffff !important;
}
 
.oo-ui-tool-title {
.oo-ui-tool-title {
     color: #ffffff !important;
     color: #000000!important;
}
}


.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:hover {
.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:hover {
     background-color: #12304a !important;
     background-color: #eaf3ff !important;
}
}


.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active .oo-ui-tool-link,
.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active .oo-ui-tool-link,
.oo-ui-tool-active .oo-ui-tool-link {
.oo-ui-tool-active .oo-ui-tool-link {
     background-color: #12263a !important;
     background-color: #d9e8ff !important;
     color: #66b3ff !important;
     color: #12304a !important;
}
}


/* Disabled tool buttons (e.g. Undo when nothing to undo) */
/* Disabled tool buttons */
.oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-link {
.oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-link {
     color: #4a6178 !important;
     color: #a2a9b1 !important;
}
}


/* Toolbar icons — most are SVG masks using currentColor/background,
/* Icons: remove the invert filter from before — icons are dark by
   this keeps them visible against the dark background */
   default in OOUI, which is now correct against a white background */
.oo-ui-icon-element .oo-ui-tool-link .oo-ui-iconElement-icon {
.oo-ui-icon-element .oo-ui-tool-link .oo-ui-iconElement-icon {
     filter: invert(1) !important;
     filter: none !important;
}
}


/* Dropdown tool groups (e.g. Paragraph style, Insert menu) */
/* Dropdown tool groups (Paragraph style, Insert menu, etc.) */
.oo-ui-dropdownWidget,
.oo-ui-dropdownWidget,
.oo-ui-toolbar .oo-ui-popupToolGroup {
.oo-ui-toolbar .oo-ui-popupToolGroup {
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
     border-color: #1d3a56 !important;
     border-color: #c8ccd1 !important;
}
}


.oo-ui-popupToolGroup-handle {
.oo-ui-popupToolGroup-handle {
     color: #ffffff !important;
     color: #000000!important;
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
}
}


.oo-ui-popupToolGroup-handle:hover {
.oo-ui-popupToolGroup-handle:hover {
     background-color: #12304a !important;
     background-color: #eaf3ff !important;
}
}


/* Expanded dropdown panel (e.g. list of heading styles) */
/* Expanded dropdown panel */
.oo-ui-popupToolGroup-active .oo-ui-toolGroup-tools {
.oo-ui-popupToolGroup-active .oo-ui-toolGroup-tools {
     background-color: #0d1b2a !important;
     background-color: #ffffff !important;
     border: 1px solid #1d3a56 !important;
     border: 1px solid #c8ccd1 !important;
}
}


/* Toolbar save button (top right, "Save page"/"Publish changes") */
/* Toolbar save button stays as-is, still readable on white */
.oo-ui-toolbar-actions .oo-ui-buttonElement-button {
.oo-ui-toolbar-actions .oo-ui-buttonElement-button {
     background-color: #12304a !important;
     background-color: #12304a !important;
Line 109: Line 105:
     background-color: #1d5f8a !important;
     background-color: #1d5f8a !important;
     border-color: #66b3ff !important;
     border-color: #66b3ff !important;
}
/* Catch-all for toolbar group labels (Insert, Cite, etc.) */
.oo-ui-toolbar .oo-ui-labelElement-label {
    color: #000000 !important;
}
}

Latest revision as of 10:33, 17 September 2026

/* Prevent wide tables and code blocks from overlapping floated infoboxes */
.mw-parser-output table:not(.infobox),
.mw-parser-output pre {
  overflow-x: auto;
}

/* Belt-and-braces: stop any stray wide element from pushing past the content column */
.mw-parser-output {
  overflow-x: hidden;
}

.site-notice {
  background: #fff8e1;
  border: 1px solid #d4a72c;
  border-radius: 4px;
  padding: 8px 14px;
  margin-bottom: 1em;
  font-size: 95%;
  text-align: center;
color: black
}

/* =========================================================
   VISUALEDITOR TOOLBAR — WHITE BACKGROUND VARIANT
   ========================================================= */

/* Toolbar bar itself */
.oo-ui-toolbar-bar,
.ve-ui-toolbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #c8ccd1 !important;
}

.oo-ui-toolbar-position-top {
    border-bottom-color: #c8ccd1 !important;
}

/* Tool groups */
.oo-ui-toolGroup {
    background-color: #ffffff !important;
    border-color: #c8ccd1 !important;
}

.oo-ui-toolGroup-tools {
    background-color: #ffffff !important;
}

/* Individual tool buttons (bold, italic, link, etc.) */
.oo-ui-tool-link,
.oo-ui-tool-title {
    color: #000000!important;
}

.oo-ui-tool.oo-ui-widget-enabled .oo-ui-tool-link:hover {
    background-color: #eaf3ff !important;
}

.oo-ui-tool.oo-ui-widget-enabled.oo-ui-tool-active .oo-ui-tool-link,
.oo-ui-tool-active .oo-ui-tool-link {
    background-color: #d9e8ff !important;
    color: #12304a !important;
}

/* Disabled tool buttons */
.oo-ui-tool.oo-ui-widget-disabled .oo-ui-tool-link {
    color: #a2a9b1 !important;
}

/* Icons: remove the invert filter from before — icons are dark by
   default in OOUI, which is now correct against a white background */
.oo-ui-icon-element .oo-ui-tool-link .oo-ui-iconElement-icon {
    filter: none !important;
}

/* Dropdown tool groups (Paragraph style, Insert menu, etc.) */
.oo-ui-dropdownWidget,
.oo-ui-toolbar .oo-ui-popupToolGroup {
    background-color: #ffffff !important;
    border-color: #c8ccd1 !important;
}

.oo-ui-popupToolGroup-handle {
    color: #000000!important;
    background-color: #ffffff !important;
}

.oo-ui-popupToolGroup-handle:hover {
    background-color: #eaf3ff !important;
}

/* Expanded dropdown panel */
.oo-ui-popupToolGroup-active .oo-ui-toolGroup-tools {
    background-color: #ffffff !important;
    border: 1px solid #c8ccd1 !important;
}

/* Toolbar save button stays as-is, still readable on white */
.oo-ui-toolbar-actions .oo-ui-buttonElement-button {
    background-color: #12304a !important;
    color: #ffffff !important;
    border-color: #285477 !important;
}

.oo-ui-toolbar-actions .oo-ui-flaggedElement-progressive .oo-ui-buttonElement-button {
    background-color: #1d5f8a !important;
    border-color: #66b3ff !important;
}

/* Catch-all for toolbar group labels (Insert, Cite, etc.) */
.oo-ui-toolbar .oo-ui-labelElement-label {
    color: #000000 !important;
}