{"action":"created","comment":{"url":"https://api.github.com/repos/patternfly/patternfly/pulls/comments/63355576","id":63355576,"diff_hunk":"@@ -0,0 +1,102 @@\n+//\n+// Notifications Drawer\n+// --------------------------------------------------\n+\n+.drawer-pf {\n+  background-color: @color-pf-black-100;\n+  border: 1px solid @card-pf-border-color;\n+  .box-shadow(0 6px 12px rgba(0,0,0,.175));\n+  overflow-y: scroll;\n+  position: absolute;\n+  right: 0;\n+  width: (@grid-gutter-width * 8);\n+  .panel {\n+    border-left: none;\n+    border-right: none;\n+  }\n+  .panel-body { padding: 0; }\n+  .panel-counter {\n+    display: block;\n+    font-style: italic;\n+    line-height: 1.2;\n+    padding-left: 18px;\n+    padding-top: 5px;\n+  }\n+  .panel-group {\n+    margin-bottom: 52px; //height of Mark All Read box\n+    margin-top: 25px; //height of Notifications Drawer box\n+  }\n+  .panel-title a { display: block; }\n+}\n+\n+.drawer-pf-action {\n+  border-top: 1px solid @card-pf-border-color;\n+  bottom: 21px;\n+  #gradient > .vertical(@btn-default-bg-img-start, @btn-default-bg-img-stop);\n+  position: fixed;\n+  .btn {\n+    padding: 15px 0;\n+    width: 318px;\n+  }\n+}\n+\n+.drawer-pf-loading {\n+  color: @gray-pf;\n+  font-size: (@font-size-base + 2);\n+  text-align: center;\n+  padding: 20px 15px;\n+}\n+\n+.drawer-pf-notification-info,\n+.drawer-pf-notification-message {\n+  display: block;\n+  padding-left: 27px;\n+  padding-right: 19px;\n+}\n+\n+.drawer-pf-notification {\n+  background-color: @color-pf-black-100;\n+  padding: 15px;\n+  .date {\n+    border-right: 1px solid #aaa;\n+    display: inline-block;\n+    line-height: 1;\n+    margin-right: 5px;\n+    padding-right: 9px;\n+  }\n+  .pficon { margin-top: 4px; }\n+  + .drawer-pf-notification { border-top: 1px solid @card-pf-border-color; }\n+  &.unread .drawer-pf-notification-message { font-weight: bold; }\n+}\n+\n+.drawer-pf-title {\n+  background-color: @color-pf-black-100;\n+  border-bottom: 1px solid @card-pf-border-color;\n+  position: fixed;\n+  width: 318px;\n+  h3 {\n+    font-size: @font-size-base;\n+    margin: 0;\n+    padding: 6px 15px;\n+    text-align: center;\n+  }\n+}\n+\n+/* Exclusive styles to work with Vertical Navigation */\n+.navbar-pf-vertical {\n+  .drawer-pf {\n+    height: calc(~\"100vh - 80px\");//to create a 20px offset bottom\n+    top: 58px; //menu height;\n+  }\n+  .nav .drawer-pf-trigger {\n+    .drawer-pf-trigger-icon {\n+      border-left: 1px solid @navbar-pf-navbar-utility-border-color;\n+      border-right: 1px solid @navbar-pf-navbar-utility-border-color;\n+      padding-left: 15px;\n+      padding-right: 15px;\n+    }\n+    &.open .drawer-pf-trigger-icon {\n+      background-color: @navbar-pf-navbar-utility-hover-bg-color;\n+    }\n+  }\n+}","path":"less/notifications-drawer.less","position":102,"original_position":102,"commit_id":"ef9243b11c0889fce0e54b487cfbd7f3f95363f8","original_commit_id":"ef9243b11c0889fce0e54b487cfbd7f3f95363f8","user":{"login":"andresgalante","id":1832037,"avatar_url":"https://avatars.githubusercontent.com/u/1832037?v=3","gravatar_id":"","url":"https://api.github.com/users/andresgalante","html_url":"https://github.com/andresgalante","followers_url":"https://api.github.com/users/andresgalante/followers","following_url":"https://api.github.com/users/andresgalante/following{/other_user}","gists_url":"https://api.github.com/users/andresgalante/gists{/gist_id}","starred_url":"https://api.github.com/users/andresgalante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresgalante/subscriptions","organizations_url":"https://api.github.com/users/andresgalante/orgs","repos_url":"https://api.github.com/users/andresgalante/repos","events_url":"https://api.github.com/users/andresgalante/events{/privacy}","received_events_url":"https://api.github.com/users/andresgalante/received_events","type":"User","site_admin":false},"body":"@dlabrecq good point. It needs the nesting though to add more specificity to the selectors.","created_at":"2016-05-16T13:55:48Z","updated_at":"2016-05-16T13:55:48Z","html_url":"https://github.com/patternfly/patternfly/pull/282#discussion_r63355576","pull_request_url":"https://api.github.com/repos/patternfly/patternfly/pulls/282","_links":{"self":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/comments/63355576"},"html":{"href":"https://github.com/patternfly/patternfly/pull/282#discussion_r63355576"},"pull_request":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/282"}}},"pull_request":{"url":"https://api.github.com/repos/patternfly/patternfly/pulls/282","id":69680184,"html_url":"https://github.com/patternfly/patternfly/pull/282","diff_url":"https://github.com/patternfly/patternfly/pull/282.diff","patch_url":"https://github.com/patternfly/patternfly/pull/282.patch","issue_url":"https://api.github.com/repos/patternfly/patternfly/issues/282","number":282,"state":"open","locked":false,"title":"PTNFLY-1395 Notifications Drawer","user":{"login":"cardosogabriel","id":1338987,"avatar_url":"https://avatars.githubusercontent.com/u/1338987?v=3","gravatar_id":"","url":"https://api.github.com/users/cardosogabriel","html_url":"https://github.com/cardosogabriel","followers_url":"https://api.github.com/users/cardosogabriel/followers","following_url":"https://api.github.com/users/cardosogabriel/following{/other_user}","gists_url":"https://api.github.com/users/cardosogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/cardosogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardosogabriel/subscriptions","organizations_url":"https://api.github.com/users/cardosogabriel/orgs","repos_url":"https://api.github.com/users/cardosogabriel/repos","events_url":"https://api.github.com/users/cardosogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/cardosogabriel/received_events","type":"User","site_admin":false},"body":"Initial implementation for notifications drawer. Tested in all required browsers and it works :)\r\n- Fixed accordion \"dancing\" title when expanding it (panels.less)\r\n- Current implementation of the drawer only works with Vertical Navigation Bar\r\n\r\n@jeff-phillips-18 , I need some of your magic to:\r\n- Close the drawer when clicking outside of it\r\n- Infinite scroll. Style is there, but not the functionality.\r\n- Whenever scrolling inside the drawer, make it *not* scroll the page when the inside scroll finishes. I saw that in your fixed height accordion, but could not make it work here.\r\n- Improvement: Make the whole accordion area clickable to expand. That would require changes in the accordion component.\r\n\r\nNot sure why some c3 css changes came in the push. Please let me know if I rebased wrongly.","created_at":"2016-05-11T14:18:52Z","updated_at":"2016-05-16T13:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b661eec68c9f9ceaa02e3fafc9814c125d28a9f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/patternfly/patternfly/pulls/282/commits","review_comments_url":"https://api.github.com/repos/patternfly/patternfly/pulls/282/comments","review_comment_url":"https://api.github.com/repos/patternfly/patternfly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/patternfly/patternfly/issues/282/comments","statuses_url":"https://api.github.com/repos/patternfly/patternfly/statuses/ef9243b11c0889fce0e54b487cfbd7f3f95363f8","head":{"label":"cardosogabriel:PTNFLY-1395","ref":"PTNFLY-1395","sha":"ef9243b11c0889fce0e54b487cfbd7f3f95363f8","user":{"login":"cardosogabriel","id":1338987,"avatar_url":"https://avatars.githubusercontent.com/u/1338987?v=3","gravatar_id":"","url":"https://api.github.com/users/cardosogabriel","html_url":"https://github.com/cardosogabriel","followers_url":"https://api.github.com/users/cardosogabriel/followers","following_url":"https://api.github.com/users/cardosogabriel/following{/other_user}","gists_url":"https://api.github.com/users/cardosogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/cardosogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardosogabriel/subscriptions","organizations_url":"https://api.github.com/users/cardosogabriel/orgs","repos_url":"https://api.github.com/users/cardosogabriel/repos","events_url":"https://api.github.com/users/cardosogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/cardosogabriel/received_events","type":"User","site_admin":false},"repo":{"id":28348697,"name":"patternfly","full_name":"cardosogabriel/patternfly","owner":{"login":"cardosogabriel","id":1338987,"avatar_url":"https://avatars.githubusercontent.com/u/1338987?v=3","gravatar_id":"","url":"https://api.github.com/users/cardosogabriel","html_url":"https://github.com/cardosogabriel","followers_url":"https://api.github.com/users/cardosogabriel/followers","following_url":"https://api.github.com/users/cardosogabriel/following{/other_user}","gists_url":"https://api.github.com/users/cardosogabriel/gists{/gist_id}","starred_url":"https://api.github.com/users/cardosogabriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cardosogabriel/subscriptions","organizations_url":"https://api.github.com/users/cardosogabriel/orgs","repos_url":"https://api.github.com/users/cardosogabriel/repos","events_url":"https://api.github.com/users/cardosogabriel/events{/privacy}","received_events_url":"https://api.github.com/users/cardosogabriel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cardosogabriel/patternfly","description":"PatternFly open interface project","fork":true,"url":"https://api.github.com/repos/cardosogabriel/patternfly","forks_url":"https://api.github.com/repos/cardosogabriel/patternfly/forks","keys_url":"https://api.github.com/repos/cardosogabriel/patternfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cardosogabriel/patternfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cardosogabriel/patternfly/teams","hooks_url":"https://api.github.com/repos/cardosogabriel/patternfly/hooks","issue_events_url":"https://api.github.com/repos/cardosogabriel/patternfly/issues/events{/number}","events_url":"https://api.github.com/repos/cardosogabriel/patternfly/events","assignees_url":"https://api.github.com/repos/cardosogabriel/patternfly/assignees{/user}","branches_url":"https://api.github.com/repos/cardosogabriel/patternfly/branches{/branch}","tags_url":"https://api.github.com/repos/cardosogabriel/patternfly/tags","blobs_url":"https://api.github.com/repos/cardosogabriel/patternfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cardosogabriel/patternfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cardosogabriel/patternfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/cardosogabriel/patternfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cardosogabriel/patternfly/statuses/{sha}","languages_url":"https://api.github.com/repos/cardosogabriel/patternfly/languages","stargazers_url":"https://api.github.com/repos/cardosogabriel/patternfly/stargazers","contributors_url":"https://api.github.com/repos/cardosogabriel/patternfly/contributors","subscribers_url":"https://api.github.com/repos/cardosogabriel/patternfly/subscribers","subscription_url":"https://api.github.com/repos/cardosogabriel/patternfly/subscription","commits_url":"https://api.github.com/repos/cardosogabriel/patternfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/cardosogabriel/patternfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/cardosogabriel/patternfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/cardosogabriel/patternfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/cardosogabriel/patternfly/contents/{+path}","compare_url":"https://api.github.com/repos/cardosogabriel/patternfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cardosogabriel/patternfly/merges","archive_url":"https://api.github.com/repos/cardosogabriel/patternfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cardosogabriel/patternfly/downloads","issues_url":"https://api.github.com/repos/cardosogabriel/patternfly/issues{/number}","pulls_url":"https://api.github.com/repos/cardosogabriel/patternfly/pulls{/number}","milestones_url":"https://api.github.com/repos/cardosogabriel/patternfly/milestones{/number}","notifications_url":"https://api.github.com/repos/cardosogabriel/patternfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cardosogabriel/patternfly/labels{/name}","releases_url":"https://api.github.com/repos/cardosogabriel/patternfly/releases{/id}","deployments_url":"https://api.github.com/repos/cardosogabriel/patternfly/deployments","created_at":"2014-12-22T17:00:47Z","updated_at":"2016-03-03T13:59:40Z","pushed_at":"2016-05-12T15:29:53Z","git_url":"git://github.com/cardosogabriel/patternfly.git","ssh_url":"git@github.com:cardosogabriel/patternfly.git","clone_url":"https://github.com/cardosogabriel/patternfly.git","svn_url":"https://github.com/cardosogabriel/patternfly","homepage":"https://www.patternfly.org/","size":12001,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"patternfly:master","ref":"master","sha":"41c7724ad430d025e46d1548200e61bb4155c572","user":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars.githubusercontent.com/u/6391110?v=3","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"repo":{"id":16493298,"name":"patternfly","full_name":"patternfly/patternfly","owner":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars.githubusercontent.com/u/6391110?v=3","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/patternfly/patternfly","description":"PatternFly open interface project","fork":false,"url":"https://api.github.com/repos/patternfly/patternfly","forks_url":"https://api.github.com/repos/patternfly/patternfly/forks","keys_url":"https://api.github.com/repos/patternfly/patternfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patternfly/patternfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patternfly/patternfly/teams","hooks_url":"https://api.github.com/repos/patternfly/patternfly/hooks","issue_events_url":"https://api.github.com/repos/patternfly/patternfly/issues/events{/number}","events_url":"https://api.github.com/repos/patternfly/patternfly/events","assignees_url":"https://api.github.com/repos/patternfly/patternfly/assignees{/user}","branches_url":"https://api.github.com/repos/patternfly/patternfly/branches{/branch}","tags_url":"https://api.github.com/repos/patternfly/patternfly/tags","blobs_url":"https://api.github.com/repos/patternfly/patternfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patternfly/patternfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patternfly/patternfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/patternfly/patternfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patternfly/patternfly/statuses/{sha}","languages_url":"https://api.github.com/repos/patternfly/patternfly/languages","stargazers_url":"https://api.github.com/repos/patternfly/patternfly/stargazers","contributors_url":"https://api.github.com/repos/patternfly/patternfly/contributors","subscribers_url":"https://api.github.com/repos/patternfly/patternfly/subscribers","subscription_url":"https://api.github.com/repos/patternfly/patternfly/subscription","commits_url":"https://api.github.com/repos/patternfly/patternfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/patternfly/patternfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/patternfly/patternfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/patternfly/patternfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/patternfly/patternfly/contents/{+path}","compare_url":"https://api.github.com/repos/patternfly/patternfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patternfly/patternfly/merges","archive_url":"https://api.github.com/repos/patternfly/patternfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patternfly/patternfly/downloads","issues_url":"https://api.github.com/repos/patternfly/patternfly/issues{/number}","pulls_url":"https://api.github.com/repos/patternfly/patternfly/pulls{/number}","milestones_url":"https://api.github.com/repos/patternfly/patternfly/milestones{/number}","notifications_url":"https://api.github.com/repos/patternfly/patternfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patternfly/patternfly/labels{/name}","releases_url":"https://api.github.com/repos/patternfly/patternfly/releases{/id}","deployments_url":"https://api.github.com/repos/patternfly/patternfly/deployments","created_at":"2014-02-03T21:18:00Z","updated_at":"2016-05-15T08:45:37Z","pushed_at":"2016-05-16T13:47:08Z","git_url":"git://github.com/patternfly/patternfly.git","ssh_url":"git@github.com:patternfly/patternfly.git","clone_url":"https://github.com/patternfly/patternfly.git","svn_url":"https://github.com/patternfly/patternfly","homepage":"https://www.patternfly.org/","size":12984,"stargazers_count":387,"watchers_count":387,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":109,"mirror_url":null,"open_issues_count":19,"forks":109,"open_issues":19,"watchers":387,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/282"},"html":{"href":"https://github.com/patternfly/patternfly/pull/282"},"issue":{"href":"https://api.github.com/repos/patternfly/patternfly/issues/282"},"comments":{"href":"https://api.github.com/repos/patternfly/patternfly/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/patternfly/patternfly/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/patternfly/patternfly/statuses/ef9243b11c0889fce0e54b487cfbd7f3f95363f8"}}}}