Jaifroid
89fef4c806
Transitioned to compact-style UI
...
Former-commit-id: 05ecc202aeb160dd8c67a1111dba51dca2e902a4 [formerly 6cc7b5b20a6fed84448ed1d8ed280adad572507f]
Former-commit-id: b52b8ef044dda8054e4d4759131ab5dec9bc4c25
2017-08-17 15:07:21 +01:00
Jaifroid
20bf9e7349
Adjustments to UI
...
Former-commit-id: 83cf400d6581c852b515049c104bad4b5720ee32 [formerly 48f349485276a5f44976f2429058e2e7d6bb50d5]
Former-commit-id: d4aec61e8fee2b87f9a902424f858b1102eab39a
2017-08-17 00:04:58 +01:00
Jaifroid
191be89618
Fixed CSS issues and ToC code
...
Former-commit-id: 779b935c4ccab6a1267a4ca81454933a4aa4ac28 [formerly 6330348e58ae77bb299d29490f055ed7aa5d3e40]
Former-commit-id: ccce5bfd52802fc6ccb4a36622a4a2fc048a75c9
2017-08-16 18:47:57 +01:00
Jaifroid
b0dc78b417
Fixed ToC unhandled exception with accented headings
...
Former-commit-id: 33f2c7bca56a77b49fbb3f75aa300853e7b3c20d [formerly 4af1c8b4488e85439cbd93f175ccbe5aa49edf3a]
Former-commit-id: 40031025a66afdaed7f326b346541240ceefb438
2017-08-16 11:05:37 +01:00
Jaifroid
5b05f9d2bf
Better Table of Contents handling
...
Former-commit-id: 8315eb1b130d0bd1de2e6f5b5d6cc673e014d4b4 [formerly 8638113e0596e652ac01d9a3da874277c4c2a017]
Former-commit-id: 17ef1aad4e9df6bfe299ccaedeb4e640c034d1da
2017-08-15 11:33:31 +01:00
Jaifroid
3a950bbec4
Better transformation from desktop to mobile
...
Former-commit-id: 87ed3301c1b740ce0ac9b47cf2aaad141e758676 [formerly 1c9327a6c4fd251aef5fdb2befe9b9a1a6b78a1a]
Former-commit-id: b69a30aee302c7ca74b84088c9e5a4f47159cdad
2017-08-14 20:54:48 +01:00
Jaifroid
3ac0cc2aa3
More inclusive processing of maths strings
...
Former-commit-id: 0c4a99c7315fefbacca12085ec8190a3a8c94f65 [formerly 6eedc7c009bbb3407064d23fba03ecfd0c93ae7a]
Former-commit-id: 91684eed7ed37b42492370c5b26281987df01fba
2017-08-11 07:15:17 +01:00
Jaifroid
438560f4b3
Bring in PRs from Kiwix-ja
...
Former-commit-id: 4266197db38226b4e852d5bb8219e90e83d7a23c [formerly 29b4bba71d6341b685de12eac5fb882da1340209]
Former-commit-id: 4bf2a04188f5a69e5c7f1f487100aec3f588d8f2
2017-08-09 12:04:42 +01:00
Jaifroid
32017bad8a
Show welcome text if ZIM has no main page
...
Former-commit-id: d8d49d3f0fa75ad431e742782c968a995040224f [formerly f800093be13f8423409cb120ec1a6a3b9823cb28]
Former-commit-id: ec58a2d4671aa50eb73bf4b9bdff6c66ebe79d7f
2017-08-09 10:22:14 +01:00
Jaifroid
ce64c949fe
Huge improvement of MathJax processing speed!
...
Using one of the combined configuration files they provide.
Former-commit-id: ae2430361b1cea52f7679511f748dfd5b2b061ec [formerly 1f161ec26eaf91ac0e61160c78b2e77352c2b8a6]
Former-commit-id: e5660eb9417746400c81205f5058000edcc1d732
2017-08-07 22:24:02 +01:00
Jaifroid
f8917dec6d
Add some MathJax checks and AMSmath support
...
Former-commit-id: 0aa283e8a81ccef805a5291ce542fadcd046cf5b [formerly 8035fadee8e63ab5cc921bbdc36305b0f10bffd8]
Former-commit-id: a9c67045928e431a5b849de4c68ce589c8069564
2017-08-07 13:43:16 +01:00
Jaifroid
3a2b534399
Added experimental support for typesetting equations with MathJax
...
For now, only mathematical equations are typeset. Chemical equations are not yet detected or supported.
Former-commit-id: 12924d51ad73d0cdc61d7665abe5fdf59f186c05 [formerly 02d0a4875fefdb169002e9b0558818cbee99330c]
Former-commit-id: f38d1b37e38b0d3ab3f8a4827fce2f81021723d9
2017-08-07 07:11:58 +01:00
Jaifroid
6ff69e590c
Various dark mode and css handling improvements
...
Former-commit-id: d0a080bec32427dcf2b1b388ad3229ce8620f5b9 [formerly 3839a0289d22484a6c53c0ed5d3f5a952a85de88]
Former-commit-id: ec3b64d503e20a4e11f8def1b84e86fddee2496f
2017-08-03 17:34:46 +01:00
Jaifroid
5d5916ae4f
Support Wikivoyage dark theme
...
Former-commit-id: 8ae98920e6206b6d0db1167c7b5008b2472a2774 [formerly 8c5bcc6f18b24b9c9d9f304761f32a2fbad7590a]
Former-commit-id: aa8bbada684a4c6093f6b64ac29e60f94d3fbc68
2017-08-02 14:59:19 +01:00
Jaifroid
d673056832
Initial support for a dark mode UI and dark mode Wikimedia pages
...
Former-commit-id: 62b2cd7dd8f827f22d73445a782bb7c12fd79401 [formerly 30bbe95e4b584922ca4b7efbcdd1065388b87c18]
Former-commit-id: 91180930c089716d18d9fb66a97af726305fa0cf
2017-08-02 08:24:28 +01:00
Jaifroid
8b1f8ead88
Support new stylesheets
...
Former-commit-id: 6a867f670d2f5f596eaae2dc94bbe8dffac9835c [formerly a6fc39bbff542ef0750f3944e19d7380465da307]
Former-commit-id: 5b0ceefb2ae0c5b5ddb40a2b831c96494e6d7a2c
2017-07-30 21:55:02 +01:00
Jaifroid
e36dca32a5
Correct image placeholders in FFOS and Firefox
...
Former-commit-id: 31cd70e19d8b80fcbb1f7fc43af02d3bcb589788 [formerly 97dfdaae65646f82475b3d29f6373e56f5837510]
Former-commit-id: 7ffc40aae48f8e6046975938273729cc686cc9e1
2017-07-30 19:19:40 +01:00
Jaifroid
022e04a450
Major upgrade to image-loading mechanism
...
The mechanism now detects which images are visible to the user, and prioritizes them, triaging the others
Former-commit-id: e576560f96812e3aa895910d1f8ddc3c71e6c84d [formerly f2a5a2c932addfac93ceec103bcca4d2c5365a3a]
Former-commit-id: b2cc19d260aa95807e2a92cd621cf203b15e7c4f
2017-07-30 18:05:38 +01:00
Jaifroid
3bd9668dcc
Changed image placeholder colour to less obtrusive lightblue
...
Former-commit-id: aefca71e6cedcefc5e5e891bac9cc0645ea6d25d [formerly b426899d3b9c977e30fb133e3979130f0031d5e2]
Former-commit-id: 26c1482775f6f1936237ee3bb26bc22ef6a9b248
2017-07-24 22:14:10 +01:00
Jaifroid
4dd9e884a1
Supports Firefox for image hiding and showing
...
Former-commit-id: ffcdb7cfe7edb5dd25511a56015af1123c306b3d [formerly e53230fbc58614559785ae38684721141fb289ce]
Former-commit-id: b22b1e9ca13197e0bbac1ad5cfb48aecc340cdb3
2017-07-24 18:43:58 +01:00
Jaifroid
a6b4c2d67d
Resets background-color
...
Former-commit-id: b792c15feb54227cfed0537158b1a37d266279e8 [formerly f8ef401e0c4234966ea989e29fdc86881be08ac2]
Former-commit-id: cd2c9ce49680c9a90692dac1dc82ffa882963b2c
2017-07-24 17:30:32 +01:00
Jaifroid
18087526fa
Allows user to show images selectively
...
Former-commit-id: 0795cbed19a602a7a4863addf70dcad51bd19851 [formerly b105613908c1edaddedad19e447f4ab1608c2ea9]
Former-commit-id: 9f30098a303fffee1c17a598713851da1c24e9cc
2017-07-24 16:56:48 +01:00
Jaifroid
286f278478
Supports optional display of images
...
Former-commit-id: 27eaf0101bc019fda5c1d820929151206af6c869 [formerly 08a2619294ae0334d8fcbe1119a09376af606019]
Former-commit-id: d70bfab87e6d70862b4923e015b3eaa0fcae2e8e
2017-07-24 08:37:47 +01:00
Jaifroid
f737810e7c
Better control of scrolling
...
Former-commit-id: bee8f99270a2433ecc4a7c4069c96d5be37fedd3 [formerly 07e380b2a17edffabd0314e3a016f6e62e6d8b31]
Former-commit-id: 959c1ef146c3368ace2d199c012386e3a68d9b93
2017-07-23 19:19:19 +01:00
Jaifroid
377cc87c7a
Improved code (refactored)
...
Delay is now reduced
Former-commit-id: 27f0714ceed9de84b9deb11bb2094d293295c31e [formerly 185b1e19a2a67c4b5d4a1eec8b65b9c304c8fa13]
Former-commit-id: de7926106adbd7f8ca068f45efd9f4e7172472ae
2017-07-23 18:06:31 +01:00
Jaifroid
dae524cf16
Attempts to wait for scroll
...
Unfortunately this takes too long to fire up again
Former-commit-id: 92b3c0e6b31aae6913cb9e9b31a04d2e94b8f237 [formerly 943b8eeddc271dbedf5c46ed7d41f19a978fee56]
Former-commit-id: 3b3815ffce09f1813095b702ae6404835bf9b42c
2017-07-23 12:07:04 +01:00
Jaifroid
5af1f1ad9d
Initial window of 10 images added
...
Former-commit-id: 636c5c807522e489464c905502366dd6dd1786c5 [formerly a9fa1a644ae37f61dc8813fc62986ac346b37f6b]
Former-commit-id: be8e1f79f005a25724d2d6abeffe16ca01cf9607
2017-07-22 12:24:34 +01:00
Jaifroid
0f4858f82e
Dramatic increase in speed of image extraction
...
This is done by requesting images in slices
Former-commit-id: e6062f8c516c0211b6c5a3006688399ad1a872b6 [formerly e655417903773d5668359914b4726add5f8fca4e]
Former-commit-id: b72c3814be52db7e1b9037bd7cf275ff48ae2b18
2017-07-21 17:41:19 +01:00
Jaifroid
a7d9239d1a
Adds timers and updates timing tests
...
Former-commit-id: 97b1841cca2cd46a843e157988d92b179734218d [formerly 3680603734b09be686957e2d25ebc2653de68c9d]
Former-commit-id: c2086c68ba32b606516c650191788c70752e64bb
2017-07-20 23:04:19 +01:00
Jaifroid
5a29fef00f
Added UI enhancements from the backport
...
Former-commit-id: 6d88db52be83173ad4f881bf5cac8260105f0341 [formerly 5f32abe32d11d831730965b83d80dfc6c9de44c1]
Former-commit-id: 324fdbf2354a313f4f7816abf1ec233cdf67649f
2017-07-19 11:06:02 +01:00
Jaifroid
12a21b8e83
Disable return link on change to service worker
...
Former-commit-id: e24d6c725947a650f92b44a42f9355d0f1e475e8 [formerly b1d3895b679a12178fbcf7d65df19bfe0c0afc6c]
Former-commit-id: cbed3ae8120793281d8084f90528aedcab0faed4
2017-07-19 07:47:23 +01:00
Jaifroid
e38654b2b7
UI enhancements
...
Support for progress messages and for returning from Config to the article without reloading
Former-commit-id: e8b716ea6a00dd8d49226a12eef39f03815213e6 [formerly c6970a190d5f707815533800a06973f3ed024163]
Former-commit-id: 5bdbb72ef7ea593793e0b451a69687e6182c0412
2017-07-19 00:12:15 +01:00
Jaifroid
0ce73dc032
Fixed refactoring bug
...
Former-commit-id: 185cb90d1282c7d5d7b6ab99231ad17cb8329043 [formerly 8f8562d2cbab4184f38cc1b27e2ca2ea0b04e848]
Former-commit-id: e26258e4a7bfb5a7acba30778394613b3ab109d2
2017-07-18 01:42:48 +01:00
Jaifroid
88edcd7ccf
Sync with kiwix-js
...
Former-commit-id: ee67f2fe047fa2450212c970e5991738eebe5773 [formerly d84ad68682a6de99bae10a293a603fd4e1076f2b]
Former-commit-id: a8c807904da68a84d1c5d01c69c52278681cd851
2017-07-17 21:21:58 +01:00
Jaifroid
5b3bce9f7d
Missing CSS detection
...
Former-commit-id: 6966f027b6435a7b71fe998f66013cdf759dacf3 [formerly 08aea11b749d9dce89e3b427b77f921c6fa9e37b]
Former-commit-id: 5c6b7e39e97781b7e551b0bf0a72fe571b5a7186
2017-07-17 19:02:33 +01:00
Jaifroid
8fa6691348
Prevent unnecessary transformations
...
Former-commit-id: b17c9aeb961549868067a60c10bf4f0c759fb797 [formerly 27865b46191c1633970df0820651d69fde08ea24]
Former-commit-id: 113a7e5c0bf9816830e76944abc00cb48e3e110f
2017-07-16 16:00:35 +01:00
Jaifroid
9828b9ba0a
Major reorganization of styles transformations
...
Former-commit-id: 9340c05cdd3b610ecc9f771978d83c7febdd512d [formerly 0f6d1f348aa981e5ec42e806772c69ba8565f06d]
Former-commit-id: d04f0842dd9b6f01776f184ec7cfac76c3f00a98
2017-07-15 23:12:42 +01:00
Jaifroid
8abb11d6f8
Major improvements in stylesheet transformations
...
Former-commit-id: a4a9b6f44d5bf611fb51387d283351f327b3c357 [formerly dc1584995a0e6df7087b61fcb6c658949c145b0c]
Former-commit-id: a0f4808622254de2c34243d393e6e93fe5cd7540
2017-07-15 15:38:58 +01:00
Jaifroid
8b309d3b65
Revert accidental transformCSS changes
...
Former-commit-id: bc450658b6513f67f4545efb6e575ff231476407 [formerly 1054f2973057581641fa961076adc06d5b37d922]
Former-commit-id: e1902c0e617ebb94f6ea7b02bc829be648501316
2017-07-14 08:48:26 +01:00
Jaifroid
74e38be7dd
Remove old jQuery declaration
...
Former-commit-id: a836e37743034d00d63e05b8debf1fc6996f28fa [formerly e672f92b83abfeb13e8dcce22ba1613c9c5058c7]
Former-commit-id: 0d7622a9e90b1598ddaf53277623834705756df1
2017-07-14 08:41:25 +01:00
Jaifroid
c202cdff02
Better fidelity of mobile style
...
Former-commit-id: 460ac1f668ee4b5240a66d19156581299b71e84b [formerly 1002cb7f2beb965e140c8735417f4dd3b9f2e8b3]
Former-commit-id: 681b0c5e541ffb2fcd912b8ccffc320299553cfc
2017-07-13 18:32:14 +01:00
Jaifroid
77215a8c9b
Added documentation of transformations
...
Former-commit-id: 1875b04960fc8b6b7eaf9dc68ec86c52191e25ab [formerly 294b25360bbf9034cc25ecc0ee66e45df90ea44a]
Former-commit-id: 019e7c794233b93fd572ee7f0d3df66eff6006f6
2017-07-13 14:42:54 +01:00
Jaifroid
39a58cee78
Reduce top padding for mobile styl
...
Former-commit-id: e66027131f4d6c4f4c93756a1be149d3ee904dc8 [formerly f763e201bd7be9564bce3fa4e15f9cc43c3a049d]
Former-commit-id: 19d7e01f9aca976d0f065feafc1165defb99f74c
2017-07-13 14:11:02 +01:00
Jaifroid
9b776fabb7
Improvements to stylesheet injection
...
Former-commit-id: 86f79bd93f6a2dd07a24f17409e3f57c1554689f [formerly f2b9d4d81ef1ca875595a651c74bb20d062bfe79]
Former-commit-id: 92e3b3e933fca77ba3985679dca3e3efbef40233
2017-07-13 13:41:51 +01:00
Jaifroid
a902bb76c1
Added warning for devs
...
Former-commit-id: 8f7db8c23eaead76df267c4409e9cb87ca465561 [formerly f54e36b5fc49817bf07d1d4f8613f77f1479ecfa]
Former-commit-id: fb2c763cc8b0dd3d23fbbb9e9a84b94555ee9d41
2017-07-12 22:26:17 +01:00
Jaifroid
3529ccdf4a
Allow user to strip the mobile stylesheets
...
Former-commit-id: 304fb75c0d055ac1b43e614e67598d5ca3633aad [formerly 46c1a05f68c964b9a71f017fcdf24192dd476757]
Former-commit-id: 6c5bc8226d12ca52a55f64741bee166785979187
2017-07-12 17:10:15 +01:00
Jaifroid
7a9047633d
Correct accidental load of desktop style in mobile mode
...
Former-commit-id: 07b3ce5d279abb77515dd56df1aab5ef4ee631b2 [formerly 80500fafe17a8de4e9fc41af3e06cb82451f7ff1]
Former-commit-id: 33fe2ce106544025f5788bc00281cf6675187305
2017-07-12 10:22:37 +01:00
Jaifroid
1b06158623
Added user selectable display style
...
Former-commit-id: bfe71baf2b7894a0b8a8009edfc21212b074764e [formerly d0e90a01a191d403b4fd340424f8eb7e6460d530]
Former-commit-id: 4d153cb7308260705001bb1c5b15931361da7155
2017-07-12 08:44:39 +01:00
Jaifroid
67c8b60069
Better mobile rendering
...
Former-commit-id: e45c4013eb3c4c8ee42d245085ba6851a7ce52fa [formerly d977783c91aac2163d4b06a4220927e392704c8e]
Former-commit-id: c8210cb179775fafca10f5b93dbaad89c2a9b260
2017-07-11 23:02:15 +01:00
Jaifroid
5295af46a1
Implements mobile style
...
Mobile is set as default in init.js
Former-commit-id: 8aefa91d818b469c93266f081708005ec0932ef6 [formerly efab5b7fb9747d3c2efd5466c8dce1befec7f462]
Former-commit-id: 36bf8b4b8dd6234598e14455170f49b45c1cfd39
2017-07-10 18:32:26 +01:00