Commit graph

799 commits

Author SHA1 Message Date
alistair3149 546fa36d33
refactor: drop dependency for mediawiki.page.ready 2021-04-22 11:44:48 -04:00
alistair3149 38882334c8
refactor: use checkboxHack module for search script 2021-04-21 18:47:03 -04:00
alistair3149 8129ca0e5b
feat: use MW core checkboxHack scripts instead
Cloned and tweaked to a local file as the core file can be different across MW builds
2021-04-21 16:45:52 -04:00
alistair3149 f9500dd304
fix: remove leftover console log 2021-04-21 15:10:16 -04:00
alistair3149 c5a2aaf9ec
refactor: convert skins.citizen.scripts.toc to ES6 2021-04-21 15:07:55 -04:00
alistair3149 f44aaa4e4c
refactor: refactor skins.citizen.scripts to ES6 2021-04-21 13:44:28 -04:00
alistair3149 117d839f00
doc: fix lettercase for Window and Document object 2021-04-21 11:32:44 -04:00
alistair3149 c4c607d154
fix: theme toggle button not appearing in initial load 2021-04-20 23:54:32 -04:00
alistair3149 2cec33906e
refactor: integrate skins.citizen.scripts.theme into core scripts 2021-04-20 23:42:45 -04:00
alistair3149 b75e936b71 refactor: convert skin.citizen.scripts.theme to ES6
Also renamed the file and remove unnessecary dependencies
2021-04-20 22:40:05 -04:00
alistair3149 30465ebc20 refactor: convert skin.citizen.scripts.sections to ES6 2021-04-20 21:49:22 -04:00
alistair3149 fb7c164fc9
refactor: rename drawerSubSearch script to match RL module name 2021-04-20 20:28:27 -04:00
alistair3149 43072b1947
refactor: convert skin.citizen.scripts.lazyload to ES6 2021-04-20 20:27:38 -04:00
alistair3149 98ee513e39
refactor: convert skin.citizen.scripts.drawer to ES6 2021-04-20 17:06:12 -04:00
alistair3149 f0d2a4ef1e
feat: tweak page header top margin 2021-04-19 14:55:57 -04:00
alistair3149 15ffff3aa4
fix: remove extra bracket in css var definition 2021-04-19 12:42:08 -04:00
alistair3149 76d5daa956
refactor: simplify body margin styles 2021-04-19 12:38:39 -04:00
alistair3149 8d82e7ca83
feat: optimize SVGs with SVGO 2021-04-18 14:40:38 -04:00
alistair3149 d29d631060
feat: tweak wordmark styles 2021-04-17 21:01:24 -04:00
alistair3149 bd2b5470a2 feat: darken ToC modal background 2021-04-17 20:44:33 -04:00
alistair3149 0f2412c930
feat: don't capitalize wiki name 2021-04-17 01:51:15 -04:00
github-actions 3f9117a2cd ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-04-17 04:07:47 +00:00
alistair3149 ad78883461
fix: search shortcut being triggered in textarea 2021-04-17 00:06:57 -04:00
alistair3149 ff112574f4
feat: tweak fulltext search suggestion styles 2021-04-16 21:28:53 -04:00
alistair3149 9fc6639d8c
feat: tweak wordmark styles 2021-04-16 21:22:09 -04:00
alistair3149 1787a1b5dd
feat: tweak mobile searchbox animation 2021-04-16 21:12:10 -04:00
alistair3149 9008d98e9c
feat: remove will-change property from drawer 2021-04-16 21:08:50 -04:00
alistair3149 cfbf2798d2
feat: simplify searchbox animation 2021-04-16 21:07:53 -04:00
alistair3149 8ef0e927f8
refactor: simplify search key handler 2021-04-12 16:22:16 -04:00
alistair3149 5a3b64252d
feat: tweak search shortcut key behavior 2021-04-12 15:55:59 -04:00
alistair3149 670641e903
feat: use slash as shortcut for search 2021-04-12 15:09:28 -04:00
alistair3149 ed1b55ce45
feat: hide overflow on screen smaller than 720px 2021-04-12 14:13:28 -04:00
alistair3149 0a0a4a0849
feat: add scrollbar styles 2021-04-12 14:00:43 -04:00
alistair3149 b38254cb56
refactor: remove unused LESS variables 2021-04-11 18:24:48 -04:00
alistair3149 b91eb2fb5e
refactor: legacy viewport clean up 2021-04-11 17:57:50 -04:00
alistair3149 f8d90eba0c
refactor: unify transition timing 2021-04-11 17:53:31 -04:00
alistair3149 04a3faef1f
feat: remove list link highlight transition 2021-04-11 17:44:41 -04:00
alistair3149 bc820109e9
feat: make searchbox transition faster 2021-04-11 17:14:35 -04:00
alistair3149 92341d1976
feat: add light border to ToC modal 2021-04-11 16:48:13 -04:00
alistair3149 126357e524
feat: revamp ToC responsive styles 2021-04-10 20:55:48 -04:00
alistair3149 517c27b675
doc: add documentation to suggestion template 2021-04-09 22:30:43 -04:00
alistair3149 9e2dcdadb8
refactor: switch to Mustache template for search suggestions 2021-04-09 22:25:39 -04:00
H. C. Kruse 0e63bb6aef
bug: fix changing theme through UPO (#340) 2021-04-06 08:40:15 -04:00
alistair3149 abffe590b5
refactor: remove cookie theme for local storage
Co-authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-04-05 14:24:18 -04:00
alistair3149 9533cddc0d
feat: subset fonts based on unicode blocks 2021-04-04 14:30:23 -04:00
alistair3149 299b411e59
feat: update Roboto VF to 3.004 2021-04-04 12:45:43 -04:00
alistair3149 e9b5ec5575
feat: only use smooth scroll in larger viewport 2021-04-02 15:46:52 -04:00
alistair3149 3e217def6e
feat: rewrite ToC scrollspy
Remove legacy fallbacks and rewrite scrollspy using IntersectionObserver API
2021-04-02 15:42:56 -04:00
alistair3149 215fb5ffc6
feat: update reduce motion styles 2021-03-27 16:25:55 -04:00
alistair3149 76f4671f35
feat: emphasize wiki wordmark color 2021-03-22 17:07:17 -04:00
alistair3149 bbbcaba94d
feat: add site stats to drawer 2021-03-22 17:01:08 -04:00
alistair3149 b850797b4d
feat: only set as session cookie if no conscent 2021-03-22 13:33:17 -04:00
alistair3149 63da182147
feat: set theme cookies to be sameSite strict
Since they are only used in a first party basis
2021-03-22 11:41:37 -04:00
alistair3149 934f9555c4
fix: dark mode quiet background color 2021-03-20 20:14:21 -04:00
alistair3149 8e7b0de47f
feat: make ToC width adjustable and respect layout width 2021-03-18 13:39:13 -04:00
alistair3149 466261a056 feat: separate link color from primary color 2021-03-18 13:02:01 -04:00
alistair3149 aa42838abc feat: add styles for Parsoid content 2021-03-18 13:01:52 -04:00
alistair3149 7364ccaeda
feat: tweak ToC max height behavior 2021-03-18 12:35:44 -04:00
alistair3149 fd931a13d5
feat: add debug styles 2021-03-18 12:35:18 -04:00
alistair3149 c4aabb6789
fix: search suggestion overflow 2021-03-15 13:40:41 -04:00
alistair3149 57ce5848ca
feat: add passive event listener to scrollspy 2021-03-15 12:42:55 -04:00
alistair3149 b68a2bdacf
feat: allow search suggestion to be scrollable 2021-03-14 01:26:02 -05:00
alistair3149 6273711f60
feat: improve scrollspy handling
Better support for non-latin language
Add throttle function
2021-03-13 22:34:15 -05:00
alistair3149 79da99f8ea
fix: incorrect selector 2021-03-13 21:14:16 -05:00
alistair3149 7b1e87cc55
fix: video element overflow 2021-03-13 12:57:59 -05:00
alistair3149 4a0f7af3e0
doc: add missing param document 2021-03-13 12:45:03 -05:00
alistair3149 1b3fff4170
fix: CSS animation flash on page load on Chromium 2021-03-13 12:43:28 -05:00
alistair3149 060c84c3d9
feat: increase contrast on search suggestion title 2021-03-12 14:40:36 -05:00
alistair3149 062cdd91a1
feat: add option to use REST API as search suggestion source
Co-authored-by: Hannes <hannes@octofox.de>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-12 14:25:32 -05:00
alistair3149 6366fb3283
feat: make ToC drawer darker 2021-03-11 21:53:54 -05:00
alistair3149 77edd0145a
feat: add experimental caching for search suggestion 2021-03-11 20:26:01 -05:00
alistair3149 112ff9a4b5
feat: add user edit count to personal menu 2021-03-09 15:04:48 -05:00
alistair3149 7ed9307d60
fix: clear both for catlinks 2021-03-09 13:39:55 -05:00
alistair3149 096f98ad91
feat: convert font family to root CSS variable 2021-03-09 13:13:49 -05:00
alistair3149 9c62a58a64
feat: remove table margin rule
not nessecary
2021-03-09 12:41:34 -05:00
alistair3149 c4d86edb23
feat: add center class
Seems to be a default feature in many skins
2021-03-09 12:37:15 -05:00
alistair3149 16aefbc559
feat: reduce lighter overlay opacity 2021-03-09 12:07:39 -05:00
alistair3149 0d1490ce35
feat: remove highlight link style
There is no reliable way to target wikilinks and it is causing a lot of issues
2021-03-09 11:52:11 -05:00
alistair3149 0746895e9b
fix: incorrect ToC scrollspy highlight 2021-03-08 15:02:20 -05:00
alistair3149 09b399ccf0
feat: collapse ToC when clicked outside
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-08 14:32:29 -05:00
alistair3149 ad51ef67cd
feat: extended width for file and category namespaces 2021-03-08 11:42:43 -05:00
github-actions a6b5bb3546 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-08 15:53:46 +00:00
alistair3149 16b08fb2ea
fix: img inherit a.image max width 2021-03-08 10:52:46 -05:00
github-actions b8fbb6eb10 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-08 15:51:13 +00:00
alistair3149 12fc1527d9
feat: prevent thumbnail overflow when width is larger than window size 2021-03-08 10:50:18 -05:00
alistair3149 ee7503fb41
fix: add min-width to ToC drawer 2021-03-07 19:17:05 -05:00
alistair3149 f92e9df39a
feat: increase catlink top margin 2021-03-07 18:44:24 -05:00
github-actions 7df622bad4 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-07 19:12:02 +00:00
alistair3149 744dfc152d
fix: personal menu alignment 2021-03-07 14:11:22 -05:00
alistair3149 469a2fd354
feat: tweak print footer styles 2021-03-07 14:03:10 -05:00
alistair3149 6caf55db4e
feat: add hidden category styles 2021-03-07 13:53:11 -05:00
alistair3149 e3dc01cdc9
feat: update print styles 2021-03-07 13:11:15 -05:00
alistair3149 60f15ae089
feat: update catlink styles
* feat: update catlink styles

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-06 14:20:03 -05:00
alistair3149 a23cc0d5ad
feat: improve hover menus styles 2021-03-06 09:48:58 -05:00
alistair3149 24aecc9932
feat: add transform transition for thumb image 2021-03-06 09:39:59 -05:00
alistair3149 b7e9f85a23
feat: improve header background 2021-03-06 09:35:29 -05:00
alistair3149 61f8ef10f7
fix: first heading overflow 2021-03-05 20:44:46 -05:00
alistair3149 0c95163f23
fix: pre block overflow 2021-03-05 20:27:42 -05:00
alistair3149 74fe701036
feat: rewrite core MW gallery styles 2021-03-05 13:43:11 -05:00
alistair3149 8971eed653
refactor: rename sitelogo to siteinfo 2021-03-05 11:47:58 -05:00