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

116 Commits

Author SHA1 Message Date
Antoine Boulanger
d166261d0a Add loco scroll v2, update load module and app, update html, add nomodule polyfills script tags 2019-05-23 10:06:45 -04:00
Antoine Boulanger
88aa667090 Start adding modularjs & modularload, start updating readme, update html files, change jquery cdn, remove IE from babelrc 2019-03-24 17:15:47 -04:00
Antoine Boulanger
581f82b441 Change meta order 2019-02-11 11:42:09 -05:00
Antoine Boulanger
5281c12e96 Add missing favicons and manifests, update html metas 2019-02-11 11:40:43 -05:00
Deven Caron
d372d1867f smoothscroll false by default, scroll module renaming 2018-10-17 12:05:33 -04:00
Deven Caron
6cf0bd8375 added scrollbar style 2018-10-17 11:45:20 -04:00
Deven Caron
4676d277f5 added scroll extends + LocomotiveScroll module + scroll basic style 2018-10-17 10:53:08 -04:00
Julien Martins Da Costa
5c77eb9c61 Merge pull request #62 from locomotivemtl/remove.jshintesnext
Remove jshint esnext and use esversion: 6
2018-05-10 11:47:58 -04:00
Deven Caron
580985fe27 Fix export event Transition 2018-05-10 11:12:05 -04:00
Julien Martins Da Costa
2116efb8c2 Remove jshint esnext: http://jshint.com/docs/options/#esnext and use esversion: 6 2018-05-01 09:50:13 -04:00
Quentin Hocdé
33d4c9637d compile prev commit 2018-02-26 14:21:50 -05:00
Quentin Hocdé
42d8fec62d init modules then add css class + exec script inline 2018-02-20 11:20:09 -05:00
Quentin Hocdé
93c50ddc9c remove useless things, update todo 2018-02-06 14:25:30 -05:00
Quentin Hocdé
f00fc2fcd2 Update : manage clickedLink via pjax:send, logs if isDebug, manage events, add schema to explain the order of executions, refactoring after tests in a real project 2018-02-05 15:17:39 -05:00
Quentin Hocdé
27c09301db update todo, and fix innerHTML view delay 2018-02-02 09:34:24 -05:00
Quentin Hocdé
bd33e8cb02 data-transition on link, and BaseTransition as interface 2018-02-01 16:14:35 -05:00
Quentin Hocdé
8b77d8ae40 update todo 2018-02-01 10:07:52 -05:00
Quentin Hocdé
75817d77f4 (WIP) : rewrite TransitionManager, init pjax, manage no-transition class, manage wrapper&container like barba, defaultTransition (interface?), add @todo. 2018-02-01 09:58:18 -05:00
Quentin Hocdé
60bb9cf347 add familly.scss 2017-12-07 11:16:46 -05:00
Julien Martins Da Costa
b9721dda89 Remove the border-radius in Chrome 62+ on macOS 2017-10-31 10:02:59 -04:00
Quentin Hocdé
e0399fa26e compilation 2017-10-16 11:11:52 -04:00
Quentin Hocdé
30063039a3 delete modules before removing the old container 2017-10-11 10:49:40 -04:00
Julien Martins Da Costa
e25a19f53f Fix mixins: font-size, u-accessibly-hidden, u-hidden and u-shown 2017-06-09 10:55:20 -04:00
Antoine Boulanger
000d2f2f13 Update jQuery 2017-06-08 16:47:41 -04:00
Antoine Boulanger
f6595c3172 JS events consts and namespaces 2017-05-30 12:16:13 -04:00
Quentin Hocdé
50dd8042dd Layout, fix $gutter left padding 2017-05-17 11:04:04 -04:00
Julien Martins Da Costa
0baf4ae436 Fix arguments for barba linkClicked event 2017-05-01 15:36:43 -04:00
Chauncey McAskill
06ad6b0cb3 Simplified [data-module] split 2017-05-01 14:52:44 -04:00
Dominic Lord
8b9ee3d0ec Cleanup uid once module destroyed + destroy parent class + added example 2017-04-06 14:04:29 -04:00
Julien Martins Da Costa
af01ff20ee Fix undefined variable in and 2017-03-22 16:14:35 -04:00
Dominic Lord
295d8f282b Merge pull request #56 from locomotivemtl/mcaskill-has-js
Mcaskill has js
2017-03-02 12:36:25 -05:00
Chauncey McAskill
8a93c9d178 Added ‘.has-no-js’ and ‘.has-js’ to <html>
Useful for CSS, e.g.:

```
.has-js .hide-if-js,
.has-no-js .hide-if-no-js {
    display: none;
}
```
2017-03-02 12:35:52 -05:00
Dominic Lord
39f703501e Merge branch 'master' into mcaskill-scss 2017-03-02 12:28:01 -05:00
Dominic Lord
c5d34fb0ab Added scoped module deletion
- Ability to search through a DOM element and destroy any modules within it
- Added an init() hook on AbstractModule. Used to execute any code that does not belong in a constructor (which is most of what we do)
2017-03-02 11:55:55 -05:00
Dominic Lord
992c851303 Compiled scripts 2017-03-02 09:55:07 -05:00
Dominic Lord
3483e1530b Barba as a service 2017-03-02 09:43:20 -05:00
Dominic Lord
cc547e484b Cleanup example modules (todo: add in documentation) 2017-03-02 08:57:46 -05:00
Antoine Boulanger
55fe0f372a Consistency in comments, names and structure; simplify some stuff, remove and add things, tweak stuff for how we work with design
Still some work has to be done while testing like for layouts.
2017-02-08 11:43:28 -05:00
Chauncey McAskill
2ac2d523cc Refactored Sass
Merged SCSS from various recent projects and implemented some of the latest features from InuitCSS.

When using the SCSS structure in your own project, modify the ‘settings/config*.scss’ files and leave ‘settings/core.scss’ intact.

Changes:
- Updated Normalize to 5.0.0;
- Migrated imports to ‘main.scss’;
- Split ‘settings.scss’ into smaller parts;
- Revised variable names for settings;
- Added spacing unit variables;
- Replaced ‘objects/grid.scss’ with ‘objects/layout.scss’ (from inuitcss);
- Added ‘objects/crop.scss’ and ‘objects/ratio.scss’ (from inuitcss);
- Added @font-face mixin/function from Bourbon;
- Added various new functions and mixins (widths, font-size, truncation,…);
- Renamed Trumps to Utilities;
- Added vatious new Utilities (print, states, spacing, widths);
- Reorganized Utilities into topics;
2016-12-19 13:43:35 -05:00
Chauncey McAskill
0facd79d7e Revised JS
Changes:
- Added constants for APP_NAME, DATA_API_KEY;
- Added constants for Event and Selector to the Button and Title modules;
- Cleaned up syntax for JS modules;
2016-12-18 15:45:52 -05:00
Joel Alphonso
1dff1b9451 _ratio.scss tool added to restrain a container to an unitary or fractional proportion 2016-10-27 16:26:17 -04:00
Chauncey McAskill
79219e0659 Updated EditorConfig Recommendations
Applied 4-spaces for everything as per: https://locomotivemtl.teamwork.com/tasks/7113032
2016-09-07 18:30:36 -04:00
Chauncey McAskill
3953fbca7b Merge pull request #46 from locomotivemtl/mcaskill-svg-sprite
Added 'grunt-svg-sprite' plugin
2016-09-07 18:24:06 -04:00
Chauncey McAskill
b7233b7ddb Really delete htaccess 2016-09-07 18:19:36 -04:00
Chauncey McAskill
a0f74506d2 Added 'grunt-svg-sprite' plugin
The plugin replaces 'svgmin' and 'svgstore' with an all-in-one and highly flexible solution for managing SVG assets.

Changes:
- Deleted 'assets/images/sprite/', SVG images can live anywhere within the source image directory;
- When compiled to 'www/assets/images/sprite.svg', the plugin generates an HTML file in 'assets/images/sprite.symbol.html' that serves as an index of the spritesheet's contents;
- A separator ("--") is used when traversing a directory structure for the symbol ID (e.g, 'sprite.svg#icons--social--twitter');
2016-08-22 09:33:07 -04:00
dominiclord
bf0c7e148c Adding commonly used scrollTo + cleaning up utils + cleaning up globals 2016-07-19 10:21:09 -04:00
dominiclord
7190a7dccb Adding Babel transform for <= IE10 ES6 support 2016-07-14 14:41:30 -04:00
Antoine Boulanger
61a4d20f9b Delete htaccess 2016-06-30 16:39:51 -04:00
Antoine Boulanger
b87637a5c6 Update jQuery to 3.0.0 2016-06-30 16:38:27 -04:00
Antoine Boulanger
9138e1ee52 Move svg4everybody to NPM 2016-06-30 16:38:27 -04:00