Commit graph

85 commits

Author SHA1 Message Date
alistair3149 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -04:00
alistair3149 b5180bfbda
feat(core): use Codex tokens for z-index 2024-07-09 16:44:15 -04:00
alistair3149 ba62b92e29
feat(core): theme and unify text selection color using progressive colors 2024-07-06 17:53:56 -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 c21a908c12
feat(core): set new link color to color-destructive 2024-06-30 20:49:50 -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 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 820d612eaf
feat(VisualEditor): hide less useful buttons when width is limited 2024-05-17 19:38:42 -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 a1e76bc195
feat(VisualEditor): better responsive toolbar handling 2024-05-07 01:49:42 -04:00
alistair3149 8de5b3d39e
feat(VisualEditor): improve visibility of text highlight colors 2024-03-11 15:03:18 -04:00
alistair3149 3162e19a2c
feat(core): use CSS variables for x-small font sizes 2024-02-26 17:14:19 -05:00
alistair3149 a9acc08e27
feat(core)!: 💥 rework font-size CSS variables
To align with Codex tokens, the old --font-size-hN CSS variables are renamed.
Introduced new font size variables (x-small, small)
2024-02-26 16:54:58 -05:00
alistair3149 3396cfde12
fix(VisualEditor): 🐛 add find and replace dialog background color
Add new selector to sync with core VE library changes

Closes: #794
2024-02-18 09:55:30 -05:00
alistair3149 109779c84c
fix(VE): 🐛 do not invert image in link preview 2023-11-28 16:03:51 -05:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 af41f98935
feat(core): use same font family instead of serif for blockquote
Since it is the only place that use serif, the serif variable is also removed
2023-02-16 12:13:21 -05:00
alistair3149 e2d1230064
fix(VisualEditor): 🐛 VE overlay should have overlay z-index
It was missing in the VE skinstyles update.

Fix: #583
2023-02-15 15:52:33 -05:00
alistair3149 1d10b669a6
feat(VisualEditor): update VisualEditor styles
Redo VE styles for 1.39 properly by going through the source code.
Since VE is massive and complex, this might not cover all the use cases but
it should be better than the implementation before.
2023-02-06 17:42:46 -05:00
alistair3149 5589916bfa
fix(VisualEditor): 🐛 incorrect layout for header in preview dialog 2023-01-16 18:25:15 -05:00
alistair3149 68c199d1e9
refactor(core): ♻️ handle VE merged edit buttons better 2022-11-21 17:43:16 -05:00
alistair3149 8793a243c3
feat(core): rewrite body layout into flex and grid 2022-11-21 17:41:42 -05:00
github-actions 443c7ada54 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-10-04 23:38:07 +00:00
alistair3149 4a7489e19f
feat(skinStyles): add missing VE styles 2022-10-04 19:37:17 -04:00
alistair3149 7452546df9
refactor(skinStyles): ♻️ clean up unused VE styles 2022-10-04 19:24:39 -04:00
alistair3149 d2dca07618
fix(skinStyles): 🐛 various clipping in VisualEditor 2022-10-04 19:22:54 -04:00
alistair3149 a59aeff4a3
fix(skinStyles): 🐛 incorrect VE new paragraph button color 2022-10-04 19:05:57 -04:00
alistair3149 9388b92b27
fix(skinStyles): 🐛 incorrect VE dark mode background
Fixing incorrect dark background in dialog in VE (#489, #525)
2022-10-02 11:53:22 -04:00
alistair3149 6de95d4fec
feat(core): redesign site header (#521)
Change header into vertical header for large screen and bottom header for small screen.
2022-09-29 19:12:56 -04:00
alistair3149 9c33c3dab4
feat(skinStyles): add missing placeholder style for VE 2022-05-07 00:07:15 -04:00
alistair3149 0e4c8a8a1d
fix: inverted image in VE edit link widget 2021-08-26 17:19:21 -04:00
alistair3149 d413115eeb feat: update VisualEditor skinStyles to grade A 2021-08-04 19:59:52 -04:00
alistair3149 8bca28662b
feat: remove mw-body-content from HTML
T279388
mw-body-content is used within body content in 1.37. The original mw-body-content container will use the class citizen-body instead.
2021-07-30 11:44:02 -04:00
alistair3149 b698a20f26
feat: VE page header style tweaks 2021-05-21 11:15:34 -04:00
alistair3149 674cfa274e
fix: VE toolbar overlapping drawer in tablet or above viewport 2021-05-17 17:11:12 -04:00
github-actions 11ee87cedd ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-16 18:25:52 +00:00
alistair3149 9a2bbf85a9
fix: remove ToC margin when VE is activated (#385)
A side margin is added to make space for ToC when there is one. However, there is no ToC in VE so it should be removed.
2021-05-16 14:25:07 -04:00
alistair3149 5e0f9b6e14 fix: incorrect disabled shortened VE save button style (#375) 2021-05-08 12:54:08 -04:00
github-actions 3643b533af ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-05-07 02:37:23 +00: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 73b95c9d37
fix: hidden ooui window manager inside VE toolbar on small viewport (#369) 2021-05-05 13:22:11 -04:00
alistair3149 76d5daa956
refactor: simplify body margin styles 2021-04-19 12:38:39 -04:00
github-actions 08d1495bee ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-04-18 18:26:51 +00:00
alistair3149 d042e94694
fix: clipping with VE toolbar 2021-04-18 14:25:47 -04:00
alistair3149 a5b2d0e5fc
fix: hidden special character tool in VE 2021-03-26 12:12:43 -04:00
alistair3149 523ddcc8e9
feat: update CodeMirror styles 2021-03-19 12:36:01 -04:00
alistair3149 8e2aa85e87
fix: alignment between CodeMirror and VisualEditor 2021-03-19 12:04:20 -04:00
alistair3149 0a15edff9f
fix: incorrect color for DiscussionTools input border 2021-03-18 14:17:59 -04:00