Commit graph

611 commits

Author SHA1 Message Date
github-actions a928b278fa ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-08 20:04:36 +00:00
沈澄心 25d25e381b
feat(core): expand user page tagline and allow citizen-tagline to be parsed (#657)
* Add registration date to user tagline
* Add contribution link to edit count in user tagline
* Add gender to user tagline
* Allow `citizen-tagline` to be fully parsed

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 16:03:48 -04:00
沈澄心 e69160de2f
feat(WikiHiero): add WikiHiero color (#653)
Also update Math color

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:44:22 -04:00
沈澄心 90d69720f6
feat(core): underline content links on hover and focus (#659)
* Update elements.less

* Update elements.less

* Update content.less

* Update elements.less

* Update elements.less

---------

Co-authored-by: alistair3149 <alistair3149@users.noreply.github.com>
2023-06-08 15:30:00 -04:00
alistair3149 5c9498a08b
fix(core): 🐛 avoid page action menu overflow when title is too long
Fix: #648
2023-06-02 14:38:38 -04:00
github-actions 1a68ad1a87 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-01 23:08:38 +00:00
alistair3149 c0e0f28163
fix(core): 🐛 wrap indicator when needed
Fix: #635
2023-06-01 19:07:43 -04:00
alistair3149 8a618a6a9d
feat(core): update state background color
Switch to a semi-transparent color so it blends with the background.
Fix #639
2023-06-01 19:00:33 -04:00
github-actions b537776dab ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-06-01 22:48:25 +00:00
沈澄心 ba825daa9a
feat(core): update state text color (#642)
* Update variables.less

* Update cssvariables.less

* Update content.body.less

* Update mediawiki.special.changeslist.less

* Update mediawiki.special.changeslist.less

* Update ext.scribunto.edit.less

* Update ext.echo.ui.less

* Create mediawiki.interface.helpers.styles.less

* Update skin.json

* Update oojs-ui-core.less

* Update oojs-ui-core.less

* Update variables.less

* Update cssvariables.less

* Update variables.less

* Update mediawiki.special.changeslist.less

* Update cssvariables.less

* Update variables.less

* Update variables.less

* Update README.md

* Update README.md

* Update mediawiki.special.changeslist.less
2023-06-01 18:47:40 -04:00
沈澄心 d92fd77e54
fix(core): add webkit prefix to user-select property (#631)
* Update mixins.less

* Update Sections.less

* Update TableOfContents.less

* Update interface-edit-section-links.less

* Update mixins.less

* Update Sections.less

* Update TableOfContents.less

* Update interface-edit-section-links.less
2023-05-23 12:47:26 -04:00
沈澄心 efd02548a6
feat(Scribunto): add support for Scribunto debug console (#629)
* add support for Scribunto debug console

* Update ext.scribunto.edit.less

* Update README.md
2023-05-23 12:27:54 -04:00
alistair3149 d35b1a8eb5
fix(core): 🐛 incorrect max-width value 2023-05-09 17:04:16 -04:00
alistair3149 6c04fee280
feat(core): add basic scriptless responsive table support
This should also fix the issue where table are overflowing out to the toc
2023-05-09 17:03:50 -04:00
github-actions b0b91e55d3 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-07 20:29:45 +00:00
alistair3149 5ca0f030bc
fix(core): 🐛 add missing border between thead and tbody 2023-05-07 16:28:38 -04:00
alistair3149 801eb9a13b
fix(core): 🐛 add gap between footer icons under the same li 2023-05-06 18:07:21 -04:00
github-actions bedfa3a571 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-06 04:31:50 +00:00
alistair3149 838a7f5100
fix(core): 🐛 do not resize image in table
That seems to only happen with the new media format
2023-05-06 00:30:37 -04:00
alistair3149 35821b62ae
feat(core): more saturated base text color 2023-05-05 10:22:32 -04:00
github-actions 7e20e2d8da ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-05-02 04:03:32 +00:00
alistair3149 c2922f6ba2
feat(core): switch page-container to flex layout 2023-05-02 00:02:25 -04:00
github-actions 1f5f72ed15 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-30 23:55:44 +00:00
alistair3149 e45af9bbbe
feat(core): add scroll affordance to tables 2023-04-30 19:54:31 -04:00
alistair3149 8c888a7e1f
feat(core): make tables responsive without breaking table layout
Instead of a CSS solution used previously, switch to a JS solution to wrap tables.
This should ensure the table renders correctly and also scrollable.
This lays the groundwork for making table more user-friendly in the future.
2023-04-30 17:01:29 -04:00
github-actions 3ad4d62eef ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-04-14 17:30:33 +00:00
alistair3149 612382f567
fix(core): 🐛 avoid double spacing between notice and content 2023-04-14 13:29:15 -04:00
alistair3149 b47f2658c7
fix(core): 🐛 remove redundant override for image height
There is no need for important for image height.
This should also fix the issue where inline height are being overriden.
Fix: #605
2023-03-27 13:48:29 -04:00
alistair3149 68313123e9
feat(core): apply box-sizing: border-box by default 2023-03-01 16:08:07 -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 19ddd61e19
feat(core): clean up print styles 2023-02-28 16:58:35 -05:00
alistair3149 ddb425c4bb
fix(core): 🐛 responsive thumbnail on new media structure 2023-02-22 15:12:06 -05:00
alistair3149 54c8717d45
refactor(core): ♻️ simplify menu header implementation 2023-02-22 14:47:32 -05:00
github-actions db4e6a3867 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-02-17 05:25:36 +00:00
alistair3149 8f4910153a
fix(core): 🐛 incorrect thumbnail center styles 2023-02-17 00:24:34 -05:00
alistair3149 65aff44e1c
Revert "feat(core): do not synthesize font styles through browser"
It is not ready for current usage yet, see #591
2023-02-16 23:30:14 -05:00
alistair3149 83f7fc5db2
feat(core): update font stacks 2023-02-16 13:00:10 -05: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 907206854b
feat(core): do not synthesize font styles through browser 2023-02-16 12:10:46 -05:00
alistair3149 3ec84349b1
feat(core): add support for user-interface-preferences menu
This should also fix the issue of ULS not showing up (#587, #425).
2023-02-15 18:38:02 -05:00
alistair3149 ef9ab2a537
refactor(core): ♻️ move components styles into folder 2023-01-31 15:04:06 -05:00
github-actions c4072978e4 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2023-01-31 20:02:13 +00:00
alistair3149 084a886866
refactor(core): ♻️ group contentheader styles 2023-01-31 15:01:03 -05:00
alistair3149 d14ddd99e6
refactor(core): ♻️ simplify page title implementation 2023-01-31 14:54:20 -05:00
alistair3149 7639110326
fix(search): 🐛 overlay should not cover search box 2023-01-27 14:19:32 -05:00
alistair3149 ee4a7eda4f
refactor(core): ♻️ rename mw-checkbox-hack class to citizen-menu-checkbox 2023-01-25 20:25:40 -05:00
alistair3149 afcf37d529
fix(core): 🐛 checkboxHack buttons should be focusable
So that users can use keyboard to navigate to such button.
Previously they all have a display:none property, which makes it
impossible to reach with keyboard
2023-01-25 20:20:46 -05:00
alistair3149 5ebd7ad025
feat(core): remove plainlist styles
It should not be a part of the skin as it belongs to a template
2023-01-23 00:17:32 -05:00
alistair3149 aeb8e160cf
fix(core): 🐛 increase mw-body-header z-index
This should allow modals in mw-body-header to be higher than
the custom sticky headers
2023-01-17 16:44:35 -05:00
alistair3149 5023f2aa64
feat(toc): add bottom margin to sticky toc 2023-01-12 15:58:40 -05:00
alistair3149 023ee9427a
feat(core): more colorful emphasized text color 2022-12-20 21:50:49 -08:00
alistair3149 985ecb2aa1
feat(core): tweak content sub spacing 2022-12-20 14:06:07 -08:00
github-actions 982407d454 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-12-20 21:36:13 +00:00
alistair3149 aa13b58194
fix(core): missing style for the previous commit 2022-12-20 13:34:59 -08:00
github-actions 6cfd8cb809 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-12-20 20:54:59 +00:00
alistair3149 0051115ce0
feat(core): always truncate sticky header first heading
That would keep the sticky first header to always be one line, also solves #559
2022-12-20 12:53:43 -08:00
alistair3149 3414d59643
feat(core): dynamic dark theme color based on primary hue 2022-12-14 14:06:06 -05:00
alistair3149 37cdf91257
feat(core): deprecate background-color-framed and input
background-color-framed can be replaced with color-surface-2 most of the time.
input is not used.
They are both deprecated in favor of the simpler color-surface system
2022-12-14 12:56:17 -05:00
alistair3149 b262f47404
refactor(core): ♻️ remove unused table style 2022-12-14 12:32:30 -05:00
alistair3149 224c190a47
feat(core): do not set fieldset font size 2022-12-13 16:51:49 -05:00
alistair3149 7a59e9c2d7
fix(core): 🐛 do not use CSS containment for body content
Because it breaks fixed layout originated from the content area
2022-12-12 20:11:47 -05:00
alistair3149 0187478d1a
feat(core): do not hardcode min-width for page tools menu 2022-12-11 18:33:12 -05:00
alistair3149 685a3ad1c4
refactor(core): ♻️ reduce the number of RL modules
It will improve the performance in module registration and also caching
2022-12-09 14:48:17 -05:00
alistair3149 3d1ca8b2ad
feat(core): reduce the click event delay on touch devices 2022-12-08 13:51:22 -05:00
alistair3149 f3ee780f8c
feat(core): add rounded corner to mw-message-box 2022-12-08 13:39:00 -05:00
alistair3149 9d7c3070e5
fix(search): 🐛 overlay should be visible on mobile 2022-12-08 13:27:41 -05:00
alistair3149 71d89bc935
fix(core): 🐛 page tool menu should not overflow right (#555) 2022-12-07 14:34:22 -05:00
github-actions c8f06a8e75 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-12-06 21:58:01 +00:00
alistair3149 a1b2f7f184
fix(core): 🐛 sticky header flickering 2022-12-06 16:57:22 -05:00
alistair3149 77bba6f232
perf(core): ️ use will-change for card transitions 2022-12-06 15:46:14 -05:00
github-actions 9187a9bf45 ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-12-06 20:30:42 +00:00
alistair3149 ca41b42aec
perf(core): ️ add CSS containment to suitable elements 2022-12-06 15:29:49 -05:00
alistair3149 75ab097ba1
feat(core): update MW datatable styles 2022-12-06 15:06:22 -05:00
alistair3149 22e1324a80
feat(core): do not hardcode footer wordmark size
It should respect the size set in localsettings under wgLogos
2022-12-03 22:50:30 -05:00
alistair3149 4293021d5c
feat(search): clean up redirect text implementation 2022-12-03 14:12:01 -05:00
alistair3149 7bfec28ef2
feat(core): add site logo to header 2022-12-03 12:39:33 -05:00
alistair3149 3d0ff75249
feat(core): center align searchbox
Precursor to make search center of the experience
2022-12-02 22:18:29 -05:00
alistair3149 2a8129ec93
feat(core): add active states to header buttons 2022-12-02 22:17:14 -05:00
alistair3149 1939850369
feat(core): allow multiple search components on the same page
This will allow the search suggestion to hook up to multiple search
boxes with `.citizen-search-box` as container. Do note that the default
Citizen suggestion is hardcoded for the primary search, so it only
works for the old core search suggestion module.

This is also a prereq for implementing the Codex search like the one
from Vector.
2022-12-02 17:35:23 -05:00
alistair3149 ca7dd9fe86
feat(ooui): redo OOUI styles 2022-11-30 21:42:28 -05:00
alistair3149 f64f1a2d5e
fix(core): 🐛 input focus state should use hover background color 2022-11-30 16:10:48 -05:00
alistair3149 f041b2cbea
feat(core): only apply letter spacing to text field labels 2022-11-26 17:59:03 -05:00
github-actions c634a934bd ci: 👷 lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-11-26 08:41:34 +00:00
alistair3149 bf9a4850f6
feat(core): add underglow to progress indicator 2022-11-26 03:40:43 -05:00
alistair3149 b182872ea7
fix(core): 🐛 incorrect height for page action button 2022-11-24 21:19:14 -05:00
alistair3149 3fb66b38b2
feat(core): add hover states to editsection links 2022-11-24 21:14:51 -05:00
alistair3149 be7139968e
feat(typography): add bottom margin to headings 2022-11-24 20:21:36 -05:00
alistair3149 467cf85be4
feat(core): unify sticky header styles 2022-11-24 20:15:13 -05:00
alistair3149 5e14891088
feat(typography): add label styles 2022-11-23 20:52:44 -05:00
alistair3149 41dd999f5a
fix(core): 🐛 content should not collaspe margin 2022-11-23 18:50:08 -05:00
alistair3149 bfcd43ce11
feat(core): right align language badge 2022-11-23 18:38:31 -05:00
alistair3149 027e298e1e
feat(typography): do not change GRAD axis
It seems that browsers don't have a standard for GRAD.
Sometimes it is too thin  and sometimes it is too thick
2022-11-23 18:37:00 -05:00
alistair3149 069f442d57
feat(core): tweak page actions styles 2022-11-23 14:47:38 -05:00
alistair3149 baab7e17a8
feat(core): tweak content footer styles 2022-11-23 14:47:14 -05:00
alistair3149 b775a7e88a
refactor(core): ♻️ remove unnessecary margin 2022-11-23 14:15:07 -05:00
alistair3149 71a7945a71
fix(core): incorrect letter case in file name 2022-11-22 11:47:46 -05:00
alistair3149 53cfa8714e
fix(core): 🐛 missing page tool background styles 2022-11-21 19:13:41 -05:00
alistair3149 ead296c46d
feat(core): reduce space between page header and tools 2022-11-21 19:05:38 -05:00