diff options
author | James D. Forrester <jforrester@wikimedia.org> | 2016-04-19 15:00:12 -0700 |
---|---|---|
committer | James D. Forrester <jforrester@wikimedia.org> | 2016-04-19 15:00:13 -0700 |
commit | 21396744b457039d0ff429e34ccff1b94b97c628 (patch) | |
tree | 03d9f86a1aeb6e36cb39d9b7dda3f7f4513b5952 | |
parent | 29052fa311fb05d3688658f4892616344454eeb6 (diff) | |
download | mediawikicore-21396744b457039d0ff429e34ccff1b94b97c628.tar.gz mediawikicore-21396744b457039d0ff429e34ccff1b94b97c628.zip |
Update OOjs UI to v0.16.6
Release notes:
https://git.wikimedia.org/blob/oojs%2Fui.git/v0.16.6/History.md
Change-Id: Ib9bb35d87633d06211dd75e237d7b105947f8df1
36 files changed, 185 insertions, 223 deletions
diff --git a/composer.json b/composer.json index 6b7898ddd148..3bea9ea6ca88 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-xml": "*", "liuggio/statsd-php-client": "1.0.18", "mediawiki/at-ease": "1.1.0", - "oojs/oojs-ui": "0.16.5", + "oojs/oojs-ui": "0.16.6", "oyejorge/less.php": "1.7.0.10", "php": ">=5.5.9", "psr/log": "1.0.0", diff --git a/resources/lib/oojs-ui/i18n/krc.json b/resources/lib/oojs-ui/i18n/krc.json index d4068c87c933..6f17b3463741 100644 --- a/resources/lib/oojs-ui/i18n/krc.json +++ b/resources/lib/oojs-ui/i18n/krc.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Iltever" + "Iltever", + "Ernác" ] }, "ooui-outline-control-move-down": "Элементни тюбюне кёчюр", diff --git a/resources/lib/oojs-ui/oojs-ui-apex.js b/resources/lib/oojs-ui/oojs-ui-apex.js index 4bd04297da27..14508b6b9358 100644 --- a/resources/lib/oojs-ui/oojs-ui-apex.js +++ b/resources/lib/oojs-ui/oojs-ui-apex.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-core-apex.css b/resources/lib/oojs-ui/oojs-ui-core-apex.css index 1accc2a5f4f8..1a241cb461c3 100644 --- a/resources/lib/oojs-ui/oojs-ui-core-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-core-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-element-hidden { display: none !important; @@ -56,17 +56,11 @@ margin-left: 0; } .oo-ui-buttonElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator { - width: 0.9375em; - height: 0.9375em; margin: 0.46875em; } .oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator { margin-left: 0.46875em; } -.oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { - width: 1.875em; - height: 1.875em; -} .oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button:hover, .oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button:focus { outline: none; @@ -244,6 +238,10 @@ background-size: contain; background-position: center center; background-repeat: no-repeat; + min-width: 24px; + width: 1.875em; + min-height: 24px; + height: 1.875em; } .oo-ui-iconElement .oo-ui-iconElement-icon, .oo-ui-iconElement.oo-ui-iconElement-icon { @@ -254,6 +252,10 @@ background-size: contain; background-position: center center; background-repeat: no-repeat; + min-width: 12px; + width: 0.9375em; + min-height: 12px; + height: 0.9375em; } .oo-ui-indicatorElement .oo-ui-indicatorElement-indicator, .oo-ui-indicatorElement.oo-ui-indicatorElement-indicator { @@ -417,8 +419,6 @@ .oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-iconElement-icon { left: 0; top: 0.25em; - width: 1.875em; - height: 1.875em; } .oo-ui-fieldsetLayout > .oo-ui-popupButtonWidget { margin-right: 0; @@ -516,11 +516,9 @@ height: 100%; } .oo-ui-decoratedOptionWidget.oo-ui-iconElement .oo-ui-iconElement-icon { - width: 1.875em; left: 0.5em; } .oo-ui-decoratedOptionWidget.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator { - width: 0.9375em; right: 0.5em; } .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, @@ -556,8 +554,6 @@ display: inline-block; vertical-align: middle; line-height: 2.5em; - height: 1.875em; - width: 1.875em; } .oo-ui-iconWidget.oo-ui-widget-disabled { opacity: 0.2; @@ -566,8 +562,6 @@ display: inline-block; vertical-align: middle; line-height: 2.5em; - height: 0.9375em; - width: 0.9375em; margin: 0.46875em; } .oo-ui-indicatorWidget.oo-ui-widget-disabled { @@ -706,11 +700,11 @@ } .oo-ui-popupButtonWidget.oo-ui-buttonElement-frameless > .oo-ui-popupWidget { /* @noflip */ - left: 1em; + left: 0.9375em; } .oo-ui-popupButtonWidget.oo-ui-buttonElement-framed > .oo-ui-popupWidget { /* @noflip */ - left: 1.25em; + left: 1.2375em; } .oo-ui-inputWidget { margin-right: 0.5em; @@ -836,22 +830,18 @@ .oo-ui-textInputWidget.oo-ui-labelElement > .oo-ui-labelElement-label { display: block; } -.oo-ui-textInputWidget > .oo-ui-iconElement-icon { +.oo-ui-textInputWidget > .oo-ui-iconElement-icon, +.oo-ui-textInputWidget-labelPosition-before > .oo-ui-labelElement-label { left: 0; } -.oo-ui-textInputWidget > .oo-ui-indicatorElement-indicator { +.oo-ui-textInputWidget > .oo-ui-indicatorElement-indicator, +.oo-ui-textInputWidget-labelPosition-after > .oo-ui-labelElement-label { right: 0; } .oo-ui-textInputWidget > .oo-ui-labelElement-label { position: absolute; top: 0; } -.oo-ui-textInputWidget-labelPosition-after > .oo-ui-labelElement-label { - right: 0; -} -.oo-ui-textInputWidget-labelPosition-before > .oo-ui-labelElement-label { - left: 0; -} .oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { padding: 0.5em; @@ -905,7 +895,6 @@ padding-left: 2.475em; } .oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-iconElement-icon { - width: 1.875em; max-height: 2.375em; margin-left: 0.3em; } @@ -914,7 +903,6 @@ padding-right: 2.4875em; } .oo-ui-textInputWidget.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator { - width: 0.9375em; max-height: 2.375em; margin-right: 0.775em; } @@ -1025,14 +1013,10 @@ } .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator { top: 0; - width: 0.9375em; - height: 0.9375em; margin: 0.775em; } .oo-ui-dropdownWidget-handle .oo-ui-iconElement-icon { top: 0; - width: 1.875em; - height: 1.875em; margin: 0.3em; } .oo-ui-dropdownWidget.oo-ui-widget-disabled .oo-ui-dropdownWidget-handle { diff --git a/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css index 431a9e40746f..c47ce7f61ffe 100644 --- a/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-core-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-element-hidden { display: none !important; @@ -56,17 +56,9 @@ .oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { margin-left: 0; } -.oo-ui-buttonElement.oo-ui-indicatorElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator { - width: 0.9375em; - height: 0.9375em; -} .oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-indicatorElement-indicator { margin-left: 0.46875em; } -.oo-ui-buttonElement.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { - width: 1.875em; - height: 1.875em; -} .oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button:focus { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.2); outline: 0; @@ -350,12 +342,20 @@ background-size: contain; background-position: center center; background-repeat: no-repeat; + min-width: 24px; + width: 1.875em; + min-height: 24px; + height: 1.875em; } .oo-ui-indicatorElement .oo-ui-indicatorElement-indicator, .oo-ui-indicatorElement.oo-ui-indicatorElement-indicator { background-size: contain; background-position: center center; background-repeat: no-repeat; + min-width: 12px; + width: 0.9375em; + min-height: 12px; + height: 0.9375em; } .oo-ui-labelElement .oo-ui-labelElement-label-highlight { font-weight: bold; @@ -513,8 +513,6 @@ .oo-ui-fieldsetLayout.oo-ui-iconElement > .oo-ui-iconElement-icon { left: 0; top: 0.25em; - width: 1.875em; - height: 1.875em; } .oo-ui-fieldsetLayout > .oo-ui-popupButtonWidget { margin-right: 0; @@ -611,11 +609,9 @@ height: 100%; } .oo-ui-decoratedOptionWidget.oo-ui-iconElement .oo-ui-iconElement-icon { - width: 1.875em; left: 0.5em; } .oo-ui-decoratedOptionWidget.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator { - width: 0.9375em; right: 0.5em; } .oo-ui-decoratedOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, @@ -650,8 +646,6 @@ display: inline-block; vertical-align: middle; line-height: 2.5em; - width: 1.875em; - height: 1.875em; } .oo-ui-iconWidget.oo-ui-widget-disabled { opacity: 0.2; @@ -660,8 +654,6 @@ display: inline-block; vertical-align: middle; line-height: 2.5em; - width: 0.9375em; - height: 0.9375em; margin: 0.46875em; } .oo-ui-indicatorWidget.oo-ui-widget-disabled { @@ -800,11 +792,11 @@ } .oo-ui-popupButtonWidget.oo-ui-buttonElement-frameless > .oo-ui-popupWidget { /* @noflip */ - left: 1em; + left: 0.9375em; } .oo-ui-popupButtonWidget.oo-ui-buttonElement-framed > .oo-ui-popupWidget { /* @noflip */ - left: 1.75em; + left: 1.5em; } .oo-ui-inputWidget { margin-right: 0.5em; @@ -1078,22 +1070,18 @@ .oo-ui-textInputWidget.oo-ui-labelElement > .oo-ui-labelElement-label { display: block; } -.oo-ui-textInputWidget > .oo-ui-iconElement-icon { +.oo-ui-textInputWidget > .oo-ui-iconElement-icon, +.oo-ui-textInputWidget-labelPosition-before > .oo-ui-labelElement-label { left: 0; } -.oo-ui-textInputWidget > .oo-ui-indicatorElement-indicator { +.oo-ui-textInputWidget > .oo-ui-indicatorElement-indicator, +.oo-ui-textInputWidget-labelPosition-after > .oo-ui-labelElement-label { right: 0; } .oo-ui-textInputWidget > .oo-ui-labelElement-label { position: absolute; top: 0; } -.oo-ui-textInputWidget-labelPosition-after > .oo-ui-labelElement-label { - right: 0; -} -.oo-ui-textInputWidget-labelPosition-before > .oo-ui-labelElement-label { - left: 0; -} .oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { padding: 0.5em; @@ -1109,8 +1097,7 @@ -moz-box-sizing: border-box; box-sizing: border-box; } -.oo-ui-textInputWidget input.oo-ui-pendingElement-pending, -.oo-ui-textInputWidget textarea.oo-ui-pendingElement-pending { +.oo-ui-textInputWidget .oo-ui-pendingElement-pending { background-color: transparent; } .oo-ui-textInputWidget.oo-ui-widget-enabled input, @@ -1157,7 +1144,7 @@ opacity: 0.2; } .oo-ui-textInputWidget.oo-ui-widget-disabled .oo-ui-labelElement-label { - color: #dddddd; + color: #cccccc; text-shadow: 0 1px 1px #ffffff; } .oo-ui-textInputWidget.oo-ui-iconElement input, @@ -1166,10 +1153,9 @@ } .oo-ui-textInputWidget.oo-ui-iconElement .oo-ui-iconElement-icon { left: 0; - width: 1.875em; + height: 100%; max-height: 2.375em; margin-left: 0.5em; - height: 100%; background-position: right center; } .oo-ui-textInputWidget.oo-ui-indicatorElement input, @@ -1177,10 +1163,9 @@ padding-right: 2.4875em; } .oo-ui-textInputWidget.oo-ui-indicatorElement .oo-ui-indicatorElement-indicator { - width: 0.9375em; + height: 100%; max-height: 2.375em; margin: 0 0.775em; - height: 100%; } .oo-ui-textInputWidget > .oo-ui-labelElement-label { padding: 0.4em; @@ -1295,14 +1280,10 @@ } .oo-ui-dropdownWidget-handle .oo-ui-indicatorElement-indicator { top: 0; - width: 0.9375em; - height: 0.9375em; margin: 0.775em; } .oo-ui-dropdownWidget-handle .oo-ui-iconElement-icon { top: 0; - width: 1.875em; - height: 1.875em; margin: 0.3em; } .oo-ui-dropdownWidget:hover .oo-ui-dropdownWidget-handle { diff --git a/resources/lib/oojs-ui/oojs-ui-core.js b/resources/lib/oojs-ui/oojs-ui-core.js index a05193ea44c9..64c6be68b3cf 100644 --- a/resources/lib/oojs-ui/oojs-ui-core.js +++ b/resources/lib/oojs-ui/oojs-ui-core.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { @@ -4079,12 +4079,16 @@ OO.ui.mixin.ClippableElement.prototype.setIdealSize = function ( width, height ) }; /** - * Clip element to visible boundaries and allow scrolling when needed. Call this method when - * the element's natural height changes. + * Clip element to visible boundaries and allow scrolling when needed. You should call this method + * when the element's natural height changes. * * Element will be clipped the bottom or right of the element is within 10px of the edge of, or * overlapped by, the visible area of the nearest scrollable container. * + * Because calling clip() when the natural height changes isn't always possible, we also set + * max-height when the element isn't being clipped. This means that if the element tries to grow + * beyond the edge, something reasonable will happen before clip() is called. + * * @chainable */ OO.ui.mixin.ClippableElement.prototype.clip = function () { @@ -4128,14 +4132,30 @@ OO.ui.mixin.ClippableElement.prototype.clip = function () { clipHeight = allotedHeight < naturalHeight; if ( clipWidth ) { - this.$clippable.css( { overflowX: 'scroll', width: Math.max( 0, allotedWidth ) } ); + this.$clippable.css( { + overflowX: 'scroll', + width: Math.max( 0, allotedWidth ), + maxWidth: '' + } ); } else { - this.$clippable.css( { width: this.idealWidth ? this.idealWidth - extraWidth : '', overflowX: '' } ); + this.$clippable.css( { + overflowX: '', + width: this.idealWidth ? this.idealWidth - extraWidth : '', + maxWidth: Math.max( 0, allotedWidth ) + } ); } if ( clipHeight ) { - this.$clippable.css( { overflowY: 'scroll', height: Math.max( 0, allotedHeight ) } ); + this.$clippable.css( { + overflowY: 'scroll', + height: Math.max( 0, allotedHeight ), + maxHeight: '' + } ); } else { - this.$clippable.css( { height: this.idealHeight ? this.idealHeight - extraHeight : '', overflowY: '' } ); + this.$clippable.css( { + overflowY: '', + height: this.idealHeight ? this.idealHeight - extraHeight : '', + maxHeight: Math.max( 0, allotedHeight ) + } ); } // If we stopped clipping in at least one of the dimensions @@ -7837,7 +7857,7 @@ OO.ui.RadioSelectInputWidget.prototype.setOptions = function ( options ) { * @constructor * @param {Object} [config] Configuration options * @cfg {string} [type='text'] The value of the HTML `type` attribute: 'text', 'password', 'search', - * 'email', 'url' or 'date'. Ignored if `multiline` is true. + * 'email', 'url', 'date' or 'number'. Ignored if `multiline` is true. * * Some values of `type` result in additional behaviors: * @@ -8024,7 +8044,6 @@ OO.ui.TextInputWidget.static.gatherPreInfuseState = function ( node, config ) { * * @private * @param {jQuery.Event} e Mouse down event - * @fires icon */ OO.ui.TextInputWidget.prototype.onIconMouseDown = function ( e ) { if ( e.which === OO.ui.MouseButtons.LEFT ) { @@ -8038,7 +8057,6 @@ OO.ui.TextInputWidget.prototype.onIconMouseDown = function ( e ) { * * @private * @param {jQuery.Event} e Mouse down event - * @fires indicator */ OO.ui.TextInputWidget.prototype.onIndicatorMouseDown = function ( e ) { if ( e.which === OO.ui.MouseButtons.LEFT ) { @@ -8280,9 +8298,15 @@ OO.ui.TextInputWidget.prototype.adjustSize = function () { * @protected */ OO.ui.TextInputWidget.prototype.getInputElement = function ( config ) { - return config.multiline ? - $( '<textarea>' ) : - $( '<input>' ).attr( 'type', this.getSaneType( config ) ); + if ( config.multiline ) { + return $( '<textarea>' ); + } else if ( this.getSaneType( config ) === 'number' ) { + return $( '<input>' ) + .attr( 'step', 'any' ) + .attr( 'type', 'number' ); + } else { + return $( '<input>' ).attr( 'type', this.getSaneType( config ) ); + } }; /** @@ -8293,9 +8317,16 @@ OO.ui.TextInputWidget.prototype.getInputElement = function ( config ) { * @private */ OO.ui.TextInputWidget.prototype.getSaneType = function ( config ) { - var type = [ 'text', 'password', 'search', 'email', 'url', 'date' ].indexOf( config.type ) !== -1 ? - config.type : - 'text'; + var allowedTypes = [ + 'text', + 'password', + 'search', + 'email', + 'url', + 'date', + 'number' + ], + type = allowedTypes.indexOf( config.type ) !== -1 ? config.type : 'text'; return config.multiline ? 'multiline' : type; }; diff --git a/resources/lib/oojs-ui/oojs-ui-mediawiki.js b/resources/lib/oojs-ui/oojs-ui-mediawiki.js index 5bd3ac7bbc44..19e8b17c47cd 100644 --- a/resources/lib/oojs-ui/oojs-ui-mediawiki.js +++ b/resources/lib/oojs-ui/oojs-ui-mediawiki.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css b/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css index d2e25a030c67..6fda4beca813 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-toolbars-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-popupTool .oo-ui-popupWidget-popup, .oo-ui-popupTool .oo-ui-popupWidget-anchor { @@ -404,9 +404,6 @@ background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/apex/images/icons/check.svg"); background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/apex/images/icons/check.svg"); background-image: -o-linear-gradient(transparent, transparent), url("themes/apex/images/icons/check.png"); - background-size: contain; - background-position: center center; - background-repeat: no-repeat; } .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover { background-color: #e1f3ff; diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css index 35a7ef3c5629..6d4bbed0f285 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-toolbars-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-popupTool .oo-ui-popupWidget-popup, .oo-ui-popupTool .oo-ui-popupWidget-anchor { @@ -366,9 +366,6 @@ background-image: -webkit-linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/check.svg"); background-image: linear-gradient(transparent, transparent), /* @embed */ url("themes/mediawiki/images/icons/check.svg"); background-image: -o-linear-gradient(transparent, transparent), url("themes/mediawiki/images/icons/check.png"); - background-size: contain; - background-position: center center; - background-repeat: no-repeat; } .oo-ui-menuToolGroup .oo-ui-tool.oo-ui-widget-enabled:hover { background-color: #eeeeee; diff --git a/resources/lib/oojs-ui/oojs-ui-toolbars.js b/resources/lib/oojs-ui/oojs-ui-toolbars.js index 7d22b8f53abe..f0cb8af349c2 100644 --- a/resources/lib/oojs-ui/oojs-ui-toolbars.js +++ b/resources/lib/oojs-ui/oojs-ui-toolbars.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/oojs-ui-widgets-apex.css b/resources/lib/oojs-ui/oojs-ui-widgets-apex.css index cd7cbd5ca6af..7c575e04f5aa 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-widgets-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-draggableElement-handle, .oo-ui-draggableElement-handle.oo-ui-widget { @@ -203,12 +203,6 @@ display: inline-block; vertical-align: middle; } -.oo-ui-buttonOptionWidget .oo-ui-buttonElement-button { - height: 1.875em; -} -.oo-ui-buttonOptionWidget.oo-ui-iconElement .oo-ui-iconElement-icon { - margin-top: 0; -} .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected, .oo-ui-buttonOptionWidget.oo-ui-optionWidget-pressed, .oo-ui-buttonOptionWidget.oo-ui-optionWidget-highlighted { @@ -485,10 +479,7 @@ .oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label { position: relative; } -.oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileName { - display: block; - float: none; -} +.oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileName, .oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileType { display: block; float: none; @@ -566,13 +557,11 @@ } .oo-ui-selectFileWidget-info > .oo-ui-indicatorElement-indicator { top: 0; - width: 0.9375em; height: 2.3em; margin-right: 0.775em; } .oo-ui-selectFileWidget-info > .oo-ui-iconElement-icon { top: 0; - width: 1.875em; height: 2.3em; margin-left: 0.3em; } @@ -804,8 +793,6 @@ .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-indicatorElement-indicator, .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-iconElement-icon { position: absolute; - background-position: center center; - background-repeat: no-repeat; } .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-capsuleMultiSelectWidget-content > input { border: none; @@ -828,8 +815,6 @@ .oo-ui-capsuleMultiSelectWidget.oo-ui-indicatorElement .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-indicatorElement-indicator { right: 0; top: 0; - width: 0.9375em; - height: 0.9375em; margin: 0.775em; } .oo-ui-capsuleMultiSelectWidget.oo-ui-iconElement .oo-ui-capsuleMultiSelectWidget-handle { @@ -838,8 +823,6 @@ .oo-ui-capsuleMultiSelectWidget.oo-ui-iconElement .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-iconElement-icon { left: 0; top: 0; - width: 1.875em; - height: 1.875em; margin: 0.3em; } .oo-ui-capsuleMultiSelectWidget:hover .oo-ui-capsuleMultiSelectWidget-handle { @@ -950,6 +933,14 @@ .oo-ui-numberInputWidget-field > .oo-ui-textInputWidget { width: 100%; } +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"]::-webkit-outer-spin-button, +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"] { + -moz-appearance: textfield; +} .oo-ui-numberInputWidget-field > .oo-ui-buttonWidget { white-space: nowrap; } diff --git a/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css index 5a905db8fb80..7dfbf1bd076b 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-widgets-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-draggableElement-handle, .oo-ui-draggableElement-handle.oo-ui-widget { @@ -209,18 +209,11 @@ display: inline-block; vertical-align: middle; } -.oo-ui-buttonOptionWidget.oo-ui-iconElement .oo-ui-iconElement-icon { - margin-top: 0; -} .oo-ui-buttonOptionWidget.oo-ui-optionWidget-selected, .oo-ui-buttonOptionWidget.oo-ui-optionWidget-pressed, .oo-ui-buttonOptionWidget.oo-ui-optionWidget-highlighted { background-color: transparent; } -.oo-ui-buttonOptionWidget.oo-ui-widget-disabled .oo-ui-iconElement-icon, -.oo-ui-buttonOptionWidget.oo-ui-widget-disabled .oo-ui-indicatorElement-indicator { - opacity: 1; -} .oo-ui-toggleButtonWidget { display: inline-block; vertical-align: middle; @@ -505,10 +498,7 @@ .oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label { position: relative; } -.oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileName { - display: block; - float: none; -} +.oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileName, .oo-ui-selectFileWidget-dropTarget .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileType { display: block; float: none; @@ -555,11 +545,11 @@ border: 1px solid #cccccc; border-radius: 2px; } -.oo-ui-selectFileWidget-info > .oo-ui-indicatorElement-indicator { - right: 0; -} .oo-ui-selectFileWidget-info > .oo-ui-iconElement-icon { left: 0; + top: 0; + height: 2.3em; + margin-left: 0.5em; } .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label { line-height: 2.3em; @@ -576,25 +566,20 @@ .oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-label > .oo-ui-selectFileWidget-fileType { color: #888888; } -.oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-clearButton { - top: 0; - width: 1.875em; - margin-right: 0; -} -.oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-clearButton .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { - height: 2.3em; -} .oo-ui-selectFileWidget-info > .oo-ui-indicatorElement-indicator { top: 0; - width: 0.9375em; + right: 0; height: 2.3em; margin-right: 0.775em; } -.oo-ui-selectFileWidget-info > .oo-ui-iconElement-icon { +.oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-clearButton { top: 0; + min-width: 24px; width: 1.875em; + margin-right: 0; +} +.oo-ui-selectFileWidget-info > .oo-ui-selectFileWidget-clearButton .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { height: 2.3em; - margin-left: 0.5em; } .oo-ui-selectFileWidget.oo-ui-widget-disabled .oo-ui-selectFileWidget-info { color: #cccccc; @@ -827,8 +812,6 @@ .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-indicatorElement-indicator, .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-iconElement-icon { position: absolute; - background-position: center center; - background-repeat: no-repeat; } .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-capsuleMultiSelectWidget-content > input { border: 0; @@ -850,8 +833,6 @@ .oo-ui-capsuleMultiSelectWidget.oo-ui-indicatorElement .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-indicatorElement-indicator { right: 0; top: 0; - width: 0.9375em; - height: 0.9375em; margin: 0.775em; } .oo-ui-capsuleMultiSelectWidget.oo-ui-iconElement .oo-ui-capsuleMultiSelectWidget-handle { @@ -860,8 +841,6 @@ .oo-ui-capsuleMultiSelectWidget.oo-ui-iconElement .oo-ui-capsuleMultiSelectWidget-handle > .oo-ui-iconElement-icon { left: 0; top: 0; - width: 1.875em; - height: 1.875em; margin: 0.3em; } .oo-ui-capsuleMultiSelectWidget:hover .oo-ui-capsuleMultiSelectWidget-handle { @@ -965,6 +944,14 @@ .oo-ui-numberInputWidget-field > .oo-ui-textInputWidget { width: 100%; } +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"]::-webkit-outer-spin-button, +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"]::-webkit-inner-spin-button { + -webkit-appearance: none; + margin: 0; +} +.oo-ui-numberInputWidget-field > .oo-ui-textInputWidget [type="number"] { + -moz-appearance: textfield; +} .oo-ui-numberInputWidget-field > .oo-ui-buttonWidget { white-space: nowrap; } diff --git a/resources/lib/oojs-ui/oojs-ui-widgets.js b/resources/lib/oojs-ui/oojs-ui-widgets.js index ec215f1a99dc..a084d1afcdc5 100644 --- a/resources/lib/oojs-ui/oojs-ui-widgets.js +++ b/resources/lib/oojs-ui/oojs-ui-widgets.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { @@ -3233,8 +3233,10 @@ OO.mixinClass( OO.ui.OutlineSelectWidget, OO.ui.mixin.TabIndexedElement ); * [1]: https://www.mediawiki.org/wiki/OOjs_UI/Widgets/Selects_and_Options#Button_selects_and_options * * @class - * @extends OO.ui.DecoratedOptionWidget + * @extends OO.ui.OptionWidget * @mixins OO.ui.mixin.ButtonElement + * @mixins OO.ui.mixin.IconElement + * @mixins OO.ui.mixin.IndicatorElement * @mixins OO.ui.mixin.TabIndexedElement * @mixins OO.ui.mixin.TitledElement * @@ -3250,6 +3252,8 @@ OO.ui.ButtonOptionWidget = function OoUiButtonOptionWidget( config ) { // Mixin constructors OO.ui.mixin.ButtonElement.call( this, config ); + OO.ui.mixin.IconElement.call( this, config ); + OO.ui.mixin.IndicatorElement.call( this, config ); OO.ui.mixin.TitledElement.call( this, $.extend( {}, config, { $titled: this.$button } ) ); OO.ui.mixin.TabIndexedElement.call( this, $.extend( {}, config, { $tabIndexed: this.$button, @@ -3258,14 +3262,16 @@ OO.ui.ButtonOptionWidget = function OoUiButtonOptionWidget( config ) { // Initialization this.$element.addClass( 'oo-ui-buttonOptionWidget' ); - this.$button.append( this.$element.contents() ); + this.$button.append( this.$icon, this.$label, this.$indicator ); this.$element.append( this.$button ); }; /* Setup */ -OO.inheritClass( OO.ui.ButtonOptionWidget, OO.ui.DecoratedOptionWidget ); +OO.inheritClass( OO.ui.ButtonOptionWidget, OO.ui.OptionWidget ); OO.mixinClass( OO.ui.ButtonOptionWidget, OO.ui.mixin.ButtonElement ); +OO.mixinClass( OO.ui.ButtonOptionWidget, OO.ui.mixin.IconElement ); +OO.mixinClass( OO.ui.ButtonOptionWidget, OO.ui.mixin.IndicatorElement ); OO.mixinClass( OO.ui.ButtonOptionWidget, OO.ui.mixin.TitledElement ); OO.mixinClass( OO.ui.ButtonOptionWidget, OO.ui.mixin.TabIndexedElement ); @@ -5067,7 +5073,8 @@ OO.ui.NumberInputWidget = function OoUiNumberInputWidget( config ) { // Properties this.input = new OO.ui.TextInputWidget( $.extend( { - disabled: this.isDisabled() + disabled: this.isDisabled(), + type: 'number' }, config.input ) ); @@ -5322,35 +5329,37 @@ OO.ui.NumberInputWidget.prototype.onButtonClick = function ( dir ) { OO.ui.NumberInputWidget.prototype.onWheel = function ( event ) { var delta = 0; - // Standard 'wheel' event - if ( event.originalEvent.deltaMode !== undefined ) { - this.sawWheelEvent = true; - } - if ( event.originalEvent.deltaY ) { - delta = -event.originalEvent.deltaY; - } else if ( event.originalEvent.deltaX ) { - delta = event.originalEvent.deltaX; - } - - // Non-standard events - if ( !this.sawWheelEvent ) { - if ( event.originalEvent.wheelDeltaX ) { - delta = -event.originalEvent.wheelDeltaX; - } else if ( event.originalEvent.wheelDeltaY ) { - delta = event.originalEvent.wheelDeltaY; - } else if ( event.originalEvent.wheelDelta ) { - delta = event.originalEvent.wheelDelta; - } else if ( event.originalEvent.detail ) { - delta = -event.originalEvent.detail; + if ( !this.isDisabled() && this.input.$input.is( ':focus' ) ) { + // Standard 'wheel' event + if ( event.originalEvent.deltaMode !== undefined ) { + this.sawWheelEvent = true; + } + if ( event.originalEvent.deltaY ) { + delta = -event.originalEvent.deltaY; + } else if ( event.originalEvent.deltaX ) { + delta = event.originalEvent.deltaX; } - } - if ( delta ) { - delta = delta < 0 ? -1 : 1; - this.adjustValue( delta * this.step ); - } + // Non-standard events + if ( !this.sawWheelEvent ) { + if ( event.originalEvent.wheelDeltaX ) { + delta = -event.originalEvent.wheelDeltaX; + } else if ( event.originalEvent.wheelDeltaY ) { + delta = event.originalEvent.wheelDeltaY; + } else if ( event.originalEvent.wheelDelta ) { + delta = event.originalEvent.wheelDelta; + } else if ( event.originalEvent.detail ) { + delta = -event.originalEvent.detail; + } + } - return false; + if ( delta ) { + delta = delta < 0 ? -1 : 1; + this.adjustValue( delta * this.step ); + } + + return false; + } }; /** diff --git a/resources/lib/oojs-ui/oojs-ui-windows-apex.css b/resources/lib/oojs-ui/oojs-ui-windows-apex.css index dce6905309ac..1629301ec1ae 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows-apex.css +++ b/resources/lib/oojs-ui/oojs-ui-windows-apex.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-actionWidget.oo-ui-pendingElement-pending { background-image: /* @embed */ url(themes/apex/images/textures/pending.gif); diff --git a/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css b/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css index 747f8e947d20..1e4658135bc8 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css +++ b/resources/lib/oojs-ui/oojs-ui-windows-mediawiki.css @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:44Z + * Date: 2016-04-19T21:57:53Z */ .oo-ui-window { background: transparent; diff --git a/resources/lib/oojs-ui/oojs-ui-windows.js b/resources/lib/oojs-ui/oojs-ui-windows.js index 9fd96f027d73..aa8f8d91f166 100644 --- a/resources/lib/oojs-ui/oojs-ui-windows.js +++ b/resources/lib/oojs-ui/oojs-ui-windows.js @@ -1,12 +1,12 @@ /*! - * OOjs UI v0.16.5 + * OOjs UI v0.16.6 * https://www.mediawiki.org/wiki/OOjs_UI * * Copyright 2011–2016 OOjs UI Team and other contributors. * Released under the MIT license * http://oojs.mit-license.org * - * Date: 2016-04-07T15:12:41Z + * Date: 2016-04-19T21:57:49Z */ ( function ( OO ) { diff --git a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.png b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.png Binary files differindex 84d50e96f27f..033adde29eaa 100644 --- a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.png +++ b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.png diff --git a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.svg b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.svg index fae0da122b87..516a3ea2ad84 100644 --- a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.svg +++ b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-ltr.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M14 6.5V5c-1.4-1.5-5.2-1.2-6 0V4H7v15h1v-7c.8-.8 3.4-.9 5-.5V13c1.2 1.5 4.3 1.2 5 0V6c-.7.7-2.7.9-4 .5z"/> - <path d="M17.997 1.99l.99.99-15.98 15.98-.99-.99z"/> - <path d="M17 1.016l.99.99-15.98 15.98-.99-.99z" fill="#fff"/> + <path d="M18 2L2.03 17.97l.97 1 4-4V19h1v-5.03l2.688-2.69c.81-.02 1.645.053 2.312.22V13c1.2 1.5 4.3 1.2 5 0V6c-.493.493-1.635.725-2.72.688L19 2.968zM7 4v7.03l6.438-6.436C11.778 3.61 8.71 3.934 8 5V4z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.png b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.png Binary files differindex 777322b40e2c..fca73fd5727d 100644 --- a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.png +++ b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.png diff --git a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.svg b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.svg index 0b14c2592fc8..8ed159e6bc72 100644 --- a/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.svg +++ b/resources/lib/oojs-ui/themes/apex/images/icons/flagUndo-rtl.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M11 6.5V5c1.4-1.5 5.2-1.2 6 0V4h1v15h-1v-7c-.8-.8-3.4-.9-5-.5V13c-1.2 1.5-4.3 1.2-5 0V6c.7.7 2.7.9 4 .5z"/> - <path d="M7.003 1.99l-.99.99 15.98 15.98.99-.99z"/> - <path d="M8 1.016l-.99.99 15.98 15.98.99-.99z" fill="#fff"/> + <path d="M7 2l-1 .97 3.72 3.717C8.634 6.727 7.492 6.494 7 6v7c.7 1.2 3.8 1.5 5 0v-1.5c.667-.167 1.5-.24 2.313-.22L17 13.97V19h1v-4.03l4 4 .97-1zm7.22 2c-.952-.03-1.932.163-2.658.594L18 11.03V4h-1v1c-.4-.6-1.556-.963-2.78-1z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.png Binary files differindex b2978492dd25..49859116fbbc 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.svg index 2cbc539a6c66..0d074de78c27 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr-invert.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> - <path d="M14 6.5V5c-1.4-1.5-5.2-1.2-6 0V4H7v15h1v-7c.8-.8 3.4-.9 5-.5V13c1.2 1.5 4.3 1.2 5 0V6c-.7.7-2.7.9-4 .5z"/> - <path d="M17.997 1.99l.99.99-15.98 15.98-.99-.99z"/> - <path d="M17 1.016l.99.99-15.98 15.98-.99-.99z" fill="#fff"/> + <path d="M18 2L2.03 17.97l.97 1 4-4V19h1v-5.03l2.688-2.69c.81-.02 1.645.053 2.312.22V13c1.2 1.5 4.3 1.2 5 0V6c-.493.493-1.635.725-2.72.688L19 2.968zM7 4v7.03l6.438-6.436C11.778 3.61 8.71 3.934 8 5V4z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.png Binary files differindex 84d50e96f27f..033adde29eaa 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.svg index fae0da122b87..516a3ea2ad84 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-ltr.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M14 6.5V5c-1.4-1.5-5.2-1.2-6 0V4H7v15h1v-7c.8-.8 3.4-.9 5-.5V13c1.2 1.5 4.3 1.2 5 0V6c-.7.7-2.7.9-4 .5z"/> - <path d="M17.997 1.99l.99.99-15.98 15.98-.99-.99z"/> - <path d="M17 1.016l.99.99-15.98 15.98-.99-.99z" fill="#fff"/> + <path d="M18 2L2.03 17.97l.97 1 4-4V19h1v-5.03l2.688-2.69c.81-.02 1.645.053 2.312.22V13c1.2 1.5 4.3 1.2 5 0V6c-.493.493-1.635.725-2.72.688L19 2.968zM7 4v7.03l6.438-6.436C11.778 3.61 8.71 3.934 8 5V4z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.png Binary files differindex 1faeae336cc4..4e1a6d1ddc88 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.svg index 1faabf63e68c..0653df3fbfe3 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl-invert.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> - <path d="M11 6.5V5c1.4-1.5 5.2-1.2 6 0V4h1v15h-1v-7c-.8-.8-3.4-.9-5-.5V13c-1.2 1.5-4.3 1.2-5 0V6c.7.7 2.7.9 4 .5z"/> - <path d="M7.003 1.99l-.99.99 15.98 15.98.99-.99z"/> - <path d="M8 1.016l-.99.99 15.98 15.98.99-.99z" fill="#fff"/> + <path d="M7 2l-1 .97 3.72 3.717C8.634 6.727 7.492 6.494 7 6v7c.7 1.2 3.8 1.5 5 0v-1.5c.667-.167 1.5-.24 2.313-.22L17 13.97V19h1v-4.03l4 4 .97-1zm7.22 2c-.952-.03-1.932.163-2.658.594L18 11.03V4h-1v1c-.4-.6-1.556-.963-2.78-1z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.png Binary files differindex 777322b40e2c..fca73fd5727d 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.svg index 0b14c2592fc8..8ed159e6bc72 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/flagUndo-rtl.svg @@ -1,6 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M11 6.5V5c1.4-1.5 5.2-1.2 6 0V4h1v15h-1v-7c-.8-.8-3.4-.9-5-.5V13c-1.2 1.5-4.3 1.2-5 0V6c.7.7 2.7.9 4 .5z"/> - <path d="M7.003 1.99l-.99.99 15.98 15.98.99-.99z"/> - <path d="M8 1.016l-.99.99 15.98 15.98.99-.99z" fill="#fff"/> + <path d="M7 2l-1 .97 3.72 3.717C8.634 6.727 7.492 6.494 7 6v7c.7 1.2 3.8 1.5 5 0v-1.5c.667-.167 1.5-.24 2.313-.22L17 13.97V19h1v-4.03l4 4 .97-1zm7.22 2c-.952-.03-1.932.163-2.658.594L18 11.03V4h-1v1c-.4-.6-1.556-.963-2.78-1z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.png Binary files differindex 6409de226d28..9de1eabbb506 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.svg index d359edf185d8..701dbd48b707 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr-invert.svg @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> - <path d="M19 20H2l3-3V6h17v11c0 1.7-1.3 3-3 3z"/> - <path fill="#fff" d="M13 9h1v7h-1zm-3 3h7v1h-7z"/> + <path d="M5 6v11l-3 3h17c1.7 0 3-1.3 3-3V6H5zm8 3h1v3h3v1h-3v3h-1v-3h-3v-1h3V9z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.png Binary files differindex 08c458b0173e..aafac18fd4f7 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.svg index 1b0db889fce3..c7134c3351cb 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-ltr.svg @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M19 20H2l3-3V6h17v11c0 1.7-1.3 3-3 3z"/> - <path fill="#fff" d="M13 9h1v7h-1zm-3 3h7v1h-7z"/> + <path d="M5 6v11l-3 3h17c1.7 0 3-1.3 3-3V6H5zm8 3h1v3h3v1h-3v3h-1v-3h-3v-1h3V9z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.png Binary files differindex e85fd4401098..0520123f7e4f 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.svg index 9c216933f324..8ae203e3564f 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl-invert.svg @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><style>* { fill: #ffffff }</style> - <path d="M5 20h17l-3-3V6H2v11c0 1.7 1.3 3 3 3z"/> - <path d="M11 9h-1v7h1zm3 3H7v1h7z" fill="#fff"/> + <path d="M2 6v11c0 1.7 1.3 3 3 3h17l-3-3V6H2zm8 3h1v3h3v1h-3v3h-1v-3H7v-1h3V9z"/> </svg> diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.png b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.png Binary files differindex 4c13c163356c..925484408078 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.png +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.png diff --git a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.svg b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.svg index ea9b84916723..08462e0c0388 100644 --- a/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.svg +++ b/resources/lib/oojs-ui/themes/mediawiki/images/icons/speechBubbleAdd-rtl.svg @@ -1,5 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"> - <path d="M5 20h17l-3-3V6H2v11c0 1.7 1.3 3 3 3z"/> - <path d="M11 9h-1v7h1zm3 3H7v1h7z" fill="#fff"/> + <path d="M2 6v11c0 1.7 1.3 3 3 3h17l-3-3V6H2zm8 3h1v3h3v1h-3v3h-1v-3H7v-1h3V9z"/> </svg> |