VectorGOLEM/resources
Nicholas Ray 092a2957af Implement Page, Workspace, Content, and Article Toolbar Containers
This patch closely follows the desired guidelines/desired
styles Alex Hollender has put forth in his prototype, but uses
multiple containers to achieve this look since our DOM order/structure
is different than the DOM structure in the prototype. The following
containers are used, but unlike his prototype, they are sometimes used
more than once:

* Page Container: Contains every other container and limits the overall
max-width of the white part of the page.

* Workspace Container: Contains the sidebar and content container. The
sidebar is displaced ~30 pixels to the start (left) of the workspace
container at all times.

* Content Container: Contains the content. The max-width of this changes
depending on whether you are on a special page/history page vs. other
pages.

* Article Toolbar Container: Contains the article toolbar. The max-width
of this is always the same as the max-width of the article content as we
don't want the toolbar to move when going from the article page to the
history/special page.

Changes to be aware:

* To test locally, `$wgVectorLayoutMaxWidth = true;`. This design is
temporarily feature flagged and defaults to being "off".

* Note that layout-max-width.less is a temporary file made to meet the
feature flag requirement of T246420 (intended to derisk the deployment).
After the deploy, we should merge most if not all of the rules into
layout.less where the max-width design will become the default.

* Per Jon's code review comment, I have relaxed the indenting of
skin.mustache to make the diff easier to reason about. If desired, the
correct indenting can be achieved in a (much less risky) follow-up
commit.

Bug: T246420
Bug: T153043
Change-Id: Ie49f629bc705850c6996164a516957476c034048
2020-07-07 18:34:38 -06:00
..
skins.vector.icons [fix][RTL] flip menu collapse button icon 2020-06-03 17:09:38 -06:00
skins.vector.js build: Update devDependencies 2020-07-01 14:43:39 -07:00
skins.vector.legacy.js Fix bug: "dancing vector tabs" 2020-06-01 20:02:28 +00:00
skins.vector.styles Implement Page, Workspace, Content, and Article Toolbar Containers 2020-07-07 18:34:38 -06:00
CheckboxHack.d.ts Update CheckboxHack interface for future placement of `aria-expanded` on label button 2020-06-29 13:31:24 -06:00
CollapsibleTabsPlugin.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
mediawiki.d.ts [JavaScript] Validate types 2020-03-16 09:10:08 -06:00
skins.vector.styles.responsive.less Replace deprecated classes with modern ones 2020-06-11 14:05:15 -07:00