instead of just spitting it out directly
Also rename all of said functions accordingly, add documentation,
and start trying to make an actually cross-compatible version of
getPortlet() for BaseTemplate...
Output should be structurally the same. All existing attributes for
output elements are maintained; some may have new attribs added due
to more consistent render method (getPortlet). (Essentially, if one
item had it, now they all have it.)
New attribs include:
* id
* lang
* dir
* aria-labelledby
Change-Id: I0a7ca1b95c2ad03273ed9c713be0da694c94a176
Previously added some svg versions of icons and background images.
svgs have now been run through svgo and cleaned up per Nikerabbit's
advice.
Also slightly tweaked user.svg to better match raster version.
Change-Id: Icf7ad259366a7051c66e2b8d6ac229ef1f0388fe
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment
Change-Id: Ic4db7a090578ee3a894b74e66284902db55ff724
No guarantees that these styles actually apply to anything anymore.
But at least the TODO is resolved!
Change-Id: Ibb43c044f50f026afa84a0151b113dd600956942
Part of the move toward responsiveness.
* Use mixins and variables!
* Vectorise existing icons
* Delete a rule or two that don't apply to the source anymore
* Consolidate similar colours into the same ones using variables
Change-Id: I2f0eb2b79cba01d8fa3a06298711e8af4d5508ba
Also:
* Convert main.css to less because I can't figure out how to do svgs
and fallbacks by hand
* Add gradient image to fit with book for really, really, really wide
displays (and move book background to globalWrapper to make it
actually work)
Change-Id: Ie6f5b6b87b475953274688fc4640f9fa17184fa4
Also delete unused images, since even if something is
somewhere using them anyway (looked, couldn't find
anything), it wouldn't be able to find them in the new
image location regardless.
Wiki.png, magnify, and link are all part of core and have
been for some time.
Change-Id: Id7a02155a5f1b207908c9c0c8f7519b6d3f9a886
Override font size for .oo-ui-defaultOverlay to match normal content.
Bug: T183069
Change-Id: I1941365fb1550604ff45fbe60bacc600f72eea9e
Depends-On: I53888581f9e1da3b036166613c46cbc1085aa55e
Caused the logo (which is a link to the main page) to become unclickable.
This reverts commit 909aed33cb.
Bug: T171195
Change-Id: I3e215ef493568222bd4c2e0dbffc0da74241673a
Follows-up (r2881, b52a2a1567). Logical backport of Vector
patch Ifb99ff36e3a (T170053).
The logo was given a higher z-index than the content, presumably
with the intent to avoid user-generated content from being able
to obscure the logo. However, setting z-index here is redundant
given #p-logo (in #column-one) is after #column (in #column-content)
which already has `position: relative` and z-index set to give it its
own stacking context that can never exceed its stack (except for
weird things - T40848).
If this z-index was needed, then it would indeed only work if
position is set to relative or absolute. Picking "absolute" in
that case would cause the logo to be taken out of the layout flow,
hence the padding on #column-one.
Remove it all, in favour of natural flow. Keep the 5px distance
by using margin-bottom (160-155=5).
Commit is a visual no-op (pixel-for-pixel identical).
Bug: T170053
Change-Id: I156c54e1dd08a1c848d1c5ec9a5a9c9f85d8680a