Commit graph

1879 commits

Author SHA1 Message Date
alistair3149 c37560a2a9
fix(core): 🐛 emit resize event after clientPref change
Various apps listen to window resize events to reposition absolutely positioned elements
2024-10-28 16:04:51 -04:00
github-actions 50c30afa23 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-28 01:31:36 +00:00
alistair3149 2dc72705d2
feat(core): use newer method to set safe height 2024-10-27 21:30:41 -04:00
alistair3149 b81ed673a7
feat(core): account for safe area for body element 2024-10-27 21:17:34 -04:00
alistair3149 09f8f0c70b
fix(viewTransition): 🐛 remove unnessecary definitions 2024-10-27 21:10:58 -04:00
alistair3149 8e578b8a38
feat(core): add basic cross-document transition
Adding basic fade in and out transition in page navigation.
2024-10-27 20:38:46 -04:00
PenguinEncounter 0248af9425
fix(core): 🐛 fix section collapsing not functioning on Firefox (#965) 2024-10-25 14:06:52 -04:00
alistair3149 06b6f6c194
feat(header): add microinteraction to wiki logo/home button 2024-10-23 19:46:15 -04:00
alistair3149 17bcccac65
refactor(tokens): ♻️ integrate cssvariables.less into tokens.less 2024-10-23 17:54:26 -04:00
alistair3149 2f084b89e0
refactor(tokens): ♻️ move syntax highlight colors to token.less 2024-10-23 17:40:13 -04:00
alistair3149 c88df2d194
feat(tokens): deprecate old font-weight-semibold variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:34:41 -04:00
alistair3149 90862b193e
feat(tokens): deprecate old line height variables
Old variables are being deprecated to align naming convention with Codex.
They will be hard-deprecated on the next major Citizen version.
2024-10-23 17:33:46 -04:00
alistair3149 fde0f9c84c
refactor(tokens): ♻️ move spacing variables to token.less 2024-10-23 17:31:31 -04:00
alistair3149 9c438a6d02
refactor(tokens): ♻️ move line height variables to tokens.less 2024-10-23 17:29:51 -04:00
alistair3149 a45c15cbc1
refactor(tokens): ♻️ move font and transition variables to token.less 2024-10-23 17:24:57 -04:00
alistair3149 6d44586adc
feat(core): move page header to the bottom on main page 2024-10-23 17:11:02 -04:00
alistair3149 26f8ca0e57
docs(core): 📚️ clean up documentation in content.less 2024-10-23 16:43:28 -04:00
alistair3149 2157bcf490
feat(toc): add wrapper for TOC link to hold summary
Some extensions such as DiscussionTools add summary to the ToC item.
We should add styles to support that
2024-10-22 22:51:45 -04:00
alistair3149 4849c648dc
feat(menu): increase line-height of menu items 2024-10-22 22:31:43 -04:00
alistair3149 df27ab7583
refactor(mainMenu): ♻️ inherit max-width from menu card instead of redefining a new one 2024-10-22 18:16:24 -04:00
alistair3149 2a53abed2f
feat(tokens): lower the brightness of destructive color in dark mode
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2024-10-22 17:39:01 -04:00
alistair3149 db4d8a0103
feat(tokens): update state colors 2024-10-22 17:35:28 -04:00
alistair3149 b66ce9dbe8
feat(MediaWiki): add styles for usermessage 2024-10-22 16:25:25 -04:00
alistair3149 50832a7d5d
fix(menu): 🐛 prevent dropdown menus from overflowing the viewport 2024-10-22 14:54:02 -04:00
alistair3149 7867ad990c
fix(pageActions): 🐛 add missing transition property 2024-10-22 14:41:59 -04:00
alistair3149 43ed770b62
fix(core): 🐛 escape CSS variable in HSL color 2024-10-19 04:34:04 -04:00
alistair3149 0259645eb5
feat(features): remove saturation from black mode colors 2024-10-19 03:41:36 -04:00
alistair3149 f96cd7435e
feat(features): make black theme color darker 2024-10-19 03:37:31 -04:00
alistair3149 a353b14dc7
fix(tokens): 🐛 incorrect shadow opacity for dark theme 2024-10-19 03:36:38 -04:00
alistair3149 457bc87c52
feat(core): add animation for more icons 2024-10-19 02:27:42 -04:00
alistair3149 118bd6a2be
fix(core): 🐛 fix ellipsis icon rotate direction 2024-10-19 02:21:59 -04:00
alistair3149 dd16582142
feat(core): add some microinteractions to some of the icons 2024-10-19 02:21:05 -04:00
alistair3149 fe514e94ce
feat(search): use trash icon instead of clear icon for clear input text button 2024-10-19 01:34:28 -04:00
github-actions 1caf732c38 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-19 05:16:29 +00:00
alistair3149 951913458c
feat(tokens): simplify box shadow and align closer with Codex styles
- Remove excessive layers in smaller shadows
- Align small and medium shadow closer to Codex
- Rename some of the inner shadow CSS variables
2024-10-19 01:15:41 -04:00
github-actions f4a8bd59a7 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-19 05:01:18 +00:00
alistair3149 8ac332a8c0
fix(pref): 🐛 only apply transition to transform property 2024-10-19 01:00:21 -04:00
alistair3149 bb9ed449f6
feat(core): improve and clean up various CSS transitions 2024-10-19 00:48:20 -04:00
alistair3149 10d3c17f18
perf(core): ️ disable all CSS transition during window resize 2024-10-19 00:13:13 -04:00
alistair3149 1ca49e61cf
refactor(mixins): ♻️ clean up unused LESS mixins
Signed-off-by: alistair3149 <alistair31494322@gmail.com>
2024-10-18 23:58:04 -04:00
alistair3149 83ddaa9960
refactor(core): ♻️ remove unused grid rules 2024-10-17 07:14:06 -04:00
alistair3149 4438168b58
refactor(core): ♻️ clean up body containers margin 2024-10-17 06:41:17 -04:00
alistair3149 c90fe6cea5
fix(core): fix LESS compile error on 1.39 with multiline rules 2024-10-17 04:49:22 -04:00
alistair3149 53742a0dd2
feat(core): extend page header background to full width
This is needed to get rid of the negative margin sticky header background hack.
Since it looks weird on wikis with background imgae.
2024-10-17 04:10:32 -04:00
alistair3149 17525528f5
feat(stickyHeader): collapse page tools label in sticky header 2024-10-17 03:27:40 -04:00
alistair3149 ecdf9f2a2a
fix(tokens): 🐛 fix LESS parsing error for box shadow in MW 1.43 2024-10-17 03:11:56 -04:00
alistair3149 17c8caace9
fix(pagetools): 🐛 fix incorrect background color for language badge 2024-10-17 02:49:01 -04:00
alistair3149 cf1e55dc55
feat(keyhint): remove hyphens between keys 2024-10-17 02:46:21 -04:00
alistair3149 b9a92b4692
feat(core): add more saturation to text colors 2024-10-17 02:40:04 -04:00
alistair3149 20f484d9a3
feat(core): simplify section implementation and update support for new headings 2024-10-16 16:17:32 -04:00
alistair3149 bd71ac747b
fix(core): 🐛 use CSS calc instead of LESS calculation
It seems that there are some changes in the LESS parser in MW 1.43that breaks some
of the existing LESS calculation.

This should also fix #957
2024-10-16 15:04:39 -04:00
alistair3149 d2e92da3c5
feat(Keyhint): tweak keyboard hint styles 2024-10-16 15:02:08 -04:00
alistair3149 10f5d118f6
feat(core): update to new Codex external link icon 2024-10-11 00:42:07 -04:00
alistair3149 5f328c0743
fix(usermenu): 🐛 hide keyhint for create account button 2024-10-07 00:03:26 -04:00
alistair3149 01365d90ec
fix(search): 🐛 fix invisible progress bar 2024-10-07 00:01:29 -04:00
alistair3149 3601fbd3ee
feat(core): make dark mode surface colors a bit darker 2024-10-05 22:39:07 -04:00
alistair3149 ec68a30579
feat(core): make border color more visible in pure black mode 2024-10-05 22:33:09 -04:00
alistair3149 96004fd30d
fix(pagetools): 🐛 do not bound the width of page action card to page tools 2024-10-05 03:16:57 -04:00
github-actions 3b2ea71115 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-10-05 07:03:07 +00:00
alistair3149 249ce640e9
fix(menu): 🐛 hide keyhint in main menu items
This is causing some wrapping issue and needs to be revisited in the future
2024-10-05 03:03:07 -04:00
alistair3149 085837807f
feat(pagetools): add border to floating buttons 2024-10-05 03:02:12 -04:00
alistair3149 10a28ac476
feat(menu): add accesskey hint to menu items 2024-10-03 18:57:09 -04:00
alistair3149 325c26fe4a
fix(prefs): 🐛 fix incorrect option spacing 2024-10-03 18:56:48 -04:00
alistair3149 dea1628ce3
feat(search): change search text label to advanced search if AdvancedSearch is enabled 2024-10-03 17:06:42 -04:00
alistair3149 a2cc968d2b
fix(icon): 🐛 prevent icon from shrinking in size 2024-10-02 16:10:07 -04:00
alistair3149 b630a914df
fix(search): 🐛 fix incorrect delimiter for gpsnamespace 2024-10-01 21:48:23 -04:00
alistair3149 a0296afaed
feat(search): migrate typeahead to Mustache template part 2 2024-09-28 17:31:43 -04:00
alistair3149 640ecf824c
feat(search): hide scrollbar on chip list
It is annoying with hover scrollbar as it reappears every time the list is updated.
Plus there are already scroll affordnance for the chip list
2024-09-28 15:32:52 -04:00
alistair3149 6cccf7cddf
fix(search): 🐛 fix broken search history
It was caused by the migration and now it is fixed
2024-09-28 15:19:28 -04:00
alistair3149 527a76785e
fix(search): 🐛 incorrect alignment for typeahead item text 2024-09-28 07:28:42 -04:00
alistair3149 b448ac3077
fix(search): 🐛 add spacing between title and desc in typeahead item 2024-09-28 07:13:55 -04:00
alistair3149 723421f691
fix(search): 🐛 fix namespace parameter for Action API 2024-09-28 07:03:11 -04:00
alistair3149 c327dc4fa9
feat(search): migrate most typeahead elements to Mustache
This is a WIP and more clean ups are on the way.
2024-09-28 06:30:15 -04:00
alistair3149 3719897e93
fix(search): 🐛 search all content namespaces for Action API 2024-09-27 03:15:55 -04:00
alistair3149 8800ca672f
fix(search): 🐛 add missing reset style for li 2024-09-27 02:26:56 -04:00
alistair3149 c35d86f43f
feat(search): clean up HTML structure 2024-09-27 02:10:02 -04:00
alistair3149 3ad890206d
feat(search): remove search form and footer glass effect
Didn't look as good as solid color
2024-09-26 22:56:30 -04:00
alistair3149 73eb950c31
fix(search): 🐛 fix search button icon clipping 2024-09-26 22:53:36 -04:00
alistair3149 6f6aa82743
feat(core): increase max-height for menus in mobile layout 2024-09-26 22:53:13 -04:00
alistair3149 eb3927ac0f
fix(search): 🐛 fix incorrect max height for search card 2024-09-26 22:40:20 -04:00
alistair3149 d90ba797b3
feat(search): use glass effect on search form and footer 2024-09-26 22:28:06 -04:00
alistair3149 5605d18f49
feat(search): clean up spacing and alignment in typehead elements 2024-09-26 22:18:29 -04:00
github-actions 84a12225d2 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-09-27 02:01:03 +00:00
alistair3149 55227e6847
feat(search): tweak various search styles 2024-09-26 22:00:13 -04:00
alistair3149 7b3f8f5823
feat(core): add placeholder text color 2024-09-26 21:59:47 -04:00
alistair3149 d6a7c9ddd0
fix(search): 🐛 add missing search footer background color 2024-09-26 19:31:40 -04:00
alistair3149 f1bf40ac78
feat(search): clean up search suggestion padding 2024-09-26 19:29:56 -04:00
alistair3149 138f7a9bd5
feat(search): add message to search footer 2024-09-26 17:58:53 -04:00
alistair3149 a213f1d6a0
feat(search): add keyboard hint to search card 2024-09-26 17:47:19 -04:00
alistair3149 151d60f10f
feat(search): clean up and simplify styles 2024-09-26 15:51:48 -04:00
github-actions 92405a8204 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-09-26 18:56:09 +00:00
alistair3149 28b117d990
feat(search): tweak search box to be more center for desktop 2024-09-26 14:55:49 -04:00
alistair3149 3804574ccb
fix(VisualEditor): 🐛 unstick page header in VE 2024-09-23 17:53:00 -04:00
alistair3149 8f61265cec
feat(core): add support for skin-invert and skin-invert-image
Sync with current dark mode standards from Vector 2022
2024-09-11 04:26:05 -04:00
alistair3149 07dd936115
feat(toc): reduce the size of toc toggle icon 2024-09-11 03:09:16 -04:00
alistair3149 ab62d65768
fix(toc): 🐛 exclude toggle from top section hover 2024-09-10 22:12:06 -04:00
alistair3149 1b7025ef85
feat(toc): expand the current active section 2024-09-10 22:07:22 -04:00
alistair3149 257673a588
feat(toc): allow ToC to be collapsible
Using the same implementation as Vector 2022

Closes: #556
2024-09-10 19:32:49 -04:00
alistair3149 ca1f31d789
refactor(core): ♻️ remove redundant intersection observers 2024-09-10 18:38:11 -04:00
alistair3149 8640d4ef30
feat(toc): switch to ToC implementation based on Vector 2022
This will serve as the groundwork of merging the intersection observers
and collapsible toc in the future.
2024-09-10 18:28:12 -04:00