For some reason the margin was on the ul, and I have no clue why.
Breaks stuff like wikibase, announcements, anything doing non-ul
portlet content, really.
Change-Id: I201a777547d8bd1b674c8c5d987ab77d4130bfcf
* Lose the special casing replacement labels for long usernames and
just truncate in CSS with '...' or whatever
* Fix weird padding on two-column mode
* Possibly cleaner Echo badge/whatever handling
* Alignment fixes in general
Note: Breaks two-column layout for IE9-. Probably easily fixed (don't
apply that one line to it), but I don't know how, and don't care.
Bug: T161282
Bug: T173215
Change-Id: I7d27e13265ee54767c509387baf6430bd7c4792d
(margins get lost/combined into larger one unless container... stuff;
on three-column flexbox takes care of this for us)
Change-Id: Ib2a93fa0c24f693375fb8c959e77dd47c8087121
Kill js solution even for other browsers because it doesn't even really
work to begin with. And I have no clue how to make it work, because I
can't find any examples that do, either.
Fixes current firefox and chrome. Users of old browsers/other
proprietary or whatever things can, uh, suffer, I guess.
Bug: T181484
Change-Id: Ic3415702eaa33cf56ed0b1fabf9ca607c88d1863
No more need to add in an html pokey element every potential dropdown menu.
Aaaaaagh that made it bigger, didn't it.
Change-Id: I5d3817aa026849a5304710a32a3585f3e698321d
Hopefully saner access, also clears up some of the sidebar space.
Also forces moving the wikibase other-projects blob into its own
blob entirely.
Not done:
* Pokeys (need to migrate them all to css-only; later patch)
* Handling for no languages for wikidata stuff (may not be possible;
minerva likewise has no handling)
Bug: T213510
Bug: T181309
Change-Id: I148707085059f458512d328c415ea0bf134163f3
Possibly more consistent in general with the rest of wikimedia. Maybe. We're still using the colours rather differently, though.
Should also resolve some contrast issues we've had thus far. Maybe.
Breaking up the greys like this may or may not help with theming down the road. I'm not really sure.
Bug: T131992
Bug: T200320
Change-Id: I2757271066c54891e2b6e45b86e827f34af59435
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: Id4d42d8e71c559f1e83ac7c1ab055f62654c240e
Multiline items should now be clearly distinguishable from new
single-line items. On, like, mobile, or something. Not truly insane
pages I never should have created in the first place.
Change-Id: Ia0ea69519da865b76299b62ee94b33d3b0b60a94
option to set configurable background image for the skin as a whole
Defaults to the cat, but can ideally be set to anything appropriate
to the wiki in question. Recommendation is a 20-50% opacity black/
white background image, where the alpha values of the b/w parts are
likewise around 10-50/255.
Bug: T193330
Change-Id: Ica3e2ce2568557ef157d06d1b7127b030f3c38f0
Follow-up on https://gerrit.wikimedia.org/r/501850:
* new font stack stolen from phabricator and then rearranged a
bit to be less ornery
* restored searchinput fonts and prodded some other alignment
issues
* p-personal alignment issues maybe addressed, maybe made worse;
cannot test windows/mac because don't have either of them or
any remaining budget with which to purchase either of them
because holy crap expensive
* some very basic generic form styles to align the base ones a
tad more consistently
* dumb fix for dateinput widgets being mixed into otherwise
non-ooui forms
Bug: T221345
Change-Id: I43312b23197ed1ce5ea9cb75fb0b8e8466bac6a1
Note that this wraps localNotice in a box and may mess up custom
sitenotice css that does not expect a box to already be there.
Bug: T182517
Change-Id: I7d25017ba89cb833317aea61f9ea5f8f0a145df8
* Remove most of the special styles; most things are migrated to ooui
now, and that thing is soup, but at least mostly matches the skin
anyway
* Kill the special snowflake content/monospace fonts; these were
actually messing up the ooui styles more than anything else
* Also make body text smaller, headers bigger to more clearly
differentiate between them, with some of the larger sans serif
options people might wind up with
* Override some overrides. Let's override these and then override the
overrides for the overrides, and add more overrides later?
* Make whole thing slightly wider, because sheesh, this is narrow
* Make toctoggle show up like how rclegend toggle does
Either affects or should resolve the following:
Bug: T207610
Bug: T211360
Bug: T188968
Bug: T196243
Bug: T204780
Bug: T207601
Change-Id: I767562e4bbc0a9cdf13db61ce3ed493322edc054
I applied a series of manual optimizations, most notably:
* Remove unused IDs.
* Remove attributes with standard values, e.g. opacity="1" is the
default anyway.
* Remove attributes that don't have an effect, e.g. font styling
where no fonts are used, or stroke attributes when there is no
stroke anyway.
* Replace millimeters with pixels.
* I also tried to remove most translations. A lot of files had all
their coordinates offset by -1032.362. I gave up for a few files.
It might be worth looking into these later.
* brackets-grey.svg not only had a translation applied, but a
non-standard viewBox as well. I wrote a tiny script to re-calculate
all the numbers in this file. As a result it's much more crisp now.
Note that some of these optimizations might alter the appearence of
the image. I mean, they shouldn't, but better check each file manually
before merging this patch.
I did not touched the two files "cat-grey.svg" (I assume this is a
placeholder) as well as "editing icons.svg" (seems to be a temporary
file that should be removed).
Change-Id: Ie2dadef9d5979b563aa0ed0f5d8a69c534b76a4e
Adding 'grunt-svgmin' package and corresponding 'svgmin' task and
also crush SVGs. Additionally remove unnecessary attributes like
`version` & `id`s and Inkscape specific styles according to SVG
coding conventions.
Total savings about 75kB.
Change-Id: Id3a6e73d648693f21633fac123db0f26e6502a03
Prevent anchors from putting headers, cite notes, etc behind fixed
header when jumping around. Use js to avoid previous issue of mucked
up highlighting... (T162649)
bug: T181484, T162649
Change-Id: I6bdb450b24df50f39e14bc2b254c6adb6cc7f7d7
These removed styles match no elements in the
Special:Preferences page since the OOUI transformation.
Bug: T208923
Change-Id: I27918a66751c40a52d7a54be9be6f77d05bbfc15
Not necessarily ideal handling in terms of making things fit, but
should at least avoid issues of there being no things at all, which
is even worse.
bug: T202213
Change-Id: I1aeeddbcac838b475372691d8d76c72018f85787
properly with rest of user dropdown things
Also resolves issues with multiline messages.
bug: T202226
Change-Id: I5635511c4dd51d82fba55dc2c8ef1ca79104993d
When using the Vector skin, and you load a page and press the tab
button on the keyboard once, the cursor focus on the search box,
this is handy and now available on the timeless skin too.
Also, removed target "mobile" as "jquery.tabIndex" dependency doesn't
use it.
Bug: T201424
Change-Id: I6e5d96371b5342ad2d3a207e980ec1fcf7e2de99
modes
Mostly affects extensions that add stuff after the content with them
hook dealies, such as flaggedrevisions etc.
bug: T200729
Change-Id: I5c46af8f4cab20b04930a0e25d380ec040557bb6
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: I7a9fa9f3a630901d736331ecef2c43e3ab918d03
overflow:visible so line goes properly under indicators, help
thingies, wikipedian user icon spam, etc.
Change-Id: I5d626884b13449b8d1351fe4e9a94b3ee99baf80
* display:flex for three-column
* float content and some voodoo for two-column (same as monobook)
Also had to slightly rearrange dom to make the latter work. Content
is now before nav in dom.
Change-Id: I7209eb21473877592d89f8471f8f8ed1f6b87851
Override the inline style `width: 0px` on .oo-ui-clippableElement-clippable
elements within .mw-echo-ui-overlay.
Also adjust some other styles for the callout, so that it stays within the
screen width, but is not any wider than it would be otherwise (500px).
Doing so causes the anchor triangle at the top to not align with the
relevant notifications icon, so it is hidden with `display:none`.
(On a narrow mobile screen, it doesn't seem to serve much purpose anyway.)
Bug: T197064
Change-Id: Iaedde85b5c31ab244d4f72c54c9aad6a1b4ebb73
Accidentally removed an unrelated thing; am too out of it right now to submit a followup putting that back.
This reverts commit 138036882f.
Change-Id: I1dcd0a887de8bc4423fc5e166e465873c1549a1a
Does not appear to work, and is possibly breaking things elsewise as
well. In particular: chrome text selection in general, possibly iphone
support?
May or may not resolve the following; please test (does seem to
effectively resolve T183215, for now, at least, but dunno at all about
the other two.):
Bug: T161470
Bug: T183215
Bug: T188387
Change-Id: I2d4aae98fe47bce5a873bc44b6cea58f111f5086
* colour bar for header now only has number of colours equal to
columns underneath it
* h1 and h2 now have grey underlines instead of blue
bug: T182388
bug: T132000
Change-Id: I883bcfa872d6306c04418230c3f7034e5ec9f188
elsewhere in mw
* Bump max content width up to 125em because why not
* Make fixed-width padding a bit less
* Basically just follow WikimediaUI Base breakpoints as appropriate
while keeping content similarly wide across devices
Bug: T165945
Change-Id: I8afb30bc1fb24907f94195b31289a664c050fcc4
Table layout is much better in combinging wrapping, using as much
space as available and floating content at the same time.
This is similar to how we do this for all our skins
Change-Id: I23408d1aa6773af05f2ee197356a9b04feb524f0
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
Downloaded from http://jquerymobile.com/download-builder/ with two modules:
* Core / Virtual Mouse (vmouse) Bindings
* Events / Touch
Local hacks:
* Replaced all .bind() calls with .on() to avoid jQuery Migrate warnings
* Replaced all .unbind() calls with .off() to avoid jQuery Migrate warnings
Bug: T165816
Bug: T174545
Change-Id: Icdcaf49c583f2f1380656cd0a0b6333ace0f1c53
Apparently not defining the height property makes everything just plain
messed up, and to fix things, all you need is the height property that has
a value (other than "auto") of some kind.
Bug: T173769
Change-Id: Ie8c86e01c77b3f5de11c1bd7c6bf491c8ef0fb26