MediaWiki:Gadget-XFDcloser-core-beta.css

/* _______________________________________________________________________________ * |                                                                               | * |                     === WARNING: GLOBAL GADGET FILE ===                       | * |                  Changes to this page affect many users. | * | Please discuss changes on the talk page or on WT:Gadget before editing. | * |_______________________________________________________________________________| * * Built from source code at GitHub repository * All changes should be made in the repository, otherwise they will be lost. * * To update this script from github, you must have a local repository set up. Then * follow the instructions at * * XFDcloser: close deletion discussions at XfD venues, including actions to implement closes; see WP:XFDC * Author: Evad37 * Licencing and attribution: WP:XFDC */ /* jshint esversion: 5, esnext:false, laxbreak: true, undef: true, eqnull: true, maxerr: 3000 */ /* globals console, document, window, $, mw, OO */ /* */ /* Inline links */ .xfdc-status { font-size: small; margin-left: 13px; font-weight: normal; }

.skin-timeless .xfdc-status { font-size: 0.98rem; }

.skin-minerva .xfdc-status { font-size: 0.98rem; display: block; }

.xfdc-action { font-weight: normal; } .xfdc-action a { cursor: pointer; }

.xfdc-qc-cancel { cursor: pointer; border: 1px solid #777; border-radius: 10px; font-weight: bold; font-size: 90%; color: #777; padding: 0; margin: 0 1px; }

/* Style actions based on detected age */ .xfdc-old .xfdc-action { background-color: #c6ffc6; } .xfdc-notOld .xfdc-action { background-color: #ffc6c6; } .xfdc-unknownAge .xfdc-action { background-color: #ffffc6; } .xfdc-notOld.xfdc-relisted .xfdc-action { background-color: #ffe9c6; }

/* Styles for actioned (closed/relisted) discussions */ .xfdc-actioned-heading { text-decoration: line-through double black; opacity: 0.75; } .xfdc-actioned-discussion { opacity: 0.5; }

/* == draggbleWindow styles == */ html body.ooui-draggbleWindow-open { position: unset; overflow: unset; margin-right: unset !important; /* phab:T231138 */ }

html body.ooui-draggbleWindow-open .oo-ui-windowManager-modal > .oo-ui-dialog.oo-ui-window-active { position: static; padding: 0; }

/* Increase z-index, to be above skin menus etc; smooth transition for dragging (transform:translate) */ html body.ooui-draggbleWindow-open .oo-ui-dialog.oo-ui-window-active > div { z-index: 110; transition: all 0.25s ease-out 0s, transform 0s !important; }

/* == OOUI overrides == */

/* Fix left padding when labelPosition:before is used on a TextInputWidget. * Is otherwise set to 0px via inline style on the element. */ .oo-ui-textInputWidget.oo-ui-textInputWidget-labelPosition-before.padLeft2em .oo-ui-inputWidget-input { padding-left: 2em !important; }

.oo-ui-textInputWidget.oo-ui-textInputWidget-labelPosition-before.padLeft4em .oo-ui-inputWidget-input { padding-left: 4em !important; }

/* Consistent padding for menu option widgets (is inexplicably different in skins using Apex theme  instead of MediaWikiUi theme) */ .xfdc-menuOptionWidget.oo-ui-decoratedOptionWidget { padding: 7px 12px; }

/* Force task notices, warnings, and errors to all be shown on their own line */ .xfdc-taskItemWidget > .oo-ui-fieldLayout-messages { clear: both; }

/* == Show/hide box == */ bottom: 0; display: block; position: fixed; right: 0; z-index: 100; padding: 5px; box-shadow: 0 2px 4px rgb(0 0 0 / 50%); background-color: #fef9e6; border: 1px solid #aaa; border-radius: 5px; font-size: 85%; }
 * 1) XFDcloser-showhide {

/* */