alistair3149
c551225ec7
feat(core): ✨ smaller footer wordmark size on mobile
2022-10-02 01:05:41 -04:00
alistair3149
bf66c60f3d
feat(core): ✨ tweak body footer styles
2022-10-01 19:36:09 -04:00
alistair3149
aaad2bb92a
feat(core): ✨ move footer info into body footer
...
They are related to the article/page instead of the whole site
2022-10-01 17:25:20 -04:00
alistair3149
61e8d053c4
feat(core): ✨ move sitenotice out of mw-body
...
site notice is not related to the body/article
2022-10-01 16:15:40 -04:00
alistair3149
9de7a1d4b2
feat(core): ✨ move catlinks to body footer
2022-10-01 16:07:37 -04:00
alistair3149
17907ead6d
fix(core): 🐛 incorrect CSS variable name
2022-10-01 15:33:30 -04:00
alistair3149
6b47c86c70
feat(core): ✨ strict selector for category links
...
Some gadgets such as HotCat hack inject link elements into catlinks.
The previous rules affect them unintentionally,
and now it should only apply to catlink and nothing else.
2022-10-01 15:24:18 -04:00
alistair3149
bdc58fdeaf
fix(core): 🐛 incorrect color for footer site description
2022-10-01 15:11:07 -04:00
alistair3149
6234b8d72a
refactor(core): ♻️ clean up extended width layout value
2022-10-01 15:09:47 -04:00
alistair3149
2e8c98b755
feat(core): ✨ tweak footer wiki name color
2022-10-01 15:08:50 -04:00
alistair3149
4902ae76ab
feat(core): ✨ redesign site footer
...
last modified and copyright message are not implemented yet.
they will be integrated into body content since they are not global.
2022-10-01 15:06:57 -04:00
alistair3149
6aee9f8e03
feat(core): ✨ collapse page tool text below desktop
2022-10-01 01:45:55 -04:00
alistair3149
607c3f22b2
feat(core): ✨ use space unit for drawer
2022-09-30 17:40:30 -04:00
alistair3149
eadaef7a0a
refactor(core): ♻️ clean up header card mixins and var
2022-09-30 16:52:13 -04:00
alistair3149
9532aa4906
feat(core): ✨ page actions should take full width with toc
2022-09-30 11:45:43 -04:00
alistair3149
5be20a256c
feat(core): ✨ add jump to top link to sticky header
2022-09-30 11:24:06 -04:00
alistair3149
639c378721
fix(core): 🐛 sticky header should not trigger in edit mode
2022-09-30 10:50:05 -04:00
alistair3149
f3e4332e61
feat(core): ✨ move fluid sticky transition
2022-09-30 10:29:50 -04:00
alistair3149
9b1325bcb8
feat(core): ✨ more responsive layout for sticky header
2022-09-30 10:24:16 -04:00
github-actions
f9aacf7ebe
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-09-30 02:33:57 +00:00
alistair3149
e72d7c00a3
feat(core): ✨ add sticky body header
2022-09-29 22:33:06 -04:00
alistair3149
20ed41ec2c
fix(core): 🐛 wiki name wrapping in drawer
2022-09-29 21:25:57 -04:00
alistair3149
87d1918770
feat(core): ✨ add extra page padding on desktop view
2022-09-29 21:12:27 -04:00
alistair3149
00580810ec
fix(core): 🐛 mitigate ToC overlap in various max width
...
Pinning the ToC to the right of the browser for now.
There is no good CSS way to make it stick to the body content.
When we switch to target 1.39+,
there will be proper way to generate ToC instead of all these ToC hacks
2022-09-29 21:11:12 -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
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
7bec9ef10b
fix(core): hide double MW search suggestion
...
In rare scenario such as #520 , default MW search suggestions will load regardless of the settings.
This simple CSS hack is used to hide in case if it loaded.
This will not be needed when vue search is implemented.
2022-09-28 17:02:15 -04:00
alistair3149
b15a92c2ff
fix: do not collapse space in highlighted search title
...
Closes #494
2022-08-01 01:45:32 -04:00
alistair3149
e53afa51dc
fix(core): config CitizenThemeDefault should set theme correctly
...
Previously the config did set the theme correctly but get overridden by the inline
script to auto, this will fix it.
Closes : #418
2022-06-29 15:29:44 -04:00
alistair3149
8c4166ae8f
feat(core): tweak spacing between body header and content
2022-06-21 16:23:31 -04:00
alistair3149
9fe063acb9
feat(core): use URL-safe key for search suggestions
...
Use `title` in Action API and `key` in REST API to generate result link
Related: Miraheze T9428
2022-06-21 16:20:43 -04:00
alistair3149
34c300d69c
fix(core): center class on thumbnails should center ( #476 )
...
Hide the overflow so the thumbnail will be at the center of avaliable space
instead of the whole page. Also have to remove hover shadow as overflow clip it.
2022-06-07 19:06:06 -04:00
alistair3149
eba22354e5
fix(core): run script when DOM is ready
...
Sometimes the scripts start to run before DOM is fully ready. It causes things
like #475 where the checkbox is not in DOM yet but the script is already asking for it.
2022-06-04 17:44:03 -04:00
alistair3149
9d8a631f44
fix(core): delay blur event for search suggestions
...
This is a hacky way to fix fix #404 and #410 . By introducing a delay to
the function to dismiss the suggestions, users on Safari should be able
to click the link properly.
2022-06-03 22:35:45 -04:00
alistair3149
0ffc78ce9e
fix(core): add missing plainlinks styles
2022-06-02 16:13:45 -04:00
alistair3149
8ec0400b1a
feat(core): simplify page header spacing
2022-06-02 14:40:31 -04:00
alistair3149
dca529b164
feat(core): add bottom margin to page header
2022-06-02 12:58:15 -04:00
alistair3149
47069b613c
feat(skinStyles): do not lazyload OOUI font size with skinStyles
...
Changing the OOUI font size in skinStyles would cause a significant layout shift
because the styles are lazyloaded. OOUI is designed around a based font size of 14px
in mind, so we should obey that. Hopefully WMF will revisit OOUI during T254055, then
this hack can be removed.
2022-06-02 12:13:48 -04:00
alistair3149
4fbe09f212
feat(core): tweak category links styles
2022-06-02 11:48:42 -04:00
alistair3149
2f6d383d9e
fix(core): use z-index on popup only to avoid clipping
...
Also:
* Remove unnessecary margin on mw-body-header
* Move the extra mw-body margin to mw-body-header, as there can be other elements in mw-body
2022-06-02 10:57:19 -04:00
alistair3149
c6b8ba9e80
fix(core): source edit button should not collapse itself when VE is selected
2022-06-02 10:51:30 -04:00
alistair3149
215e043f54
style(core): minor cleanup for the preference module
2022-05-25 16:38:39 -04:00
alistair3149
7b810b2389
fix(core): incorrect z-index for the inner header container
...
Also fix the undefined LESS variable in the Echo skinstyle
2022-05-25 16:01:21 -04:00
alistair3149
6f7f548680
feat(core): only use overflow when needed for mw-body
...
Assigning overflow property that is not clip will block position:sticky from working.
Instead, Citizen will only apply overflow:clip with a fallback to hidden in smaller viewport.
2022-05-23 18:18:53 -04:00
alistair3149
21633dcd3c
feat(core): separate header from personal menu list
2022-05-23 16:10:14 -04:00
alistair3149
be8b9a0a0d
feat(core): clean up and tweak z-index usage
...
fixes #462
2022-05-23 15:11:41 -04:00
alistair3149
726a348369
feat(core): hide redirect message in search results when not needed
...
If either the title or redirect title is a substring of the other,
hide the redirect.
Related: T303013
2022-05-20 19:48:07 -04:00
alistair3149
a5c52e48b7
feat(core): indicate when search results are from redirects
...
For REST API, search results will now indicate if they are from redirects.
The current implementation is that it will always show up, the logic to
trim redundant info will come later
Related: T303013
2022-05-20 19:10:36 -04:00
alistair3149
da619c793b
refactor(core): remove duplicated auto theme handling
...
Refactor auto theme handling into inline script since theme.js is basically duplicated code
at this point. Also add the event listener whenever auto theme is set.
Closes : #461
2022-05-20 17:33:10 -04:00
alistair3149
71999f8838
feat(core): use gap instead of margin for spacing in flexbox
2022-05-20 16:18:56 -04:00