alistair3149
c5a2aaf9ec
refactor: convert skins.citizen.scripts.toc to ES6
2021-04-21 15:07:55 -04:00
alistair3149
f44aaa4e4c
refactor: refactor skins.citizen.scripts to ES6
2021-04-21 13:44:28 -04:00
alistair3149
117d839f00
doc: fix lettercase for Window and Document object
2021-04-21 11:32:44 -04:00
alistair3149
c4c607d154
fix: theme toggle button not appearing in initial load
2021-04-20 23:54:32 -04:00
alistair3149
2cec33906e
refactor: integrate skins.citizen.scripts.theme into core scripts
2021-04-20 23:42:45 -04:00
alistair3149
b75e936b71
refactor: convert skin.citizen.scripts.theme to ES6
...
Also renamed the file and remove unnessecary dependencies
2021-04-20 22:40:05 -04:00
alistair3149
30465ebc20
refactor: convert skin.citizen.scripts.sections to ES6
2021-04-20 21:49:22 -04:00
alistair3149
fb7c164fc9
refactor: rename drawerSubSearch script to match RL module name
2021-04-20 20:28:27 -04:00
alistair3149
43072b1947
refactor: convert skin.citizen.scripts.lazyload to ES6
2021-04-20 20:27:38 -04:00
alistair3149
98ee513e39
refactor: convert skin.citizen.scripts.drawer to ES6
2021-04-20 17:06:12 -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
bd2b5470a2
feat: darken ToC modal background
2021-04-17 20:44:33 -04:00
alistair3149
0f2412c930
feat: don't capitalize wiki name
2021-04-17 01:51:15 -04:00
github-actions
3f9117a2cd
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-04-17 04:07:47 +00:00
alistair3149
ad78883461
fix: search shortcut being triggered in textarea
2021-04-17 00:06:57 -04:00
alistair3149
ff112574f4
feat: tweak fulltext search suggestion styles
2021-04-16 21:28:53 -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
8ef0e927f8
refactor: simplify search key handler
2021-04-12 16:22:16 -04:00
alistair3149
5a3b64252d
feat: tweak search shortcut key behavior
2021-04-12 15:55:59 -04:00
alistair3149
670641e903
feat: use slash as shortcut for search
2021-04-12 15:09:28 -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
b38254cb56
refactor: remove unused LESS variables
2021-04-11 18:24:48 -04:00
alistair3149
b91eb2fb5e
refactor: legacy viewport clean up
2021-04-11 17:57:50 -04:00
alistair3149
f8d90eba0c
refactor: unify transition timing
2021-04-11 17:53:31 -04:00
alistair3149
04a3faef1f
feat: remove list link highlight transition
2021-04-11 17:44:41 -04:00
alistair3149
bc820109e9
feat: make searchbox transition faster
2021-04-11 17:14:35 -04:00
alistair3149
92341d1976
feat: add light border to ToC modal
2021-04-11 16:48:13 -04:00
alistair3149
126357e524
feat: revamp ToC responsive styles
2021-04-10 20:55:48 -04:00
alistair3149
517c27b675
doc: add documentation to suggestion template
2021-04-09 22:30:43 -04:00
alistair3149
9e2dcdadb8
refactor: switch to Mustache template for search suggestions
2021-04-09 22:25:39 -04:00
H. C. Kruse
0e63bb6aef
bug: fix changing theme through UPO ( #340 )
2021-04-06 08:40:15 -04:00
alistair3149
abffe590b5
refactor: remove cookie theme for local storage
...
Co-authored-by: H. C. Kruse <6594492+octfx@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-04-05 14:24:18 -04:00
alistair3149
9533cddc0d
feat: subset fonts based on unicode blocks
2021-04-04 14:30:23 -04:00
alistair3149
299b411e59
feat: update Roboto VF to 3.004
2021-04-04 12:45:43 -04:00
alistair3149
e9b5ec5575
feat: only use smooth scroll in larger viewport
2021-04-02 15:46:52 -04:00
alistair3149
3e217def6e
feat: rewrite ToC scrollspy
...
Remove legacy fallbacks and rewrite scrollspy using IntersectionObserver API
2021-04-02 15:42:56 -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
bbbcaba94d
feat: add site stats to drawer
2021-03-22 17:01:08 -04:00
alistair3149
b850797b4d
feat: only set as session cookie if no conscent
2021-03-22 13:33:17 -04:00
alistair3149
63da182147
feat: set theme cookies to be sameSite strict
...
Since they are only used in a first party basis
2021-03-22 11:41:37 -04:00
alistair3149
934f9555c4
fix: dark mode quiet background color
2021-03-20 20:14:21 -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
7364ccaeda
feat: tweak ToC max height behavior
2021-03-18 12:35:44 -04:00
alistair3149
fd931a13d5
feat: add debug styles
2021-03-18 12:35:18 -04:00
alistair3149
c4aabb6789
fix: search suggestion overflow
2021-03-15 13:40:41 -04:00
alistair3149
57ce5848ca
feat: add passive event listener to scrollspy
2021-03-15 12:42:55 -04:00
alistair3149
b68a2bdacf
feat: allow search suggestion to be scrollable
2021-03-14 01:26:02 -05:00
alistair3149
6273711f60
feat: improve scrollspy handling
...
Better support for non-latin language
Add throttle function
2021-03-13 22:34:15 -05: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
4a0f7af3e0
doc: add missing param document
2021-03-13 12:45:03 -05:00
alistair3149
1b3fff4170
fix: CSS animation flash on page load on Chromium
2021-03-13 12:43:28 -05:00
alistair3149
060c84c3d9
feat: increase contrast on search suggestion title
2021-03-12 14:40:36 -05:00
alistair3149
062cdd91a1
feat: add option to use REST API as search suggestion source
...
Co-authored-by: Hannes <hannes@octofox.de>
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-12 14:25:32 -05:00
alistair3149
6366fb3283
feat: make ToC drawer darker
2021-03-11 21:53:54 -05:00
alistair3149
77edd0145a
feat: add experimental caching for search suggestion
2021-03-11 20:26:01 -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
16aefbc559
feat: reduce lighter overlay opacity
2021-03-09 12:07:39 -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
0746895e9b
fix: incorrect ToC scrollspy highlight
2021-03-08 15:02:20 -05:00
alistair3149
09b399ccf0
feat: collapse ToC when clicked outside
...
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-03-08 14:32:29 -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
ee7503fb41
fix: add min-width to ToC drawer
2021-03-07 19:17:05 -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
b0e080df6b
feat: tweak hover state of collapsible header for touch devices
2021-03-03 13:08:37 -05:00
alistair3149
5c94edb387
feat: tweak collapse toggle spacing
2021-03-03 12:33:33 -05:00
github-actions
81bff902f1
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-03-03 17:30:36 +00:00
alistair3149
a7071e3bf4
fix: align collapse toggle with page padding
2021-03-03 12:29:44 -05:00
alistair3149
90237e0a0a
feat: make whole header toggleable
2021-03-02 20:55:13 -05:00
alistair3149
d6b5da3e3b
feat: tweak section styles
2021-03-02 19:32:55 -05:00
alistair3149
624d896d73
refactor: rename variables and modules
2021-03-02 19:28:54 -05:00
alistair3149
527692cd99
fix: fix various javascript error
2021-03-02 19:13:50 -05:00
alistair3149
af5565f490
feat: implement collapsible sections
2021-03-02 17:16:24 -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
d1f6f05f7c
feat: tweak ToC button styles
2021-03-01 15:58:20 -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
340fd78bcb
fix: fix rich search suggestion link ( #272 )
...
* bug: Fix search result links
* fix: fix search suggestion article path duplication
Co-authored-by: Hannes <hannes@octofox.de>
2021-02-18 14:16:44 -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
H. C. Kruse
407d367e37
feat: add drawer subsearch ( #264 )
...
* bug: Fix display of theme toggle button if set to auto
* feat: Add subsearch script to drawer
An input in the drawer allows to search portal headings and links for matching text
- Hides all portals / links based on the search value
Feature can be enabled by setting `$wgCitizenEnableDrawerSubSearch = true;` in LocalSettings.
* bug: Fix subsearch
2021-02-03 15:01:50 -05:00
alistair3149
dded05f556
feat: remove gap between search toggle and tools
2021-01-31 17:51:01 -05:00
alistair3149
6633f89033
fix: fix display of theme toggle button if set to auto ( #261 )
...
Co-authored-by: Hannes <hannes@octofox.de>
2021-01-31 12:38:37 -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
25e4c151a5
Merge pull request #254 from octfx/dev
...
refactor: Move ESC handler
2021-01-29 14:00:50 -05:00
Hannes
1769510dae
refactor: Move ESC handler
2021-01-29 19:50:20 +01: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
Hannes
b901ac7891
refactor: Hide drawer on esc and outside click
2021-01-29 19:02:09 +01: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
alistair3149
10766b160b
fix: fix header background bleeding
2021-01-28 15:20:14 -05:00
alistair3149
55be448dcd
fix: incorrect icon size on action more menu
2021-01-28 13:00:43 -05:00
alistair3149
fbc901e6e0
refactor: clean up portal styles
2021-01-27 15:05:31 -05:00
alistair3149
e142800957
feat: move toolbox to page more menu
2021-01-27 14:52:49 -05:00
alistair3149
eb963466ed
feat: add styles for edit button when both VE and source is present
2021-01-27 13:59:14 -05:00
alistair3149
bf91a7f83c
feat: tweak indicator styles
2021-01-26 15:38:27 -05:00
alistair3149
d88f933771
fix: Fix incorrect layout on recent changes page
2021-01-26 14:56:11 -05:00
alistair3149
c71e209105
fix: fix incorrect log in and out color in personal menu
2021-01-26 14:37:22 -05:00
alistair3149
60cd190bbb
feat: tweak page tool button styles
2021-01-26 14:29:36 -05:00
alistair3149
6081341418
feat: integrate page tools into page header
2021-01-26 14:25:46 -05:00
alistair3149
2836831335
fix: allow checkbox button to uncheck when clicked
2021-01-21 21:43:20 -05:00
alistair3149
3ba3a0cb8d
feat: hide menu when clicked outside
2021-01-21 21:08:55 -05:00
alistair3149
f995756747
feat: add user groups to personal menu ( #233 )
...
* feat: Add user groups to personal menu
* feat: tweak user group styles
Co-authored-by: Hannes <hannes@octofox.de>
2021-01-21 19:16:21 -05:00
alistair3149
f65bf157bd
feat: move personal menu to header ( #231 )
...
* fix: fix header background bleeding in VE
* feat: move personal menu out of drawer to header
* feat: update personal menu styles in smaller breakpoints
* fix: fix typo in qqq documentation
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* feat: add title text to personal menu button
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00
alistair3149
2e83983954
feat: tweak ToC drawer styles
2021-01-18 16:30:15 -05:00
alistair3149
4beb15e43d
feat: update layout in different breakpoints ( #227 )
...
* feat: update layout in different breakpoints
* ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
* feat: remove negative margin for namespace and catlinks
* 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-01-18 15:18:39 -05:00
alistair3149
56de894f6e
refactor: convert skin.citizen.scripts to packagedFiles
2021-01-16 17:01:58 -05:00
alistair3149
25822463a0
fix: incorrect selector in search toggle script
2021-01-16 16:35:23 -05:00
alistair3149
ffad106fa3
refactor: convert page width to css var
2021-01-16 16:14:04 -05:00
alistair3149
ea3d5c89c3
feat: remove scrollbar styles
...
will revisit when the standards change
2021-01-16 13:27:21 -05:00
alistair3149
ac61053dba
fix: fix highlight link selector
2021-01-16 00:18:00 -05:00
alistair3149
8120399088
fix: fix clipping search toggle icon
2021-01-16 00:12:01 -05:00
alistair3149
15a02db45a
feat: use Wikimedia UI icons for theme toggle
2021-01-16 00:02:55 -05:00
alistair3149
e43dd3e5e6
feat: move search icon a bit higher
2021-01-15 23:56:33 -05:00
alistair3149
8e1b1a1493
refactor: convert core styles to use padding-page var
2021-01-15 20:28:13 -05:00
alistair3149
f64a047bda
refactor: clean up header structure and styles
2021-01-15 19:56:59 -05:00
alistair3149
7cbc27b68f
feat: improve contrast of input fields
2021-01-15 13:47:32 -05:00
alistair3149
d647a8453d
feat: update input field styles
2021-01-14 19:09:15 -05:00
alistair3149
b04d6c68b8
fix: incorrect border style for input
2021-01-14 16:51:18 -05:00
alistair3149
8f890e7d5b
feat: rework OOUI widgets styles
2021-01-14 16:49:41 -05:00
alistair3149
17f5a51703
feat: rework OOUI core styles
2021-01-14 15:27:06 -05:00
alistair3149
22a33eaffa
feat: unify core link styles
2021-01-14 12:53:29 -05:00
alistair3149
06b60ca582
feat: update toc and theme toggle to use new icon opacity
2021-01-14 12:26:25 -05:00
github-actions
9cd101c833
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-01-14 17:20:55 +00:00
alistair3149
7db6a19a44
feat: unify icon opacity and states
2021-01-14 12:20:15 -05:00
alistair3149
4871405dd4
feat: bold logo wordmark sitetitle
2021-01-14 10:57:32 -05:00
alistair3149
b8e6d0d5d1
feat: use wordmark for footer and aside
2021-01-13 15:23:44 -05:00
alistair3149
55ebb6c5bd
fix: incorrect font size for toctitle
2021-01-13 14:46:27 -05:00
alistair3149
e9125f3a8b
feat: tweak wikitable caption and th styles
2021-01-13 13:54:41 -05:00
alistair3149
471073feb2
feat: make ToC link text smaller
2021-01-13 13:30:41 -05:00
alistair3149
2c6d1ad0ee
feat: update ToC styles ( #209 )
...
* feat: update ToC 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-01-13 12:56:48 -05:00
alistair3149
dbcf0c3318
doc: bump version to 1.2.0
2021-01-12 18:23:58 -05:00
alistair3149
ba84a43077
feat: update dark active primary color
2021-01-12 17:13:00 -05:00
alistair3149
88a659d1da
feat: change menu hover color to blue to indicate page load
2021-01-12 17:03:52 -05:00
alistair3149
3f60ca2b14
refactor: use common CSS variables for search suggestion
2021-01-12 15:46:40 -05:00
alistair3149
de0dcd6c75
refactor: use common CSS variables for lazyload
2021-01-12 15:14:52 -05:00
alistair3149
24319fd190
refactor: use common CSS variables for ToC
2021-01-12 15:13:24 -05:00
alistair3149
ed5a9a9741
fix: link color for logo wordmark
2021-01-12 14:42:42 -05:00
alistair3149
9d3df250de
refactor: merge CSS variables in core styles
2021-01-12 14:31:35 -05:00
H. C. Kruse
b4488f8ddb
fix: fix theme switcher logic ( #202 )
...
* refactor: Fix switching theme
* 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-01-11 17:13:01 -05:00
alistair3149
e27fe0b998
feat: remove header box-shadow transition
2021-01-11 13:52:53 -05:00
alistair3149
b867943040
feat: add cursor pointer to theme toggle
2021-01-11 13:49:53 -05:00
alistair3149
0f4f574e8e
feat: update theme toggle styles
2021-01-11 13:40:25 -05:00
alistair3149
83bac9e4f6
refactor: separate theme toggle styles from core module
2021-01-11 13:31:49 -05:00
alistair3149
c6dc8f4dae
test: disable eslint for the inline script
2021-01-11 13:17:20 -05:00
alistair3149
a553f9cb28
perf: optimize with SVGO
2021-01-11 13:13:10 -05:00
alistair3149
22980f9302
style: rename theme switcher RL module
2021-01-11 13:12:49 -05:00
github-actions
90e1826134
ci: lint code to MediaWiki standards
...
Check commit and GitHub actions for more details
2021-01-11 17:17:37 +00:00
alistair3149
68d8621220
test: fix disallowed border property
2021-01-11 12:16:57 -05:00
H. C. Kruse
e30e6ce52c
feat: implement theme toggle ( #201 )
2021-01-11 12:13:59 -05:00
alistair3149
bf7f458b79
test: fix font weight notation stylelint rules
2021-01-11 11:50:41 -05:00
alistair3149
da76ccbbeb
refactor: order styles with idiomatic order
2021-01-11 11:45:52 -05:00
alistair3149
88ecd756e2
refactor: make theme handler more versatile
2021-01-10 15:40:25 -05:00
Hannes
affe2ddc66
test: Make CI happy
2021-01-09 23:14:48 +01:00
Hannes
358fed47c6
test: Make CI happy
2021-01-09 23:12:17 +01:00
Hannes
dde580e2de
Merge remote-tracking branch 'upstream/master' into feature/darkmode-switch
2021-01-09 23:03:23 +01:00
Hannes
028169ea42
feature: Make color scheme configurable
2021-01-09 22:58:43 +01:00
Hannes
044f27c5ba
refactor: Convert colors to css variables
2021-01-09 22:56:28 +01:00
alistair3149
27d0c12f2d
test: update depreciated stylelint rules
2021-01-05 19:45:22 -05:00
alistair3149
6d0612aafa
refactor: rename function to avoid shadowing
2021-01-05 19:39:15 -05:00
github-actions
e6bfcaacca
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-11-24 15:32:14 +00:00
alistair3149
851c92cceb
Merge branch 'master' into patch-1
2020-11-24 10:30:40 -05:00
Cameron
bf8909e2bb
Fix closed toc eating clicks with phantom div
...
Previous behaviour was to remove the toc from view by applying a transform to the .toc > ul but *not* .toc itself.
This meant that .toc was still covering the body when the toc was "closed", eating clicks on anything that would be covered by the toc when opened.
This change puts a transform on .toc itself (and changes the transforms on the ul to match), fixing the issue. However, this creates a new stacking context, which affects .toctogglelabel, since its fixed position is now with respect to .toc, not the viewport. Setting .toctogglelabel { right: -100vw } keeps it in the same place.
2020-11-23 16:14:09 +10:30
Cameron
3f0b54aede
Make toc closed by default on mobile
2020-11-23 00:29:59 -05:00
Cameron
f168f14378
Make toc closed by default on mobile
2020-11-23 13:18:42 +10:30
alistair3149
f2f669dec6
Deprecate mediawiki.skinning.content.externallinks
2020-10-22 11:04:19 -04:00
alistair3149
8ce02ef308
Hide ToC in print mode due to overlapping
2020-10-19 09:50:48 -04:00
alistair3149
2110aa8d55
Add search loading indicator
2020-10-16 15:23:15 -04:00
alistair3149
ab83d1acfc
Decode fulltext search string
2020-08-23 12:44:57 -04:00
alistair3149
0b87fa8641
Remove low quality image placeholder for lazyload
...
The original implementation is not robust and make assumptions about a wiki configuration
2020-08-20 12:36:50 -04:00
github-actions
ac343ce893
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149
0398f5f9f6
Contain scripts inside functions
2020-08-12 12:59:57 -04:00
github-actions
eaeadbb776
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149
8f4c114916
Fix ToC dark mode background
2020-08-12 12:59:57 -04:00
github-actions
bf653992da
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149
dc0b3e1549
Fix incorrect rebase merge
2020-08-12 12:59:57 -04:00
alistair3149
ef9f23b8b1
Tweak ToC toggle behavior
2020-08-12 12:59:57 -04:00
github-actions
ae78ddf1e0
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 12:59:57 -04:00
alistair3149
88b7e8babc
Fix ToC behavior affected by 1.35 changes
2020-08-12 12:59:57 -04:00
alistair3149
3855215ad6
Suppress stylelint font weight error
2020-08-12 12:59:57 -04:00
alistair3149
84a44cf7d7
Define range of font weight
2020-08-12 12:59:57 -04:00
alistair3149
71436b9d69
Remove unnessecary font-family rule
2020-08-12 12:59:57 -04:00
alistair3149
83ba0eaed4
Update font stacks
...
Replace san-serif system font stack with system-ui
Add SF Mono to monospace font stack
2020-08-12 12:59:56 -04:00
github-actions
b33c85a409
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 12:59:56 -04:00
alistair3149
8b45de3e5d
Use variant fonts instead
...
Switch to use variant fonts which allows for more customization and possibly animation. I didn't subset the unicode range since we need i18n support
2020-08-12 12:59:56 -04:00
alistair3149
72dd4ca25b
Drop WOFF support
...
Drop WOFF support since almost all browsers that support WOFF support WOFF2
2020-08-12 12:59:56 -04:00
alistair3149
03c1b75b04
Depreciate mw.RegExp.escape
2020-08-12 12:59:56 -04:00
alistair3149
138dc57d32
Remove Titillium Web font
2020-08-12 12:59:56 -04:00
alistair3149
0f4345dd35
Fix RTL drawer icon animation
2020-08-12 12:56:03 -04:00
github-actions
aa1be72216
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-08-12 16:45:18 +00:00
alistair3149
d5296aa267
Avoid image links getting hover effects
2020-08-12 12:44:15 -04:00
alistair3149
1b2e33161e
Add mw-empty-elt style
2020-07-28 17:47:24 -04:00
alistair3149
524ba6b9b9
Fix incorrect floatnone style in small screen
2020-07-06 15:35:46 -04:00
github-actions
57cf0cd5c8
Make a dinner reservation - MediaWiki CI
...
I clean up code to MediaWiki standards
2020-07-05 21:07:36 +00:00
alistair3149
a09f29fbcf
Add clearfix to avoid overlap with bottom elements
2020-07-04 02:31:15 -04:00
alistair3149
187e25443e
Fix ToC overflow in mobile browser
2020-07-03 22:02:12 -04:00
alistair3149
ea4180af3a
Fix drawer overflow in mobile
2020-07-03 21:59:59 -04:00
alistair3149
ded4fa331e
Normalize textarea border
2020-06-30 16:48:29 -04:00
alistair3149
80dc7e4ad9
Align legend styles with wikitable
2020-06-30 16:41:18 -04:00
alistair3149
49897d2315
Remove input normalize rules
2020-06-30 16:26:49 -04:00
alistair3149
7cc1359c2c
Normalize select style
2020-06-30 16:16:23 -04:00
alistair3149
1706b45211
Normalize input styles
2020-06-30 16:08:24 -04:00
alistair3149
afa5d71486
Rounded corner for ToC drawer
2020-06-30 14:56:01 -04:00
alistair3149
1836dd997f
Rounded popup menu
2020-06-30 14:45:35 -04:00
alistair3149
e3e7ad399a
Remove search bar width transition on small viewport
2020-06-30 14:41:32 -04:00
alistair3149
41197bcea8
Rounded drawer menu
2020-06-30 14:37:33 -04:00
alistair3149
07b0d4ceb5
Fix inconsistent input style on WebKit browsers
2020-06-26 22:42:45 -04:00
alistair3149
b51494102d
Wider page width for special pages ( #152 )
...
* Wider page width for special pages
* Wider page width for special pages #2
* Bumped version
2020-06-26 15:55:53 -04:00
alistair3149
9bf0139b13
Tweak base10 color based on WMUI
2020-06-25 17:06:38 -04:00
alistair3149
86c5893ded
Add footer icon style to accomodate more footer icons
2020-06-23 15:51:05 -04:00
alistair3149
7e155cb3b7
Removed hardcoded footer SVG badges
2020-06-23 15:25:26 -04:00
alistair3149
779ba44dbd
Rounded icon for drawer and search button
2020-06-23 14:35:01 -04:00
alistair3149
597f2b287e
Fix RTL search toggle icon ( #147 )
...
* Fix RTL search toggle icon
* Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-23 14:30:42 -04:00
alistair3149
a5fdb0b9df
Move icons to icon module
2020-06-16 23:43:29 -04:00
alistair3149
9045398201
Add documentation to Citizen scripts
2020-06-16 23:16:45 -04:00
alistair3149
6ba5f41470
Use module name for stylesheets and scripts
2020-06-16 23:03:28 -04:00
alistair3149
f72af5e76d
Improve CI and code clean up ( #143 )
...
* Replace existing grunt linter
* Fix stylesheet issues picked up by stylelint
* Update the git workflow
* Fix incorrect slash in workflow file
* Github CI lint - eslint/stylelint
* Clean up composer
* Fix phpcb error
* MediaWiki CI
* Change commit message
* Update status badge
* Add JSDoc
* Add SVGO
* Make a dinner reservation - MediaWiki CI
I clean up code to MediaWiki standards
* Optimize SVG files with SVGO
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-16 22:49:41 -04:00
alistair3149
32a0af35d4
Separate ToC from core module
2020-06-15 22:32:55 -04:00
alistair3149
951f60ce05
Fix plainlist style
2020-06-13 21:54:32 -04:00
alistair3149
52811c667c
Fix ToC not appearing in print mode
2020-06-12 16:28:47 -04:00
github-actions
92a5ae1b2a
Github CI lint - eslint/stylelint
2020-06-12 20:21:44 +00:00
alistair3149
7cb96376b2
Fix print mode styles
2020-06-12 16:21:27 -04:00
alistair3149
7980716047
Clean up common stylesheets
2020-06-12 14:16:45 -04:00
github-actions
5b59196041
Github CI lint - eslint/stylelint
2020-06-12 18:07:26 +00:00
alistair3149
d4748e8d47
Remove dark mode less
2020-06-12 14:05:32 -04:00
alistair3149
2fb4705f29
Move pagelinks dark mode styles to pagelinks
2020-06-12 14:05:32 -04:00
github-actions
5ac54f07dd
Github CI lint - eslint/stylelint
2020-06-12 18:02:43 +00:00
alistair3149
96d7c90b21
Separate lazyload styles from common
2020-06-12 14:02:23 -04:00
alistair3149
21b2838c0e
Separate pagelinks styles from common
2020-06-12 13:44:24 -04:00
alistair3149
e136787fa4
Clean up page tools selectors
2020-06-12 02:09:49 -04:00
github-actions
c9d18d06c4
Github CI lint - eslint/stylelint
2020-06-12 06:03:29 +00:00
alistair3149
23cb7e4774
Move hack styles out of common
2020-06-12 02:03:05 -04:00
alistair3149
478c476431
Move Echo dark styles to echo skinstyles
2020-06-12 01:59:13 -04:00
github-actions
cd5a8fa28c
Github CI lint - eslint/stylelint
2020-06-12 05:57:30 +00:00
alistair3149
242d49af1e
Clean up overqualified selectors
2020-06-12 01:56:55 -04:00
alistair3149
520b80132e
Move Cite-related styles outside of common
2020-06-12 01:43:12 -04:00
alistair3149
7f1e5d63de
Tweaks to thumbnail caption styles
2020-06-12 01:22:05 -04:00
alistair3149
d002ad6ede
Tweak ToC max height 2
2020-06-11 23:03:28 -04:00
alistair3149
3b22e99b54
Tweak ToC max height
2020-06-11 22:58:56 -04:00
alistair3149
a30c85bb8d
Fix improper selector for float styles ( #136 )
...
* Fix improper selector for float styles
* Github CI lint - eslint/stylelint
Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-11 19:13:58 -04:00
alistair3149
70cbebf602
Set z-index for toc so that it is under float objects
2020-06-11 18:31:13 -04:00
alistair3149
41a71153a0
Removed reduncant codes
2020-06-11 18:17:37 -04:00
github-actions
8839e8869b
Github CI lint - eslint/stylelint
2020-06-11 22:16:03 +00:00
alistair3149
cb4c660a5b
Clean up common styles
2020-06-11 18:15:40 -04:00