mediawiki-extensions-Visual.../modules/ve/ui
Trevor Parscal 3a6e91dfb7 RTL Improvements
Objectives:

* Make option widget icons correctly placed in RTL
* Make embedded context toolbar correctly placed in RTL

Approach:

Use separate elements for icons within option widgets which have more
flexibility when rendering in either LTR or RTL when compared to CSS
background position. The simpler approach, using CSS background
position offsets, isn't cross-browser compatible at this time.

Changes:

ve.ui.OutlineItemWidget.js
* Remove custom icon implementation, using parent class implementation
  instead

ve.ui.OptionWidget.js
* Add icon option, which adds an icon element only if an icon was
  specified

ve.ui.MenuItemWidget.js, ve-mw/ve.ui.MWParameterResultWidget.js
* Add override for icon config option
* Document icon config as private

ve.ui.Context.js
* Add detection and special handling for positioning embedded context
  toolbar when rendering in RTL

ve.ui.Widget.css
* Add styles for option widget's new icon option
* Add styles to make indentation still work for outline item widgets
* Adjust styles for menu item widget as per changes in option widget

ve-mw/ve.ui.Widget.css
* Adjust styles for parameter result widget as per changes in option
  widget

Change-Id: Ibfa4b613e0fd7902f8a2c78b5717de402c5f82b8
2013-07-10 00:09:22 +00:00
..
actions Merge "Restore focus to documentNode on convert" 2013-07-01 19:25:02 +00:00
dialogs The great directory split of 2013 2013-07-02 20:51:38 -07:00
elements Element fixes 2013-06-18 11:35:07 -07:00
inspectors Revert "Make link inspector re-usable by splitting it up" 2013-07-03 18:39:31 -07:00
layouts Dir fix for iframes and widgets 2013-07-02 20:20:43 +00:00
styles RTL Improvements 2013-07-10 00:09:22 +00:00
tools Revert "Add support for <blockquote> elements" 2013-07-09 21:35:47 +00:00
widgets RTL Improvements 2013-07-10 00:09:22 +00:00
ve.ui.Action.js
ve.ui.ActionFactory.js
ve.ui.CommandRegistry.js
ve.ui.Context.js RTL Improvements 2013-07-10 00:09:22 +00:00
ve.ui.Dialog.js Transplant CSS from the main document to each iframe 2013-07-09 16:13:28 -07:00
ve.ui.DialogFactory.js
ve.ui.Frame.js Transplant CSS from the main document to each iframe 2013-07-09 16:13:28 -07:00
ve.ui.Inspector.js Transplant CSS from the main document to each iframe 2013-07-09 16:13:28 -07:00
ve.ui.InspectorFactory.js
ve.ui.js ve.ui.ViewRegistry annihilation 2013-06-26 16:52:10 -07:00
ve.ui.Layout.js
ve.ui.Surface.js Make local overlays local to surface and remove insane z-indexes 2013-07-02 19:35:43 +00:00
ve.ui.Tool.js ve.ui.ViewRegistry annihilation 2013-06-26 16:52:10 -07:00
ve.ui.Toolbar.js Listen to keypress in ve.ce.surface.$ rather than window 2013-07-03 22:28:17 +00:00
ve.ui.ToolFactory.js Disable inspection of references with unknown contents 2013-06-27 20:34:32 -07:00
ve.ui.Trigger.js jshint: Fix trailing comma 2013-06-05 13:00:49 +02:00
ve.ui.TriggerRegistry.js
ve.ui.Widget.js
ve.ui.Window.js Transplant CSS from the main document to each iframe 2013-07-09 16:13:28 -07:00
ve.ui.WindowSet.js Don't depend on iframe load events 2013-06-25 23:12:58 +00:00