1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

264 Commits

Author SHA1 Message Date
Lucas Vallenet
f527488464 Delete queryClosestParent function 2022-06-02 17:23:06 +02:00
Lucas Vallenet
cf3f40c956 Update functions comments 2022-06-02 16:45:31 +02:00
Lucas Vallenet
ebb55769f9 Remove isEqual and isNumeric functions 2022-06-02 11:09:32 +02:00
Lucas
7a23abff92 Merge branch 'master' into feature/scss-font-fallbacks 2022-06-01 16:21:09 +02:00
Lucas
9154deb036 Merge branch 'master' into feature/icons 2022-06-01 16:19:46 +02:00
Lucas
17e8004515 Merge pull request #117 from locomotivemtl/feature/scss-functions
Add Sass functions
2022-06-01 16:17:27 +02:00
Lucas Vallenet
9a461ab4c0 Remove events.js 2022-06-01 14:21:14 +02:00
Lucas Vallenet
fd5efe3531 Update functions comments 2022-06-01 11:02:26 +02:00
Lucas Vallenet
f1e4cd2c55 Update comments 2022-05-31 13:19:34 +02:00
Chauncey McAskill
b7d25c5865 Update _fonts.scss
Improved block comments and error for mixins.
2022-05-30 15:00:24 -04:00
Lucas Vallenet
0a199afe01 Add unsaved comments 2022-05-30 16:44:19 +02:00
Lucas Vallenet
8ca570b37a Font fallbacks 2022-05-30 16:41:53 +02:00
Lucas
3a94c6aba9 Merge branch 'master' into feature/scss-variables-namespace 2022-05-30 13:09:26 +02:00
Lucas Vallenet
eddc0ee156 Edit logs 2022-05-26 13:42:49 +02:00
Lucas Vallenet
202e4064f8 Remove removeCustomEvent (no use). Add logs 2022-05-26 13:42:38 +02:00
Lucas Vallenet
e20111fd2e Add removeCustomEvent util 2022-05-26 13:32:52 +02:00
Lucas Vallenet
de0c4993cb Add config.js / Add tickers utils / Add events utils 2022-05-26 13:06:27 +02:00
Lucas Vallenet
b162c62930 Remove logo.svg / Remove html example markup / Update scss instructions 2022-05-25 17:13:35 +02:00
Lucas Vallenet
cb27975087 Update maths comments / Add pixel value function 2022-05-25 16:02:15 +02:00
Chauncey McAskill
0b667542f5 Refactor visibility.js
Replaced custom callback stacks for executing handlers on page visibility change with native event listener interface and custom event types.

Added:
- Class `PageVisibility` with methods to disable/enable custom event types and check if feature is enabled.
- Custom event types "visibilityhidden" and "visibilityvisible".
2022-05-25 09:54:01 -04:00
Lucas Vallenet
d7de1b2566 Update scss maths comments 2022-05-25 13:57:30 +02:00
Lucas Vallenet
34bca7d68a Rename z-index layers var and update function 2022-05-25 13:54:03 +02:00
Lucas Vallenet
f44093ec19 Update scss semicolon spacings 2022-05-25 13:47:45 +02:00
Lucas Vallenet
6a4043408b Remove export comment 2022-05-25 13:28:15 +02:00
Lucas Vallenet
92500f908f Add roundNumber util 2022-05-25 13:27:40 +02:00
Lucas Vallenet
d97fa82c77 Remove array util 2022-05-25 13:27:30 +02:00
Lucas Vallenet
ccf813f6be Update functions / ES6 syntax / Add functions comments 2022-05-20 16:51:24 +02:00
Lucas Vallenet
141a8ffa97 Update scss vars namespace and add easings 2022-05-20 13:32:47 +02:00
Lucas Vallenet
e875495928 Add z-index function 2022-05-20 11:44:42 +02:00
Lucas Vallenet
c2db2e1922 Add SCSS Math functions 2022-05-20 11:42:06 +02:00
Lucas Vallenet
5199ee2025 Double comments / Paragraphs and lists line-breaks / Wrap block comments / File-level annotations syntax / Remove leading comments 2022-05-17 12:08:01 +02:00
Lucas Vallenet
d6c8fdac23 Standardize scss comments 2022-05-12 16:15:44 +02:00
Lucas Vallenet
9e35894ef1 Revert comments changes to apply to document.scss only 2022-05-12 11:01:51 +02:00
Lucas Vallenet
cabeba55c0 Fix font-face $dir error | Update description comments to SASS synthax 2022-05-02 16:56:25 +02:00
Lucas Vallenet
47974a77a9 - Merge _fonts.scss to _page.scss
- Rename _page.scss to _document.scss
- Rename $fontfaces to $font-faces for consistency
- Document _fonts.scss mixins and functions
- Create mixins @font-face for one face
2022-05-02 10:30:35 +02:00
Lucas Vallenet
e8b2a86798 Update fontface system with scss lists, function and mixin 2022-04-29 13:51:46 +02:00
Lucas Vallenet
da66f89d7f Add icon object styles and html example 2022-04-29 13:36:54 +02:00
Deven Caron
d99a69f212 Fix undefined target on LS instance lazyLoad args 2021-10-27 10:33:44 -04:00
Deven Caron
082f3b5827 Replace queryClosestParent with Element.prototype.closest 2021-10-19 14:46:38 -04:00
Deven Caron
df567220d5 Syntax changes & coding style 2021-10-19 14:45:24 -04:00
Deven Caron
7d35dcbf28 Precise usage & better comments 2021-10-19 14:41:43 -04:00
Deven Caron
f2b657568a Add image lazyloading utils 2021-10-18 16:45:31 -04:00
Chauncey McAskill
e7935211cd Replace non-breaking space in JS imports 2021-09-20 10:54:56 -04:00
Jérémy Minié
72eaf582a5 Tweak spacing classes to use rem straight away 2021-05-06 17:04:43 -04:00
Jérémy Minié
e4d1c0058a Nuke templates unused style folder 💥 2021-05-06 17:04:27 -04:00
Jérémy Minié
bcb7525019 Tweak o-layout gutters to match $unit & $unit-small 2021-05-06 17:03:55 -04:00
Jérémy Minié
03b3d211c8 Add a catalog of easing variables 2021-05-06 17:03:45 -04:00
Chauncey McAskill
0d42f65ff6 Skip init function if stylesheet not found
Instead of throwing an error about a member not being defined or accessed on NULL.
2021-04-09 15:23:45 -04:00
Chauncey McAskill
b62385c4e0 Change Sass $assets-path value for critical.css 2021-03-23 12:29:09 -04:00
Quentin Hocdé
fbe2a6badf Fix app.js coding style and rename css id 2021-03-05 09:30:54 -05:00