Commit graph

633 commits

Author SHA1 Message Date
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