mediawiki-extensions-Visual.../modules/ve/init/mw/styles
Timo Tijhof 97fa232c8f (bug 42654) Implement Show changes in Save dialog.
Turned saveDialog-body into slide-based swapper.

Moved footer into saveDiaog-body so that the license text doesn't
stay under the diff-slide (and move body bottom padding to foot
top)

Wrapped buttons and title in a saveDialog-header and converted
closeButton from absolutely positioned to a floated layout.
This way the title doesn't need to be repositioned but will scooch
over if the prevButton gets shown/hidden.

Update API "diff" action to include table wrapper and table
header. Without it the mediawiki CSS for diff doesn't work
properly (needs colgroups for proper width of the "-" and "+" column etc)

Renamed -saving class to -disabled for consistency.

Set prop.disabled to really lock/unlock buttons, not just visual
(otherwise the click handlers are still triggered on click, can
potentially cause actions to be triggered when not expected)

Using a ve message for "Show your changes" title instead of
re-using core tooltip-savepage in a different context.

Diff slide triggers "auto width" on dialog (inline undo of width: 29em), keeping min-width, to allow it to expand as wide as needed.

Functions that I copied as base for onShowChanges and
onShowChangeError had some incorrect argument descriptions. Fixed
in both.

Note:
* Pass function to .off(), so that only that one is unbound
  instead of any "resize" handler on the page (by other extensions
  or gadgets or core)
* NB: ve.bind ($.proxy) preserves internal guid, so that $.Event
  can find the bound function by the original reference.
* keydown has an anonymous function, should either moved to
  prototype or namespaced, did latter for now, save enough and
  better than destructive .off('keydown')

Change-Id: I9d05ef6e3e2461bdcf363232f7b0fbad5e24f506
2012-12-08 02:26:24 +01:00
..
images Added saving "spinner" icon to save dialog 2012-08-17 16:10:14 -07:00
ve.init.mw.ViewPageTarget-apex.css Improved icons 2012-08-31 13:23:04 -07:00
ve.init.mw.ViewPageTarget-monobook.css Fixed font-size issues for monobook integration 2012-11-05 13:32:06 -08:00
ve.init.mw.ViewPageTarget-vector-hd.css Improved icons 2012-08-31 13:23:04 -07:00
ve.init.mw.ViewPageTarget-vector.css Improved icons 2012-08-31 13:23:04 -07:00
ve.init.mw.ViewPageTarget.css (bug 42654) Implement Show changes in Save dialog. 2012-12-08 02:26:24 +01:00
ve.init.mw.ViewPageTarget.Icons-raster.css (bug 42654) Implement Show changes in Save dialog. 2012-12-08 02:26:24 +01:00
ve.init.mw.ViewPageTarget.Icons-vector.css (bug 42654) Implement Show changes in Save dialog. 2012-12-08 02:26:24 +01:00