111 Commits (321037f1c549f38250f39ccb68b47b7cc7d06e01)

Author SHA1 Message Date
Isarra 321037f1c5 Increase filetoc contrast, make it stand out more
Why were we even killing the border to begin with?

Change-Id: I963f41c245f5911ddd7d8ddc5888402dee20fc57
5 years ago
Isarra b5df43b3e2 Add a min-height to thumbcaptions so magnify icon doesn't overflow
Change-Id: Ic033553e26f3ae4fd330ba501ec6a886e108685c
6 years ago
Isarra 808c317293 Clean up and/or optimise icons a bit
* svgo on everything
* Line up some pixel borders more
* Use transparent for the grey amount
* Fix a couple of overflows on icon css

Change-Id: Ic56b65d71ae08cf71048ad5efdfa7e65a749f680
6 years ago
Isarra a4900353b1 Use flex for logo container width and to show some username on small screens
* No columns, so no point aligning anything to column-widths here.
* Add some IE9 fallbacks because the entire header is now flex.
* Clean up, consolidate same styles, etc

Bug: T184998
Change-Id: Iecf99d093a689d3c32932b2603f16939127ce7bd
6 years ago
Isarra f0fc1a4362 Custom logo rendering, including text wordmark images
Use a file upload onwiki for simplest approach, or specify srcset info in an
array if that's not an option or otherwise not desired.

For instance to just reuse a $wgLogo and $wgLogoHD already set for a 160x160px
logo, but where the HD versions actually come out the right size:
$wgTimelessLogo = [
	'1x' => $wgLogo,
	'1.5x' => $wgLogoHD['1.5x']",
	'2x' => $wgLogoHD['2x'],
	'width' => 160,
	'height' => 160
];

Or to use File:Cows.svg uploaded onwiki:
$wgTimelessLogo = 'Cows.svg';

And the same thing with $wgTimelessWordmark to replace the site title string
with an image version.

Fallback behaviour remains unchanged, if just not using these.

Bug: T132004
Bug: T230663
Change-Id: I0d7b398935045ba69462252d40832ed95ad2d5ed
6 years ago
Isarra 8bca35dec0 Put languages back in sidebar on desktop
Partially reverts I148707085059f458512d328c415ea0bf134163f3 plus some random
cleanup and stuff

Both of the following bugs involve wikibase stuff so I can't actually be entirely
sure this resolves them, but I thiiiink it does because it should be killing the
offending parts of the above change that caused this? Probably?

Bug: T231256
Bug: T231234
Change-Id: Id7c0d90a805450b577271a321572fcd552ecbc3e
6 years ago
Isarra e0d18e3298 Style datatables consistently with wikitables
Bug: T220232
Change-Id: Idd286a154f1b615502e0c1bee4db4f704d9bd176
6 years ago
Isarra 1c079f55d4 Better contrast on wikitable borders
Bug: T220255
Change-Id: If19024a9566e55078036d3429251f832099e30b1
6 years ago
Isarra 2cc41bbbff Make editsection icon part of first editsection link
It's sort of attached to it regardless; might as well make it clickable
(especially since the first one is going to be shorter usually regardless)

Change-Id: I40f02240c0c6e447a7042546a0392a52a0f4910c
6 years ago
Isarra 8138b52ff8 Remove extra padding on thumbcaptions
Plenty of padding already in the thumb itself.

Change-Id: I063341cbfd3fd71ef272ebd8dcd3ff335b9678ca
6 years ago
Isarra 9d76730e96 Add icons to desktop cactions and overhaul icon alignment and usage
throughout

* Still need to redo how we're using mixins, but whatever.
* Cleans up a bit from the edit/view source etc changes too, since now
  we have a little more context (oops)...
* Just hide 'view' in general because a, how much does it really add,
  and b, it doesn't fit in a lot of cases when we have the extra width
  from these icons regardless.
* Rename view and add section tabs to make more sense with icons/in
  context/whatever ('view' is now only targeted at screen readers, and
  we use a + for the new section icon, so saying 'add' is kinda...
  redundant)

Bug: T197520
Change-Id: I1ab12ccda60e51035c4adec43c42508ac297c00a
6 years ago
Isarra 9206ada9b7 Fix text cropping issues in h1, h2 for tall scripts etc
We put overflow:hidden on headers so the underline doesn't undercut
thumbs weirdly; this results in actual stuff getting chopped off at
times as well. Main example is burmese, which does line heights a
bit differently, such that overlap is kind of expected.

Solution: move underline to its own pseudo-element. May fix some other
stuff (extensions?), or just as likely break them. Only bother with
parser output because I can't even think of anywhere else we use such
floating to begin with.

Bug: T195822
Change-Id: Ib17b444b2d8720ede860e42c72c8c69e62a9f4ac
6 years ago
jenkins-bot 9cf7eb04ef Merge "Better icons/handling for view source, VE edit links" 6 years ago
jenkins-bot d9e3a5d1ec Merge "Migrate backdrop image style generation to set a variable we use in the LESS instead of adding the styles prebaked" 6 years ago
Isarra 898ee0fdc1 Better icons/handling for view source, VE edit links
* New icon for edit source as variant of normal edit icon
* Use old brackets icon for view source instead
* Put icon for editsection links outside the links themselves and only use one
  for VE when there's two links

Bug: T173531
Bug: T229184
Change-Id: Ia178c487c8e6c175944868646d36064ebde8182c
6 years ago
Isarra b1901210d9 Migrate backdrop image style generation to set a variable we use in
the LESS instead of adding the styles prebaked

Bug: T223112
Change-Id: I773dbd9bd6d318144685d691e72627a00906472b
6 years ago
jenkins-bot 76b65f29c7 Merge "Slightly reduce header margins" 6 years ago
Isarra 75a9284f16 Add a margin for frameless images
Might as well just reuse the thumb stuff, I guess.

Bug: T196356
Change-Id: Ic0497b2003bea9a5c739fd47858be545b16f2812
6 years ago
Isarra 133533a5dc Slightly reduce header margins
Slightly.

Bug: T197557
Change-Id: Ic222dd8588b701f34021aefa15b44108f26b477d
6 years ago
Isarra 2808c5c595 CSS-based pokeys
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
6 years ago
Isarra 1d2a9583a5 Move variants and languages into page tools dropdowns
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
6 years ago
Isarra b3af826b7d Make footer links blue
Difference between Accent90 and white/base90 is ridiculously subtle, but sure.

Bug: T214204
Change-Id: I1ac7860b5c22ec9b9dae8f4fa61db8d88e5a66ef
6 years ago
Isarra 52d3b3aac9 Use Wikimedia visual style colours
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
6 years ago
jenkins-bot 98aed3fb77 Merge "Remove brackets around new toctoggle" 6 years ago
Isarra 93e0ea991b Adjust a bunch of padding, especially mobile
bug: T197057
bug: T182389
Change-Id: I0fbbc037f32cd69375be9e0224967275a8fd9949
6 years ago
Jack Phoenix 7fbdb43a3c Remove brackets around new toctoggle
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
6 years ago
Isarra 0340fb7048 Adjust line-height/padding for ToC items for better wrapping
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
6 years ago
Isarra c576c68a1f Add TimelessFileModule and $wgTimelessBackdropImage configuration
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
6 years ago
Isarra 6f43b4a328 Move indicators up slightly
Hello, I'm Mr. Competent, reporting in for competency training.

Change-Id: I403c34bcd6322aeb9f319dca0944030a5050992d
6 years ago
Isarra 2a4fb34b63 New font stack, plus some generic forms and crap
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
6 years ago
jenkins-bot 38b1e653ce Merge "Remove unnecessary workaround for search suggestions dropdown" 6 years ago
Isarra 5c66a3e9c2 Hide empty list items
Bug: T192446
Bug: T181186
Change-Id: I5fa05dc6b4dbf61d585b456103fabd0ac44cd7ba
6 years ago
Isarra cc20454757 Style sitenotice
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
6 years ago
Isarra 28a6d31912 Remove a bunch of form stuff and adjust random things to compensate
* 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
6 years ago
Bartosz Dziewoński b8426cad09 Remove unnecessary workaround for search suggestions dropdown
Bug: T210321
Depends-On: Iae795ef03d888c2b8cc1d5e7463c4692a7eeb138
Change-Id: Ib6d0b929c1c6200e5f2d3cb549a775d9c524c071
6 years ago
Jack Phoenix d9ba2d47d9 Properly center framed thumbnail images
Bug: T219717
Change-Id: I3a96ee7ab91a520258a1543236e7885f191aa82b
6 years ago
Paladox 28dc66bd2b Fix styles for .mw-body.dt and .mw-body.dl
Bug: T211044
Change-Id: I5b4b008cccc237d9c27f975cf5f11bff1ed6fe1e
6 years ago
Volker E 715f75d9ea Reduce unnecessary selector specificity
Similar to Iae532d63893489.

Bug: T214218
Change-Id: Ied2ba7fa4ecf148d48b9b327397ff9d57b3752af
6 years ago
Volker E a2474c82fd build: Update 'stylelint-config-wikimedia' to v0.5.0 and make pass
Change-Id: I156dbb3a029696ed0ac3209be455547cd73048c3
6 years ago
Isarra e770804da5 Add thumb magnify icon
bug: T181144
Change-Id: I38e250557688707ed9fb43bf30b4a48683e76a27
6 years ago
jenkins-bot 22c70cc8fb Merge "Less: Linebreaks everywhere, some cleanup" 7 years ago
jenkins-bot bf91c0f2ec Merge "More consistent .center and toc alignment rules with other skins" 7 years ago
jenkins-bot cd2c4269f3 Merge "Language links box should not have an unnecessary scrollbar" 7 years ago
Isarra e184ac17bc Less: Linebreaks everywhere, some cleanup
Removed a rule or two.
Also removed the notes file, no longer relevant.

Change-Id: Icc28d3d95ea45e845e29895cfa8044b03ca6258b
7 years ago
jenkins-bot 980d437ca4 Merge "Prevent content stuff from overlapping over nav stuff" 7 years ago
Isarra 74008ce3cb More consistent .center and toc alignment rules with other skins
Change-Id: I9005ed11bf2c70880088cfa41f7f6ebca974eb34
7 years ago
Isarra 557999259e Prevent content stuff from overlapping over nav stuff
bug: T200148
Change-Id: I573eb5cec1a5e45a63d833d97b6dc789f1e3f093
7 years ago
Fomafix 52aedca543 Remove brackets around new toctoggle
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
7 years ago
jenkins-bot 2193f84068 Merge "Make some more css rules less specific (classes instead of ids)" 7 years ago
Isarra a089f68290 Make some more css rules less specific (classes instead of ids)
Change-Id: Icc86a9a48ff9bd3b1236e9f05851c9e23208c15b
7 years ago