New changes:
71d9671 Add more Agora dialogs styling
457a0ef Localisation updates from https://translatewiki.net.
c92ba96 Compute directionality for frame correctly
f3414b8 Localisation updates from https://translatewiki.net.
90fbb6f Localisation updates from https://translatewiki.net.
1d4d52a Localisation updates from https://translatewiki.net.
08d1c7b Add ability to put a header at the top of a toolGroup pop-up
Change-Id: I6f4adbca80abeec0931380233e0e45a9f45af330
12 files changed:
"ooui-outline-control-move-down": "আইটেম নিচে স্থানান্তর",
"ooui-outline-control-move-up": "আইটেম উপরে স্থানান্তর",
"ooui-outline-control-remove": "আইটেম সরান",
"ooui-outline-control-move-down": "আইটেম নিচে স্থানান্তর",
"ooui-outline-control-move-up": "আইটেম উপরে স্থানান্তর",
"ooui-outline-control-remove": "আইটেম সরান",
- "ooui-toolbar-more": "আরও"
+ "ooui-toolbar-more": "আরও",
+ "ooui-dialog-confirm-title": "নিশ্চিত করুন",
+ "ooui-dialog-confirm-default-ok": "ঠিক আছে",
+ "ooui-dialog-confirm-default-cancel": "বাতিল"
"ooui-outline-control-move-down": "Лаха яккха элемент",
"ooui-outline-control-move-up": "Лаккха яккха элемент",
"ooui-outline-control-remove": "ДӀадаха меттиг",
"ooui-outline-control-move-down": "Лаха яккха элемент",
"ooui-outline-control-move-up": "Лаккха яккха элемент",
"ooui-outline-control-remove": "ДӀадаха меттиг",
- "ooui-toolbar-more": "Кхин тӀе"
+ "ooui-toolbar-more": "Кхин тӀе",
+ "ooui-dialog-confirm-title": "Бакъдан",
+ "ooui-dialog-confirm-default-prompt": "Бакъалла лаьий хӀуна?",
+ "ooui-dialog-confirm-default-ok": "ХӀаъ",
+ "ooui-dialog-confirm-default-cancel": "Цаоьшу"
"ooui-outline-control-move-down": "Ipababa ti banag",
"ooui-outline-control-move-up": "Ipangato ti banag",
"ooui-outline-control-remove": "Ikkaten ti banag",
"ooui-outline-control-move-down": "Ipababa ti banag",
"ooui-outline-control-move-up": "Ipangato ti banag",
"ooui-outline-control-remove": "Ikkaten ti banag",
- "ooui-toolbar-more": "Adu pay"
+ "ooui-toolbar-more": "Adu pay",
+ "ooui-dialog-confirm-title": "Pasingkedan",
+ "ooui-dialog-confirm-default-prompt": "Siguradoka kadi?",
+ "ooui-dialog-confirm-default-ok": "Sige",
+ "ooui-dialog-confirm-default-cancel": "Ukasen"
--- /dev/null
+{
+ "@metadata": {
+ "authors": [
+ "Joe young yu"
+ ]
+ },
+ "ooui-dialog-confirm-default-ok": "可"
+}
"ooui-outline-control-move-up": "Mută elementul mai sus",
"ooui-outline-control-remove": "Elimină elementul",
"ooui-toolbar-more": "Mai mult",
"ooui-outline-control-move-up": "Mută elementul mai sus",
"ooui-outline-control-remove": "Elimină elementul",
"ooui-toolbar-more": "Mai mult",
- "ooui-dialog-confirm-title": "Confirmă",
- "ooui-dialog-confirm-default-prompt": "Ești sigur?",
+ "ooui-dialog-confirm-title": "Confirmare",
+ "ooui-dialog-confirm-default-prompt": "Sunteți sigur(ă)?",
"ooui-dialog-confirm-default-ok": "OK",
"ooui-dialog-confirm-default-ok": "OK",
- "ooui-dialog-confirm-default-cancel": "Renunță"
+ "ooui-dialog-confirm-default-cancel": "Revocare"
"authors": [
"Euriditi",
"Kushtrim",
"authors": [
"Euriditi",
"Kushtrim",
+ "Elioqoshi",
+ "GretaDoci"
]
},
"ooui-dialog-action-close": "Mbylle",
"ooui-outline-control-move-down": "Zhvendose artikullin më poshtë",
"ooui-outline-control-move-up": "Zhvendose artikullin më lart",
"ooui-outline-control-remove": "Hiq artikullin",
]
},
"ooui-dialog-action-close": "Mbylle",
"ooui-outline-control-move-down": "Zhvendose artikullin më poshtë",
"ooui-outline-control-move-up": "Zhvendose artikullin më lart",
"ooui-outline-control-remove": "Hiq artikullin",
- "ooui-toolbar-more": "Më tepër..."
+ "ooui-toolbar-more": "Më tepër...",
+ "ooui-dialog-confirm-title": "Konfirmo",
+ "ooui-dialog-confirm-default-prompt": "A jeni i sigurt?",
+ "ooui-dialog-confirm-default-ok": "Në rregull",
+ "ooui-dialog-confirm-default-cancel": "Anullo"
"ooui-dialog-action-close": "Isara",
"ooui-outline-control-move-down": "Ilipat ang aytem pababa",
"ooui-outline-control-move-up": "Ilipat ang aytem pataas",
"ooui-dialog-action-close": "Isara",
"ooui-outline-control-move-down": "Ilipat ang aytem pababa",
"ooui-outline-control-move-up": "Ilipat ang aytem pataas",
- "ooui-toolbar-more": "Marami pa"
+ "ooui-outline-control-remove": "Tanggalin ang aytem",
+ "ooui-toolbar-more": "Marami pa",
+ "ooui-dialog-confirm-title": "Tiyakin",
+ "ooui-dialog-confirm-default-prompt": "Nakatitiyak ka ba?",
+ "ooui-dialog-confirm-default-ok": "Sige",
+ "ooui-dialog-confirm-default-cancel": "Huwag ituloy"
}
.oo-ui-dialog-content .oo-ui-window-body {
}
.oo-ui-dialog-content .oo-ui-window-body {
+ position: absolute;
+ top: 3.35em;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ overflow-y: auto;
+}
+
+.oo-ui-dialog-content .oo-ui-window-foot {
+ position: absolute;
+ top: 0;
+ right: 0;
+ height: 3.35em;
+}
+
+.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-button {
+ height: 100%;
+}
+
+.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-button .oo-ui-labeledElement-label {
+ display: inline-block;
+ width: 0;
+ text-indent: -9999px;
}
.oo-ui-dialog-medium .oo-ui-window-frame {
}
.oo-ui-dialog-medium .oo-ui-window-frame {
.oo-ui-window-head {
height: 3.35em;
border-bottom: 1px solid #dddddd;
.oo-ui-window-head {
height: 3.35em;
border-bottom: 1px solid #dddddd;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
background-size: 2em auto;
}
background-size: 2em auto;
}
+.oo-ui-bookletLayout-stackLayout .oo-ui-panelLayout {
+ padding: 0 0 1em;
+}
+
.oo-ui-optionWidget {
padding: 0.8em 1em 0.8em 3.35em;
font-weight: bold;
.oo-ui-optionWidget {
padding: 0.8em 1em 0.8em 3.35em;
font-weight: bold;
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
padding: .8em 1em;
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
padding: .8em 1em;
+}
+
+/* Icons */
+
+.oo-ui-icon-check {
+ background: #347bff;
+ background-image: /* @embed */ url(themes/agora/images/icons/check.svg);
}
\ No newline at end of file
}
\ No newline at end of file
box-shadow: 0 0 0.66em rgba(0, 0, 0, 0.25);
}
box-shadow: 0 0 0.66em rgba(0, 0, 0, 0.25);
}
+.oo-ui-dialog-content .oo-ui-window-foot {
+ bottom: 0;
+ height: 4.8em;
+ padding: 1em;
+}
+
+.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-framed {
+ margin: 0.125em 0.25em;
+}
+
.oo-ui-dialog-content .oo-ui-window-overlay {
z-index: 3;
}
.oo-ui-dialog-content .oo-ui-window-overlay {
z-index: 3;
}
}
.oo-ui-buttonedElement-framed .oo-ui-buttonedElement-button {
}
.oo-ui-buttonedElement-framed .oo-ui-buttonedElement-button {
+ padding: 0.2em 0.8em;
+ margin: 0.1em 0;
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
background: #eeeeee;
background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
background: #eeeeee;
background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07);
}
box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.07);
}
+.oo-ui-buttonedElement-framed.oo-ui-iconedElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon {
+ margin-right: -0.5em;
+ margin-left: -0.5em;
+}
+
+.oo-ui-buttonedElement-framed.oo-ui-iconedElement.oo-ui-labeledElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon {
+ margin-right: 0.3em;
+ margin-left: -0.5em;
+}
+
.oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button {
background: #cde7f4;
background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #eaf4fa), color-stop(100%, #b0d9ee));
.oo-ui-buttonedElement-framed.oo-ui-flaggableElement-primary .oo-ui-buttonedElement-button {
background: #cde7f4;
background-image: -webkit-gradient(linear, right top, right bottom, color-stop(0%, #eaf4fa), color-stop(100%, #b0d9ee));
+.oo-ui-bookletLayout-stackLayout .oo-ui-panelLayout {
+ padding: 1.5em;
+}
+
.oo-ui-bookletLayout-outlinePanel {
border-right: solid 1px #ddd;
}
.oo-ui-bookletLayout-outlinePanel {
border-right: solid 1px #ddd;
}
- * OOjs UI v0.1.0-pre (0436296667)
+ * OOjs UI v0.1.0-pre (7b283a9dcc)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: Wed May 21 2014 13:17:11 GMT-0700 (PDT)
+ * Date: Tue May 27 2014 15:41:42 GMT-0700 (PDT)
this.loading = true;
// Figure out directionality:
this.loading = true;
// Figure out directionality:
- this.dir = this.$element.closest( '[dir]' ).prop( 'dir' ) || 'ltr';
+ this.dir = OO.ui.Element.getDir( this.$element ) || 'ltr';
// Initialize contents
doc.open();
// Initialize contents
doc.open();
* @constructor
* @param {OO.ui.Toolbar} toolbar
* @param {Object} [config] Configuration options
* @constructor
* @param {OO.ui.Toolbar} toolbar
* @param {Object} [config] Configuration options
+ * @cfg {string} [header] Text to display at the top of the pop-up
*/
OO.ui.PopupToolGroup = function OoUiPopupToolGroup( toolbar, config ) {
// Configuration initialization
*/
OO.ui.PopupToolGroup = function OoUiPopupToolGroup( toolbar, config ) {
// Configuration initialization
this.$handle
.addClass( 'oo-ui-popupToolGroup-handle' )
.append( this.$icon, this.$label, this.$indicator );
this.$handle
.addClass( 'oo-ui-popupToolGroup-handle' )
.append( this.$icon, this.$label, this.$indicator );
+ // If the pop-up should have a header, add it to the top of the toolGroup.
+ // Note: If this feature is useful for other widgets, we could abstract it into an
+ // OO.ui.HeaderedElement mixin constructor.
+ if ( config.header !== undefined ) {
+ this.$group
+ .prepend( this.$( '<span>' )
+ .addClass( 'oo-ui-popupToolGroup-header' )
+ .text( config.header )
+ );
+ }
this.$element
.addClass( 'oo-ui-popupToolGroup' )
.prepend( this.$handle );
this.$element
.addClass( 'oo-ui-popupToolGroup' )
.prepend( this.$handle );
- * OOjs UI v0.1.0-pre (0436296667)
+ * OOjs UI v0.1.0-pre (7b283a9dcc)
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
* https://www.mediawiki.org/wiki/OOjs_UI
*
* Copyright 2011–2014 OOjs Team and other contributors.
* Released under the MIT license
* http://oojs.mit-license.org
*
- * Date: Wed May 21 2014 13:17:11 GMT-0700 (PDT)
+ * Date: Tue May 27 2014 15:41:42 GMT-0700 (PDT)
-.oo-ui-dialog-content .oo-ui-window-foot {
- bottom: 0;
- height: 4.8em;
- padding: 1em;
-}
-
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-framed {
float: left;
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-buttonedElement-framed {
float: left;
- margin: 0.125em 0.25em;
}
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-flaggableElement-primary,
}
.oo-ui-dialog-content .oo-ui-window-foot .oo-ui-flaggableElement-primary,
.oo-ui-buttonedElement-framed .oo-ui-buttonedElement-button {
display: inline-block;
.oo-ui-buttonedElement-framed .oo-ui-buttonedElement-button {
display: inline-block;
- padding: 0.2em 0.8em;
- margin: 0.1em 0;
text-align: center;
vertical-align: top;
}
text-align: center;
vertical-align: top;
}
vertical-align: middle;
}
vertical-align: middle;
}
-.oo-ui-buttonedElement-framed.oo-ui-iconedElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon {
- margin-right: -0.5em;
- margin-left: -0.5em;
-}
-
-.oo-ui-buttonedElement-framed.oo-ui-iconedElement.oo-ui-labeledElement .oo-ui-buttonedElement-button > .oo-ui-iconedElement-icon {
- margin-right: 0.3em;
- margin-left: -0.5em;
-}
-
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button,
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button.oo-ui-buttonedElement-active,
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button.oo-ui-buttonedElement-pressed {
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button,
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button.oo-ui-buttonedElement-active,
.oo-ui-buttonedElement-framed.oo-ui-widget-disabled .oo-ui-buttonedElement-button.oo-ui-buttonedElement-pressed {
.oo-ui-bookletLayout-stackLayout .oo-ui-panelLayout {
width: 100%;
.oo-ui-bookletLayout-stackLayout .oo-ui-panelLayout {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
+.oo-ui-popupToolGroup-header {
+ margin: 0 0.6em;
+ font-size: 0.8em;
+ font-weight: bold;
+ line-height: 2.6em;
+}
+
.oo-ui-popupToolGroup.oo-ui-widget-disabled .oo-ui-popupToolGroup-handle {
cursor: default;
}
.oo-ui-popupToolGroup.oo-ui-widget-disabled .oo-ui-popupToolGroup-handle {
cursor: default;
}
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<!-- Generator: Adobe Illustrator 16.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\r
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\r
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\r
+ width="44.075px" height="44.076px" viewBox="0 0 44.075 44.076" enable-background="new 0 0 44.075 44.076" xml:space="preserve">\r
+<polygon fill="#FFFFFF" points="41.673,12.657 15.385,37.159 15.201,36.961 10.037,31.424 2.402,23.239 8.057,17.962 15.693,26.157 \r
+ 36.319,6.917 "/>\r
+</svg>\r