mediawiki-skins-Vector/resources/skins.vector.styles/components
bwang 9e4bdd00bf Remove custom handling of user links menu items and handle case when anon editor links are disabled
Rather than try to build individually build login, logout, and create account menu items, we handle them the same as all other user links menu items in Hooks.php. While Hooks isnt ideal, there currently isnt a good path for moving that code to SkinComponents until core provides menu data. In the meantime, this patch reduces code complexity and prevents bugs like T324638.
This approach also allows us to move user links logic from SkinVector22 to VectorComponentUserLinks.php, and ensures the user links dropdown contains multiple menus, which allows us to reuse styles from page tools dropdowns.

Expected 11 visual changes:
* minor visual change where the user links dropdown has an
additional 4px vertical padding.
This padding was originally added to the page tools dropdowns
per Alex's request, but Alex also said that dropdowns should share
the same spacing. This change makes the styles all consistent
* Order of talk and contribution links have been swapped

Bug: T289212
Bug: T319356
Bug: T328954
Change-Id: Iac0586893fec26a8a6c2c904ce08fbf1e19b339c
2023-02-09 13:37:17 -06:00
..
checkboxHack.less
Dropdown.less Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
Footer.less Move horizontal padding from .mw-body to .mw-page-container, improve .mw-page-container styles 2022-10-05 10:30:12 -05:00
Header.less Additional FIXME cleanup relating to moving feature classes from body 2023-02-08 10:49:13 -06:00
Icon.less Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
LanguageDropdown.less Languages should be in HTML at top whenever languages are added to page 2023-02-06 17:34:00 +00:00
Logo.less Update header spacing to match spec 2022-12-20 17:58:54 -06:00
MainMenu.less Misc page tools visual fixes 2023-01-12 15:42:47 -06:00
MainMenuGroup.less Update dropdown and pinnable element styles to match spec 2023-01-04 11:24:55 -05:00
Menu.less [Technical] Remove common Menu styles 2022-11-08 14:31:14 -06:00
MenuTabs.less Add default width and max width to dropdowns in modern Vector, preserve existing styles for legacy Vector 2023-01-12 11:45:13 -06:00
PageTitlebar.less Ensure TOC in sticky header has correct margin, refactor TOC styles to be more consistent 2023-01-11 15:47:09 -06:00
PageToolbar.less Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
PageTools.less Moving padding-bottom to mixin-vector-scroll-indicator 2023-02-07 16:33:44 -07:00
PinnableElement.less Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
PinnableHeader.less [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
SearchBoxLoader.less search: Adjust SearchBoxLoader for border-box change in Codex 2023-02-05 21:15:34 +00:00
StickyHeader.less Make page tools sticky 2023-02-07 12:49:48 -07:00
TableOfContents.less Make page tools sticky 2023-02-07 12:49:48 -07:00
TableOfContentsPinned.less Additional FIXME cleanup relating to moving feature classes from body 2023-02-08 10:49:13 -06:00
TableOfContentsUnpinned.less [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
TabWatchstarLink.less Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
UserLinks.less Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
VueEnhancedSearchBox.less search: Use relative sizing for the search icon 2023-02-03 01:58:31 +00:00