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 Language button is quiet with focus, active and hover states 2021-03-01 20:01:45 +00:00
Footer.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
Header.stories.data.js [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
Header.stories.js [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
LanguageButton.stories.data.js [Storybook] Fixes state of various components 2022-07-08 11:36:43 -07:00
LanguageButton.stories.js [storybook] Document button usage and update broken stories 2021-09-07 21:23:33 +00:00
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 Storybook should include UserLinks 2021-05-27 19:27:27 +00:00
MenuDropdown.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
MenuDropdown.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
MenuPortal.stories.data.js Merge "Update Abkhaz language name" 2022-01-04 17:01:02 +00:00
MenuPortal.stories.js Refactor: Portal is also a Menu 2020-05-07 16:56:59 -07:00
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 [Storybook] Fix PNG/SVG asset resolution. 2020-09-25 12:52:05 +02:00
SearchBox.stories.data.js Define documentable types in eslintrc instead of inline 2021-10-18 18:08:32 +00:00
SearchBox.stories.js Allow multiple search components on the same page 2021-09-23 23:23:58 +00:00
Sidebar.stories.data.js Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
Sidebar.stories.js Storybook: Consistent styling 2021-05-27 19:27:21 +00:00
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 Build the sticky header skeleton 2021-09-01 12:32:31 -07:00
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 [Storybook] Add Header component 2021-09-14 18:33:10 +00:00
utils.js Move Vector menu class logic into Menu mustache template 2022-07-07 12:34:23 -05:00