diff --git a/demos/ve/demo.css b/demos/ve/demo.css index cea5b7563a..2fd9bf25ce 100644 --- a/demos/ve/demo.css +++ b/demos/ve/demo.css @@ -143,7 +143,7 @@ body { margin: 0 2em; } -.ve-init-sa-target-toolbar .ve-ui-toolbar-bar { +.ve-init-sa-target-toolbar .oo-ui-toolbar-bar { border: solid 1px #ccc; border-radius: 0; -webkit-border-top-right-radius: 0.25em; @@ -156,7 +156,7 @@ body { border-top-left-radius: 0.25em; } -.ve-init-sa-target-toolbar.ve-ui-toolbar-floating .ve-ui-toolbar-bar { +.ve-init-sa-target-toolbar.ve-ui-toolbar-floating .oo-ui-toolbar-bar { border-top: none; border-radius: 0; } diff --git a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget.css b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget.css index 4002375652..bf5935d534 100644 --- a/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget.css +++ b/modules/ve-mw/init/styles/ve.init.mw.ViewPageTarget.css @@ -46,10 +46,6 @@ padding: 0.25em; } -.ve-init-mw-viewPageTarget-toolbar-utilites .ve-ui-toolbar-bar { - border: none; -} - .ve-init-mw-viewPageTarget-toolbar-utilites > .oo-ui-iconButtonWidget { margin-right: 0.2em; margin-top: 0.2em; diff --git a/modules/ve/init/sa/ve.init.sa.Platform.js b/modules/ve/init/sa/ve.init.sa.Platform.js index 4c70884803..947f1bfd4d 100644 --- a/modules/ve/init/sa/ve.init.sa.Platform.js +++ b/modules/ve/init/sa/ve.init.sa.Platform.js @@ -125,3 +125,7 @@ ve.init.sa.Platform.prototype.getUserLanguages = function () { /* Initialization */ ve.init.platform = new ve.init.sa.Platform(); + +/* Extension */ + +OO.ui.msg = ve.bind( ve.init.platform.getMessage, ve.init.platform );