Commit graph

821 commits

Author SHA1 Message Date
alistair3149 07484ee190
fix: remove unused less variables 2021-07-27 16:02:45 -04:00
alistair3149 f8a26fe6ea
feat: tweak input field color 2021-07-27 15:58:55 -04:00
alistair3149 1746440bf7
feat: use primary color as outline color 2021-07-27 15:57:35 -04:00
alistair3149 7460442580
feat: calculate primary hover state color based on HSL 2021-07-27 15:49:12 -04:00
alistair3149 aae08f0a73
feat: rewrite OOUI skinstyles to the new system 2021-07-27 02:13:22 -04:00
alistair3149 2f735e4d4c
feat: tweak ToC toggle styles 2021-07-25 20:21:32 -04:00
alistair3149 e203bbeaab
fix: tweak weird gap between search box and suggestion 2021-07-25 20:21:12 -04:00
alistair3149 7dc0d14c70
feat: simplify background color variables in core styles
--background-color-dp-XX is soft depreciated, please use --color-surface-X instead
2021-07-25 19:16:05 -04:00
alistair3149 4190ab1904
feat: tweak header box shadow color 2021-07-25 14:34:17 -04:00
alistair3149 63d21cf318 fix: add additional check for ToC elements
that should fix the null querySelector bug:
2021-07-12 15:11:11 -04:00
alistair3149 81d5296249
refactor: update loading animation delay to 500ms 2021-06-27 00:55:09 -04:00
alistair3149 e0b188ed6b
fix: duplicated CSS selector 2021-06-21 20:53:47 -04:00
alistair3149 4d3e18898e
feat: tweak p element margin 2021-06-21 20:51:50 -04:00
github-actions 89b21a5b0c ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-06-15 14:27:00 +00:00
alistair3149 f0678b6f34
feat: hide not logged in message on personal menu 2021-06-15 10:25:59 -04:00
alistair3149 bc71d5c9c0
fix: incorrect selector for loading class 2021-06-12 10:00:26 -04:00
alistair3149 5f168f03ee
feat: add page load progress bar 2021-06-12 09:54:47 -04:00
alistair3149 f21e19c5d8
feat: set sub, sup line-height to 1 2021-06-10 19:26:05 -04:00
alistair3149 19119f2b5d
feat: add auto theme to preferences 2021-06-09 14:40:44 -04:00
alistair3149 62f161f633 fix: incorrect variable name 2021-05-27 11:20:12 -04:00
alistair3149 f60e4b2626 fix: remove empty line in stylesheet 2021-05-27 11:20:12 -04:00
alistair3149 08987c9215 feat: add rounded corner to thumbnails
also merge thumbnail styles into one file
2021-05-27 11:20:12 -04:00
alistair3149 5c6408d766 feat: convert border radius to CSS variable 2021-05-27 11:20:12 -04:00
alistair3149 321f9a7f3d
refactor: only apply responsive styles to thumbnails 2021-05-22 19:19:37 -04:00
alistair3149 257abc84d0
feat: refresh the typeahead when blur 2021-05-18 13:26:00 -04:00
alistair3149 5e1d51d8a1
fix: unable to click link in typeahead 2021-05-18 13:14:51 -04:00
github-actions ea428465b8 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-18 16:35:05 +00:00
alistair3149 48deb87709
fix: add null check when accessing undefined keys
Co-authored-by: Hannes Kruse <hannes@octofox.de>
2021-05-18 12:34:08 -04:00
alistair3149 b32151c99a
fix: remove click eventlistener when pref panel is hidden 2021-05-18 12:27:10 -04:00
alistair3149 5c57415a86
refactor: add polyfill for replaceChildren
Co-authored-by: Hannes Kruse <hannes@octofox.de>
2021-05-18 12:25:34 -04:00
alistair3149 2564ba1268
refactor: replace onBlur event with click listener 2021-05-18 12:23:05 -04:00
alistair3149 d0f23fa991 fix: incorrect breakpoint for search bar 2021-05-17 19:27:28 -04:00
alistair3149 5d1af2ccb4
fix: inconsistent cursor in header button 2021-05-17 18:58:12 -04:00
alistair3149 edf6aa1834
fix: search suggestion height overflow 2021-05-17 17:58:48 -04:00
github-actions 9d792fc5b0 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-17 21:55:52 +00:00
alistair3149 3607a3dbcc
feat: tweak search suggestion styles 2021-05-17 17:55:00 -04:00
alistair3149 c43e5279dd feat: remove lazyload modules
It is replaced by the core config `$wgNativeImageLazyLoading`
2021-05-17 16:55:11 -04:00
alistair3149 b2bd79196d
feat: rework search module (#386)
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)

* refactor: remove old search module

* feat: clean up search suggestion styles

* feat: hide overflow for suggestion text

* feat: add action API and various cleanup

* feat: re-add abort controller

* feat: add message support and tweaks

* feat: use virtual config instead of ResourceLoader hook

* fix: missing comma in const definition

* feat: add ARIA attributes
2021-05-17 16:34:14 -04:00
alistair3149 9ecd9722f3
feat: tweak quiet hover and active state color 2021-05-11 12:08:27 -04:00
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