mediawiki-skins-Vector/skinStyles/mediawiki.ui.icon.less
jdlrobson 8d8e2d85e6 Language button is quiet with focus, active and hover states
* Add mediawiki ui button styles to Vector and convert language
button to a quiet button
* Restore the arrow for language button with ULS
* Vertically align button to first line of header
* Add a storybook entry for LanguageButton

Additional changes:
* Fix issues revealed by storybook - menu dropdown should
reset generic typography rule for `ul` tags
* Allow quotes usage in storybook without disable rule

Bug: T268241
Change-Id: I483350084fb46a51c50af6aab78c62db6d02df89
2021-03-01 20:01:45 +00:00

10 lines
322 B
Plaintext

// The .mw-page-container class is used to restrict this to the modern Vector.
// This element is not needed in legacy Vector.
.mw-portlet-lang .mw-ui-icon:before {
// mw-ui-icon in core defaults to 24x24. The style guide now requests 20x20.
background-size: 20px auto;
width: 20px;
height: 20px;
min-height: 20px;
}