mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/dialogs
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
..
images MWWelcomeDialog: Refactor splash image to allow resizing it 2018-07-05 20:04:57 +02:00
ve.ui.MWGalleryDialog.css build: Use "Grade A" rules for stylelint 2020-12-01 08:35:03 -08:00
ve.ui.MWMediaDialog.css Remove obsolete vendor prefixed properties 2021-05-03 08:09:01 -07:00
ve.ui.MWMetaDialog.css doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWMobileSaveDialog.css doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWPreDialog.css doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWSaveDialog.css ve.ui.MWSaveDialog: Tweak margins of checkboxes 2021-06-08 20:16:44 +00:00
ve.ui.MWTransclusionDialog.css Make new template editor sidebar items actual ButtonElements 2021-07-14 13:31:40 +02:00
ve.ui.MWWelcomeDialog.css doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00