Commit graph

147 commits

Author SHA1 Message Date
alistair3149 6ba5f41470
Use module name for stylesheets and scripts 2020-06-16 23:03:28 -04:00
alistair3149 3736489118 Load lazyload modules with skin modules if needed 2020-06-15 22:41:56 -04:00
alistair3149 32a0af35d4
Separate ToC from core module 2020-06-15 22:32:55 -04:00
alistair3149 17967d5b60
Bump version 2020-06-12 14:07:10 -04:00
alistair3149 96d7c90b21
Separate lazyload styles from common 2020-06-12 14:02:23 -04:00
alistair3149 520b80132e
Move Cite-related styles outside of common 2020-06-12 01:43:12 -04:00
alistair3149 d2db4e26a4 Bumped version 2020-06-11 16:34:12 -04:00
alistair3149 8295bba440
Add mobile-friendly tweaks to VisualEditor (#129)
* Hide some tools in mobile VE

* Github CI lint - eslint/stylelint

* Fixed typo in VE styles

* Shorten save button for VE in small screen

* Fixed stylelint error

* Github CI lint - eslint/stylelint

* Fix syntax for a CSS selector

* Fix z-index for save modal

* More restrictive CSS selector

* Fix syntax again

* Github CI lint - eslint/stylelint

* Fix a few bugs in VE

* Github CI lint - eslint/stylelint

* Fix margin and padding for VE text

* Fix a few bugs for VE

* Add styles for VE placeholder

* Fix CSS selector for VE toolbar placeholder

* Load VE skinstyle sooner

* Fix VE toolbar position in smaller screens

* Fix issues where some VE styles are overrided

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-06-10 16:47:24 -04:00
alistair3149 bfa6176868
Change skin page URL from Github to MediaWiki 2020-06-09 22:23:56 -04:00
alistair3149 41802cb96a
Clean up icon ResourceLoader modules 2020-06-09 22:23:04 -04:00
alistair3149 0484c32f41
Reorganize stylesheets into its ResourceLoader module (#126) 2020-06-09 22:12:04 -04:00
alistair3149 9d6f97cae6
Added config to disable lazyload (#121) 2020-06-09 01:28:50 -04:00
alistair3149 d2845859c7
Open search when shortcut key is pressed 2020-06-09 00:30:24 -04:00
alistair3149 a9ef142b36
Bump version 2020-06-08 22:48:57 -04:00
alistair3149 345af04010
Added random button to search bar 2020-06-08 21:58:35 -04:00
alistair3149 c009b8726c
Simplified search bar
The last one didn't stage all the files
2020-06-08 19:12:03 -04:00
alistair3149 a6d42a419e
Added icon to fulltext search suggestion 2020-06-08 00:27:25 -04:00
alistair3149 5df1d0971e
Removed no result search suggestion 2020-06-07 18:48:21 -04:00
alistair3149 b03c250a75
Added full text search to search suggestions 2020-06-07 18:34:12 -04:00
alistair3149 4ad5056fc4
Add config to enable or disable rich search suggestions 2020-06-07 17:16:45 -04:00
alistair3149 a7e364aa72
Cleaned up search modules 2020-06-07 15:54:42 -04:00
alistair3149 4ab77674e4
Reorganized file structure for a few ResourceLoader modules 2020-06-07 15:02:52 -04:00
alistair3149 3aa075df94
Added new ResourceLoader module for fonts 2020-06-07 02:17:07 -04:00
alistair3149 bc15fd916e
Removed unused bottom bar 2020-06-07 02:07:30 -04:00
alistair3149 72b41df5ce
Refactor header DOM structure
- Reduced unnessecary HTML elements
- Stanardized class and IDs
- Switch to fix header due to performance concern
- Rewrote over-qualified CSS selectors
- Started rework on file organizations
2020-06-07 01:30:54 -04:00
alistair3149 0ade51a384
Full Mustache conversion 2020-06-05 20:12:39 -04:00
alistair3149 c0fee346c5
Partial conversion to Mustache for header 2020-06-03 00:28:22 -04:00
alistair3149 37732ea6a9
Partial Mustache refactor (#113)
Refactor some components into Mustache. With the footer refactor addressed in #75, it should solve most of the incompatibility issues caused by previous hacks used to generate the footer
2020-06-02 02:23:11 -04:00
alistair3149 5349ed1013
Version bump 2020-05-22 11:38:40 -04:00
alistair3149 c3483d3fb6 Use single quote for CSS 2020-05-18 13:44:29 -04:00
alistair3149 aa2ada02c1 Changed footer icon logic and added Miraheze icon 2020-05-18 12:46:34 -04:00
paladox cb431b61a9
Fix api
Bug: #104 104
2020-05-14 22:45:43 +01:00
alistair3149 bac5e17656
Added missing view source icon 2020-04-13 14:48:42 -04:00
alistair3149 11a13f68fa
Search input would be focus when toggle is clicked 2020-04-11 23:24:48 -04:00
alistair3149 9bc8683676
Table of Content improvements (#98)
* More condensed ToC

* Fixed spacing between ToC title and the list

* Added ToC heading hierarchy

* Github CI lint - eslint/stylelint

* More height for the ToC

* More space between ToC title and list

* Better section highlight on ToC

* Github CI lint - eslint/stylelint

* Fixed syntax from the last commit

* Github CI lint - eslint/stylelint

* Fixed undefined var

* Fixed ToC dark mode color

* Additional ToC dark mode color fixes

* Fixed incorrect ToC dark mode highlight color

* Fixed highlight color again for dark mode

* Bumped version

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2020-04-10 17:07:43 -04:00
alistair3149 c42c6523f6
Bump version 2020-03-16 00:49:23 -04:00
alistair3149 4589452358
Removed unused file 2020-02-15 23:01:58 -05:00
alistair3149 a2608fc40b
Use defaultmodule to load skin styles instead 2020-02-15 21:26:07 -05:00
alistair3149 77c8325e11
Attempt to fix lazyload not loading 2020-02-15 16:59:47 -05:00
alistair3149 16e187c38d
Renamed resourceloader modules 2020-02-15 16:49:55 -05:00
alistair3149 fbdac79c4f
Version bump 2020-02-06 15:06:43 -05:00
Hannes 423e7c0eea
Allow to make thumbnail size configurable 2020-01-11 21:27:39 +01:00
alistair3149 def3f44ed0
Re-added referrer policy since mw implementation does not include response header 2020-01-09 19:26:16 -05:00
alistair3149 c8858ace5d
Update skin.json 2020-01-06 21:59:18 -05:00
alistair3149 7e42f8c432
Fixed the default option 2020-01-01 16:48:15 -05:00
alistair3149 658084bb0d
Add option to choose description source for search suggestion 2020-01-01 16:38:10 -05:00
Hannes f90b653385
Add search string to no result card 2020-01-01 02:27:48 +01:00
Hannes 3aa733f96d
Refactor typeahead
- Instead of inserting/removing script elements use the actual mw.Api object
- Add localization to loading and no result messages

Needs design pass:
- Display a loading indicator upon typing in the input field
- Display a no results indicator if no results could be found
2019-12-31 12:42:39 +01:00
alistair3149 286c2d5acc
Added X-XSS-Protection header support 2019-12-31 02:36:17 -05:00
alistair3149 268e00850b
Removed Referrer policy since MW has its implementation > 1.31 2019-12-31 01:41:03 -05:00