Commit graph

2230 commits

Author SHA1 Message Date
github-actions 70b74107de ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-11 18:47:47 +00:00
alistair3149 e9d9015d63
docs: add missing parameter 2021-01-11 13:47:21 -05:00
alistair3149 0f4f574e8e
feat: update theme toggle styles 2021-01-11 13:40:25 -05:00
alistair3149 6f0181723e
test: ignore inline es6 script from eslint 2021-01-11 13:40:06 -05:00
alistair3149 83bac9e4f6
refactor: separate theme toggle styles from core module 2021-01-11 13:31:49 -05:00
alistair3149 c6dc8f4dae
test: disable eslint for the inline script 2021-01-11 13:17:20 -05:00
alistair3149 a553f9cb28
perf: optimize with SVGO 2021-01-11 13:13:10 -05:00
alistair3149 22980f9302
style: rename theme switcher RL module 2021-01-11 13:12:49 -05:00
alistair3149 603a50b7d2
refactor: move theme toggle before search 2021-01-11 12:22:32 -05:00
github-actions 90e1826134 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-11 17:17:37 +00:00
alistair3149 68d8621220
test: fix disallowed border property 2021-01-11 12:16:57 -05:00
H. C. Kruse e30e6ce52c
feat: implement theme toggle (#201) 2021-01-11 12:13:59 -05:00
alistair3149 bf7f458b79
test: fix font weight notation stylelint rules 2021-01-11 11:50:41 -05:00
alistair3149 da76ccbbeb
refactor: order styles with idiomatic order 2021-01-11 11:45:52 -05:00
alistair3149 0a0c743e37
test: add stylelint order to CI 2021-01-11 11:44:29 -05:00
alistair3149 5a8c15f3c2
refactor: move theme preference underneath skin preferences 2021-01-10 17:38:11 -05:00
alistair3149 88ecd756e2
refactor: make theme handler more versatile 2021-01-10 15:40:25 -05:00
alistair3149 d163627c06
Merge pull request #200 from octfx/feature/darkmode-switch
Configurable Color Scheme
2021-01-10 13:10:23 -05:00
github-actions 002240b384 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-01-09 22:15:47 +00:00
Hannes affe2ddc66
test: Make CI happy 2021-01-09 23:14:48 +01:00
Hannes 358fed47c6
test: Make CI happy 2021-01-09 23:12:17 +01:00
Hannes 7a8a60a853
test: Fix CI 2021-01-09 23:07:05 +01:00
Hannes dde580e2de
Merge remote-tracking branch 'upstream/master' into feature/darkmode-switch 2021-01-09 23:03:23 +01:00
Hannes 028169ea42
feature: Make color scheme configurable 2021-01-09 22:58:43 +01:00
Hannes 13e853ac9a
refactor: Convert color-scheme query to class 2021-01-09 22:57:28 +01:00
Hannes 044f27c5ba
refactor: Convert colors to css variables 2021-01-09 22:56:28 +01:00
alistair3149 664e1aac1d
chore: update linter config 2021-01-06 19:28:39 -05:00
alistair3149 0b4ed3d254
chore: use conventional commit for CI 2021-01-06 18:51:13 -05:00
alistair3149 27d0c12f2d
test: update depreciated stylelint rules 2021-01-05 19:45:22 -05:00
alistair3149 cd1729cda6
chore: depreciate composer no-suggest 2021-01-05 19:40:58 -05:00
alistair3149 6d0612aafa
refactor: rename function to avoid shadowing 2021-01-05 19:39:15 -05:00
alistair3149 0fc6a7d6ae
chore: update dependencies 2021-01-05 19:24:52 -05:00
translatewiki.net 03c3a0579d Localisation updates from https://translatewiki.net. 2021-01-04 14:49:45 +01:00
translatewiki.net 413c41b1ee Localisation updates from https://translatewiki.net. 2020-11-26 17:59:47 +01:00
github-actions e6bfcaacca Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-11-24 15:32:14 +00:00
alistair3149 0af975d0f7
Merge pull request #197 from RogerDodger/patch-1
Fix closed toc eating clicks with phantom div
2020-11-24 10:31:06 -05:00
alistair3149 851c92cceb
Merge branch 'master' into patch-1 2020-11-24 10:30:40 -05:00
alistair3149 bf2e70b90c
Update dependencies 2020-11-24 15:29:14 +00:00
Cameron bf8909e2bb
Fix closed toc eating clicks with phantom div
Previous behaviour was to remove the toc from view by applying a transform to the .toc > ul but *not* .toc itself.

This meant that .toc was still covering the body when the toc was "closed", eating clicks on anything that would be covered by the toc when opened.

This change puts a transform on .toc itself (and changes the transforms on the ul to match), fixing the issue. However, this creates a new stacking context, which affects .toctogglelabel, since its fixed position is now with respect to .toc, not the viewport. Setting .toctogglelabel { right: -100vw } keeps it in the same place.
2020-11-23 16:14:09 +10:30
Cameron 3f0b54aede Make toc closed by default on mobile 2020-11-23 00:29:59 -05:00
Cameron f168f14378
Make toc closed by default on mobile 2020-11-23 13:18:42 +10:30
alistair3149 f2f669dec6 Deprecate mediawiki.skinning.content.externallinks 2020-10-22 11:04:19 -04:00
alistair3149 8ce02ef308
Hide ToC in print mode due to overlapping 2020-10-19 09:50:48 -04:00
alistair3149 84afa95261
Merge pull request #192 from StarCitizenTools/dev
Avoid eager loading for search module and add loading indicator
2020-10-16 15:27:31 -04:00
alistair3149 2110aa8d55
Add search loading indicator 2020-10-16 15:23:15 -04:00
github-actions 49c91ba3fe Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
2020-10-13 01:26:21 +00:00
alistair3149 3c3e4159c4
Fix some OOUI and Flow darkmode issues on 1.35 (#191)
* Fix some ooui and flow darkmode issues on 1.35

* Make CI happy

* Make CI happy

Co-authored-by: Hannes <hannes@octofox.de>
2020-10-12 21:25:14 -04:00
alistair3149 0910842eeb
Merge pull request #188 from octfx/patch-1
Add installer name to composer.json
2020-10-11 11:40:10 -04:00
H. C. Kruse f3d727e8e5
Add installer name to composer.json
When installing the skin via composer the created folder is named `citizen` instead of `Citizen`.  
See: https://www.mediawiki.org/wiki/Manual:Composer.json_best_practices#Skins for more info
2020-10-11 13:55:01 +02:00
alistair3149 d1bbc27e2e
Merge pull request #187 from kodiakcrypto/patch-1
Naming Capitalization issue fix
2020-10-09 10:01:38 -04:00