Commit graph

45 commits

Author SHA1 Message Date
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 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 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 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 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 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 9cf358fe9b
fix(core): 🐛 file page sticky header overlapping TOC
Closes: #797
2024-03-05 02:10:10 -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
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
alistair3149 4badae5cc5
feat(MediaWiki): align contribution list styles with changelist styles 2023-07-11 17:34:35 -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 a7f9c55c88
feat(core): update hover transition styles and implementation
The timing and easing function are defined separately than the property.
It is now accessible as a CSS variable (transition-hover)
2023-07-07 16:36:38 -04:00
alistair3149 8704cc2d91
feat(core): add file metadata table styles 2023-01-09 18:47:25 -05:00
alistair3149 9d78879095
fix(core): 🐛 remove border as it collides with MMV button 2022-12-01 22:48:48 -05:00
alistair3149 467cf85be4
feat(core): unify sticky header styles 2022-11-24 20:15:13 -05:00
alistair3149 85e69f5a6b
refactor(core): ♻️ deprecate old font variables 2022-11-21 17:47:09 -05:00
alistair3149 d238e932a1
feat(core): add pill and circle border radius variables 2022-11-21 17:46:31 -05:00
alistair3149 4583d1283d
feat(filepage): tweak image transparency background 2022-11-21 17:46:07 -05:00
alistair3149 62cea1e1ed
feat(filepage): add hover effect for fullres image 2022-11-21 17:46:06 -05:00
alistair3149 d11ee1d422
feat(core): update old wikitext editor styles 2022-11-21 17:45:39 -05:00
alistair3149 fd40b1b855
feat(core): more granular spacing units 2022-11-21 17:42:43 -05:00
alistair3149 bb38bc6b8b
feat(core): update file page design 2022-11-21 17:42:42 -05:00
alistair3149 eb0147e32f
feat(skinStyles): make wikieditor font size adjustable
Closes: #479
2022-06-14 16:04:52 -04:00
alistair3149 61d13a0f99
feat(skinStyles): add dark styles to source edit summary box 2022-05-02 21:53:37 -04:00
alistair3149 56a869b3d9
refactor(core): clean up transition variable names 2022-05-01 19:14:17 -04:00
alistair3149 4bacf2fff1
perf(core): remove expensive CSS transitions 2022-04-30 18:04:19 -04:00
alistair3149 47e1259bc3
feat: implement a more adaptive smooth shadow
* Looks more natural
* Can be customized through the surface-shadow and shadow-strength CSS var
* Light mode and dark mode have been different shadow now, it should be more visible in dark mode
* Box-shadow is a CSS var, which can be used in templates and wiki CSS
2022-04-24 15:24:09 -04:00
github-actions 9d1c734911 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2021-03-08 20:31:34 +00:00
alistair3149 e3cb1d4bc1
fix: add missing background color to file nav 2021-03-08 15:30:39 -05:00
alistair3149 6748150333
feat: update file page styles 2021-03-08 11:43:02 -05:00
alistair3149 78f20284fd
feat: update revision history styles 2021-03-06 10:33:12 -05:00
alistair3149 da76ccbbeb
refactor: order styles with idiomatic order 2021-01-11 11:45:52 -05:00
Hannes 13e853ac9a
refactor: Convert color-scheme query to class 2021-01-09 22:57:28 +01:00
github-actions d84b74f688 Github CI lint - eslint/stylelint 2020-01-07 17:49:15 +00:00
alistair3149 85affcfc6f
Update mediawiki.action.view.filepage.less 2020-01-07 12:47:21 -05:00
alistair3149 b853dd3bbb
Fix layout issue mentioned in #56 2020-01-06 14:17:23 -05:00
Hannes 6a8196256c
Reorganize skinStyles into separate folders 2019-12-29 10:47:56 +01:00