Commit graph

782 commits

Author SHA1 Message Date
alistair3149 3202c1d9e6
fix: prevent Firefox quickfind overriding the search toggle shortcut 2021-05-10 13:36:44 -04:00
github-actions fef76149d1 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-10 17:27:36 +00:00
alistair3149 74873da01f
refactor: better detection for slash toggle 2021-05-10 13:26:39 -04:00
alistair3149 6264b918e2
feat: dismiss preference panel when clicked outside or esc is pressed 2021-05-10 13:25:10 -04:00
alistair3149 ac2ed38183
feat: unify header button highlight hover state (#363) 2021-05-10 12:00:04 -04:00
Eshagh c891f42fd1
feat: add RTL icons for drawer toggle and VE save button (#374)
* Customize the drawer button for RTL language

* Convert ">" to "<" for RTL language

Co-authored-by: eshagh79 <eshagh094@gmail.com>
2021-05-06 22:36:34 -04:00
alistair3149 87756194fb
feat: add icon and text for addsection action (#368) 2021-05-05 13:08:37 -04:00
alistair3149 782a3fab09
fix: preference icon misalignment in large font sizes (#363) 2021-05-05 12:41:24 -04:00
alistair3149 38f674eced
feat: tweak search toggle button 2021-05-04 13:53:40 -04:00
github-actions 3e6b24c390 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-04 17:34:33 +00:00
alistair3149 96cf5319c7
feat: improve page tool more button behavior 2021-05-04 13:33:43 -04:00
alistair3149 06e91bb42d
feat: improve header button behavior 2021-05-04 13:27:47 -04:00
alistair3149 9a610b8485
fix: tweak indicator link text color (#363) 2021-05-04 11:56:32 -04:00
alistair3149 93dbd76324
refactor: convert search bar variables to CSS var 2021-05-04 11:48:39 -04:00
github-actions 4062404e26 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-04 15:11:25 +00:00
alistair3149 749ca9763d
feat: tweak RTL search toggle icon 2021-05-04 11:10:33 -04:00
alistair3149 dbc081eae9
fix: incorrect RTL search toggle icon selector 2021-05-04 10:53:05 -04:00
github-actions 4ce8376b0e ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-03 20:19:44 +00:00
Eshagh 08ed687fa3
fix: RTL search box icon (#361) 2021-05-03 16:18:54 -04:00
alistair3149 293d748771
feat: switch to circle list style 2021-05-02 17:33:40 -04:00
alistair3149 e79e707ce3
fix: disable search shortcut when VE is activated 2021-04-30 13:28:51 -04:00
alistair3149 d75eb105a3
feat: tweak toc styles
* feat: tweak toc styles (#357)

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

Co-authored-by: Cameron <roger.dodger.thor@gmail.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-04-30 10:34:50 -04:00
alistair3149 7eb9b1d7a1 refactor: clean up skins.citizen.preferences 2021-04-28 12:05:52 -04:00
alistair3149 7d44d6e082 feat: added check for localStorage 2021-04-28 12:05:52 -04:00
alistair3149 bf8d9274fa
feat: tweak wikitable styles
move text-align left from th to table so it can be easily overriden
2021-04-28 10:37:36 -04:00
alistair3149 00277609f5
feat: don't hide horizontal lines 2021-04-28 10:29:26 -04:00
alistair3149 3464ff0dfe feat: tweak theme toggle styles 2021-04-27 13:51:03 -04:00
alistair3149 6b5b6cb07a feat: tweak show/hide behavior for preference menu 2021-04-27 13:51:03 -04:00
alistair3149 16b4ae90e0 feat: use color-scheme: dark for dark mode 2021-04-27 13:51:03 -04:00
alistair3149 51ac47691e feat: implement reading preferences
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149 acffb80f36
fix: toc content overflowing header 2021-04-26 12:04:52 -04:00
alistair3149 e2b4a4e49a
feat: show page title on header after scroll
The page header also acts as a jump to top link
2021-04-26 11:39:27 -04:00
alistair3149 4bbb59f978
refactor: improve search loading indicator behavior 2021-04-22 12:09:14 -04:00
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