Commit graph

91 commits

Author SHA1 Message Date
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 a0296afaed
feat(search): migrate typeahead to Mustache template part 2 2024-09-28 17:31:43 -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 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 5605d18f49
feat(search): clean up spacing and alignment in typehead elements 2024-09-26 22:18:29 -04:00
alistair3149 55227e6847
feat(search): tweak various search styles 2024-09-26 22:00:13 -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
alistair3149 28b117d990
feat(search): tweak search box to be more center for desktop 2024-09-26 14:55:49 -04:00
alistair3149 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -04:00
alistair3149 9ace83a9bc
fix(search): 🐛 incorrect article not found icon size 2024-07-05 16:28:33 -04:00
alistair3149 00b2495c1a
feat(core): use px for border-radius
- Move border radius calculation to CSS variable instead of LESS
- Rename CSS variable according to Codex, soft-deprecating the existing border radius
2024-07-05 13:24:31 -04:00
alistair3149 0fdc7c4ad7
feat(core): convert some CSS variables into Codex equivalent part 2
Also fix various inconsistencies with quiet buttons
2024-06-30 20:41:31 -04:00
alistair3149 5d3ecd9edd
feat(core): convert some CSS variables into Codex equivalent
This is an on-going work to adapt Codex into Citizen.
Some of the CSS variables are soft depreciated, see tokens.less for updated info.
2024-06-30 01:04:30 -04:00
alistair3149 a2d3159def
feat(core): replace checkbox hack with details and summary
Note that ToC is still using the old checkbox hack, it will be replaced in a later time.
Related: T333394
2024-05-30 02:20:13 -04:00
alistair3149 e95d3d39bd
perf(core): ️ consolidate citizen-menu card shared styles 2024-05-27 22:47:46 -04:00
alistair3149 8b1158bc78
refactor(search): ♻️ use data-mw prefix for data attribute names 2024-05-21 22:14:58 -04:00
alistair3149 c9f665ef78
feat(core): use CSS variables for small font sizes 2024-02-26 17:16:07 -05:00
alistair3149 3162e19a2c
feat(core): use CSS variables for x-small font sizes 2024-02-26 17:14:19 -05:00
github-actions 29a79b15a3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-11-06 03:42:30 +00:00
alistair3149 071a58ab74
fix(search): 🐛 chip text should not wrap 2023-11-05 22:41:42 -05:00
alistair3149 b0f89ba311
feat(search): turn search actions into chips 2023-11-03 17:25:30 -04:00
alistair3149 68dc715138
fix(search): 🐛 search icon clipping 2023-09-06 17:41:42 -04:00
alistair3149 e8f33bdf93
fix(search): 🐛 make search input selectable 2023-09-06 17:34:47 -04:00
alistair3149 31042804df
fix(search): 🐛 incorrect thumbnail icon width 2023-08-30 10:31:26 -04:00
alistair3149 969f4f0d3d
feat(search): various tweaks to typeahead styles 2023-08-29 12:32:28 -07:00
alistair3149 2d54cbd930
feat(search): add missing border between placeholder and group 2023-08-29 02:25:56 -07:00
alistair3149 9280e7c4a8
feat(search): only add divider between groups 2023-08-29 02:23:57 -07:00
alistair3149 1f0a2e5133
feat(search): reorganize DOM structure of the typeahead 2023-08-29 01:50:55 -07:00
alistair3149 bf0ed2bd55
refactor(search): ♻️ use faux element to display search query 2023-08-28 18:22:16 -07:00
alistair3149 96cf5be48c
feat(search): only add divider between suggestions and footer 2023-08-26 16:48:28 -07:00
alistair3149 96f6361851
feat(core): use quiet hover color for menu items 2023-08-25 17:03:38 -07:00
alistair3149 042f2bfbba
feat(search): use square aspect ratio for suggestion thumbnail 2023-08-24 15:23:46 -07:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 d0b1b8982c
refactor(search): ♻️ simplify search box structure 2023-07-10 15:13:21 -04:00
alistair3149 f843f4d1ee
fix(search): 🐛 undefined LESS variables 2023-07-07 17:26:12 -04:00
alistair3149 c7e45177cd
feat(core): update menu transition styles and implementation
Same as the previous commit, the transition is now accessible as a CSS variable (transition-menu)
2023-07-07 17:02:27 -04:00
alistair3149 434d2688fc
refactor(core): ♻️ less specific link underline selector 2023-06-15 14:37:07 -04:00
alistair3149 ba50defaba
refactor(core): ♻️ make typeahead items more reusuable 2023-03-01 16:31:42 -05:00
alistair3149 68313123e9
feat(core): apply box-sizing: border-box by default 2023-03-01 16:08:07 -05:00
alistair3149 0b7c72ca5e
fix(search): 🐛 align typeahead with input 2023-03-01 15:34:50 -05:00
alistair3149 b8a1d9c224
refactor(search): ♻️ simplify typeahead styles 2023-03-01 15:27:43 -05:00
alistair3149 235a76c2bd
feat(core): add border to Citizen cards 2023-03-01 15:02:34 -05:00
github-actions 9e15415835 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-28 21:59:36 +00:00
alistair3149 7416a7f6d1
fix(search): 🐛 incorrect max height for search suggestions 2023-01-16 17:36:45 -05:00
alistair3149 60c12706a5
feat(search): contain the overscroll of search suggestion 2022-12-18 01:09:42 -05:00
alistair3149 203b0b42c3
feat(search): add MediaSearch to typeahead 2022-12-14 10:28:45 -05:00