Commit graph

198 commits

Author SHA1 Message Date
alistair3149 cb5d4a79f5
feat(MediaWiki): update mw.notification styles 2024-10-22 16:19:01 -04:00
alistair3149 243738a282
perf(RecentChanges): ️ disable sticky header on RC page due to performance issue
The auto-hide sticky header can cause some performance issue on long RC pages.
Disabling it for now until we have a better solution.
2024-10-22 14:36:49 -04:00
alistair3149 6041dcb159
fix(RecentChanges): 🐛 fix misaligned nested rc icons 2024-10-21 20:10:49 -04:00
alistair3149 95c355d9b3
fix(mediawiki): 🐛 apply body styles to overlay outside of citizen-body
This should fix the incorrect line-height issue in VE preview.

T347199
2024-10-21 19:09:22 -04:00
alistair3149 a614152388
fix(mediawiki): 🐛 add missing LESS import for mediawiki.special 2024-10-19 04:45:37 -04:00
alistair3149 ddeaa39288
feat(mediawiki): improve responsive layout in software table 2024-10-19 03:17:22 -04:00
alistair3149 c458252f91
feat(mediawiki): make Special:Version software more compact 2024-10-19 01:27:27 -04:00
alistair3149 d76e8a9a3f
feat(RecentChanges): remove skeleton screen loading
It does not play well with top links
2024-10-15 17:49:53 -04:00
alistair3149 a00fe11e78
feat(core): add indent line to changelist 2024-09-11 02:46:55 -04:00
alistair3149 2c862b0cc1
feat(core): minor tweaks to changelist styles 2024-09-11 02:12:31 -04:00
alistair3149 c1370e95f0
feat(core): update box-shadow CSS variables
* Tokenize shadow vertical distance
* Rename CSS variables to match Codex counterpart
* Reduce the vertical distance for all box shadow
2024-07-24 21:53:51 -04:00
alistair3149 362dcd01cc
feat(wikitable): add new wikitable utility classes for additional styling
- .wikitable--border to enable vertical divider
- .wikitable--stripe to enable striped rows
2024-07-20 20:33:46 -04:00
alistair3149 b9cd27043d
feat(core): tweak changelist and toc border width 2024-07-19 18:31:22 -04:00
alistair3149 a1ad423f2f
feat(stickyHeader): implement sticky header variables into other sticky styles 2024-07-19 17:29:17 -04:00
alistair3149 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -04:00
alistair3149 cae7c753ac
fix(Changelist): 🐛 fix incorrect legends z-index 2024-07-12 18:59:23 -04:00
alistair3149 b5180bfbda
feat(core): use Codex tokens for z-index 2024-07-09 16:44:15 -04:00
alistair3149 232fd0cc4b
feat(core): clean up th styles
- th should not use the same styles as label
- Restore font weight and color to th
- Sync different th styles in extensions
2024-07-07 02:14:36 -04:00
alistair3149 442c272cab
feat(wikitable): use box-shadow instead of border hacks to build table border 2024-07-07 01:51:22 -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
github-actions 852fd86013 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-01 04:06:43 +00:00
alistair3149 ff0a6ed710
feat(core): clean up state colors 2024-07-01 00:04:36 -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 eb58bd6e99
fix(menu): 🐛 show view button specifically on revision and diff pages
The previous attempts didn't catch all the cases. This should be enough.

Related: #845
2024-06-27 18:21:28 -04:00
alistair3149 3d90051ae6
fix(core): 🐛 force selected view button to be visible on revision pages 2024-06-26 17:23:45 -04:00
alistair3149 84d58be232
fix(WikiEditor): 🐛 align toolbar buttons 2024-06-24 15:09:57 -04:00
alistair3149 923ddedcc0
fix(menu): 🐛 avoid double view button on talk page
In 9969479, we forced the view button to be visible to allow the return action (#845).
There are no good ways to target revision page only so we rely on the diff styles.
However, Extension:DiscussionTools inline the said styles on talk page while talk page also has
a return action registered under the associated page menu. This leaves two button serving the
same function.
2024-06-24 14:19:34 -04:00
alistair3149 86ef5ef06d
feat(cssVar): add --color-inverted-primary for text color above primary color 2024-06-10 19:47:49 -04:00
alistair3149 3d146b2374
refactor(cssVar): ♻️ introduce color-inverted 2024-06-05 18:54:54 -04:00
alistair3149 3b90a46109
fix(core): 🐛 revert max-width rule on installed software 2024-05-29 17:52:00 -04:00
alistair3149 83ab221408
feat(core): only handle wikitable instead of all tables
Wikis use tables in creative ways and it is probably just safer to only apply it to wikitables.
Might revisit if there are any news from T330527.
2024-05-29 17:47:13 -04:00
github-actions 121772f8aa ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-28 21:44:31 +00:00
alistair3149 a6abc3c993
fix(core): 🐛 incorrect software alignment on Special:Version 2024-05-28 17:43:09 -04:00
alistair3149 b9225057a7
fix(mediawiki): 🐛 overflow signupstart container 2024-05-18 01:40:07 -04:00
alistair3149 cae19d7a30
feat(mediawiki): tweak login and signup page styles 2024-05-17 17:14:00 -04:00
github-actions 35af4f89dd ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-05-17 13:46:49 +00:00
alistair3149 9969479938
fix(core): 🐛 do not hide view button on revision page
Closes: #845
2024-05-17 09:45:34 -04:00
alistair3149 03da361b97
feat(components): rewrite template data partials into CitizenComponent components (#846)
- Refactor existing template data-related partials into CitizenComponent components
- Re-implement user menu header as UserInfo
- Add description text for anon and temp user in UserMenu
---------

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2024-05-15 01:24:43 -04:00
alistair3149 e791a52cd5
refactor(core): ♻️ replace usage of skin-citizen-theme classes 2024-04-24 20:48:43 -04:00
alistair3149 fc47692421
feat(core): rename border-color variables and increase contrast
Align variable names with Codex
2024-04-19 15:20:59 -04:00
alistair3149 44e7af78bd
fix(mediawiki): 🐛 image clipping in packed gallery
Fix: #822
2024-04-17 14:04:09 -04:00
alistair3149 11566de6b6
style(css): 🎨 re-apply stylelint fixes 2024-04-16 01:28:45 -04:00
alistair3149 9cf358fe9b
fix(core): 🐛 file page sticky header overlapping TOC
Closes: #797
2024-03-05 02:10:10 -05:00
alistair3149 3a62b5f01d
feat(mediawiki): tweak styles on Special:Version 2024-02-26 22:51:52 -05:00
alistair3149 bba839819f
feat(gallery): increase margin for gallery 2024-02-26 18:25:56 -05:00
alistair3149 29727263c8
feat(gallery): use flexbox for packed gallery 2024-02-26 18:05:45 -05:00
alistair3149 c9f6ec6d59
fix(gallery): 🐛 misalign gallery caption 2024-02-26 18:04:49 -05: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