Commit graph

240 commits

Author SHA1 Message Date
alistair3149 30fca942a7
perf(core): ️ move sticky header handling to observers 2024-11-07 19:12:48 -05:00
alistair3149 ded49e61d8
fix(toc): 🐛 invisible toc icons on desktop 2024-11-06 14:10:03 -05:00
alistair3149 6523c5d3ab
fix(toc): 🐛 fix invisible toc on desktop 2024-11-05 22:31:28 -05:00
alistair3149 39ad06e99d
refactor(dropdown): ♻️ target dropdown icons specifically for content-visibility 2024-11-05 22:19:06 -05:00
alistair3149 0607e9fa24
fix(search): 🐛 do not set content-visbility for search card 2024-11-05 22:17:32 -05:00
alistair3149 70193eb568
perf(dropdown): ️ use content-visibility for icons and dropdown menus
This will reduce the initial render cost of the menus, and also prevent premature download
for the icons.
2024-11-05 21:50:54 -05:00
alistair3149 a32bc92a99
perf(footer): ️ add CSS containment to footer 2024-11-03 01:05:28 -04:00
alistair3149 bbc6069748
fix(toc): 🐛 incorrect toc button height 2024-11-02 02:17:45 -04:00
alistair3149 196f3d9063
perf(core): ️ use CSS containment for search card and sidebar 2024-10-29 23:55:50 -04:00
alistair3149 eab9bcf228
fix(fonts): 🐛 remove serif and monospace fallback fonts
We don't provide web fonts for those, no need to have a fallback font
2024-10-29 19:03:16 -04:00
alistair3149 2b3dbd9960
refactor(toc): ♻️ avoid using important for top link 2024-10-29 18:35:06 -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 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 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 50832a7d5d
fix(menu): 🐛 prevent dropdown menus from overflowing the viewport 2024-10-22 14:54:02 -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
alistair3149 bb9ed449f6
feat(core): improve and clean up various CSS transitions 2024-10-19 00:48:20 -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 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 17c8caace9
fix(pagetools): 🐛 fix incorrect background color for language badge 2024-10-17 02:49:01 -04:00
alistair3149 20f484d9a3
feat(core): simplify section implementation and update support for new headings 2024-10-16 16:17:32 -04:00
alistair3149 d2e92da3c5
feat(Keyhint): tweak keyboard hint styles 2024-10-16 15:02:08 -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 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 a2cc968d2b
fix(icon): 🐛 prevent icon from shrinking in size 2024-10-02 16:10:07 -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 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 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