mediawiki-skins-Vector/resources/skins.vector.styles
Stephen Niedzielski 909cbaac11 [fix][a11y][Less] use percentage for sidebar button icon size
The sidebar button's icon previously used pixel dimensions while the
button itself uses ems. This caused the button to scale with the user's
font such that the icon is distorted and unrecognizable.

This patch drops the vertical margin and sets the icon height to 100%.
The width is proportionally constrained so the effect is that the icon
may grow with the button but the margin stays consistently at 12px.

This approach deviates from other items in the header (globe,
notifications) and tab bar (watchstar, search icon), that were 
historically implemented without the user text zoom capability in mind.

Bug: T246419
Change-Id: I2ae46fd49dcb619004587b8b3560b9115c3bdaaa
2020-06-01 21:08:02 +00:00
..
common Naming convention using 'skin' as entrance point 2020-05-28 20:58:01 -07:00
images Show half-star when the page is temporarily watched 2020-05-12 00:06:16 +00:00
legacy [dev][Legacy] split sidebar Mustache and Less 2020-05-15 18:05:30 +00:00
checkboxHack.less [feature] add menu button to toggle panel visibility 2020-05-28 02:14:13 +00:00
Footer.less Remove #footer selectors now that cache has expired 2020-05-06 18:55:50 -07:00
Indicators.less Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
layout.less Refactor: Simplify and standardize menu definitions 2020-05-12 15:17:38 -07:00
Logo.less [feature] add menu button to toggle panel visibility 2020-05-28 02:14:13 +00:00
Menu.less Hotfix: Cannot rename emptyPortlet to empty-portlet yet. 2020-05-28 16:01:38 -07:00
MenuDropdown.less Reduce distribution of legacy classes 2020-05-26 20:22:08 +00:00
MenuPortal.less Refactor: Simplify and standardize menu definitions 2020-05-12 15:17:38 -07:00
MenuTabs.less Class names with hyphens preferred over camel case 2020-05-07 14:43:13 -07:00
SearchBox.less Replace deprecated @colorFieldBorder variable and use others 2020-04-28 01:42:09 +00:00
Sidebar.less [fix][a11y][Less] use percentage for sidebar button icon size 2020-06-01 21:08:02 +00:00
SidebarLogo.less [legacy] Split sidebar code and mark layout as legacy in preparation for new layout 2020-04-16 11:29:03 -07:00
SiteNotice.less Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
skin-legacy.less Naming convention using 'skin' as entrance point 2020-05-28 20:58:01 -07:00
skin.less Naming convention using 'skin' as entrance point 2020-05-28 20:58:01 -07:00
TabWatchstarLink-ie8.less Organize CSS by common, layout, typography and components 2020-05-07 22:57:13 +00:00
TabWatchstarLink.less Show half-star when the page is temporarily watched 2020-05-12 00:06:16 +00:00