mediawiki-skins-Vector/resources/skins.vector.styles/components
Jon Robson d4903b8e57 Remove TableOfContents mustache template and mark layout rules
Follow up to I3484a790ce8ebadf21054ac1d222d5632b2dc5a4

__Template__

The template is not particularly useful - it is only ever
used once in this context and features a static ID which means
it can never be reused. It is also tied to the #vector-toc-collapsed-checkbox
element. In current form it doesn't make sense to have this template.

Maybe in future, I could see an argument for a PinnableTableOfContents component
that wrapped the checkbox and nav element, and generalized the IDs but
currently there's no pressing need or value for that.

__Layouts__

The existing Pinned and Unpinned stylesheets are concerned with how the table
of contents is layed out holistically with regards to other components and
features enabled on the page. I think these should therefore be organized as such.
The way I reason with this, is these styles would be irrelevant in a component
library if the component was rendered in isolation.

Bug: T328719
Change-Id: I9ff0e0eeb35f215a8cae5950d08dc1277b662a71
2023-02-28 00:27:31 +00:00
..
checkboxHack.less
Dropdown.less Merge "Revert "Updates for core temp user autocreation feature"" 2023-02-22 22:41:02 +00: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 Promote "Add topic" button to PageTitlebar 2023-02-24 01:33:47 +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 Promote "Add topic" button to PageTitlebar 2023-02-24 01:33:47 +00: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 Make space between top of TOC/Page tools and top of viewport/bottom of sticky header 30px 2023-02-10 19:43:05 +00: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 Update naming convention for TOC 2023-02-23 16:30:19 +00:00
TableOfContents.less Update naming convention for TOC 2023-02-23 16:30:19 +00:00
TabWatchstarLink.less Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
UserLinks.less Clean up user links cached HTML code 2023-02-22 23:30:26 +00:00
VueEnhancedSearchBox.less search: Use relative sizing for the search icon 2023-02-03 01:58:31 +00:00