alistair3149
000643ad36
refactor(core): clean up personal menu
...
This is a part of the header refactor
* Clean up DOM strcture
* Clean up unnessecary styles
* Clean up HTML classes
* Add active state to button
2022-05-10 13:36:52 -04:00
alistair3149
cae7deb945
refactor(core): clean up header icon styles
2022-05-10 11:59:43 -04:00
alistair3149
15296d55be
refactor(core): move checkboxHack checkboxes into container
2022-05-10 11:15:34 -04:00
alistair3149
105d1b9006
refactor(core): clean up inner header implementation
...
This is a part of the header refactor
* Add hover and active state for title button
* Clean up DOM structure
* Clean up unnessecary styles
* Clean up HTML class names
2022-05-10 10:52:36 -04:00
alistair3149
6e35212007
refactor(core): clean up search box implementation
...
* Clean up DOM structure
* Clean up HTML classes
* Use relative units
* Remove unnessecary CSS
2022-05-10 10:52:36 -04:00
alistair3149
5ccfbcfdeb
refactor(core): clean up drawer implementation
...
This is a part of the site header refactor
* Use relative units
* Add title to toggle button
* Remove unnessecary CSS
* Rewrite HTML classes
* Temporary remove drawer subsearch, it will be re-explored in a later patch
2022-05-10 10:52:36 -04:00
dependabot[bot]
be40f24f02
build(deps-dev): bump husky from 8.0.0 to 8.0.1 ( #452 )
...
Bumps [husky](https://github.com/typicode/husky ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v8.0.0...v8.0.1 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 00:18:57 -04:00
dependabot[bot]
11baf34c4f
build(deps-dev): bump husky from 7.0.4 to 8.0.0 ( #450 )
...
Bumps [husky](https://github.com/typicode/husky ) from 7.0.4 to 8.0.0.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v7.0.4...v8.0.0 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 03:03:29 -04:00
dependabot[bot]
6ba9263bc3
build(deps-dev): update mediawiki/mediawiki-codesniffer requirement ( #451 )
...
Updates the requirements on [mediawiki/mediawiki-codesniffer](https://github.com/wikimedia/mediawiki-tools-codesniffer ) to permit the latest version.
- [Release notes](https://github.com/wikimedia/mediawiki-tools-codesniffer/releases )
- [Changelog](https://github.com/wikimedia/mediawiki-tools-codesniffer/blob/master/HISTORY.md )
- [Commits](https://github.com/wikimedia/mediawiki-tools-codesniffer/compare/v38.0.0...v39.0.0 )
---
updated-dependencies:
- dependency-name: mediawiki/mediawiki-codesniffer
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 03:03:18 -04:00
github-actions
df0bb2500d
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-05-08 07:04:52 +00:00
alistair3149
c87152045a
fix(skinStyle): missing dark background for Popups
2022-05-08 03:04:02 -04:00
alistair3149
44f9bc0a7c
feat(core): style parenthesis text in FirstHeading differently
...
Parenthesis text in FirstHeading are commonly used for disambiguation purposes
Therefore it does not have to be as prominent as the title
2022-05-07 00:45:51 -04:00
alistair3149
9c33c3dab4
feat(skinStyles): add missing placeholder style for VE
2022-05-07 00:07:15 -04:00
alistair3149
a47b53bb90
feat(skinStyles): remove top margin for TabberNeue
...
It causes some unnessecary layout shift
2022-05-06 18:00:54 -04:00
alistair3149
75cee0c3f4
feat(core): add missing user page icon
2022-05-06 12:47:28 -04:00
alistair3149
e5b01e805c
feat(skinStyles): add skinStyles for DiscussionTools
2022-05-06 12:22:36 -04:00
dependabot[bot]
5a2261dc8a
build(deps-dev): bump stylelint-config-wikimedia from 0.12.2 to 0.13.0 ( #449 )
...
Bumps [stylelint-config-wikimedia](https://github.com/wikimedia/stylelint-config-wikimedia ) from 0.12.2 to 0.13.0.
- [Release notes](https://github.com/wikimedia/stylelint-config-wikimedia/releases )
- [Changelog](https://github.com/wikimedia/stylelint-config-wikimedia/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wikimedia/stylelint-config-wikimedia/compare/v0.12.2...v0.13.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-wikimedia
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-05 12:00:26 -04:00
alistair3149
e47c1a5ac4
feat(skinStyles): contain overscoll in Echo
2022-05-04 13:43:21 -04:00
alistair3149
b00c7ddf4a
feat(core): tweak ToC styles
...
* Use the same border radius as other Citizen menus
* Remove unnessecary margin and padding
* More accurate height calculations
2022-05-03 16:03:34 -04:00
alistair3149
398f6da83d
feat(skinStyles): tweak Echo popup styles
2022-05-02 22:14:11 -04:00
alistair3149
8121ecb855
feat(skinStyles): add Citizen styles to OOUI dialog
2022-05-02 22:09:43 -04:00
alistair3149
61d13a0f99
feat(skinStyles): add dark styles to source edit summary box
2022-05-02 21:53:37 -04:00
alistair3149
a3d85bb8a5
fix(core): fix overflow in search suggestions
2022-05-02 21:36:59 -04:00
alistair3149
09d301476b
feat(skinStyles): add Popups settings styles
2022-05-02 21:32:12 -04:00
alistair3149
1587e82cd5
chore(release): 1.15.0
2022-05-01 22:55:37 -04:00
alistair3149
ca59b097ba
refactor(core): merge duplicating mixins together
2022-05-01 22:53:41 -04:00
alistair3149
a6d88fc68b
style: lint styles with stylelint
2022-05-01 22:40:27 -04:00
alistair3149
d286afdfb9
feat(core): add animation to page tools more menu
2022-05-01 22:39:41 -04:00
alistair3149
e6a9bd38f1
feat(core): add animation to preferences menu
2022-05-01 22:36:14 -04:00
alistair3149
41e0832904
feat(core): remove animation from searchbox but keep suggestion on mobile
2022-05-01 22:17:36 -04:00
alistair3149
b4959b1972
feat(core): add animation to personal menu
2022-05-01 22:12:47 -04:00
alistair3149
2c9a5f45ec
refactor(core): merge menu content show transition into mixin
2022-05-01 22:11:31 -04:00
alistair3149
e2a6a0355c
feat(core): toggle visbility in CSS when menu is show/hidden
...
* Better performance as browser would not render element when it is hidden
* Better accessbility support for screen readers
2022-05-01 21:46:39 -04:00
alistair3149
60d57dea85
feat(core): switch searchbox transitions to scale
2022-05-01 21:35:33 -04:00
alistair3149
c0c2e61bf3
refactor(core): turn card animation into a mixin
2022-05-01 21:23:37 -04:00
alistair3149
e2da010a90
feat(core): tweak drawer open transition
...
Instead of using translate which can look jarring especially in large menus,
we use a combination of scale and opacity to achieve smoother effect while
saving more on performance.
2022-05-01 20:17:06 -04:00
alistair3149
fae606277f
feat(core): tweak transition timing and curve
...
* Subtle transitions (e.g. color, opacity) are now sped up to 100ms,
so that it feels more responsive.
* Sizing transitions (e.g. transform, height) are now slowed to 250ms
and use a new cubic curve, it should feel more smooth.
2022-05-01 19:25:32 -04:00
alistair3149
56a869b3d9
refactor(core): clean up transition variable names
2022-05-01 19:14:17 -04:00
alistair3149
5fb9627ba7
refactor(core): clean up unused LESS variables
2022-05-01 19:09:00 -04:00
alistair3149
709a89d399
perf(core): remove box-shadow transition for thumbnails
...
It is not nessecary and expensive to run. If it is needed, a pseudo element should be used instead
2022-05-01 18:57:59 -04:00
alistair3149
b39452d3b5
refactor(core): remove unnessecary style overrides for links
...
* Visited link styles are removed from MW already,
there are no need to use important to override those rules.
* Citizen should not override text-decoration setting if users
want to have underline links.
2022-05-01 18:45:48 -04:00
alistair3149
d5397d4ea4
chore(ci): changed-files should compare to remote
2022-04-30 18:09:27 -04:00
alistair3149
4bacf2fff1
perf(core): remove expensive CSS transitions
2022-04-30 18:04:19 -04:00
alistair3149
c74f1685d6
feat(core): add aria-label for preferences button
2022-04-30 18:01:38 -04:00
alistair3149
ac3ebf56a2
fix(core): incorrect aria-controls ID in section toggle
2022-04-30 17:19:57 -04:00
alistair3149
429b462d3f
chore(ci): more robust linter
...
* Only run linter if there are changes
* Cancel previous running workflow
* Cache dependencies
2022-04-30 16:58:36 -04:00
alistair3149
76a84d9e00
feat(core): add ARIA support to collaspible sections
...
* Also renamed toggle to indicator since it is misleading. The whole heading is the toggle itself.
2022-04-30 14:48:09 -04:00
alistair3149
b69ca82650
fix: lower header z-index to 4
...
The original z-index is way too high (10) and would overlap dialogs.
It should be set to 4 (same as Vector 2022) to ensure compatiblity with OOUI elements.
Closes #447
2022-04-30 13:50:49 -04:00
Lens0021
2787d49a96
fix: find toolbox explicitly ( #448 )
...
The last item in the sidebar is not always the toolbox in some wikis, as result, a wrong portlet is displayed.
2022-04-30 02:54:13 -04:00
alistair3149
0f381493f1
feat(skinStyles): tweak CookieWarning styles
...
* Add a 720px max width to the cookie banner so it does not span the whole page
* Remove border
2022-04-29 14:42:02 -04:00