Jasper van Merle
fef9589fae
Simplify service worker and don't show analytics setting/notification in development
6 years ago
Jasper van Merle
22f7bcf987
Fix fetch issues with browser extension resources
6 years ago
Jasper van Merle
0b1adb5291
Fix #1054
6 years ago
Jasper van Merle
eada92ec98
Remove newline
6 years ago
Jasper van Merle
ad8cd233d7
Update service worker to more accurately detect 'internal' url's
6 years ago
Jasper van Merle
eb1429da12
Fix service worker for docs with multiple versions
6 years ago
Jasper van Merle
96cadd449b
Fix service worker for disabled docs
6 years ago
Jasper van Merle
ba46b7841b
Set theme color depending on DevDocs theme
6 years ago
Jasper van Merle
c28305b0b7
Implement review suggestions
6 years ago
Jasper van Merle
b8a5c6be90
Update unsupported browser versions
6 years ago
Jasper van Merle
576f32dae1
Make service worker opt-in in development
6 years ago
Jasper van Merle
4a088caf7c
Remove redundant server-side rendering
6 years ago
Jasper van Merle
dd23a6c7b7
Move all styling configuration to the client
6 years ago
Jasper van Merle
aaf9904cb3
Remove redundant server-side styling
6 years ago
Jasper van Merle
35dd78f191
Refactoring
6 years ago
Jasper van Merle
7af10a020d
Cache debug.js when not running in production
6 years ago
Jasper van Merle
0e9aa8847b
Add preference to bypass service worker cache
6 years ago
Jasper van Merle
ec8616e289
Service worker refactoring
6 years ago
Jasper van Merle
8ed1f4ace1
Replace AppCache with a service worker
6 years ago
Thibaut Courouble
b6358992d5
Copy changes to reflect that DevDocs is now operated by freeCodeCamp
6 years ago
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.
6 years ago
Thibaut Courouble
847cfbb682
Update browser requirements
6 years ago
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.
6 years ago
Thibaut Courouble
cbfc73951b
Improve Help page
...
Closes #676 .
7 years ago
Thibaut Courouble
6aaba67b11
SEO and social sharing tweaks
7 years ago
Thibaut Courouble
0330f89b36
Fix <body> class attribute
7 years ago
Thibaut Courouble
8ddc08ca9b
Serve web app manifest from canonical origin
7 years ago
Thibaut Courouble
7428645dc1
Improve app loading sequence
7 years ago
Thibaut Courouble
9e97357524
Add web app manifest
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
4e1b61e82c
Minor SEO
8 years ago
Thibaut Courouble
d3927c27da
Fix disappearing icons on some pages
8 years ago
Thibaut Courouble
8d2a2fb298
Improve settings UI
...
Rel: #189
8 years ago
Thibaut Courouble
bda3290cc6
Use an SVG icon for "dir" and "path" icons
8 years ago
Thibaut Courouble
c06d1c4d2d
Move the app layout class to the <body> element
8 years ago
Thibaut Courouble
2246c22820
Improve app backend performance
8 years ago
Thibaut Courouble
c13877f833
Split doc icon sprite
8 years ago
Thibaut Courouble
a8073b3a12
Fix and improve doc picker tab navigation
...
Rel #609 .
8 years ago
Thibaut Courouble
29b839589c
Use <button> instead of <a> for mobile settings tabs
8 years ago
Thibaut Courouble
4298c60816
Improve sidebar UI
8 years ago
Thibaut Courouble
062480b464
Fix SVG warnings
8 years ago
Rhys Powell
bde3a70480
Added mask icon for Safari
...
This is used for pinned tabs and the touchbar on the new MacBook Pro
8 years ago
Thibaut Courouble
29ec9db263
UI tweaks
8 years ago
Thibaut Courouble
e94af979d9
Add settings page
8 years ago
Thibaut Courouble
ce8079fff3
Fix tabindex attribute breaking default text cursor in Firefox
8 years ago
Thibaut Courouble
0f238609da
UI improvements
8 years ago
Thibaut Courouble
ad044f85d3
Fix keyword search in Firefox and URL search via query param
...
Fixes #577 .
8 years ago
Thibaut Courouble
f333f44111
Tweak title tags
8 years ago
Thibaut Courouble
7e0d60a241
Add application-name meta tag
8 years ago
Thibaut Courouble
d6823d823a
Make hardcoded refs to devdocs.io and cdn.devdocs.io config vars
8 years ago