{"action":"created","comment":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/40417652","id":40417652,"diff_hunk":"@@ -1,53 +1,24 @@\n-\n @import 'new_styles/animations';\n \n-#flash_notice,\n-#flash_alert,\n-#flash_error {\n-  position : fixed;\n+#flash-body {\n+  left: 0;\n+  position: fixed;\n+  text-align: center;\n+  top: -100px;\n   z-index: 999;\n-  top : -100px;\n-  left : 0;\n-  width : 100%;\n-\n-  text-align : center;\n-  color: $text-dark-grey;\n-\n-  &.expose {\n-    @include animation(expose, 10s)\n-  }\n-\n-  .message {\n-    box-shadow: 0 1px 4px rgba(0,0,0,0.8);\n-\n-    display : inline-block;\n-    padding: 10px 12px;\n-    min-width: 400px;\n-    max-width: 800px;\n-\n-    color : #fff;\n-    background-color : rgba(0,0,0,0.8);\n-    border : 1px solid rgba(255,255,255,0.7);\n-    border-radius: 6px;\n+  width: 100%;\n+  &.expose {  @include animation(expose, 10s) }\n \n+  #flash-message {","path":"app/assets/stylesheets/_flash_messages.scss","position":40,"original_position":40,"commit_id":"856bbd8f2f5797e079290925529c6c1b048dff8e","original_commit_id":"856bbd8f2f5797e079290925529c6c1b048dff8e","user":{"login":"diaspora-code-review","id":13334186,"avatar_url":"https://avatars.githubusercontent.com/u/13334186?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora-code-review","html_url":"https://github.com/diaspora-code-review","followers_url":"https://api.github.com/users/diaspora-code-review/followers","following_url":"https://api.github.com/users/diaspora-code-review/following{/other_user}","gists_url":"https://api.github.com/users/diaspora-code-review/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora-code-review/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora-code-review/subscriptions","organizations_url":"https://api.github.com/users/diaspora-code-review/orgs","repos_url":"https://api.github.com/users/diaspora-code-review/repos","events_url":"https://api.github.com/users/diaspora-code-review/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora-code-review/received_events","type":"User","site_admin":false},"body":"Avoid using id selectors","created_at":"2015-09-25T10:36:38Z","updated_at":"2015-09-25T10:36:38Z","html_url":"https://github.com/diaspora/diaspora/pull/6395#discussion_r40417652","pull_request_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6395","_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments/40417652"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6395#discussion_r40417652"},"pull_request":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6395"}}},"pull_request":{"url":"https://api.github.com/repos/diaspora/diaspora/pulls/6395","id":44828495,"html_url":"https://github.com/diaspora/diaspora/pull/6395","diff_url":"https://github.com/diaspora/diaspora/pull/6395.diff","patch_url":"https://github.com/diaspora/diaspora/pull/6395.patch","issue_url":"https://api.github.com/repos/diaspora/diaspora/issues/6395","number":6395,"state":"open","locked":false,"title":"Use backbone for flash messages","user":{"login":"AugierLe42e","id":3429231,"avatar_url":"https://avatars.githubusercontent.com/u/3429231?v=3","gravatar_id":"","url":"https://api.github.com/users/AugierLe42e","html_url":"https://github.com/AugierLe42e","followers_url":"https://api.github.com/users/AugierLe42e/followers","following_url":"https://api.github.com/users/AugierLe42e/following{/other_user}","gists_url":"https://api.github.com/users/AugierLe42e/gists{/gist_id}","starred_url":"https://api.github.com/users/AugierLe42e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugierLe42e/subscriptions","organizations_url":"https://api.github.com/users/AugierLe42e/orgs","repos_url":"https://api.github.com/users/AugierLe42e/repos","events_url":"https://api.github.com/users/AugierLe42e/events{/privacy}","received_events_url":"https://api.github.com/users/AugierLe42e/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-11T20:59:50Z","updated_at":"2015-09-25T10:36:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10107c7967f7e4c2acd7f8ec26c49f4c4a728370","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6395/commits","review_comments_url":"https://api.github.com/repos/diaspora/diaspora/pulls/6395/comments","review_comment_url":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diaspora/diaspora/issues/6395/comments","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/856bbd8f2f5797e079290925529c6c1b048dff8e","head":{"label":"AugierLe42e:drop-flash-messages-widget","ref":"drop-flash-messages-widget","sha":"856bbd8f2f5797e079290925529c6c1b048dff8e","user":{"login":"AugierLe42e","id":3429231,"avatar_url":"https://avatars.githubusercontent.com/u/3429231?v=3","gravatar_id":"","url":"https://api.github.com/users/AugierLe42e","html_url":"https://github.com/AugierLe42e","followers_url":"https://api.github.com/users/AugierLe42e/followers","following_url":"https://api.github.com/users/AugierLe42e/following{/other_user}","gists_url":"https://api.github.com/users/AugierLe42e/gists{/gist_id}","starred_url":"https://api.github.com/users/AugierLe42e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugierLe42e/subscriptions","organizations_url":"https://api.github.com/users/AugierLe42e/orgs","repos_url":"https://api.github.com/users/AugierLe42e/repos","events_url":"https://api.github.com/users/AugierLe42e/events{/privacy}","received_events_url":"https://api.github.com/users/AugierLe42e/received_events","type":"User","site_admin":false},"repo":{"id":25200087,"name":"diaspora","full_name":"AugierLe42e/diaspora","owner":{"login":"AugierLe42e","id":3429231,"avatar_url":"https://avatars.githubusercontent.com/u/3429231?v=3","gravatar_id":"","url":"https://api.github.com/users/AugierLe42e","html_url":"https://github.com/AugierLe42e","followers_url":"https://api.github.com/users/AugierLe42e/followers","following_url":"https://api.github.com/users/AugierLe42e/following{/other_user}","gists_url":"https://api.github.com/users/AugierLe42e/gists{/gist_id}","starred_url":"https://api.github.com/users/AugierLe42e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AugierLe42e/subscriptions","organizations_url":"https://api.github.com/users/AugierLe42e/orgs","repos_url":"https://api.github.com/users/AugierLe42e/repos","events_url":"https://api.github.com/users/AugierLe42e/events{/privacy}","received_events_url":"https://api.github.com/users/AugierLe42e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AugierLe42e/diaspora","description":"Distributed and contextual social networking","fork":true,"url":"https://api.github.com/repos/AugierLe42e/diaspora","forks_url":"https://api.github.com/repos/AugierLe42e/diaspora/forks","keys_url":"https://api.github.com/repos/AugierLe42e/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AugierLe42e/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AugierLe42e/diaspora/teams","hooks_url":"https://api.github.com/repos/AugierLe42e/diaspora/hooks","issue_events_url":"https://api.github.com/repos/AugierLe42e/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/AugierLe42e/diaspora/events","assignees_url":"https://api.github.com/repos/AugierLe42e/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/AugierLe42e/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/AugierLe42e/diaspora/tags","blobs_url":"https://api.github.com/repos/AugierLe42e/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AugierLe42e/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AugierLe42e/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/AugierLe42e/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AugierLe42e/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/AugierLe42e/diaspora/languages","stargazers_url":"https://api.github.com/repos/AugierLe42e/diaspora/stargazers","contributors_url":"https://api.github.com/repos/AugierLe42e/diaspora/contributors","subscribers_url":"https://api.github.com/repos/AugierLe42e/diaspora/subscribers","subscription_url":"https://api.github.com/repos/AugierLe42e/diaspora/subscription","commits_url":"https://api.github.com/repos/AugierLe42e/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/AugierLe42e/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/AugierLe42e/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/AugierLe42e/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/AugierLe42e/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/AugierLe42e/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AugierLe42e/diaspora/merges","archive_url":"https://api.github.com/repos/AugierLe42e/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AugierLe42e/diaspora/downloads","issues_url":"https://api.github.com/repos/AugierLe42e/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/AugierLe42e/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/AugierLe42e/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/AugierLe42e/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AugierLe42e/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/AugierLe42e/diaspora/releases{/id}","created_at":"2014-10-14T09:47:25Z","updated_at":"2015-06-14T15:25:04Z","pushed_at":"2015-09-25T10:36:21Z","git_url":"git://github.com/AugierLe42e/diaspora.git","ssh_url":"git@github.com:AugierLe42e/diaspora.git","clone_url":"https://github.com/AugierLe42e/diaspora.git","svn_url":"https://github.com/AugierLe42e/diaspora","homepage":"https://diasporafoundation.org/","size":104027,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"diaspora:develop","ref":"develop","sha":"4996e1c019760463109a446b28a557ee66fb074e","user":{"login":"diaspora","id":293207,"avatar_url":"https://avatars.githubusercontent.com/u/293207?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"repo":{"id":911765,"name":"diaspora","full_name":"diaspora/diaspora","owner":{"login":"diaspora","id":293207,"avatar_url":"https://avatars.githubusercontent.com/u/293207?v=3","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diaspora/diaspora","description":"Distributed and contextual social networking","fork":false,"url":"https://api.github.com/repos/diaspora/diaspora","forks_url":"https://api.github.com/repos/diaspora/diaspora/forks","keys_url":"https://api.github.com/repos/diaspora/diaspora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diaspora/diaspora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diaspora/diaspora/teams","hooks_url":"https://api.github.com/repos/diaspora/diaspora/hooks","issue_events_url":"https://api.github.com/repos/diaspora/diaspora/issues/events{/number}","events_url":"https://api.github.com/repos/diaspora/diaspora/events","assignees_url":"https://api.github.com/repos/diaspora/diaspora/assignees{/user}","branches_url":"https://api.github.com/repos/diaspora/diaspora/branches{/branch}","tags_url":"https://api.github.com/repos/diaspora/diaspora/tags","blobs_url":"https://api.github.com/repos/diaspora/diaspora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diaspora/diaspora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diaspora/diaspora/git/refs{/sha}","trees_url":"https://api.github.com/repos/diaspora/diaspora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diaspora/diaspora/statuses/{sha}","languages_url":"https://api.github.com/repos/diaspora/diaspora/languages","stargazers_url":"https://api.github.com/repos/diaspora/diaspora/stargazers","contributors_url":"https://api.github.com/repos/diaspora/diaspora/contributors","subscribers_url":"https://api.github.com/repos/diaspora/diaspora/subscribers","subscription_url":"https://api.github.com/repos/diaspora/diaspora/subscription","commits_url":"https://api.github.com/repos/diaspora/diaspora/commits{/sha}","git_commits_url":"https://api.github.com/repos/diaspora/diaspora/git/commits{/sha}","comments_url":"https://api.github.com/repos/diaspora/diaspora/comments{/number}","issue_comment_url":"https://api.github.com/repos/diaspora/diaspora/issues/comments{/number}","contents_url":"https://api.github.com/repos/diaspora/diaspora/contents/{+path}","compare_url":"https://api.github.com/repos/diaspora/diaspora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diaspora/diaspora/merges","archive_url":"https://api.github.com/repos/diaspora/diaspora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diaspora/diaspora/downloads","issues_url":"https://api.github.com/repos/diaspora/diaspora/issues{/number}","pulls_url":"https://api.github.com/repos/diaspora/diaspora/pulls{/number}","milestones_url":"https://api.github.com/repos/diaspora/diaspora/milestones{/number}","notifications_url":"https://api.github.com/repos/diaspora/diaspora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diaspora/diaspora/labels{/name}","releases_url":"https://api.github.com/repos/diaspora/diaspora/releases{/id}","created_at":"2010-09-15T05:20:04Z","updated_at":"2015-09-25T06:47:24Z","pushed_at":"2015-09-25T10:36:24Z","git_url":"git://github.com/diaspora/diaspora.git","ssh_url":"git@github.com:diaspora/diaspora.git","clone_url":"https://github.com/diaspora/diaspora.git","svn_url":"https://github.com/diaspora/diaspora","homepage":"https://diasporafoundation.org/","size":256105,"stargazers_count":10288,"watchers_count":10288,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2668,"mirror_url":null,"open_issues_count":420,"forks":2668,"open_issues":420,"watchers":10288,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6395"},"html":{"href":"https://github.com/diaspora/diaspora/pull/6395"},"issue":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6395"},"comments":{"href":"https://api.github.com/repos/diaspora/diaspora/issues/6395/comments"},"review_comments":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6395/comments"},"review_comment":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diaspora/diaspora/pulls/6395/commits"},"statuses":{"href":"https://api.github.com/repos/diaspora/diaspora/statuses/856bbd8f2f5797e079290925529c6c1b048dff8e"}}}}