mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
eb1f1e28a3
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 |
||
---|---|---|
.. | ||
images | ||
ve.ui.MWGalleryDialog.css | ||
ve.ui.MWMediaDialog.css | ||
ve.ui.MWMetaDialog.css | ||
ve.ui.MWMobileSaveDialog.css | ||
ve.ui.MWPreDialog.css | ||
ve.ui.MWSaveDialog.css | ||
ve.ui.MWTransclusionDialog.css | ||
ve.ui.MWWelcomeDialog.css |