mediawiki-extensions-Visual.../modules/ve-mw/ui/styles
Thiemo Kreuz eb1f1e28a3 Make new template editor sidebar items actual ButtonElements
Actually reusing this OOUI mixin gives us a lot of well
developed functionality we need anyway. Most notably proper
event management, e.g. click events.

The number of CSS properties we need to override is managable,
I would argue. Let's see:
* Our buttons are not inline-elements, but should use the full
  width.
* No focus-border left and right for the same reason.
* We want much more inner padding.
* We want a stronger hover effect.
* We need to fine-tune the position of the icon. This is
  because of the inner padding.
* Need to get rid of a negative margin that's only relevant
  for inline-buttons.

I currently feel like the benefits are worth living with
slightly more brittle code. Note that we can undo this change
any time because all this is well encapsulated in this new
class.

Bug: T274544
Change-Id: I33f275a958964d49e803e56bf74a6fa961093da1
2021-07-14 13:31:40 +02:00
..
apex MediaDialog: Use new icons 2019-04-29 10:00:06 -07:00
contextitems doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
dialogs Make new template editor sidebar items actual ButtonElements 2021-07-14 13:31:40 +02:00
elements Allow text selection on the "More"/"Less" button fade effect 2021-07-07 07:48:28 +00:00
images MediaDialog: Use new icons 2019-04-29 10:00:06 -07:00
inspectors doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
pages Fix the show/hide button for the ExpandableContentElement on mobile 2021-06-28 15:18:38 +02:00
tools Rewrite EducationPopup so it isn't a mixin 2020-09-24 21:33:50 +01:00
widgets Change style for adding an "Unknown field" in the parameter search 2021-07-08 09:20:25 +02:00
wikimediaui MediaDialog: Use new icons 2019-04-29 10:00:06 -07:00
ve.ui.MWWikitextSurface.css doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00