{"action":"created","comment":{"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments/48532371","id":48532371,"diff_hunk":"@@ -0,0 +1,193 @@\n+$nav-background: lighten($grey-3, 3%);\n+$nav-background-alt: $grey-3;\n+\n+//*------------- navigation bar -------------*/\n+.nav__list {\n+  text-align: right;\n+  padding: 0;\n+  list-style: none;\n+\n+  @include media($min-width-for-full-navigation) {\n+    text-align: left;\n+  }\n+}\n+\n+.nav__item {\n+  font-size: 19px;\n+  font-weight: bold;\n+  display: block;\n+  margin-left: 0;\n+  margin-bottom: 8px;\n+\n+  @include media($min-width-for-full-navigation) {\n+    display: inline-block;\n+    font-size: 17px;\n+    margin-right: -32px;\n+    margin-left: 20px;\n+    position: relative;\n+    padding: 15px;\n+    cursor: pointer;\n+    max-width: 125px;\n+\n+    &:after {\n+      content: \"\";\n+      position: absolute;\n+      width: 1px;\n+      height: 40px;\n+      background: $border-colour;\n+      top: 50%;\n+      margin-top: -20px;\n+      left: 0;\n+      z-index: 50;\n+    }\n+\n+    &:first-child {\n+      &:after {\n+        display: none;\n+      }\n+    }\n+\n+    &:hover,\n+    &:focus {\n+      background: $nav-background;\n+      z-index: 55;\n+\n+      &:after {\n+        display: none;\n+      }\n+\n+      .nav__sub-nav {\n+        display: block;\n+      }\n+    }\n+  }\n+}\n+\n+.nav__item-label {\n+  &:link,\n+  &:visited {\n+    text-decoration: none;\n+    color: $color-black;\n+  }\n+}\n+\n+.nav__item-label--single {\n+  @include media($min-width-for-full-navigation) {\n+    top: 10px;\n+    position: relative;\n+  }\n+}\n+\n+.nav__sub-nav {\n+  display: none;\n+  background: $nav-background;\n+  position: absolute;\n+  overflow: hidden;\n+  top: 70px;\n+  left: 0;\n+  z-index: 50;\n+}\n+\n+.nav__sub-nav--left {\n+  left: -111px;\n+}\n+\n+.nav__sub-nav--double {\n+  width: 462px;\n+}\n+\n+.nav__sub-nav-list {\n+  padding: 16px 8px 5px 0;\n+  margin: 0;\n+  margin-left: -3px;\n+  width: 190px;\n+  float: left;\n+\n+  .nav__item {\n+    display: block;\n+    font-size: 17px;\n+    font-weight: normal;\n+    max-width: none;\n+    margin-right: 0;\n+    padding: 5px 0 3px;\n+    border-left: 0;\n+\n+    &:hover {\n+      background: none;\n+    }\n+\n+    &:after {\n+      display: none;\n+    }\n+\n+    a {\n+      color: $link-colour;\n+      text-decoration: none;\n+\n+      &.has-circle {\n+        display: inline-block;\n+        width: 88%;\n+        margin-left: 7px;\n+      }\n+    }\n+\n+    a:hover,\n+    a:focus {\n+      text-decoration: underline;\n+    }\n+  }\n+\n+  .nav__item--parent {\n+    font-weight: bold;\n+  }\n+}\n+\n+.nav__sub-nav-list--first {\n+  width: 205px;\n+}\n+\n+.nav__sub-nav-list--second {\n+  margin-left: 0;\n+  background-color: $nav-background-alt;\n+  border-left: 1px solid $border-colour;\n+  padding-right: 15px;\n+  min-height: 281px;\n+  width: 236px;\n+}\n+\n+\n+//*------------- mobile toggler -------------*/\n+.nav__mobile {\n+  display: none;\n+\n+  .js-enabled & {\n+    display: block;\n+\n+    @include media($min-width-for-full-navigation) {\n+      display: none;\n+    }\n+  }\n+\n+\n+  .nav__mobile-link:link,\n+  .nav__mobile-link:visited {\n+    position: relative;\n+    padding-left: 1.25em;\n+    font-size: 1.5em;\n+    color: $color-black;","path":"app/assets/stylesheets/components/_nav.scss","position":null,"original_position":177,"commit_id":"d09cbd2c981222f99a8167c2a1107cf92b6714fc","original_commit_id":"8945a1b64e52e1877dffc8381c192040132f50d9","user":{"login":"benbarnett","id":295469,"avatar_url":"https://avatars.githubusercontent.com/u/295469?v=3","gravatar_id":"","url":"https://api.github.com/users/benbarnett","html_url":"https://github.com/benbarnett","followers_url":"https://api.github.com/users/benbarnett/followers","following_url":"https://api.github.com/users/benbarnett/following{/other_user}","gists_url":"https://api.github.com/users/benbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/benbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbarnett/subscriptions","organizations_url":"https://api.github.com/users/benbarnett/orgs","repos_url":"https://api.github.com/users/benbarnett/repos","events_url":"https://api.github.com/users/benbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/benbarnett/received_events","type":"User","site_admin":false},"body":"https://github.com/guidance-guarantee-programme/pension_guidance/commit/d09cbd2c981222f99a8167c2a1107cf92b6714fc","created_at":"2015-12-29T10:29:39Z","updated_at":"2015-12-29T10:29:39Z","html_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389#discussion_r48532371","pull_request_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389","_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments/48532371"},"html":{"href":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389#discussion_r48532371"},"pull_request":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389"}}},"pull_request":{"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389","id":54259317,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389","diff_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389.diff","patch_url":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389.patch","issue_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/389","number":389,"state":"open","locked":false,"title":"[WIP] Site navigation","user":{"login":"benbarnett","id":295469,"avatar_url":"https://avatars.githubusercontent.com/u/295469?v=3","gravatar_id":"","url":"https://api.github.com/users/benbarnett","html_url":"https://github.com/benbarnett","followers_url":"https://api.github.com/users/benbarnett/followers","following_url":"https://api.github.com/users/benbarnett/following{/other_user}","gists_url":"https://api.github.com/users/benbarnett/gists{/gist_id}","starred_url":"https://api.github.com/users/benbarnett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbarnett/subscriptions","organizations_url":"https://api.github.com/users/benbarnett/orgs","repos_url":"https://api.github.com/users/benbarnett/repos","events_url":"https://api.github.com/users/benbarnett/events{/privacy}","received_events_url":"https://api.github.com/users/benbarnett/received_events","type":"User","site_admin":false},"body":"Introduces the dropdown navigation. Also removes the `phase banner` to declutter the header.\r\n\r\n## Demo\r\n\r\nWith branches below integrated: http://ggp-nav-integration.herokuapp.com/\r\n\r\n## Depends on:\r\n\r\n- [ ] [https://github.com/guidance-guarantee-programme/pension_guidance/pull/391] New circles/pension option colours. __This must be merged before `top-navigation` branch, all others can be merged independently.__\r\n- [x] Category pages\r\n- [ ] [https://github.com/guidance-guarantee-programme/pension_guidance/pull/390] Extended event tracking to be able to track 'one-time' events. We want to track if the user hovers over the nav to see if they interact, but not more than once per page.\r\n- [ ] [https://github.com/guidance-guarantee-programme/pension_guidance/pull/392] Extended footer","created_at":"2015-12-21T14:04:05Z","updated_at":"2015-12-29T10:29:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54f7cecde3e329d26d299287a53452fb2f1232e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389/commits","review_comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389/comments","review_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/389/comments","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/d09cbd2c981222f99a8167c2a1107cf92b6714fc","head":{"label":"guidance-guarantee-programme:top-navigation","ref":"top-navigation","sha":"d09cbd2c981222f99a8167c2a1107cf92b6714fc","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":26530409,"name":"pension_guidance","full_name":"guidance-guarantee-programme/pension_guidance","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance","description":"Pension guidance from Pension Wise.","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/releases{/id}","created_at":"2014-11-12T10:16:42Z","updated_at":"2015-12-21T14:06:29Z","pushed_at":"2015-12-29T10:27:35Z","git_url":"git://github.com/guidance-guarantee-programme/pension_guidance.git","ssh_url":"git@github.com:guidance-guarantee-programme/pension_guidance.git","clone_url":"https://github.com/guidance-guarantee-programme/pension_guidance.git","svn_url":"https://github.com/guidance-guarantee-programme/pension_guidance","homepage":"https://www.pensionwise.gov.uk","size":10966,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":2,"default_branch":"master"}},"base":{"label":"guidance-guarantee-programme:master","ref":"master","sha":"237169b74463cc8f00e465e71798afbb90d45cdd","user":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"repo":{"id":26530409,"name":"pension_guidance","full_name":"guidance-guarantee-programme/pension_guidance","owner":{"login":"guidance-guarantee-programme","id":8751528,"avatar_url":"https://avatars.githubusercontent.com/u/8751528?v=3","gravatar_id":"","url":"https://api.github.com/users/guidance-guarantee-programme","html_url":"https://github.com/guidance-guarantee-programme","followers_url":"https://api.github.com/users/guidance-guarantee-programme/followers","following_url":"https://api.github.com/users/guidance-guarantee-programme/following{/other_user}","gists_url":"https://api.github.com/users/guidance-guarantee-programme/gists{/gist_id}","starred_url":"https://api.github.com/users/guidance-guarantee-programme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guidance-guarantee-programme/subscriptions","organizations_url":"https://api.github.com/users/guidance-guarantee-programme/orgs","repos_url":"https://api.github.com/users/guidance-guarantee-programme/repos","events_url":"https://api.github.com/users/guidance-guarantee-programme/events{/privacy}","received_events_url":"https://api.github.com/users/guidance-guarantee-programme/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guidance-guarantee-programme/pension_guidance","description":"Pension guidance from Pension Wise.","fork":false,"url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance","forks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/forks","keys_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/teams","hooks_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/hooks","issue_events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/events{/number}","events_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/events","assignees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/assignees{/user}","branches_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/branches{/branch}","tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/tags","blobs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/refs{/sha}","trees_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/{sha}","languages_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/languages","stargazers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/stargazers","contributors_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contributors","subscribers_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscribers","subscription_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/subscription","commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/commits{/sha}","git_commits_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/git/commits{/sha}","comments_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/comments{/number}","issue_comment_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/comments{/number}","contents_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/contents/{+path}","compare_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/merges","archive_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/downloads","issues_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues{/number}","pulls_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls{/number}","milestones_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/milestones{/number}","notifications_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/labels{/name}","releases_url":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/releases{/id}","created_at":"2014-11-12T10:16:42Z","updated_at":"2015-12-21T14:06:29Z","pushed_at":"2015-12-29T10:27:35Z","git_url":"git://github.com/guidance-guarantee-programme/pension_guidance.git","ssh_url":"git@github.com:guidance-guarantee-programme/pension_guidance.git","clone_url":"https://github.com/guidance-guarantee-programme/pension_guidance.git","svn_url":"https://github.com/guidance-guarantee-programme/pension_guidance","homepage":"https://www.pensionwise.gov.uk","size":10966,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389"},"html":{"href":"https://github.com/guidance-guarantee-programme/pension_guidance/pull/389"},"issue":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/389"},"comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/issues/389/comments"},"review_comments":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389/comments"},"review_comment":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/pulls/389/commits"},"statuses":{"href":"https://api.github.com/repos/guidance-guarantee-programme/pension_guidance/statuses/d09cbd2c981222f99a8167c2a1107cf92b6714fc"}}}}