287 Commits (954929e27e4a1c48296eb5f8f97a7f65b847da8b)

Author SHA1 Message Date
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 01ab08e127 Be more specific with form formatting
Bug: T165928
Bug: T185193
Change-Id: Iedb5585554697796127895aa00c9b2f2c3216e17
6 years ago
Isarra 2c4196e5c1 Fix portlet layout for proper handling of non-ul content
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
6 years ago
Isarra 133533a5dc Slightly reduce header margins
Slightly.

Bug: T197557
Change-Id: Ic222dd8588b701f34021aefa15b44108f26b477d
6 years ago
jenkins-bot ac37862646 Merge "Make personal menu header expand to show (more of) full usernames" 6 years ago
jenkins-bot 132deaf771 Merge "Fix logo/sidebar alignment on two-column mode" 6 years ago
jenkins-bot 3c317a8312 Merge "Fix fixed header scroll offset in supported browsers" 6 years ago
Isarra 2c526bfdbc Make personal menu header expand to show (more of) full usernames
* 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
6 years ago
Isarra d2fc86f919 Fix logo/sidebar alignment on two-column mode
(margins get lost/combined into larger one unless container... stuff;
on three-column flexbox takes care of this for us)

Change-Id: Ib2a93fa0c24f693375fb8c959e77dd47c8087121
6 years ago
jenkins-bot ad711f7b46 Merge "Fix positioning of dropdown icon for personal menu" 6 years ago
jenkins-bot 663c999fee Merge "Lose catlinks border on mobile" 6 years ago
Isarra e6b90747be Lose catlinks border on mobile
Just looks weird, yo.

Change-Id: I84308c7dde1961d8f2b821910cdd32c4462d5620
6 years ago
Isarra d844571796 Fix positioning of dropdown icon for personal menu
...why was that overflow:hidden even there?

Change-Id: I63a84acc9228baf214fc05c1e2896556d99398d1
6 years ago
Isarra 8a05fb1463 Fix fixed header scroll offset in supported browsers
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
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 961be92230 Break up variables.less into mixins, themes, and general variables
Basically, file soup, but more sensible file soup, hopefully.

Change-Id: Ie2cc7b5b66368d3a03ae4490882335f7930929a7
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
Isarra 0af674dbc7 Kill some more stupid padding and add some comments
Bug: T197057
Change-Id: I44dca71602e7bdcb404e56df9274b8a86f410a6e
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
jenkins-bot e1f5fddb65 Merge "Fix Special:Watchlist options for no-JS" 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
Jack Phoenix 3435ee25b1 Fix Special:Watchlist options for no-JS
Patch by putnik (see the Phab ticket) with tweaks by yours truly.

Bug: T225412
Change-Id: I23f05bc97929a196c62a0dc242ebace5c6fe45a0
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
jenkins-bot 64ed4a2639 Merge "Redo cat with only black and white and lose png version" 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 5d4b4c8249 Redo cat with only black and white and lose png version
Also made slightly bigger.

Change-Id: I91d41378d30ccb2439d44ccdc2caad646fcb9c37
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
Thiemo Kreuz dff12e2ce5 Manually optimize all SVG images
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
6 years ago
Volker E 94e7fe7f7f build: Add Grunt 'svgmin' task and crush SVGs
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
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 5d52d91a61 Add offset for # links to work around fixed header on desktop
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
6 years ago
Volker E 4de5631a10 Remove unused '.mw-ui-checked' class
Similar to I7a03215fae0b17.

Change-Id: Id77be290bdf436a1c88d6322f1905f1e122f9601
6 years ago
Ed Sanders d1b54f2b70 Remove obsolete aliases from closures
Bug: T208951
Change-Id: I0949da208d4df1d2fd1f85541f55f092da527400
6 years ago
Volker E df234f8177 Remove obsolete Special:Preferences styles after its transformation to OOUI
These removed styles match no elements in the
Special:Preferences page since the OOUI transformation.

Bug: T208923
Change-Id: I27918a66751c40a52d7a54be9be6f77d05bbfc15
6 years ago
jenkins-bot c1d8fabd80 Merge "Add thumb magnify icon" 6 years ago
Isarra e770804da5 Add thumb magnify icon
bug: T181144
Change-Id: I38e250557688707ed9fb43bf30b4a48683e76a27
6 years ago
Isarra a2e3b727bb Don't hide labels for mobile cactions that have no icon
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
6 years ago
jenkins-bot f5255a78e9 Merge "Prevent echo labels from overflowing over the personal dropdown and interfering with the hover activation" 7 years ago
jenkins-bot 69ab515b05 Merge "Make mw-echo-alert (yellow new message link) line up properly with rest of user dropdown things" 7 years ago
jenkins-bot f8d5f4b374 Merge "Prevent page indicators from interfering with firstheading and causing overflow" 7 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 e10af0fad3 Merge "Make navigation block text stay inside blocks/break-word" 7 years ago
jenkins-bot cd2c4269f3 Merge "Language links box should not have an unnecessary scrollbar" 7 years ago
Isarra 147a0349b7 Prevent echo labels from overflowing over the personal
dropdown and interfering with the hover activation

Change-Id: I98ef872931cf5fa5cb56dba83284dbb02a521a27
7 years ago
Isarra 187dccee9d Make mw-echo-alert (yellow new message link) line up
properly with rest of user dropdown things

Also resolves issues with multiline messages.

bug: T202226
Change-Id: I5635511c4dd51d82fba55dc2c8ef1ca79104993d
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
Alangi Derick 734a7f7222 Set tabindex to 1 for the search box in Timeless skin
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
7 years ago
jenkins-bot 980d437ca4 Merge "Prevent content stuff from overlapping over nav stuff" 7 years ago
Isarra 16e3901843 Prevent page indicators from interfering with firstheading and
causing overflow

Change-Id: I381a6b29afd91b799278d19316e4c74d358cd14c
7 years ago
Isarra 74008ce3cb More consistent .center and toc alignment rules with other skins
Change-Id: I9005ed11bf2c70880088cfa41f7f6ebca974eb34
7 years ago
jenkins-bot 312e11f64a Merge "Stop some of the pointless overflows in three-column mode" 7 years ago
Isarra 2e65928731 Make navigation block text stay inside blocks/break-word
bug: T201128
Change-Id: I52a858a0940a49e462d9a98add61ffa792829501
7 years ago
Isarra 967f28a7d9 Stop some of the pointless overflows in three-column mode
Essentially: Tell flex it can shrink the content, too, with some
weird voodoo.

bug: T201126
Change-Id: Ic54dd9b7d499d0be6653767525cc2015350c8ed7
7 years ago
Isarra 557999259e Prevent content stuff from overlapping over nav stuff
bug: T200148
Change-Id: I573eb5cec1a5e45a63d833d97b6dc789f1e3f093
7 years ago
jenkins-bot c34125ba65 Merge "Make afterContent stuff appear correctly after content in all view modes" 7 years ago
jenkins-bot 475f1e334e Merge "Remove brackets around new toctoggle" 7 years ago
Isarra 7df2db6ee9 Make afterContent stuff appear correctly after content in all view
modes

Mostly affects extensions that add stuff after the content with them
hook dealies, such as flaggedrevisions etc.

bug: T200729
Change-Id: I5c46af8f4cab20b04930a0e25d380ec040557bb6
7 years ago
evad37 5b24402ead Fix positioning of content in desktop-small view
Bug: T200494
Change-Id: Ieb9f2123589b5abf49d02eb3d8be62d4064b7398
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
jenkins-bot 878f953208 Merge "Add sitesub, but hide by default" 7 years ago
jenkins-bot e492c51428 Merge "Make tocnumbers grey" 7 years ago
Isarra d419c24a43 Make tocnumbers grey
Bug: T181180
Change-Id: I1d0c627db703d6994884638726b283e89cb49c0a
7 years ago
Jean-Yves Le Gallou b492345c2b Add missing border on plain pictures with border option
Bug: T183718
Change-Id: I1a5182b2d743e4b6ade76d9fa7b0cb8122b343ce
7 years ago
Isarra 496997424d Add sitesub, but hide by default
Bug: T193215
Change-Id: Ia09ae2b763107d0bdc3c379525405e8edf17edb7
7 years ago
Isarra 22f888ccc5 Set firstHeading overflow to be more consistent with other skins
overflow:visible so line goes properly under indicators, help
thingies, wikipedian user icon spam, etc.

Change-Id: I5d626884b13449b8d1351fe4e9a94b3ee99baf80
7 years ago
jenkins-bot e6ee373bcb Merge "Attempt to fix overflow issues with hsc- and mb-style implementations" 7 years ago
Isarra b76ae6c43a Attempt to fix overflow issues with hsc- and mb-style implementations
* 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
7 years ago
jenkins-bot 40510ef517 Merge "Display notifications in echo callout for mobile view" 7 years ago
evad37 8e19c79578 Display notifications in echo callout for mobile view
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
7 years ago
Jack Phoenix 43d2b1a7a2 Language links box should not have an unnecessary scrollbar
Bug: T181491
Change-Id: I23c778d61208238079a7badd301b9a31e929329b
7 years ago
RileyBugz 964849e117 I fixed the alignment of the TOC's header so that it would align with the hide/show button.
Change-Id: I88cc2c84a19f443bd3c749b7729ac0b7b6f74c2c
7 years ago
Paladox 5a0ed3efe1 Fix sidebar closing on iOS
this follows this fix [1]

[1] https://stackoverflow.com/questions/11397028/document-click-function-for-touch-device

Bug: T161470
Change-Id: I20e6a0e18a239131b94e4ab949b7784f241e4d40
7 years ago
jenkins-bot d745bb22f9 Merge "Remove nonfunctional jquery mobile stuff" 7 years ago
jenkins-bot 62556aa723 Merge "Revert "Redo width cutoffs to keep content wider and better match values elsewhere in mw"" 7 years ago
Isarra 93c88a5df6 Revert "Redo width cutoffs to keep content wider and better match values elsewhere in mw"
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
7 years ago
jenkins-bot 093dba116a Merge "Reduce colours somewhat" 7 years ago
jenkins-bot 1af0eb9969 Merge "Redo width cutoffs to keep content wider and better match values elsewhere in mw" 7 years ago
Isarra 13d426907d Remove nonfunctional jquery mobile stuff
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
7 years ago
jenkins-bot 1e18f721a2 Merge "ToC: Use table layout for the toc" 7 years ago
Isarra 03b31d4d11 Reduce colours somewhat
* 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
7 years ago
Isarra 138036882f Redo width cutoffs to keep content wider and better match values
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
7 years ago
Volker E 3e6d396dc1 Remove `text-shadow` from progressive mediawiki.ui buttons
Bug: T192303
Change-Id: If4023b2e5aff2635aba61b3bd9e1a280ed1c3908
7 years ago
Derk-Jan Hartman 7dfc75fec2 Move copyright and credits in seperate line of footer
This makes the footer more readable instead of a blob of characters

Change-Id: Ib2aa944082b775898c53fddc6ec577595e5e2759
7 years ago
Derk-Jan Hartman 700c82ec6a ToC: Use table layout for the toc
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
7 years ago
Thiemo Kreuz c99492e63d Make Timeless aware of OOUI multiselect widgets
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
7 years ago
jenkins-bot 832672fbc9 Merge "Fix selflink styles" 7 years ago
Ebrahim Byagowi 142edcb27f [i18n] Fix icons issues of the skin on RTL
* 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
7 years ago
evad37 9e6555a263 Fix indenting of subheadings in TOC
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
7 years ago
evad37 ce38e698a2 Fix selflink styles
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
7 years ago
jenkins-bot e7df4aa40f Merge "Make misc content styles selector less specific" 7 years ago
Isarra 208b2957ab Make misc content styles selector less specific
Bug: T192560
Change-Id: If98bb0e3cfe4aa182475363210dc56cb24f9e040
7 years ago
jenkins-bot 45116ea7a3 Merge "Prevent logo text overlapping icons on small mobile displays" 7 years ago
evad37 4eb3791bd4 Prevent logo text overlapping icons on small mobile displays
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
7 years ago
jenkins-bot 82f0eed394 Merge "Fix hiding of empty portlets on special pages" 7 years ago
evad37 b03a2a970f Fix hiding of empty portlets on special pages
* 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
7 years ago
evad37 53f8532054 Add explicit padding and margins for all ul elements
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
7 years ago
jenkins-bot 0c87ff1557 Merge "Fix sidebar chunk spacing in two-column (desktop-mid) view" 7 years ago
jenkins-bot aafeb559da Merge "Middle aligne images with text" 7 years ago
Ed Sanders 29cabefee5 Fix default overlay selector
Change-Id: I2cd38050e201158a70f9557fb5466daaa294c061
7 years ago
Framawiki d5f416c4c0 Middle aligne images with text
Bug: T175890
Change-Id: I849e51a80d9a03e4ce8062cbaf9191a9d8d5508a
7 years ago
Ed Sanders b3c629ef4d build: Update linters
Change-Id: Iee462bae8112755e7cd0c5caa88c3fc6fcdc852e
7 years ago
evad37 a7fb239d57 Fix sidebar chunk spacing in two-column (desktop-mid) view
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
7 years ago
jenkins-bot c971d2f24a Merge "OOjs UI: Display windows on top of the fixed header" 7 years ago
jenkins-bot c6d1a32e03 Merge "OOjs UI: Fix z-index and font size for default overlay" 7 years ago
evad37 3c3caeda7c Make languages portlet visible when empty
The languages portlet should always be visible so that the ULS
is always visible.

Bug: T181362
Change-Id: Icd89ccd28072758b9267906e5f4b72c39da5269d
7 years ago
Bartosz Dziewoński e705ce6d7f OOjs UI: Display windows on top of the fixed header
Workaround copied from Vector.

Bug: T183284
Change-Id: I7a4847f8d7c81e30610964762d6e591d753fa207
7 years ago
Bartosz Dziewoński 5b4508d644 OOjs UI: Fix z-index and font size for default overlay
OOUI dropdown menus should appear on top of the fixed header
and their font size should match the body text.

For example, on Special:MovePage:
* Before: https://phabricator.wikimedia.org/F12517634
* After:  https://phabricator.wikimedia.org/F12517632

Bug: T183069
Change-Id: I291d852f49507e58082ac95e59cb115170aa809a
7 years ago
jenkins-bot 9a1b390e5c Merge "Changes to portlets for greater compatibility with other skins" 7 years ago
SamanthaNguyen f473b850f9 Remove fake element created before links so background aligns correctly
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
7 years ago
vlakoff 1ff3e9a8f7 Add some missing "noflip" directives for thumbs
Bug: T183783
Change-Id: I9722a155bf75b47ac8d18e844a7255a1e057a77c
7 years ago
evad37 212357d9b8 Changes to portlets for greater compatibility with other skins
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
7 years ago
jenkins-bot 630e31c446 Merge "Help icon is a bit weirdly aligned" 7 years ago
jenkins-bot 9d0525ddd8 Merge "Only add border to the primary thumb image" 7 years ago
Derk-Jan Hartman d6383bf713 No need for background color on the outside of thumbnails
Change-Id: Id7e38e3653ad0c53a41444926b7ba3157e13c2d2
7 years ago
Framawiki 3185eb1d42 Help icon is a bit weirdly aligned
Change margin of .mw-indicators

Bug: T173186
Change-Id: I614b54f3fb6097842703f383f1aed5c2c9c39a6a
7 years ago
Cormac Parle 5889423de3 Do not overwrite all background attributes with a color
Bug: T176010
Change-Id: I605675fe3ddb9fd3a83c513f8fdb2d104adb21dd
7 years ago
Isarra f1379fcd27 Put back stupid horrible overflow:auto to keep sidebars from
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
7 years ago
Isarra bfa6e4a275 Merge "Revert "Remove brackets around new toctoggle"" 7 years ago
Isarra adbab0e162 Revert "Remove brackets around new toctoggle"
This reverts commit 366f80701b.

Change-Id: I96e6cdf7739a21ed3a1d86fb37ee863d867d6dbb
7 years ago
Isarra 2d7547aabe Merge "Remove brackets around new toctoggle" 7 years ago
Derk-Jan Hartman 4af519be1f Only add border to the primary thumb image
Bug: T181211
Change-Id: Idf3d2fa88d5bf6c7244cf2bd1c32813b141fb845
7 years ago
Derk-Jan Hartman 580519342f Allow multiple mw-indicator side by side
Bug: T175894
Change-Id: I6ca0b1739ba8364ef64c92a6e05569a1da2c9c76
7 years ago
jenkins-bot f1c80b1b9f Merge "Remove 'overflow: auto' from .box() mixin" 7 years ago
jenkins-bot 9682b27739 Merge "Fix some small positioning/overflow things" 7 years ago
Isarra 29b0838989 Fix some small positioning/overflow things
* 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
7 years ago
Bartosz Dziewoński 30ddb35f06 Remove 'overflow: auto' from .box() mixin
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
7 years ago
jenkins-bot 8e146c4d6c Merge "Styling for the <tt> tag" 7 years ago
jenkins-bot 83e4ccab47 Merge "Update jQuery Mobile to 1.5 (alpha)" 7 years ago
Fomafix 366f80701b 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: I4ebe356e266a93b2391650ac915940432e02f0ef
7 years ago
Jack Phoenix d013bf5cfc Custom styling for <pre> and <code> elements
Copypasted from core /resources/src/mediawiki.skinning/elements.css with
colors adjusted for Timeless.

Bug: T177142
Change-Id: Ic6d18911df4f1ea504ed547292676eac1ff54995
7 years ago
Jack Phoenix cb04db2039 Add some spacing and styling for #contentSub
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
7 years ago
jenkins-bot 9ca76ed5b7 Merge "Fix IE10/11 bug with the fixed header" 7 years ago
Ed Sanders 4291209afe VE: Fix font sizes and toolbar position
Change-Id: Ic34a4bca04a353572ed706e0ce990ea471837fb4
7 years ago
Bartosz Dziewoński 73a584b8af Update jQuery Mobile to 1.5 (alpha)
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
7 years ago
Jack Phoenix 260725618e Fix IE10/11 bug with the fixed header
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
7 years ago