Commit graph

5254 commits

Author SHA1 Message Date
Volker E 0d95e5b6cd simpleSearch: Reduce selector specificity & clean up
Reducing selector specificity and cleaning up CSS as in reducing
properties and putting main colors on top of selectors.

Change-Id: I91959f07404382fcc143607ab4cd5cf0c9aed13e
2017-10-09 17:44:34 -07:00
Volker E 7060ec573f Align simpleSearch border with inputs elsewhere
Aligning
- `border-color`
- `:hover` `border-color`
- `border-radius`
and introducing `transition` to be on par with inputs elsewhere.

Bug: T177808
Change-Id: I41c2719c13935d07f4310c0c752bdfc7377d8670
2017-10-09 17:36:59 -07:00
jenkins-bot f30141fdc3 Merge "Remove fallback color from tabs" 2017-10-09 16:17:46 +00:00
Volker E c163acbdc7 Replace footer text color with WikimediaUI color palette one
Very subtle change from `#333` to tad higher contrast `#222`.

Bug: T153043
Change-Id: I705d03f9c79eafd4569e8ed321939d1044245f59
2017-10-07 20:47:10 -07:00
Volker E 84d1510a38 Remove fallback color from tabs
Removing fallback color from Vector tabs, that isn't part of
WikimediaUI color palette and isn't needed at all resulting
in a worse than necessary appearance.

Bug: T153043
Bug: T168420
Change-Id: Ia9790435dd3ec4df47b70d1a007fca7af79686c9
2017-10-07 18:13:19 -07:00
jenkins-bot 9b58823eeb Merge "Do not special-case ULS and "Not logged in" in RTL in personal bar" 2017-10-04 17:36:57 +00:00
Bartosz Dziewoński b677192582 Do not special-case ULS and "Not logged in" in RTL in personal bar
Follow-up to 5d0a07bf9d.

Bug: T48947
Bug: T177312
Change-Id: I65c0961d19885c262fdaebf4ee199e1d1e6d5fe6
2017-10-04 18:58:10 +02:00
Bartosz Dziewoński 3c542f3078 Fix applying of focus styles to .vectorMenu handle
The .vectorMenuFocus class was being added on the wrong element, so
the styles for it never kicked in. I think this has been broken since
4fabc910d2e1bb4581ac7a80f019bd22758d089b (August 2013), which is
understandable since the style change is near impossible to notice
(the little triangle arrow turns a slightly lighter shade of grey).

Change-Id: I0f7881afde9e01061aacf009033255774d0acd8d
2017-10-03 19:50:51 +02:00
Bartosz Dziewoński 8db5779682 Do not use icon for "Watch" link when it is inside the "More" dropdown
Bug: T177106
Change-Id: Ia50817afe6395d8a52567599d23a232d6f07c0ce
2017-10-01 20:12:11 +02:00
Translation updater bot 467ae1cda4 Localisation updates from https://translatewiki.net.
Change-Id: Ie90a5113a734764fd758a43e3014b188ab05ac99
2017-09-30 22:02:50 +02:00
Translation updater bot 7318a4b975 Localisation updates from https://translatewiki.net.
Change-Id: I41881b0219ed3eb3c17406aabc44d1bc0153e2b0
2017-09-28 21:57:45 +02:00
jenkins-bot e56077fc0b Merge "Remove some unnecessary direction-specific CSS" 2017-09-28 14:05:30 +00:00
Bartosz Dziewoński 6b6c6ba762 Remove some unnecessary direction-specific CSS
Both of these survived across many rewrites, I tracked down the
original commits that added them:

* footer.less: Added in 6d5dca5a899d45512c1031c4235f26cc755b933b in
  MediaWiki core (rSVN62030) as a workaround for "weirdness" in IE 7.
  Users of IE 7 experience much worse weirdnesses when viewing pages
  these days.

* tabs.less: Added in 299d1f328c2ad1475c8a1ac19b4fa07fc087d239 in
  MediaWiki core (rSVN53247) under a generic label of "RTL fixes".
  After change 5d0a07bf9d this is
  actually a no-op.

Change-Id: Iac3d2a26438226a3e23e067780c4b2810ac4903f
2017-09-28 13:22:53 +00:00
Bartosz Dziewoński ee0cfe1833 Remove stray unnecessary @noflip
Follow-up to 5d0a07bf9d.
As it happens, it actually doesn't matter whether this
element has 'float: left' or 'float: right', the
rendering is exactly the same. Let's remove the @noflip
for consistency with .vectorTabs, .vectorMenu etc.

Change-Id: I167c5f6cab7fb85344a558b632b38cbca85fa37c
2017-09-28 04:23:07 +02:00
Bartosz Dziewoński e951a09913 Fix reversed nav elements when viewing cached HTML
Follow-up to 5d0a07bf9d.
See T48947#3641618 for a detailed explanation of the
problem this is fixing. Essentially, our CSS has to be
compatible with both new and old HTML to avoid problems
with cached pages on Wikimedia wikis. To do this, we
add a CSS class to the body and make the new CSS only
apply on pages that have this class. This patch should
be reverted when the caches expire.

Bug: T48947
Change-Id: Icf26e6690b59f470765b2634534d18d2df25ee2a
2017-09-28 04:23:01 +02:00
Translation updater bot 0d9e8ba154 Localisation updates from https://translatewiki.net.
Change-Id: I006e6f1a88dcc8127361a1e437a26d18efba78a8
2017-09-27 21:59:33 +02:00
Rammanoj 5d0a07bf9d Vector: Flip horizontal nav elements with CSS
Flip horizontal nav elements with CSS prperties in RTL(right-to-left) mode

Bug: T48947
Change-Id: I30a5837f84bcdeab205760644bfa40b12cefbece
2017-09-26 10:30:11 -05:00
Translation updater bot 5027acf693 Localisation updates from https://translatewiki.net.
Change-Id: I00ea816eceb2fb6f5cd5d9f0a55be60f8b5d141a
2017-09-25 21:57:14 +02:00
jenkins-bot e7677cb2e4 Merge "Print styles: fix breaking of table of contents" 2017-09-25 16:47:42 +00:00
libraryupgrader 458477e466 build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I05171df79484c53a4aa97b57a1c3156e6d82aebd
2017-09-24 05:37:56 +00:00
Mukunda Modell e70a1d38b9 Consolidate duplicate CSS properties
I really should not have merged I30e0642d3cb93c4d9a8b2bdfb7f04912d8ca8649
without getting this fixed first.

Bug: T56919
Change-Id: I870591e63b89f05d7e3714081340c76dcf9f55ac
2017-09-22 21:06:28 +00:00
jenkins-bot 765a143a60 Merge "Tabs (Read / View Source / Search) collapsed under more in resolution < 700px" 2017-09-21 20:21:01 +00:00
Translation updater bot 62c5d00bc6 Localisation updates from https://translatewiki.net.
Change-Id: I395096d52eb34cb0ba21e9fadddbaa93cb308c65
2017-09-21 22:10:58 +02:00
Baha 2d3730ba8e Print styles: fix breaking of table of contents
By changing the display of the table of contents we'll make sure that it
doesn't try to occupy the whole page width. This is useful when an infobox is
floated to the right of the table of contents.

Bug: T174957
Change-Id: Ifc808bdd2b65867d14278b12735103c761fb8111
2017-09-21 16:06:51 -04:00
Rammanoj f74002b727 Tabs (Read / View Source / Search) collapsed under more in resolution < 700px
tabs such as read/view source are collapsed into more in screens
whose resolution is less than 700 px so that they don't wrap to
the next line and cover the content of the page

Bug: T56919
Change-Id: I30e0642d3cb93c4d9a8b2bdfb7f04912d8ca8649
2017-09-21 20:03:39 +00:00
Translation updater bot 1d86077dff Localisation updates from https://translatewiki.net.
Change-Id: I0e17b8c3303ec469667a757f5c8d7777e2bbf28a
2017-09-20 22:17:36 +02:00
Translation updater bot 85a66bf8ea Localisation updates from https://translatewiki.net.
Change-Id: If0d79757605c6f42c38cff1b9c13f0e94d3964ab
2017-09-18 22:25:21 +02:00
Translation updater bot f180d3ef82 Localisation updates from https://translatewiki.net.
Change-Id: I66d8507c7eb34612bb8db61b51abc0811cc9c93c
2017-09-17 21:57:30 +02:00
Translation updater bot cdc5032b2a Localisation updates from https://translatewiki.net.
Change-Id: Ib78668e457bb90105bbc24eff89700e79fba97de
2017-09-15 22:02:14 +02:00
jenkins-bot 222403ee24 Merge "Print styles: set minimum width for paragraphs" 2017-09-14 16:45:08 +00:00
Baha 1aa66cc931 Print styles: set minimum width for paragraphs
An arbitrary 120pt (approved by the designer) has been chosen as the
minimum width of paragraphs. This is especially useful when a paragraph
is surrounded by two floating elements from the left and right. If there
is not enough space in the middle, then the change will push the
paragraph text until there's enough space to display the text.

Bug: T175008
Change-Id: I428f153309162e23606e5187a0e1bd7244253f10
2017-09-14 13:16:36 +01:00
Translation updater bot 97e763ddab Localisation updates from https://translatewiki.net.
Change-Id: I8a8e7127238ba594533c5615a45dbd59671c0035
2017-09-12 22:02:51 +02:00
Translation updater bot 6b65d8c1b6 Localisation updates from https://translatewiki.net.
Change-Id: I99fb2d3a37a2e2360079f0bb86cb809df1e7b27f
2017-09-10 21:58:14 +02:00
jenkins-bot 699a8a2ec5 Merge "Improve some parameter docs" 2017-09-09 21:34:38 +00:00
Translation updater bot 4c165e18ae Localisation updates from https://translatewiki.net.
Change-Id: Ib6c5dc11eeffd3a8ca065df063bc3921098331d3
2017-09-09 21:59:00 +02:00
Umherirrender 73e498d24b Improve some parameter docs
Change-Id: Iade09edaa5d10dfa68defc1735b1fb4f888855e3
2017-09-09 13:52:04 +00:00
Translation updater bot af22c0eeb5 Localisation updates from https://translatewiki.net.
Change-Id: Iafeec9d88700d81758bdbe7a79b9b7c0756fca8b
2017-09-08 23:23:54 +02:00
Translation updater bot 6f53d4b5e2 Localisation updates from https://translatewiki.net.
Change-Id: If53f84450096bc5743ee671302e4e39c09ced667
2017-09-06 22:17:04 +02:00
Translation updater bot 100ec7e9a2 Localisation updates from https://translatewiki.net.
Change-Id: I24d2a3c1aad9969c6ca039b114009d2be9c79146
2017-09-04 22:04:31 +02:00
Translation updater bot 1604d67b3d Localisation updates from https://translatewiki.net.
Change-Id: I4a8d4e3f1cb71a6604cee7669075c9b1b38c2aab
2017-09-03 08:47:04 +02:00
Translation updater bot dde5370a2e Localisation updates from https://translatewiki.net.
Change-Id: I0873cd6714c0aa8c042baa3b22e59478cd4cc577
2017-09-02 09:21:58 +02:00
Kunal Mehta edff0350a1 Don't pass $this by reference
Bug: T153505
Change-Id: Ife076b323b1f4091fd851acb4b470000d2206cae
2017-09-01 15:32:45 +01:00
libraryupgrader 38c524d370 build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
The following sniffs are failing and were disabled:
* MediaWiki.Files.ClassMatchesFilename.NotMatch

Change-Id: Ia0545dbd8c599b525b57d6e42279e04dabdf6495
2017-09-01 05:01:28 +00:00
Translation updater bot c045086d59 Localisation updates from https://translatewiki.net.
Change-Id: Ide94568601e2984614748bb9993e68375db9b188
2017-08-30 08:53:00 +02:00
Translation updater bot 39eb6daa79 Localisation updates from https://translatewiki.net.
Change-Id: I0a069d611f21c0f3679b14333762c0b865a7a1d3
2017-08-29 09:13:55 +02:00
Translation updater bot 3b3d5f8479 Localisation updates from https://translatewiki.net.
Change-Id: Idaea5ebe9c132b60aa6d3c2c94d0d35cc6ba6562
2017-08-28 09:52:47 +02:00
Ed Sanders 8842f744ee build: Update eslint-config-wikimedia 0.4->0.5, eslint 19->20
Change-Id: I61a9bc5567036dfcbc7697276583facbefac8b93
2017-08-25 16:21:21 +01:00
Translation updater bot 3b7e5442bc Localisation updates from https://translatewiki.net.
Change-Id: Icdf13587d89ced137f089ecbd4162b2b8fa426aa
2017-08-25 08:56:37 +02:00
jenkins-bot b7426c30cd Merge "chmod -x variables.less" 2017-08-24 13:54:45 +00:00
Translation updater bot 4de5bcbcf0 Localisation updates from https://translatewiki.net.
Change-Id: I6185bac87bcfc868208f74550ed16db5ce835608
2017-08-24 08:44:26 +02:00