diff --git a/data.js b/data.js index 412af10a7..79b8af760 100644 --- a/data.js +++ b/data.js @@ -704,7 +704,63 @@ sound: '???' } ] - } + }, + tree: [ + { + "name": "Aquire", + "type": "folder", + "dataAttributes": { "id": "aquire-folder" }, + "children": [ + { + "name": "POS Receipt", + "type": "item" + }, + { + "name": "Confirm Subscription", + "type": "item" + }, + { + "name": "Thanks for Signing Up", + "type": "item" + } + ] + }, + { + "name": "Onboard", + "type": "folder" + }, + { + "name": "Engage", + "type": "folder", + "dataAttributes": { "id": "engage-folder" }, + "children":[ + { + "name": "Abandoned Cart", + "type": "folder", + "children": [ + { + "name": "Archive", + "type": "folder" + } + ] + }, + { + "name": "Transactional", + "type": "folder", + "children": [ + { + "name": "Archive", + "type": "folder" + } + ] + } + ] + }, + { + "name": "Retain", + "type": "folder" + } + ] }; window.data = data; diff --git a/less/tree.less b/less/tree.less index b9f84fd69..893b54d49 100644 --- a/less/tree.less +++ b/less/tree.less @@ -38,7 +38,6 @@ -ms-transform:rotate(90deg); -webkit-transform:rotate(90deg); position: relative; - left: -5px; } [data-children=false] > .tree-branch-header .icon-caret:before { @@ -86,6 +85,11 @@ .tree-branch-children { margin-left: 14px; } + &[haschildren='false'] { + .icon-caret { + visibility: hidden; + } + } }