Commit graph

119 commits

Author SHA1 Message Date
Oliver Eyton-Williams
c6264eb1bf
fix: remove cdn entirely and rely on Cloudflare 2021-02-16 11:44:57 +01:00
Jasper van Merle
fef9589fae Simplify service worker and don't show analytics setting/notification in development 2019-08-17 22:55:40 +02:00
Jasper van Merle
22f7bcf987 Fix fetch issues with browser extension resources 2019-08-15 03:18:15 +02:00
Jasper van Merle
0b1adb5291 Fix #1054 2019-08-14 17:36:06 +02:00
Jasper van Merle
eada92ec98 Remove newline 2019-08-06 13:00:03 +02:00
Jasper van Merle
ad8cd233d7 Update service worker to more accurately detect 'internal' url's 2019-08-06 12:59:27 +02:00
Jasper van Merle
eb1429da12 Fix service worker for docs with multiple versions 2019-08-06 00:03:58 +02:00
Jasper van Merle
96cadd449b Fix service worker for disabled docs 2019-08-05 18:29:00 +02:00
Jasper van Merle
ba46b7841b Set theme color depending on DevDocs theme 2019-07-12 17:13:27 +02:00
Jasper van Merle
c28305b0b7 Implement review suggestions 2019-07-12 03:06:04 +02:00
Jasper van Merle
b8a5c6be90 Update unsupported browser versions 2019-07-10 21:10:36 +02:00
Jasper van Merle
576f32dae1 Make service worker opt-in in development 2019-07-10 19:48:36 +02:00
Jasper van Merle
4a088caf7c Remove redundant server-side rendering 2019-07-08 02:02:58 +02:00
Jasper van Merle
dd23a6c7b7 Move all styling configuration to the client 2019-07-08 01:42:34 +02:00
Jasper van Merle
aaf9904cb3 Remove redundant server-side styling 2019-07-07 15:21:29 +02:00
Jasper van Merle
35dd78f191 Refactoring 2019-07-07 14:30:31 +02:00
Jasper van Merle
7af10a020d Cache debug.js when not running in production 2019-07-07 14:19:04 +02:00
Jasper van Merle
0e9aa8847b Add preference to bypass service worker cache 2019-07-07 14:11:39 +02:00
Jasper van Merle
ec8616e289 Service worker refactoring 2019-07-07 03:25:42 +02:00
Jasper van Merle
8ed1f4ace1 Replace AppCache with a service worker 2019-07-07 00:55:58 +02:00
Thibaut Courouble
b6358992d5 Copy changes to reflect that DevDocs is now operated by freeCodeCamp 2018-12-18 15:02:15 -05:00
Thibaut Courouble
e8d52c9cfd Fix app cache not updating when changing the app's color theme
This is needed because the index page is part of the app cache, and the <html> tag has a different class depending on the theme.
2018-10-10 10:10:19 -04:00
Thibaut Courouble
847cfbb682 Update browser requirements 2018-10-08 18:08:23 -04:00
Jed Fox
a30fcf9d9a Switch from SASS variables to CSS variables
* Switch from SASS variables to CSS variables for most styling
  These are the simple cases, and the more complex ones will be covered by future commits. I’ve also replaced $fooZ ± 1 with the appropriate variable to avoid a runtime `calc()`.

* Eliminate the `$style` variable 🔥
  I’ve added a `--absolute` variable that’s `white` in dark mode and `black` in regular mode.

* Remove `$inputFocusBorder` 🔥

* Switch the Prism styles to CSS variables

* Convert `$mediumScreen` to a mixin

* 🔥 `$selectionText`

* Eliminate the final uses of SCSS variables
  I’ve dropped the 95% opacity on the background of the method source code overlay in RDoc since the difference isn’t noticeable but it makes implementation a lot easier.

* Misc fixes

* Extract the common variables from the two themes to a new file

* Remove illegal usages of CSS variables in SCSS functions
  This flattens out the buttons on the settings page which makes the styles simpler (and more modern-looking IMO) and removes the box-shadow on the button, which was completely invisible to me.

* Fix usages of SCSS functions in CSS variables

* Use `html._theme-*` selectors

* Eliminate `application-dark.css`; switch themes by toggling classes
  This also means that the Application Cache doesn’t have to get updated when toggling themes, and a new CSS file that’s nearly the same doesn’t need to be downloaded.
2018-10-07 12:27:07 -04:00
Thibaut Courouble
cbfc73951b Improve Help page
Closes #676.
2017-09-24 12:33:20 -04:00
Thibaut Courouble
6aaba67b11 SEO and social sharing tweaks 2017-09-23 12:55:04 -04:00
Thibaut Courouble
0330f89b36 Fix <body> class attribute 2017-09-10 18:33:29 -04:00
Thibaut Courouble
8ddc08ca9b Serve web app manifest from canonical origin 2017-09-10 18:16:52 -04:00
Thibaut Courouble
7428645dc1 Improve app loading sequence 2017-09-09 18:16:16 -04:00
Thibaut Courouble
9e97357524 Add web app manifest 2017-09-09 18:16:16 -04:00
Thibaut Courouble
64f04305d3 Replace all remaining PNG UI icons with SVGs 2017-09-09 14:57:53 -04:00
Thibaut Courouble
4e1b61e82c Minor SEO 2017-08-08 08:12:53 -04:00
Thibaut Courouble
d3927c27da Fix disappearing icons on some pages 2017-08-07 17:52:03 -04:00
Thibaut Courouble
8d2a2fb298 Improve settings UI
Rel: #189
2017-08-06 12:32:02 -04:00
Thibaut Courouble
bda3290cc6 Use an SVG icon for "dir" and "path" icons 2017-08-06 11:01:52 -04:00
Thibaut Courouble
c06d1c4d2d Move the app layout class to the <body> element 2017-06-25 17:55:17 -04:00
Thibaut Courouble
2246c22820 Improve app backend performance 2017-05-22 17:42:00 -04:00
Thibaut Courouble
c13877f833 Split doc icon sprite 2017-05-14 15:41:00 -04:00
Thibaut Courouble
a8073b3a12 Fix and improve doc picker tab navigation
Rel #609.
2017-04-15 12:27:43 -04:00
Thibaut Courouble
29b839589c Use <button> instead of <a> for mobile settings tabs 2017-03-05 11:51:27 -05:00
Thibaut Courouble
4298c60816 Improve sidebar UI 2017-02-26 17:18:27 -05:00
Thibaut Courouble
062480b464 Fix SVG warnings 2017-02-26 16:40:22 -05:00
Rhys Powell
bde3a70480 Added mask icon for Safari
This is used for pinned tabs and the touchbar on the new MacBook Pro
2017-02-26 14:53:01 -05:00
Thibaut Courouble
29ec9db263 UI tweaks 2017-02-26 14:53:00 -05:00
Thibaut Courouble
e94af979d9 Add settings page 2017-02-26 09:59:43 -05:00
Thibaut Courouble
ce8079fff3 Fix tabindex attribute breaking default text cursor in Firefox 2017-02-26 09:59:43 -05:00
Thibaut Courouble
0f238609da UI improvements 2017-02-26 09:59:43 -05:00
Thibaut Courouble
ad044f85d3 Fix keyword search in Firefox and URL search via query param
Fixes #577.
2017-02-19 09:34:59 -05:00
Thibaut Courouble
f333f44111 Tweak title tags 2017-02-05 17:00:16 -05:00
Thibaut Courouble
7e0d60a241 Add application-name meta tag 2017-01-02 13:47:23 -05:00