These OOUI widgets are special in so far that:
* OOUI makes the actual <input> element invisible and partly fails
to do so because Timeless sets properties on <input>s that are not
reset by OOUI.
* An outer <div> is styled like an <input> instead. Timeless is not
aware of this and forgets to set it's overrides for <input>s there.
This patch is motivated by the AdvancedSearch extension which uses
these widgets, but is not limited to this.
This patch also does not fix all compatibility issues between Timeless
and these OOUI widgets, but greatly reduces the main issues. More to
come in later patches.
Bug: T192303
Change-Id: I8a4fc3f74dabdb54fd95cd133bb4fe28944c4a40
* Used nominal values of background-position so CSSJanus can apply
CSS flipping correctly
* Added the missed RTL search icons, optimized SVG source of the
LTR search icon, optimized PNG rsvg-convert result of both
SVGs using optipng
Change-Id: I6a56f8ee448b60742b92d3613394a0d61b9235a1
Reduce the specificity of TOC ul styles, so the existing rules
for indenting (with selector `.mw-content-ltr .toc ul ul`) are
applied. This matches the behaviour in other skins.
Bug: T190830
Change-Id: I84fd56c2baeaa218fb4fda493393f8c3d3ddd6cd
Selflinks should inherit color and text-decoration styles, and
be bolded. This matches how they are displayed in other skins,
and how they were displayed before a change to mediawiki core
in MW-1.29 ( If058843924c3b30c116df2520aef93a004d98a5d ).
Bug: T192033
Change-Id: Id61f06a6b1921208d5436cb6e21f710413e990e9
Puts the sitename logo text onto its own line, effectively, plus
some minor padding adjustments for aesthetics:
- Zero out padding-top so there isn't a big gap above;
- Add padding back below long names (which the `.long` class
otherwise sets to 0) so there is a slight gap below.
Bug: T161461
Change-Id: I84fb41ec50f795446d9a8a3a08c4f67857d9908f
* Increased selector specificy so that .emptyPortlet works on portlets within
#mw-page-header-links
* Moved the `ca-more` dropdown, only shown on mobile, into a new portlet so that
`p-views` is really empty on Special pages, and has class .emptyPortlet
* Moved languages dropdown, also only shown on mobile, into the new portlet too.
This way on special pages the two dropdowns are in a single <ul> list with two
items, rather than two adjacent list each with one item. Also, grouping the
mobile-only items together means the desktop CSS only has to hide the portlet,
rather than the individual ietms.
Bug: T182533
Change-Id: I496af1805d200e1fd67b1232e1b3b029b08b82ca
The lack of such styles causes unwanted spacing on ul elements
that are not within `.mw-content-ltr`, most noticeably on the
watchlist (T181275) and search result pages (T181287).
Bug: T181275
Bug: T181287
Change-Id: I3402c3e297abbbbbcc19d69acee9808195c1f99a
Set the top margin of #mw-related-navigation and its first sidebar chunk
to 0. This replicates the margin collapsing that occurs between other
sidebar chunks, so that all the gaps between sidebar chunks are the same
size.
Bug: T181256
Change-Id: I35b90383be8610412566e7367ecf25d771d4747c
This rule seems to no longer apply to the skin in it's current state,
and seems to be causing problems with references. These rules are an issue
for that it creates a fake block element (which adds extra spacing at the
top), creates a static height, and pulls it up with a negative top margin.
It seems best to remove this CSS block.
Bug: T181490
Change-Id: Id109e42731202f0c6e1ef6ff8855617e0795b35d
Rename `pagetools` to `views`, `pageactions` to `cactions`, and
`cactions` from last commit back to `pagemisc`.
Make empty portlets available on page but hidden (display:none)
with css class emptyPortlet, which can be removed by scripts
that add links to portlets (mw.util.addPortletLink already does
this).
Bug: T181362
Change-Id: I56d5b9df529abbdfead26cc46b8fe28935b417c3
shoving down all content
Was removed from most boxes in 30ddb35f0; put it back here only
on mid- and full- content. No need for it on small.
Apparently I suck at reviewing shit.
Bug: T181323
Change-Id: Ic0bc08b9ba542ac16936c27e1dcdaca140fd51a2
* Echo icon positioning fix in rtl languages (thanks to RoanKattouw)
* Fix for header lines overlapping with floats (thanks to someone who...
I don't actually remember, but they're absolutely lovely too)
Change-Id: I57825a7e7e06184f452cec69b15b484173b59413
I am pretty sure this is unnecessary in almost all places this mixin
is used, and at least one of them (for 'fieldset') is causing issues
(T181258).
The only place I am not pretty sure about is in the .nav-block()
mixin, so let's add it back there.
Bug: T181258
Change-Id: I77d34634d97b38712e74bc5f2227e42e9c49f18d
I82db33d656 in core changes the toggle button of the TOC.
This change removes the brackets around the new toctoggle, too.
Depends-On: I82db33d656b3795d7134a91d20ed9d93a3471086
Change-Id: I4ebe356e266a93b2391650ac915940432e02f0ef
Copypasted from core /resources/src/mediawiki.skinning/elements.css with
colors adjusted for Timeless.
Bug: T177142
Change-Id: Ic6d18911df4f1ea504ed547292676eac1ff54995
The font-size is direct copypasta from MonoBook; on MonoBook #contentSub's
color is #54595d whereas here it uses the @grey-dark variable (which is
defined as the hex color #666 in variables.less).
Bug: T173951
Change-Id: Id57a3e2acab1f734b6a8ba65734c9d3d828d9ca7