MediaWiki:Common.css/src/system/OOUI.scss
< MediaWiki:Common.css | src
Jump to navigation
Jump to search
This page is one of the SCSS pages which are the basis for MediaWiki:Common.css. After you edit this page, you will need to recompile them for your changes to take effect. See Terraria Wiki:CSS to learn more.
Ancestors: / src / system / OOUI.scss
Siblings: API.scss JSON.scss OOUI.scss changeslist.scss edit.scss filepage.scss helpers.scss history.scss htmlform.scss mediawiki.ui.scss mediawiki.widgets.scss rcfilters.scss redirect.scss
Children: _mixins.scss WindowManager.scss dialogs.scss elements.scss icons.scss indicators.scss layouts.scss widgets.scss
/* --------------------------------------------------------------------------------
* ===================================== OOUI =====================================
* --------------------------------------------------------------------------------
* OOUI ([[mw:OOUI]]) is a library that is used by MediaWiki to provide "widgets,
* layouts, and windows". This includes various interface elements, like buttons,
* text input fields, checkboxes, radio buttons, etc. For instance, the entire
* form at the top of [[Special:AllPages]] consists of OOUI elements. See
* https://doc.wikimedia.org/oojs-ui/master/demos for a demo of almost everything
* OOUI provides. A local adaptation of that demo is at [[Terraria Wiki:OOUI demo]],
* where our custom OOUI styling can be tested out with the different themes.
*
* As with all of our customization of MediaWiki styling, the file structure and
* contents are kept as close to the original as possible, for easier maintainability.
* For OOUI, it is notable that the rules defined in the files in
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/styles
* usually only concern very basic styling, which we don't need to adjust. Instead,
* the more interesting styles with colors, border radii, etc. are defined in the files in
* https://gerrit.wikimedia.org/r/plugins/gitiles/oojs/ui/+/refs/heads/master/src/themes/wikimediaui
*
* Only default OOUI styles (those from the links above) are customized here. Some
* other parts of MediaWiki like RCFilters ([[mw:RCFilters]]) and especially certain
* extensions also affect OOUI, but those styles belong in their respective files.
* -------------------------------------------------------------------------------- */
/* @import system/OOUI/dialogs.css */
/* @import system/OOUI/elements.css */
/* @import system/OOUI/icons.css */
/* @import system/OOUI/indicators.css */
/* @import system/OOUI/layouts.css */
/* @import system/OOUI/widgets.css */
/* @import system/OOUI/WindowManager.css */
/* -------------------------------------------------------------------------------- */