mediawiki-skins-Vector/stories
Jan Drewniak 3c0559a71d Refactor chevron across components + separate watchstar
Consolidates the CSS responsible for styling chevrons into one
implementation. This removes the need for custom padding and
background positioning for the following components:

- "more" menu
- user menu
- watchstar
- language button
- languge button in sticky header

Instead of absolutely positioning the chevron on these components,
the parent label element is set to `display: inline-flex` so that
the chevron is vertically aligned and given enough space by default.

The watchstar, although not a chevron, is also given the
`display: inline-flex` treatment so that it can be aligned with
other elements in the toolbar.

This new implementation requires splitting the watchstar
component into legacy and modern due to a quirk in Firefox that
causes a bug with the watchstar in legacy Vector.

NOTE: This change causes visual changes due to the difference in
centering the chevrons via flexbox vs percentage positions.

Bug: T308344, T310838
Change-Id: Ie9e0fce1366cd25a5899fee49770de4a09424fe2
2022-07-21 10:14:21 -04:00
..
.eslintrc.json Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
ArticleToolbar.stories.data.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
ArticleToolbar.stories.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
ButtonsAndIcons.stories.js Search: Use Codex and Vue 3 instead of WVUI and Vue 2. 2022-07-18 12:54:47 -07:00
Footer.stories.data.js
Footer.stories.js
Header.stories.data.js
Header.stories.js
LanguageButton.stories.data.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
LanguageButton.stories.js
Logo.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
Logo.stories.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
Menu.stories.data.js Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
Menu.stories.js
MenuDropdown.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
MenuDropdown.stories.js
MenuPortal.stories.data.js Merge "Update Abkhaz language name" 2022-01-04 17:01:02 +00:00
MenuPortal.stories.js
MenuTabs.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
MenuTabs.stories.js Refactor chevron across components + separate watchstar 2022-07-21 10:14:21 -04:00
rawLoader.d.ts
SearchBox.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
SearchBox.stories.js
Sidebar.stories.data.js Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
Sidebar.stories.js
skin.less [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
skin.stories.data.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
skin.stories.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
StickyHeader.stories.data.js Simplify TOC spacing styles/logic by reusing the visible sticky header class 2022-05-10 11:39:05 -05:00
StickyHeader.stories.js
types.js build: Update eslint-config-wikimedia to 0.22.1 2022-05-17 23:40:46 +01:00
UserLinks.stories.data.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
UserLinks.stories.js
utils.js Move Vector menu class logic into Menu mustache template 2022-07-07 12:34:23 -05:00