mediawiki-extensions-Revisi.../resources/ext.RevisionSlider.icons/pin.svg
Leszek Manicki 6502728184 Add button to have revision slider expanded automatically
This adds a button which allows a user to make revision slider
automatically expand on each diff page (disabled by default).
User's choice is stored as a hidden user preference.

This is a bit hacky as it squeezes a button on top
of another button (100% wide expand/collapse button).
This also adjusts styles of ToggleButtonWidget so
the button looks more like a frameless button, although
it is created as a framed one (to have inverted behaviour
when button is in its "on" state).

The button only gets visible when Resource Loader finishes
loading JS and CSS to avoid button jumping around the top
of slider window before "right" styles are applied.

Bug: T142196
Change-Id: Id561485344cba9b136666fe31b086151467de19e
2016-08-30 13:57:12 +02:00

1 line
538 B
XML

<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 283.67461 328.56086"><path d="M112.037 183.315l13.081 10.638c-19.395 23.495-35.637 38.18-51.396 51.511 11.553-22.015 23.876-43.21 38.315-62.15zM165.5 82.242c-3.145 6.995-8.094 11.658 1.072 23.75-12.936 17.401-30.214 31.916-47.857 46.963-13.992-8.578-23.804-18.506-45.358-9.285l49.564 39.9 49.19 40.356c4.62-22.984-7.104-30.56-18.361-42.502 11.122-20.347 21.8-40.227 36.19-56.447 13.71 6.5 17.262.701 23.466-3.807-17.04-13.51-32.144-26.132-47.906-38.928z"/></svg>