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 1fefddd41a
feat(core): implement Codex border-width tokens 2024-07-15 02:07:25 -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 ecaaf69a31 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2024-07-01 19:49:29 +00:00
alistair3149 cb683c79ff
feat(mmv): tweak lightbox caption text handling 2024-07-01 15:47:28 -04:00
alistair3149 17e9840a77
feat(mmv): tweak button styles in lightbox 2024-07-01 14:53:37 -04: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 fc47692421
feat(core): rename border-color variables and increase contrast
Align variable names with Codex
2024-04-19 15:20:59 -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
alistair3149 60999eb1d9
feat(core): replace breakpoint LESS variables with Codex tokens
Codex tokens are a better implementation and this should ensure consistency across the MW ecosystem.
We have to keep a copy for now as they are introduced in 1.41.

Related: #735
2023-11-16 17:55:59 -05:00
alistair3149 ba5bea704e
style: 🎨 apply recess order to styles 2023-07-27 21:19:27 -04:00
github-actions 8bfa8b5e6a ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-20 22:18:16 +00:00
alistair3149 fab4d27273
feat(core): add overflow handling for citizen inner header 2023-07-20 18:17:14 -04:00
github-actions 9796560793 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-07-19 09:58:48 +00:00
alistair3149 85f036c2f8
feat(core): remove expensive CSS animation
Avoid paint and layout triggering transitions
2023-07-16 15:32:13 -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
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 9bc8d7a44c
feat(MultimediaViewer): smaller scroll indicator for MMV 2022-12-02 15:14:33 -05:00
alistair3149 28368f3dfa
feat(MultimediaViewer): tweak scroll indicator behavior 2022-11-28 18:54:14 -05:00
alistair3149 7b6743e4b6
feat(MultimediaViewer): revamp mmv styles 2022-11-27 22:30:34 -05:00
alistair3149 d8b2c73e6e
refactor(core): ♻️ only use padding-page when nessecary 2022-11-21 17:47:13 -05:00
alistair3149 85e69f5a6b
refactor(core): ♻️ deprecate old font variables 2022-11-21 17:47:09 -05:00
github-actions 0d63257e86 ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-09-28 21:02:56 +00:00
alistair3149 96013bb126
feat: deprecate --background-color-dp-XX in favor of --color-surface-X
--background-color-dp-XX is now fully deprecated in favor of a simpler 4 color surface system. It can be accessed through the --color-surface-X CSS var.
2022-04-25 22:27:52 -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
alistair3149 5c6408d766 feat: convert border radius to CSS variable 2021-05-27 11:20:12 -04:00
alistair3149 55ca5b833a
feat: tweak MMV styles 2021-03-08 13:32:30 -05:00
alistair3149 f3029c6fd6
fix: incorrect prev next button height 2021-03-08 13:00:33 -05:00
alistair3149 3eae414c57
feat: increase click area of prev and next image buttons in MMV 2021-03-08 12:59:18 -05:00
alistair3149 8b7c8aa8a0
feat: tweak MMV styles 2021-03-08 12:12:27 -05:00
alistair3149 fc75ae236e
feat: add missing MultimediaViewer styles 2021-03-01 15:42:19 -05:00
alistair3149 85a692c93e
feat: tweak MultimediaViwer styles 2021-03-01 12:58:24 -05:00
alistair3149 0884876972
feat: update MultimediaViewer styles 2021-03-01 12:19:09 -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
alistair3149 62112829b9 Attempt to clean file tree 2019-12-29 13:47:46 -05:00
alistair3149 d3bdfd5994 Attempt to clean file tree 2019-12-29 13:47:46 -05:00
alistair3149 3caf856ddc
Fixed relative path on mmv 2019-12-29 13:26:40 -05:00
alistair3149 e3fc3d0458
Use extension naming for folders 2019-12-29 12:58:50 -05:00