alistair3149
a61635ea8f
feat: tweak edit button styles when both visual and source edit are present
2022-04-27 13:35:03 -04: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
9041cc6f22
feat: tweak category styles
2022-04-24 15:38:17 -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
f05295195a
feat: move discussion to the top of the more menu
...
Also clean up some related-styles
2022-04-24 01:53:47 -04:00
github-actions
673445c718
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2022-04-23 05:32:12 +00:00
alistair3149
6efff7f5da
feat: revamp drawer header
...
* wgLogo is always visible in the drawer
* Increase the size of wiki name
* Sitestats will now format large numbers into human readable formats (e.g. 12.2K, 3M, etc.)
* Sitestats now use icons instead of text as labels
* Remove wordmark for now, will revisit later
2022-04-23 01:30:02 -04:00
alistair3149
a2dffec7eb
feat: remove letter spacing from wordmark
2022-04-17 18:07:56 -04:00
Lens0021
449278f0be
feat: use template data for page tools if available ( #440 )
...
* Use template data for page tools if available
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* emptyPortlet class is added by the core
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* Update PageTools.php
* Set toolbox to always valid data
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2022-04-14 00:30:33 -04:00
alistair3149
c51c73159b
feat: add a max height to more action menu
...
Fix #365 . This is a bandage fix for the language variant menu until the language variant menu is moved to an alternate location.
2021-10-07 11:14:53 -04:00
alistair3149
f24ab7dd97
fix: background clipping between data-after-content and footer
2021-08-31 13:27:33 -04:00
alistair3149
d5ac0ce295
feat: update RelatedArticle skinstyle to grade A
2021-08-31 12:29:49 -04:00
alistair3149
9134834d6d
feat: add fading to mw-data-after-content
2021-08-26 17:11:01 -04:00
github-actions
86a9f1dece
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-08-26 03:58:36 +00:00
alistair3149
2285670e08
feat: use mask-image instead of box-shadow for header background
...
This will allow header fade background blending with color-surface-0, regardless of what color it is set to
2021-08-25 23:56:53 -04:00
alistair3149
e53ca7839b
feat: add smooth fading to footer top margin
2021-08-25 23:53:11 -04:00
alistair3149
e03647eef6
fix: plainlist styles should not be overriden
2021-08-05 11:36:25 -04:00
alistair3149
f5a2a831d1
feat: add user customizable line height
2021-08-05 11:24:52 -04:00
alistair3149
79b61cd24a
fix: also apply typography styles to ciitzen-body
2021-07-30 22:57:38 -04:00
alistair3149
6acd4d23df
fix: use mw-body-content for content styles as VE preview ignores citizen-body
2021-07-30 22:42:27 -04:00
alistair3149
d2e981a7d6
feat: tweak drawer menu animation
2021-07-30 22:13:01 -04:00
alistair3149
9ff44d807b
feat: show article stats in menu on mobile viewport
2021-07-30 14:05:25 -04:00
alistair3149
b72ea763a3
feat: change menu into a modal instead of overlay
2021-07-30 13:48:57 -04:00
alistair3149
8bca28662b
feat: remove mw-body-content from HTML
...
T279388
mw-body-content is used within body content in 1.37. The original mw-body-content container will use the class citizen-body instead.
2021-07-30 11:44:02 -04:00
alistair3149
cff27d972c
feat: remove color-link LESS variable and scope the CSS variable
2021-07-27 17:33:59 -04:00
alistair3149
020d05c253
feat: improve contrast for primary color in dark theme
2021-07-27 17:18:23 -04:00
alistair3149
07484ee190
fix: remove unused less variables
2021-07-27 16:02:45 -04:00
alistair3149
f8a26fe6ea
feat: tweak input field color
2021-07-27 15:58:55 -04:00
alistair3149
1746440bf7
feat: use primary color as outline color
2021-07-27 15:57:35 -04:00
alistair3149
7460442580
feat: calculate primary hover state color based on HSL
2021-07-27 15:49:12 -04:00
alistair3149
aae08f0a73
feat: rewrite OOUI skinstyles to the new system
2021-07-27 02:13:22 -04:00
alistair3149
7dc0d14c70
feat: simplify background color variables in core styles
...
--background-color-dp-XX is soft depreciated, please use --color-surface-X instead
2021-07-25 19:16:05 -04:00
alistair3149
4190ab1904
feat: tweak header box shadow color
2021-07-25 14:34:17 -04:00
alistair3149
81d5296249
refactor: update loading animation delay to 500ms
2021-06-27 00:55:09 -04:00
alistair3149
e0b188ed6b
fix: duplicated CSS selector
2021-06-21 20:53:47 -04:00
alistair3149
4d3e18898e
feat: tweak p element margin
2021-06-21 20:51:50 -04:00
github-actions
89b21a5b0c
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-06-15 14:27:00 +00:00
alistair3149
f0678b6f34
feat: hide not logged in message on personal menu
2021-06-15 10:25:59 -04:00
alistair3149
bc71d5c9c0
fix: incorrect selector for loading class
2021-06-12 10:00:26 -04:00
alistair3149
5f168f03ee
feat: add page load progress bar
2021-06-12 09:54:47 -04:00
alistair3149
f21e19c5d8
feat: set sub, sup line-height to 1
2021-06-10 19:26:05 -04:00
alistair3149
f60e4b2626
fix: remove empty line in stylesheet
2021-05-27 11:20:12 -04:00
alistair3149
08987c9215
feat: add rounded corner to thumbnails
...
also merge thumbnail styles into one file
2021-05-27 11:20:12 -04:00
alistair3149
5c6408d766
feat: convert border radius to CSS variable
2021-05-27 11:20:12 -04:00
alistair3149
321f9a7f3d
refactor: only apply responsive styles to thumbnails
2021-05-22 19:19:37 -04:00
alistair3149
d0f23fa991
fix: incorrect breakpoint for search bar
2021-05-17 19:27:28 -04:00
alistair3149
5d1af2ccb4
fix: inconsistent cursor in header button
2021-05-17 18:58:12 -04:00
alistair3149
b2bd79196d
feat: rework search module ( #386 )
...
* feat: rewrite search module (WIP)
There are some caveats because it is a WIP
- Messages are not i18n yet
- Missing placeholder suggestion thumbnail
- Only REST mode works
- Missing greeting message when there is no search query
- Code might look like a mess (I learned JS not long ago)
* refactor: remove old search module
* feat: clean up search suggestion styles
* feat: hide overflow for suggestion text
* feat: add action API and various cleanup
* feat: re-add abort controller
* feat: add message support and tweaks
* feat: use virtual config instead of ResourceLoader hook
* fix: missing comma in const definition
* feat: add ARIA attributes
2021-05-17 16:34:14 -04:00
alistair3149
ac2ed38183
feat: unify header button highlight hover state ( #363 )
2021-05-10 12:00:04 -04:00
Eshagh
c891f42fd1
feat: add RTL icons for drawer toggle and VE save button ( #374 )
...
* Customize the drawer button for RTL language
* Convert ">" to "<" for RTL language
Co-authored-by: eshagh79 <eshagh094@gmail.com>
2021-05-06 22:36:34 -04:00
alistair3149
38f674eced
feat: tweak search toggle button
2021-05-04 13:53:40 -04:00
github-actions
3e6b24c390
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-05-04 17:34:33 +00:00
alistair3149
96cf5319c7
feat: improve page tool more button behavior
2021-05-04 13:33:43 -04:00
alistair3149
06e91bb42d
feat: improve header button behavior
2021-05-04 13:27:47 -04:00
alistair3149
9a610b8485
fix: tweak indicator link text color ( #363 )
2021-05-04 11:56:32 -04:00
alistair3149
93dbd76324
refactor: convert search bar variables to CSS var
2021-05-04 11:48:39 -04:00
github-actions
4062404e26
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-05-04 15:11:25 +00:00
alistair3149
749ca9763d
feat: tweak RTL search toggle icon
2021-05-04 11:10:33 -04:00
alistair3149
dbc081eae9
fix: incorrect RTL search toggle icon selector
2021-05-04 10:53:05 -04:00
github-actions
4ce8376b0e
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-05-03 20:19:44 +00:00
Eshagh
08ed687fa3
fix: RTL search box icon ( #361 )
2021-05-03 16:18:54 -04:00
alistair3149
293d748771
feat: switch to circle list style
2021-05-02 17:33:40 -04:00
alistair3149
bf8d9274fa
feat: tweak wikitable styles
...
move text-align left from th to table so it can be easily overriden
2021-04-28 10:37:36 -04:00
alistair3149
00277609f5
feat: don't hide horizontal lines
2021-04-28 10:29:26 -04:00
alistair3149
16b4ae90e0
feat: use color-scheme: dark for dark mode
2021-04-27 13:51:03 -04:00
alistair3149
51ac47691e
feat: implement reading preferences
...
allow visitor to adjust theme, font size, and page width
2021-04-27 13:51:03 -04:00
alistair3149
e2b4a4e49a
feat: show page title on header after scroll
...
The page header also acts as a jump to top link
2021-04-26 11:39:27 -04:00
alistair3149
f0d2a4ef1e
feat: tweak page header top margin
2021-04-19 14:55:57 -04:00
alistair3149
15ffff3aa4
fix: remove extra bracket in css var definition
2021-04-19 12:42:08 -04:00
alistair3149
76d5daa956
refactor: simplify body margin styles
2021-04-19 12:38:39 -04:00
alistair3149
8d82e7ca83
feat: optimize SVGs with SVGO
2021-04-18 14:40:38 -04:00
alistair3149
d29d631060
feat: tweak wordmark styles
2021-04-17 21:01:24 -04:00
alistair3149
0f2412c930
feat: don't capitalize wiki name
2021-04-17 01:51:15 -04:00
alistair3149
9fc6639d8c
feat: tweak wordmark styles
2021-04-16 21:22:09 -04:00
alistair3149
1787a1b5dd
feat: tweak mobile searchbox animation
2021-04-16 21:12:10 -04:00
alistair3149
9008d98e9c
feat: remove will-change property from drawer
2021-04-16 21:08:50 -04:00
alistair3149
cfbf2798d2
feat: simplify searchbox animation
2021-04-16 21:07:53 -04:00
alistair3149
ed1b55ce45
feat: hide overflow on screen smaller than 720px
2021-04-12 14:13:28 -04:00
alistair3149
0a0a4a0849
feat: add scrollbar styles
2021-04-12 14:00:43 -04:00
alistair3149
b91eb2fb5e
refactor: legacy viewport clean up
2021-04-11 17:57:50 -04:00
alistair3149
bc820109e9
feat: make searchbox transition faster
2021-04-11 17:14:35 -04:00
alistair3149
e9b5ec5575
feat: only use smooth scroll in larger viewport
2021-04-02 15:46:52 -04:00
alistair3149
215fb5ffc6
feat: update reduce motion styles
2021-03-27 16:25:55 -04:00
alistair3149
76f4671f35
feat: emphasize wiki wordmark color
2021-03-22 17:07:17 -04:00
alistair3149
8e7b0de47f
feat: make ToC width adjustable and respect layout width
2021-03-18 13:39:13 -04:00
alistair3149
466261a056
feat: separate link color from primary color
2021-03-18 13:02:01 -04:00
alistair3149
aa42838abc
feat: add styles for Parsoid content
2021-03-18 13:01:52 -04:00
alistair3149
79da99f8ea
fix: incorrect selector
2021-03-13 21:14:16 -05:00
alistair3149
7b1e87cc55
fix: video element overflow
2021-03-13 12:57:59 -05:00
alistair3149
1b3fff4170
fix: CSS animation flash on page load on Chromium
2021-03-13 12:43:28 -05:00
alistair3149
112ff9a4b5
feat: add user edit count to personal menu
2021-03-09 15:04:48 -05:00
alistair3149
7ed9307d60
fix: clear both for catlinks
2021-03-09 13:39:55 -05:00
alistair3149
096f98ad91
feat: convert font family to root CSS variable
2021-03-09 13:13:49 -05:00
alistair3149
9c62a58a64
feat: remove table margin rule
...
not nessecary
2021-03-09 12:41:34 -05:00
alistair3149
c4d86edb23
feat: add center class
...
Seems to be a default feature in many skins
2021-03-09 12:37:15 -05:00
alistair3149
0d1490ce35
feat: remove highlight link style
...
There is no reliable way to target wikilinks and it is causing a lot of issues
2021-03-09 11:52:11 -05:00
alistair3149
ad51ef67cd
feat: extended width for file and category namespaces
2021-03-08 11:42:43 -05:00
github-actions
a6b5bb3546
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-08 15:53:46 +00:00
alistair3149
16b08fb2ea
fix: img inherit a.image max width
2021-03-08 10:52:46 -05:00
github-actions
b8fbb6eb10
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-08 15:51:13 +00:00
alistair3149
12fc1527d9
feat: prevent thumbnail overflow when width is larger than window size
2021-03-08 10:50:18 -05:00
alistair3149
f92e9df39a
feat: increase catlink top margin
2021-03-07 18:44:24 -05:00
github-actions
7df622bad4
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-07 19:12:02 +00:00
alistair3149
744dfc152d
fix: personal menu alignment
2021-03-07 14:11:22 -05:00
alistair3149
469a2fd354
feat: tweak print footer styles
2021-03-07 14:03:10 -05:00
alistair3149
6caf55db4e
feat: add hidden category styles
2021-03-07 13:53:11 -05:00
alistair3149
e3dc01cdc9
feat: update print styles
2021-03-07 13:11:15 -05:00
alistair3149
60f15ae089
feat: update catlink styles
...
* feat: update catlink styles
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-06 14:20:03 -05:00
alistair3149
a23cc0d5ad
feat: improve hover menus styles
2021-03-06 09:48:58 -05:00
alistair3149
24aecc9932
feat: add transform transition for thumb image
2021-03-06 09:39:59 -05:00
alistair3149
b7e9f85a23
feat: improve header background
2021-03-06 09:35:29 -05:00
alistair3149
61f8ef10f7
fix: first heading overflow
2021-03-05 20:44:46 -05:00
alistair3149
0c95163f23
fix: pre block overflow
2021-03-05 20:27:42 -05:00
alistair3149
74fe701036
feat: rewrite core MW gallery styles
2021-03-05 13:43:11 -05:00
alistair3149
8971eed653
refactor: rename sitelogo to siteinfo
2021-03-05 11:47:58 -05:00
alistair3149
28d675b25d
feat: invert wordmark color in the footer
2021-03-05 11:40:55 -05:00
alistair3149
852bcf8b85
feat: tweak header and drawer logo styles
2021-03-05 11:37:27 -05:00
alistair3149
705bce9a81
feat: tweak sitelogo styles
2021-03-04 16:25:38 -05:00
alistair3149
b8fc3018ff
feat: implement wordmark in header
2021-03-04 15:08:32 -05:00
alistair3149
d6b5da3e3b
feat: tweak section styles
2021-03-02 19:32:55 -05:00
alistair3149
848d148710
feat: add plainlinks styles
2021-03-02 12:51:52 -05:00
alistair3149
4edd943afa
fix: fix disappearing more menu
2021-03-02 12:47:00 -05:00
alistair3149
d63d85efc8
feat: only use display block for table when screen is below tablet ( #279 )
2021-03-01 13:11:41 -05:00
github-actions
4379cfded8
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-01 16:31:07 +00:00
alistair3149
49ec136c0f
feat: tweak catlink styles
2021-03-01 11:30:06 -05:00
alistair3149
69a4498134
fix: hide hidden catlinks
2021-03-01 10:37:07 -05:00
alistair3149
bdda0ea68e
fix: incorrect pointer cursor on more menu headers
2021-02-26 16:25:09 -05:00
alistair3149
c795578dad
feat: merge namespace and variant links into more menu
2021-02-26 16:21:11 -05:00
alistair3149
663acdf5ab
feat: more compact blockquote styles
2021-02-21 00:43:39 -05:00
alistair3149
651dc5d9b5
fix: portal should be centered in single col layout
2021-02-20 15:23:59 -05:00
alistair3149
359f1b9ce3
fix: fix header background bleeding into content
2021-02-04 10:41:01 -05:00
alistair3149
73a18ceb56
refactor: clean up header background var
2021-02-04 10:38:29 -05:00
alistair3149
64c89ecbf1
Merge pull request #268 from RogerDodger/feat/header-shadow
...
Change header shadow from box-shadow to a gradient
2021-02-04 10:28:08 -05:00
Cameron
c78bd5ff64
feat: remove overflow-x hidden from body,html ( #267 )
...
Removing this is necessary so that position sticky can be used on the page.
Reference: https://stackoverflow.com/a/47745433
This was presumably added because of the skin having some errant elements at
some point. The only case I can find of this is .catlinks and #p-namespaces
in an earlier patch, but their layout has since been changed.
2021-02-04 10:13:22 -05:00
Cameron
584f5043e1
fix: fix scroll-padding-top value syntax ( #266 )
2021-02-04 10:10:35 -05:00
RogerDodger
296691c2ab
remove pointer events on header
...
This allows users to click on things underneath the header itself
or its shadow. Very useful, especially if the shadow is made any
bigger.
2021-02-04 18:46:41 +10:30
RogerDodger
228d597cb2
change header shadow to an eased gradient
2021-02-04 14:10:35 +10:30
alistair3149
6eb0056885
fix: fix incorrect container width for drawer menu
2021-02-03 16:11:17 -05:00
alistair3149
f133b106aa
feat: tweak box shadow of drawer subsearch
2021-02-03 16:04:35 -05:00
alistair3149
e6055cf238
feat: hide drawer subsearch when no js
2021-02-03 15:52:25 -05:00
alistair3149
00448a095d
feat: add drawer subsearch part 2
2021-02-03 15:47:32 -05:00
alistair3149
dded05f556
feat: remove gap between search toggle and tools
2021-01-31 17:51:01 -05:00
alistair3149
071b1bb587
feat: remove unnecessary justify center for overlay menu
2021-01-29 15:59:31 -05:00
alistair3149
96a98da021
feat: use flexbox for overlay menu
2021-01-29 14:54:42 -05:00
alistair3149
91376ab01e
feat: increase the speed of the overlay menu transition
2021-01-29 13:21:11 -05:00
alistair3149
1c6df3a4b1
feat: increase font-size of overlay menu header
2021-01-29 13:10:46 -05:00
alistair3149
4bf106118f
fix: fix center alignment for logo in menu
2021-01-29 12:09:38 -05:00
github-actions
bfe10f6c71
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-01-29 16:55:58 +00:00
alistair3149
a276aa2828
feat: add border radius to menu link
2021-01-29 11:55:17 -05:00
alistair3149
538202f2b2
feat: convert drawer menu to overlay menu
2021-01-29 11:47:33 -05:00