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
7d3c6bd970
Force HTTPS
6 years ago
Jasper van Merle
85f57fe5d0
Add option to automatically download documentation
6 years ago
Nicolas Ettlin
2d6c1be335
Add Vue Router reference
6 years ago
Nicolas Ettlin
b98ab152c8
Add Composer
6 years ago
Thibaut Courouble
24abe4c9d9
Finish Handlebars.js scraper
6 years ago
Jasper van Merle
8b9c62d791
Add Handlebars.js documentation
6 years ago
Thibaut Courouble
62e07e4e4d
Finish Puppeteer scraper
6 years ago
Jasper van Merle
a6b7bd53c2
Add Puppeteer documentation
6 years ago
Thibaut Courouble
1820fe328c
Update CMake documentation (3.12.1)
7 years ago
Thibaut Courouble
e35298c745
Finish Qt scraper
7 years ago
Nicolas Ettlin
67b5e3cb47
Add Qt scraper
7 years ago
Natnael Getahun
1bc380f12d
Add DuckDuckGo shortcut
...
Added an alias ```alt + d``` to be DuckDuckGo shortcut
7 years ago
Thibaut Courouble
17964b67d4
Finish Dart scraper
7 years ago
Thibaut Courouble
e8a20a8f8e
Update Prism.js
7 years ago
Jasper van Merle
0429e07761
Add Dart documentation
7 years ago
Thibaut Courouble
4e56a77012
Finish Graphite scraper
7 years ago
Jasper van Merle
7d6e45c325
Add Graphite documentation
7 years ago
Thibaut Courouble
a71f48ea10
Finish Bash scraper
7 years ago
Jasper van Merle
1d56144a4b
Add Bash documentation
7 years ago
Thibaut Courouble
34fe833d82
Finish Pygame scraper
7 years ago
Thibaut Courouble
ad7be4d061
Finish Koa scraper
7 years ago
Thibaut Courouble
b4cd5f1802
Finish Terraform scraper
7 years ago
Thibaut Courouble
15f79fa488
Finish Leaflet scraper
7 years ago
Thibaut Courouble
4bd451a4db
Update link to freecodecamp blog
7 years ago
Beau Carnes
68bd35c1bc
update Flow version
7 years ago
Grant Bourque
d657377d1c
Use `document.scrollingElement` for mobile scrolls
...
- Set `document.scrollingElement` as the scrolling element
for scrolling to anchors when the app is mobile mode
to enhance support in newer browsers.
The CSS View Module spec considers `document.documentElement`/`<html>`
to be the standard scrolling element
and that is what appears to be used in the latest Firefox and Chrome.
However, some older browsers and even the current Safari
use `document.body` as the scrolling element
which is why I suspect the original code used `document.body`.
Since some browsers scroll on different elements,
`document.scrollingElement` exists
so the browser can tell us what to use
for scrolling to anchors work for all modern browsers.
Since `document.scrollingElement` is undefined in older browsers,
`document.body` is available as fallback mobile scrolling element.
7 years ago
Jasper van Merle
4b12335b19
Fix #829
7 years ago
Jed Fox
a5b6ffb116
Move “DevDocs” in the tab title to after the dynamic portion of the title
7 years ago
Grant Bourque
d5d913fc11
Use browser dimensions for mobile detection
...
- Use `max-width`/`max-height` mobile detection media queries
instead of `max-device-width`/`max-device-height`.
Some browsers inaccurately report the device dimensions
and get the mobile version of the DevDocs unexpectedly.
Not depending on the device dimensions also improves the experience
by displaying the mobile version
if a desktop browser window is sufficiently small enough.
7 years ago
Mark Knol
2c5f9d0627
Update haxe.rb
...
Add all targets / copyright year
7 years ago
Thibaut Courouble
0e188e3b11
Update Vue.js documentation (2.5.16)
7 years ago
Thibaut Courouble
4eb71d5663
Update Underscore.js documentation (1.9.0)
7 years ago
Thibaut Courouble
5b2ff8bd37
Update Redis documentation (4.0.9)
7 years ago
Thibaut Courouble
47591b9239
Update D3.js documentation (5.1.0)
7 years ago
Thibaut Courouble
587124a0b2
Update CakePHP documentation (3.6.2)
7 years ago
Thibaut Courouble
d478fb4d83
Update Bower documentation (1.8.4)
7 years ago
Thibaut Courouble
91fc239046
Update Apache HTTP Server documentation (2.4.33)
7 years ago
Thibaut Courouble
d48396de57
DevDocs → freeCodeCamp
7 years ago
Thibaut Courouble
1be7a8f37d
Update Ansible documentation (2.4.3)
...
Fixes #752 .
7 years ago
Thibaut Courouble
cbe12622de
Update CodeIgniter documentation (3.1.8)
7 years ago
Thibaut Courouble
a54038cb05
Fix HTML typo
7 years ago
Thibaut Courouble
a379b6299d
Ask all HTTP users to switch to HTTPS
7 years ago
Thibaut Courouble
e8bb76fe53
Update links to HTTPS
7 years ago
Thibaut Courouble
db9cc83b90
Update lodash documentation (4.17.5)
7 years ago
Thibaut Courouble
4571b01c02
Update Codeception documentation (2.4.0)
7 years ago
Thibaut Courouble
95895b1b73
Update Yarn documentation (1.5.1)
7 years ago
Thibaut Courouble
972ed81acc
Update PHP documentation (7.2.2)
7 years ago
Thibaut Courouble
3d5c228f27
Update Haxe documentation (3.4.7)
7 years ago
Thibaut Courouble
4b7d21b612
Update Vagrant documentation (2.0.2)
7 years ago
Thibaut Courouble
48012030f4
Update TensorFlow documentation (1.5)
7 years ago
Thibaut Courouble
317910c777
Update PostgreSQL documentation (10.2)
7 years ago
Thibaut Courouble
eaa49e14f0
Update nginx / Lua Module documentation (0.10.11)
7 years ago
Thibaut Courouble
224f97022f
Update nginx documentation (1.13.9)
7 years ago
Thibaut Courouble
fbdbc8dd3d
Update Mocha documentation (5.0.1)
7 years ago
Thibaut Courouble
ceaa89e2b1
Update Kotlin documentation (1.2.21)
7 years ago
Thibaut Courouble
a539ac420b
Update Godot documentation (3.0)
7 years ago
Thibaut Courouble
5d8d84c2b1
Update Git documentation (2.16.2)
7 years ago
Thibaut Courouble
c382eaf3cb
Update Electron documentation (1.8.2)
7 years ago
Thibaut Courouble
2b210a306f
Update D documentation (2.078.3)
7 years ago
Thibaut Courouble
7655ba8543
Update CoffeeScript documentation (2.2.2)
7 years ago
Thibaut Courouble
2a113750fd
Fix changelog entry date format
7 years ago
Thibaut Courouble
7731a599e1
Finish Babel scraper
7 years ago
Jed Fox
17094712e6
Add bash, Django, and YAML syntax highlighting
7 years ago
Jed Fox
517d7003de
Update Prism
7 years ago
Thibaut Courouble
c349caf0f7
Finish Jekyll scraper
7 years ago
Thibaut Courouble
8eb8a9e46d
Finish JSDoc scraper
7 years ago
metarmask
6baa21ee0b
Update OpenSearch instructions for Firefox
7 years ago
Thibaut Courouble
54133da85e
Update Sinon.JS documentation (4.2.2)
7 years ago
Thibaut Courouble
cc5105c07a
Update Elixir documentation (1.6.0)
7 years ago
Thibaut Courouble
e7e4d13681
Update Bootstrap documentation (4.0.0)
7 years ago
Thibaut Courouble
3c84eadba1
Update React documentation (16.2.0)
7 years ago
Thibaut Courouble
d9033ef65e
Update Python documentation (3.6.4)
7 years ago
Thibaut Courouble
704709ba9b
Update Angular documentation (5.1.3)
7 years ago
Thibaut Courouble
118d85fd89
Remove Gratipay
7 years ago
Thibaut Courouble
46a2981aef
2018
7 years ago
Thibaut Courouble
b8c8a42f86
Finish Homebrew scraper
7 years ago
Thibaut Courouble
66d3228f76
Finish ESLint scraper
7 years ago
Kyan
df0f586d07
fix misspelled "occured" to "occurred"
...
Reference: http://www.gingersoftware.com/english-online/spelling-book/misspelling/occurred-occured-ocurred
7 years ago
Thibaut Courouble
dac419289b
Finish Bluebird scraper
7 years ago
Thibaut Courouble
e56343a1d5
Add changelog entry for new print stylesheet
7 years ago
Thibaut Courouble
76aec2bd95
Don't reset to root page when clearing the search field
...
Closes #718 .
7 years ago
Thibaut Courouble
4dc85f8eaa
Update Raven.js
7 years ago
Felix Yan
b55a2946e9
Fix a typo in javascripts/lib/util.coffee
7 years ago
Thibaut Courouble
9337dd651a
Update Mocha documentation (4.0.1)
7 years ago
Thibaut Courouble
e4d841d595
Update React documentation (16.0.0)
7 years ago
Thibaut Courouble
d91e2f98b4
Update Nokogiri documentation (1.8.1)
7 years ago
Thibaut Courouble
712c55cd8c
Update links
7 years ago
Thibaut Courouble
385788c79d
Update Prism.js
7 years ago
Thibaut Courouble
6783d08982
Update Raven.js
7 years ago
Thibaut Courouble
cbfc73951b
Improve Help page
...
Closes #676 .
7 years ago
Thibaut Courouble
786a549f0f
Remove X-Requested-With header to avoid CORS preflight requests
7 years ago
Thibaut Courouble
8f16c6b125
Tweak About page
7 years ago
Thibaut Courouble
411342852b
Change a few external links to https
7 years ago
Thibaut Courouble
4ff7803f7a
Thanks Sentry for the free account
7 years ago
Thibaut Courouble
f5194d35bf
Add automatic/fallback redirection for URLs with missing or incorrect trailing slash
7 years ago
Thibaut Courouble
9cce390ead
Fix alt+o shortcut not preventing default in Firefox
7 years ago
Thibaut Courouble
7bd9af29b7
Update Bower documentation (1.8.2)
7 years ago
Thibaut Courouble
0240932198
Fix exception in $.scrollParent
7 years ago
Thibaut Courouble
44e6316100
Add ability export/import preferences
...
Closes #671 .
7 years ago
Thibaut Courouble
7428645dc1
Improve app loading sequence
7 years ago
Thibaut Courouble
48f5fb1fb9
Change 'reset' link on preferences page to a button
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
e212f62e89
Fix issue when hitting left-arrow keyboard shortcut on a disabled and unversioned doc
7 years ago
Thibaut Courouble
5ce239d211
Fix exception in $.scrollParent
7 years ago
Thibaut Courouble
437eb8dd54
Update Docker documentation (17.06)
7 years ago
Thibaut Courouble
0e134dabdb
Add classList polyfill for IE, which doesn't support it on SVG elements
7 years ago
Thibaut Courouble
30dd32c1b5
Normalize event.target for old browsers incorrectly handling SVG elements
7 years ago
Thibaut Courouble
53f666a742
Use parentNode instead of parentElement as the latter doesn't work on SVG elements in some browsers
7 years ago
Thibaut Courouble
0a6622d656
Add 'cr' alias for 'Crystal'
...
Closes #664 .
7 years ago
Thibaut Courouble
8902d5331d
Finish D scraper
7 years ago
Thibaut Courouble
0df3a77558
Finish Vulkan scraper
7 years ago
Thibaut Courouble
a4ba32ebca
Finish Nim scraper
7 years ago
Thibaut Courouble
54471c859d
Update scikit-learn documentation (0.19)
8 years ago
Thibaut Courouble
67abe21086
Update Express documentation (4.15.4)
8 years ago
Thibaut Courouble
d3927c27da
Fix disappearing icons on some pages
8 years ago
Thibaut Courouble
8d0606d070
Fix OpenJDK entry breaking keyboard navigation in the sidebar
8 years ago
Thibaut Courouble
d7001c2eb5
Optimize DOM query selectors
8 years ago
Thibaut Courouble
581e656fd2
Optimize search autofocus code
8 years ago
Thibaut Courouble
e2ad2e5117
Minor code cleanup
8 years ago
Thibaut Courouble
e7a0101910
Avoid forced style and layout recalculation when clicking entry in the sidebar
8 years ago
Thibaut Courouble
f891e16f39
Optimize scrolling code during page transitions
8 years ago
Thibaut Courouble
6587b7d878
Show/hide the sidebar on hover
...
Closes #657 .
8 years ago
Thibaut Courouble
01afa80686
Improve doc picker UI
...
Rel: #189
8 years ago
Thibaut Courouble
8d2a2fb298
Improve settings UI
...
Rel: #189
8 years ago
Thibaut Courouble
6de748ebc2
Add 'Customize' link next to 'Disabled' list title
...
Rel: #189
8 years ago
Thibaut Courouble
d852bde5f3
Improve "update ready" notification
8 years ago
Thibaut Courouble
bda3290cc6
Use an SVG icon for "dir" and "path" icons
8 years ago
Thibaut Courouble
68c030877d
Update Raven.js
8 years ago
Thibaut Courouble
3f43c03dbc
Update Angular documentation (4.3.2)
8 years ago
Thibaut Courouble
2ff56e28a1
Add 'rs' alias for Rust
...
Closes #655 .
8 years ago
Thibaut Courouble
854cebd257
Finish Godot scraper
8 years ago
Thibaut Courouble
9b28702e3a
Simplify code highlighting
8 years ago
Thibaut Courouble
bd7aec1311
Improve jQuery scraper
8 years ago
Thibaut Courouble
bffabec8a6
Simplify rdoc code highlighting
8 years ago
Thibaut Courouble
d3b35d0460
Update Perl documentation (5.26)
8 years ago
Thibaut Courouble
384ee20b28
Improve Dojo scraper
8 years ago
Thibaut Courouble
150a4b6ab1
Update RequireJS documentation (2.3.4)
8 years ago
Thibaut Courouble
9d53de6a59
Improve Grunt scraper
8 years ago
Thibaut Courouble
05f2a6628c
Update Lua documentation (5.3.4, 5.2.4, 5.1.5)
8 years ago
Thibaut Courouble
85fffdc242
Improve GitHub scraper
8 years ago
Thibaut Courouble
53224a1488
Settings → Preferences
8 years ago
Thibaut Courouble
0c30072edd
Promote @freeCodeCamp in the welcome panel
8 years ago
Thibaut Courouble
170445c95f
Add setting to force native scrollbars on webkit/blink
...
Closes #601 .
8 years ago
Thibaut Courouble
c06d1c4d2d
Move the app layout class to the <body> element
8 years ago
Thibaut Courouble
69ffa7babe
Improve keyboard navigation on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
9adf4e2d9f
Focus the search field when typing '/' or alphanumeric characters on mobile
...
Rel: #638
8 years ago
Thibaut Courouble
48d85f1124
Improve behavior of search scope when hitting escape
...
Closes #639 .
8 years ago
Thibaut Courouble
4bc31ad41f
Update webpack documentation (3.0.0)
8 years ago