Commit Graph
35 Commits
Author SHA1 Message Date
Djamil Legato f567f128d0 Optimization: detaching mutation event if the menu mobile is not detected in the page 2015-04-17 10:25:40 -07:00
Djamil Legato 8e1e1e5983 Implemented menu overlay for touch devices to close the entire menu. Cleanup 2015-04-16 23:29:46 -07:00
Djamil Legato 2f6cb1de46 Yikes, ugly typo 2015-04-16 22:10:00 -07:00
Djamil Legato 0077a83169 Auto adjust heights in slideouts 2015-04-16 21:48:59 -07:00
Djamil Legato 4bef6383b7 If the mutator target is not the mobile container it's not worth continuing 2015-04-16 21:47:29 -07:00
Djamil Legato d61b48fb84 Ensuring to close all sub levels when closing a parent 2015-04-16 19:36:09 -07:00
Djamil Legato de203472ba Added mutators to hide any offcanvas toggle when not needed 2015-04-16 18:29:04 -07:00
Djamil Legato 3335e2af41 Allowing clicking through sublevels if it's not the main navigation (ie, offcanvas) 2015-04-16 16:54:19 -07:00
Djamil Legato cdb08fe059 Leftover console.log 2015-04-16 16:06:22 -07:00
Djamil Legato 4607053e68 Fullwidth menu slideouts 2015-04-16 15:27:14 -07:00
Djamil Legato cd9bc9037b Temporary exposing $ for development 2015-04-16 15:27:03 -07:00
Djamil Legato 50afd6a8e0 Only trigger mouse events if the menu allows it 2015-04-15 18:14:02 -07:00
Djamil Legato 15c1020b85 Implemented matchMedia to move the menu to and from the offcanvas based on the Large Mobile breakpoint 2015-04-15 17:26:35 -07:00
Djamil Legato bf9301506d Ensuring mouse over/out events only trigger g-standard menu types 2015-04-15 17:23:32 -07:00
Djamil Legato 7ae0eda6a4 Stopping propagation of the event if it's a parent separator 2015-04-15 15:47:02 -07:00
Djamil Legato d9d70f575f Using top fix for dropdowns only if device doesn't have touch events 2015-04-15 15:43:30 -07:00
Djamil Legato b9fcd29e0b Implemented touch actions for opening / closing dropdowns. Compatibility with touch screen devices with mouse support 2015-04-15 15:25:33 -07:00
Djamil Legato a290704db6 Adding g-menu-hastouch to menu containers when touch device is detected 2015-04-15 14:07:13 -07:00
Djamil Legato 2d0d20ca40 Inizial JS implementation for the new revamped menu (#58) 2015-04-15 13:32:23 -07:00
Djamil Legato ae70da864f Oops, didn't mean to remove the touch events check for delegation 2015-04-13 13:36:06 -07:00
Djamil Legato 30bf31d7cd 1. Tolerance of offcanvas is now a customizable callback and set to half the size of the offcanvas by default. 2. Fixed different issues to handle both left / right sides. 2015-04-13 13:33:27 -07:00
Djamil Legato 30b15d5c1b Coordinating overlay opacity while swiping. Code optimizations 2015-04-12 20:04:32 -07:00
Djamil Legato 5edddd83fc Fixed swipe when offcanvas is placed on the right handside 2015-04-12 18:39:02 -07:00
Djamil Legato d92a211eef Implemented swipe for touch devices to open / close the offcanvas. Moved .g-offcanvas-open from body to html 2015-04-11 23:08:53 -07:00
Djamil Legato f06c4e0776 Optimizations and Touch support 2015-04-10 23:27:23 -07:00
Djamil Legato 2721cda04e Initial offcanvas js logic. 2015-04-10 21:46:03 -07:00
Djamil Legato 937ffa025e Moved the whole proj to gulp instead of grunt 2015-04-10 11:50:28 -07:00
Djamil Legato 1143988f8a Temporary solution for developing frontend menu. 2015-04-09 14:13:35 -07:00
Djamil Legato 5ac9470ae4 Merge branch 'develop' into feature/menu-click-hover
# Conflicts:
#	assets/common/application/menu/index.js
#	assets/common/js/main.js
#	platforms/common/css-compiled/admin.css
#	platforms/common/js/main.js
2015-04-05 20:28:34 -07:00
Djamil Legato c6ec4d05c9 Disabled compressed JS for menu causing issues in Safari 2015-04-03 09:47:38 -07:00
Djamil Legato 51483af93a Initial revamp of Menu system. Added a DetectMouse method that will be used later on for properly toggle mouseover events/ touch events 2015-04-01 11:11:32 -07:00
Djamil Legato ef3583c859 #30, menu could potentially show empty in mobile view 2015-03-31 14:41:34 -07:00
Djamil Legato 157875c725 Updated menu package.json to use custom elements module 2015-03-30 18:17:44 -07:00
Djamil Legato 1fcbe851e4 Uncompressed frontend js causing issues on iphone [GANTRYFIVE-143] 2015-03-24 23:41:28 +01:00
Matias Griese d3a3fdae2f Theme restructuring: Move common platform files into their proper location 2015-03-23 15:59:33 +02:00