{"action":"created","comment":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/comments/66640644","id":66640644,"diff_hunk":"@@ -1,505 +1,594 @@\n-@mixin box-shadow($x: 2px, $y: 2px, $blur: 5px, $color: rgba(0, 0, 0, .4), $inset: \"\") {\r\n-  @if ($inset != \"\") {\r\n-    -webkit-box-shadow: $inset $x $y $blur $color;\r\n-    -moz-box-shadow: $inset $x $y $blur $color;\r\n-    box-shadow: $inset $x $y $blur $color;\r\n-  }\r\n-  @else {\r\n-    -webkit-box-shadow: $x $y $blur $color;\r\n-    -moz-box-shadow: $x $y $blur $color;\r\n-    box-shadow: $x $y $blur $color;\r\n-  }\r\n-}\r\n-$body_background: #ebebeb;\r\n-#source-preview-page-layout {\r\n-  #main {\r\n-    padding: 0;\r\n-    max-width: none;\r\n-  }\r\n-  #logo-bar {\r\n-    padding: 0;\r\n-    float: left;\r\n-    width: 100%;\r\n-    background-color: white;\r\n-    border-bottom: 1px solid #a3a3a3;\r\n-    @include box-shadow(0,0,6px,rgba(0,0,0,.64));\r\n-    position: relative;\r\n-    height: 53px;\r\n-    .top-bar-icon {\r\n-      float: left;\r\n-      padding: 6px;\r\n-    }\r\n-    margin-bottom: 0;\r\n-  }\r\n-  .ui-draggable {\r\n-    border-bottom: 1px solid #a3a3a3;\r\n-    @include box-shadow(0,0,6px,rgba(0,0,0,.64));\r\n-  }\r\n-  #source_preview_page {\r\n-    overflow: hidden;\r\n-  }\r\n-  div.ui-tooltip {\r\n-    max-width: 400px;\r\n-  }\r\n-  .TYPE-note {\r\n-    .source-side {\r\n-      width: 100%;\r\n-      padding-right: 0;\r\n-      margin-left: 0;\r\n-    }\r\n-  }\r\n-  #company-and-topic-detail-link {\r\n-    border-left: 1px solid #f1f1f1;\r\n-    position: absolute;\r\n-    right: 0;\r\n-    top: 0;\r\n-    height: 100%;\r\n-    color: #ccc;\r\n-    width: 45px;\r\n-    i {\r\n-      padding-top: 19px;\r\n-    }\r\n-    &:hover {\r\n-      background: #f3f3f3;\r\n-      color: #acacac;\r\n-    }\r\n-  }\r\n-  #note-success {\r\n-    a,\r\n-    span {\r\n-      float: left;\r\n-      margin: 3px;\r\n-      width: 100%;\r\n-      text-align: center;\r\n-    }\r\n-  }\r\n-  .no-dropdown {\r\n-    display: none;\r\n-  }\r\n-  #company-and-topic {\r\n-    float: right;\r\n-    text-align: center;\r\n-    padding: 14px 50px 14px 14px;\r\n-    background: #fafafa;\r\n-    border-left: 1px solid #f1f1f1;\r\n-    border-right: 1px solid #f1f1f1;\r\n-    position: relative;\r\n-    .company-name,\r\n-    .topic-name {\r\n-      display: inline-block;\r\n-      margin: 0 6px;\r\n-    }\r\n-  }\r\n-  a#make-a-note-button {\r\n-    i {\r\n-      color: #fff;\r\n-    }\r\n-    color: #fff;\r\n-  }\r\n-  .nav-center {\r\n-    display: inline;\r\n-    position: relative;\r\n-    text-align: center;\r\n-    left: 25%;\r\n-  }\r\n-  .menu-options {\r\n-    // float: right;\r\n-    // width: 40%;\r\n-    // min-height: 52px;\r\n-    // text-align: right;\r\n-    // margin: 16px 5px;\r\n-    li {\r\n-      display: inline;\r\n-    }\r\n-    div {}\r\n-    .btn {\r\n-      padding: 17px 22px;\r\n-      margin: -3px;\r\n-      color: #ADADAD;\r\n-      border-color: #E8E8E8;\r\n-      i {\r\n-        padding-right: 5px;\r\n-      }\r\n-    }\r\n-    #make-note {\r\n-      float: right;\r\n-      padding: 15px;\r\n-      //margin-top: 8px;\r\n-      a {\r\n-        color: white;\r\n-      }\r\n-    }\r\n-    #source-page-link {\r\n-      float: right;\r\n-      width: auto;\r\n-      padding: 0 0 0 20px;\r\n-      a {\r\n-        padding: 14px 16px;\r\n-        background: #fafafa;\r\n-        border: 1px solid#f1f1f1;\r\n-        color: #afafaf;\r\n-        text-decoration: none;\r\n-        width: auto;\r\n-        float: left;\r\n-        &:hover {\r\n-          background: #f3f3f3;\r\n-          color: #acacac;\r\n-        }\r\n-      }\r\n-    }\r\n-    #source-page-button {\r\n-      float: left;\r\n-      width: 100%;\r\n-    }\r\n-    #direct-link-button {\r\n-      float: left;\r\n-      width: 100%;\r\n-    }\r\n-    #mark-relevant,\r\n-    #mark-irrelevant {\r\n-      float: right!important;\r\n-      margin: 16px 3px;\r\n-    }\r\n-    #note-count {\r\n-      float: right;\r\n-      padding: 12px;\r\n-    }\r\n-  }\r\n-  #irrelevant-options {\r\n-    a {\r\n-      color: #fff;\r\n-      text-decoration: none;\r\n-    }\r\n-    div {\r\n-      float: left;\r\n-      clear: both;\r\n-      margin: 3px;\r\n-    }\r\n-  }\r\n-\r\n-  .non-previewable {\r\n-    background-color: $body_background;\r\n-  }\r\n-\r\n-  /*\r\n-\r\n-Henry, get rid of me!!!\r\n-  .new-note-button{\r\n-    .create-submit-button{\r\n-    width: 100%;\r\n-    height: 30px;\r\n-    margin-top: 14px;\r\n-    }\r\n-  }\r\n-*/\r\n-}\r\n-.redirect-notice {\r\n-    background-color: white;\r\n-    text-align: center;\r\n-    margin-top: 15%;\r\n-    padding-top: 5%;\r\n-    padding-bottom: 5%;\r\n-    margin-left: 10%;\r\n-    margin-right: 10%;\r\n-    .item-content {\r\n-      text-align: left;\r\n-    }\r\n-    a {\r\n-      // margin: 20px;\r\n-    }\r\n-    .edit-source {\r\n-      float: right;\r\n-    }\r\n-}\r\n-.webpage-preview {\r\n-  float: left;\r\n-  background: white;\r\n-  width: 100%;\r\n-  @include box-shadow(5px, 6px, 15px, rgba(0, 0, 0, 0.45), inset);\r\n-  border-top: 1px solid #eee;\r\n-  iframe {\r\n-    width: 100%;\r\n-    height: 100%;\r\n-    border: 0;\r\n-    outline: 0;\r\n-  }\r\n-  .TYPE_PLUS_RIGHT-source-text {\r\n-    margin-top: 55px;\r\n-  }\r\n-}\r\n-\r\n-.preview-view {\r\n-  .close-tab {\r\n-    right: 15px;\r\n-    position: fixed;\r\n-    top: 66px;\r\n-    cursor: pointer;\r\n-    z-index: 999;\r\n-  }\r\n-  i {\r\n-    color: #bbb!important;\r\n-  }\r\n-  .full-width {\r\n-    width: 100%!important;\r\n-  }\r\n-  .source-preview-content {\r\n-    margin-top: 51px;\r\n-  }\r\n-  .source-details-tab {\r\n-    >.panel-heading {\r\n-      border-bottom: 1px solid #ebebeb;\r\n-      margin: 0 -30px;\r\n-      padding: 15px;\r\n-      position: fixed;\r\n-      background-color: #fff;\r\n-      width: 100%;\r\n-      z-index: 99;\r\n-    }\r\n-  }\r\n-  .source-details-sub-content {\r\n-    margin-top: 60px;\r\n-  }\r\n-  nav.navbar.navbar-default {\r\n-    margin-bottom: 0;\r\n-    position: fixed;\r\n-    z-index: 99999;\r\n-    width: 100%;\r\n-  }\r\n-  .tab-pane>.open-view>.card-frame {\r\n-    margin: 0 -15px;\r\n-    >.card-body {\r\n-      padding-top: 0;\r\n-    }\r\n-  }\r\n-  .nav-tabs>li>a {\r\n-    // margin-right: -1px;\r\n-    // line-height: 1.42857;\r\n-    // border: 1px solid #ebebeb;\r\n-    // border-radius: 0px;\r\n-    padding: 15px 18px;\r\n-    // background-color: #fafafa;\r\n-    margin-bottom: -1px;\r\n-    // color: #666!important;\r\n-    .count-number {\r\n-      margin-left: 2px;\r\n-    }\r\n-    i {\r\n-      margin: 0 6px;\r\n-    }\r\n-  }\r\n-  // .nav-tabs>li.active > a,\r\n-  // .nav-tabs>li>a:hover,\r\n-  // .nav-tabs>li>a:focus{\r\n-  //     background-color: #fff;\r\n-  //     border-bottom-color: #fff;\r\n-  // }\r\n-  // .nav-tabs>li>a:hover{\r\n-  //     border-bottom:1px solid #ebebeb;\r\n-  // }\r\n-  // .nav-tabs>li.active>a:hover{\r\n-  //     border-bottom:0px solid #ebebeb;\r\n-  // }\r\n-  .col-1 {\r\n-    width: 13px;\r\n-    padding: 8px;\r\n-    float: left;\r\n-  }\r\n-  .gray-color a {\r\n-    color: #666!important;\r\n-  }\r\n-  .source-iframe-container {\r\n-    background-color: #ebebeb;\r\n-    padding-right: 0;\r\n-  }\r\n-  .source-right-sidebar {\r\n-    @include box-shadow( -3px, 4px, 10px, rgba(0,0,0,0.15));\r\n-    position: absolute;\r\n-    right: 0;\r\n-    border-left: 1px solid #BBBBBB;\r\n-    top: 51px;\r\n-    bottom: 0;\r\n-    overflow-y: scroll;\r\n-  }\r\n-}\r\n-\r\n-// TODO: refactor all source related HTML soon. Its a mess\r\n-/*all source related css classes copied from *css */\r\n-.source-info-container,\r\n-.STRUCTURE-source_item_preview,\r\n-.STRUCTURE-source_item,\r\n-.STRUCTURE-source_preview_item,\r\n-#note-count {\r\n-  margin-bottom: 20px;\r\n-  // padding: 3px 3% 8px;\r\n-  .vote-button {\r\n-    width: 25px;\r\n-    height: 25px;\r\n-  }\r\n-  .source-icon {\r\n-    padding: 5px;\r\n-    float: left;\r\n-  }\r\n-\r\n-  .vote-count {\r\n-    width: 25px;\r\n-    height: 20px;\r\n-    padding-top: 0;\r\n-  }\r\n-  .item-content {\r\n-    background: #FFFBE6;\r\n-    padding: 14px;\r\n-    color: #BA8A3C;\r\n-  }\r\n-  .note-count {\r\n-    background-color: #fff;\r\n-    padding: 5px;\r\n-    float: right;\r\n-    overflow: hidden;\r\n-    color: #aaa;\r\n-    margin-right: 2px;\r\n-  }\r\n-  .SELF-source_icon3 {\r\n-    float: left;\r\n-  }\r\n-  .SELF-source_icon3 img {\r\n-    background-color: inherit;\r\n-    opacity: 0.5;\r\n-  }\r\n-  .item-summary {\r\n-    margin-left: 40px;\r\n-    > div {\r\n-      .show-link-in-popup {\r\n-        float: right;\r\n-      }\r\n-      div {\r\n-        display: inline;\r\n-        .pointer-item.item-name {\r\n-          padding-left: 0;\r\n-        }\r\n-      }\r\n-    }\r\n-  }\r\n-}\r\n-\r\n-.source-info-container {\r\n-    margin-bottom: 0px;\r\n-    font-size: 12px;\r\n-    background: #FFFBE6;\r\n-    display: inline-block;\r\n-    width: 100%;\r\n-    padding:6px;\r\n-    &.with-vote-button .item-content {\r\n-      padding: 16px;\r\n-    }\r\n-    .item-summary {\r\n-    width: 78%;\r\n-    }\r\n-}\r\n-\r\n-.source-details-toggle {\r\n-    cursor: pointer;\r\n-    position: relative;\r\n-    width: 99%;\r\n-  &.active .source-info-container {\r\n-    outline: 1px solid #ccc;\r\n-    background: #FFF8D5;\r\n-    color: #666;\r\n-  }\r\n-  &:hover .source-info-container {\r\n-    background: #FFF9DA;\r\n-  }\r\n-  .item-content{\r\n-    background:none!important;\r\n-  }\r\n-  &.active {\r\n-    &:after {\r\n-      content: '';\r\n-      display: block;\r\n-      position: absolute;\r\n-      top: 25px;\r\n-      left: 100%;\r\n-      width: 0;\r\n-      height: 0;\r\n-      border-color: transparent transparent transparent #FFF8D5;\r\n-      border-style: solid;\r\n-      border-width: 11px;\r\n-    }\r\n-    &:before {\r\n-      content: '';\r\n-      display: block;\r\n-      position: absolute;\r\n-      top: 23px;\r\n-      left: 100%;\r\n-      width: 0;\r\n-      height: 0;\r\n-      border-color: transparent transparent transparent #C3C3C3;\r\n-      border-style: solid;\r\n-      border-width: 13px;\r\n-    }\r\n-  }\r\n-}\r\n-\r\n-.STRUCTURE-source_item .last-update,\r\n-.STRUCTURE-source_preview_item .last-update,\r\n-.STRUCTURE-note_item,\r\n-.STRUCTURE-company_note_item .last-update {\r\n-  color: #ccc;\r\n-  font-size: 12px;\r\n-}\r\n-.STRUCTURE-source_preview_item {\r\n-  margin-top: 20px;\r\n-  div.pointer-list,\r\n-  div.search-result-list {\r\n-    padding: 0;\r\n-  }\r\n-}\r\n-.STRUCTURE-source_item,\r\n-.STRUCTURE-source_preview_item {\r\n-  .last-update {\r\n-    float: left;\r\n-    margin-top: 5px;\r\n-  }\r\n-  .item-content {\r\n-    padding: 12px;\r\n-    margin-left: 40px;\r\n-    overflow: hidden;\r\n-  }\r\n-}\r\n-.STRUCTURE-note_item,\r\n-.STRUCTURE-company_note_item {\r\n-  .item-content {\r\n-    padding: 12px;\r\n-    margin-left: 40px;\r\n-    overflow: hidden;\r\n-    background: #fff;\r\n-  }\r\n-}\r\n-.STRUCTURE-note_item,\r\n-.STRUCTURE-source_item,\r\n-.STRUCTURE-source_preview_item {\r\n-  &.card-content .missing-view {\r\n-    display: none;\r\n-  }\r\n-}\r\n-.STRUCTURE-source_item .last-edit,\r\n-.STRUCTURE-source_preview_item .last-edit {\r\n-  margin-bottom: 10px;\r\n-  color: #adadad;\r\n-  font-size: 12px;\r\n-  .item-link {\r\n-    padding-left: 0;\r\n-  }\r\n-}\r\n-\r\n-.RIGHT-new_value.TYPE_PLUS_RIGHT-html-new_value{\r\n-  padding: 0!important;\r\n-}\r\n-\r\n-a.view-original-url {\r\n-    position: absolute;\r\n-    right: 10px;\r\n-    color: #999;\r\n-    cursor: pointer;\r\n-    font-size: 11px;\r\n-    width: 60px;\r\n+@mixin box-shadow($x: 2px, $y: 2px, $blur: 5px, $color: rgba(0, 0, 0, .4), $inset: \"\") {\n+  @if ($inset != \"\"){\n+    -webkit-box-shadow: $inset $x $y $blur $color;\n+    -moz-box-shadow: $inset $x $y $blur $color;\n+    box-shadow: $inset $x $y $blur $color;\n+  }\n+  @else {\n+    -webkit-box-shadow: $x $y $blur $color;\n+    -moz-box-shadow: $x $y $blur $color;\n+    box-shadow: $x $y $blur $color;\n+  }\n+}\n+$body_background: #ebebeb;\n+\n+.preview-view.TYPE-source {\n+   overflow: hidden;\n+}\n+\n+#source-preview-page-layout {\n+  #main {\n+    padding: 0;\n+    max-width: none;\n+  }\n+  #logo-bar {\n+    padding: 0;\n+    float: left;\n+    width: 100%;\n+    background-color: white;\n+    border-bottom: 1px solid #a3a3a3;\n+    @include box-shadow(0,0,6px,rgba(0,0,0,.64));\n+    position: relative;\n+    height: 53px;\n+    .top-bar-icon {\n+      float: left;\n+      padding: 6px;\n+    }\n+    margin-bottom: 0;\n+  }\n+  .ui-draggable {\n+    border-bottom: 1px solid #a3a3a3;\n+    @include box-shadow(0,0,6px,rgba(0,0,0,.64));\n+  }\n+  #source_preview_page {\n+    overflow: hidden;\n+  }\n+  div.ui-tooltip {\n+    max-width: 400px;\n+  }\n+  .TYPE-note {\n+    .source-side {\n+      width: 100%;\n+      padding-right: 0;\n+      margin-left: 0;\n+    }\n+  }\n+  #company-and-topic-detail-link {\n+    border-left: 1px solid #f1f1f1;\n+    position: absolute;\n+    right: 0;\n+    top: 0;\n+    height: 100%;\n+    color: #ccc;\n+    width: 45px;\n+    i {\n+      padding-top: 19px;\n+    }\n+    &:hover {\n+      background: #f3f3f3;\n+      color: #acacac;\n+    }\n+  }\n+  #note-success {\n+    a,\n+    span {\n+      float: left;\n+      margin: 3px;\n+      width: 100%;\n+      text-align: center;\n+    }\n+  }\n+  .no-dropdown {\n+    display: none;\n+  }\n+  #company-and-topic {\n+    float: right;\n+    text-align: center;\n+    padding: 14px 50px 14px 14px;\n+    background: #fafafa;\n+    border-left: 1px solid #f1f1f1;\n+    border-right: 1px solid #f1f1f1;\n+    position: relative;\n+    .company-name,\n+    .topic-name {\n+      display: inline-block;\n+      margin: 0 6px;\n+    }\n+  }\n+  a#make-a-note-button {\n+    i {\n+      color: #fff;\n+    }\n+    color: #fff;\n+  }\n+  .nav-center {\n+    display: inline;\n+    position: relative;\n+    text-align: center;\n+    left: 25%;\n+  }\n+  .menu-options {\n+    // float: right;\n+    // width: 40%;\n+    // min-height: 52px;\n+    // text-align: right;\n+    // margin: 16px 5px;\n+    li {\n+      display: inline;\n+    }\n+    div {}\n+    .btn {\n+      padding: 17px 22px;\n+      margin: -3px;\n+      color: #ADADAD;\n+      border-color: #E8E8E8;\n+      i {\n+        padding-right: 5px;\n+      }\n+    }\n+    #make-note {\n+      float: right;\n+      padding: 15px;\n+      //margin-top: 8px;\n+      a {\n+        color: white;\n+      }\n+    }\n+    #source-page-link {\n+      float: right;\n+      width: auto;\n+      padding: 0 0 0 20px;\n+      a {\n+        padding: 14px 16px;\n+        background: #fafafa;\n+        border: 1px solid#f1f1f1;\n+        color: #afafaf;\n+        text-decoration: none;\n+        width: auto;\n+        float: left;\n+        &:hover {\n+          background: #f3f3f3;\n+          color: #acacac;\n+        }\n+      }\n+    }\n+    #source-page-button {\n+      float: left;\n+      width: 100%;\n+    }\n+    #direct-link-button {\n+      float: left;\n+      width: 100%;\n+    }\n+    #mark-irrelevant,\n+    #mark-relevant {\n+      float: right!important;\n+      margin: 16px 3px;\n+    }\n+    #note-count {\n+      float: right;\n+      padding: 12px;\n+    }\n+  }\n+  #irrelevant-options {\n+    a {\n+      color: #fff;\n+      text-decoration: none;\n+    }\n+    div {\n+      float: left;\n+      clear: both;\n+      margin: 3px;\n+    }\n+  }\n+  .non-previewable {\n+    background-color: $body_background;\n+  }\n+  /*\n+\n+Henry, get rid of me!!!\n+  .new-note-button{\n+  .create-submit-button{\n+  width: 100%;\n+  height: 30px;\n+  margin-top: 14px;\n+  }\n+  }\n+*/\n+}\n+.redirect-notice {\n+  background-color: white;\n+  text-align: center;\n+  margin-top: 15%;\n+  padding-top: 5%;\n+  padding-bottom: 5%;\n+  margin-left: 10%;\n+  margin-right: 10%;\n+  .item-content {\n+    text-align: left;\n+  }\n+  a {\n+    // margin: 20px;\n+  }\n+  .edit-source {\n+    float: right;\n+  }\n+}\n+.webpage-preview {\n+  float: left;\n+  background: white;\n+  width: 100%;\n+  @include box-shadow(5px, 6px, 15px, rgba(0, 0, 0, 0.45), inset);\n+  border-top: 1px solid #eee;\n+  iframe {\n+    width: 100%;\n+    height: 100%;\n+    border: 0;\n+    outline: 0;\n+  }\n+  .TYPE_PLUS_RIGHT-source-text {\n+    margin-top: 55px;\n+  }\n+}\n+.preview-view {\n+  .close-tab {\n+    right: 15px;\n+    position: fixed;\n+    top: 66px;\n+    cursor: pointer;\n+    z-index: 999;\n+  }\n+  i {\n+    color: #bbb!important;\n+  }\n+  .full-width {\n+    width: 100%!important;\n+  }\n+  .source-preview-content {\n+    margin-top: 51px;\n+  }\n+  .source-details-tab {\n+    > .panel-heading {\n+      border-bottom: 1px solid #ebebeb;\n+      margin: 0 -30px;\n+      padding: 15px;\n+      position: fixed;\n+      background-color: #fff;\n+      width: 100%;\n+      z-index: 99;\n+    }\n+  }\n+  .source-details-sub-content {\n+    margin-top: 60px;\n+  }\n+  nav.navbar.navbar-default {\n+    margin-bottom: 0;\n+    position: fixed;\n+    z-index: 99999;\n+    width: 100%;\n+  }\n+  .tab-pane > .open-view > .card-frame {\n+    margin: 0 -15px;\n+    > .card-body {\n+      padding-top: 0;\n+    }\n+  }\n+  .nav-tabs > li > a {\n+    // margin-right: -1px;\n+    // line-height: 1.42857;\n+    // border: 1px solid #ebebeb;\n+    // border-radius: 0px;\n+    padding: 15px 18px;\n+    // background-color: #fafafa;\n+    margin-bottom: -1px;\n+    // color: #666!important;\n+    .count-number {\n+      margin-left: 2px;\n+    }\n+    i {\n+      margin: 0 6px;\n+    }\n+  }\n+  // .nav-tabs>li.active > a,\n+  // .nav-tabs>li>a:hover,\n+  // .nav-tabs>li>a:focus{\n+  //   background-color: #fff;\n+  //   border-bottom-color: #fff;\n+  // }\n+  // .nav-tabs>li>a:hover{\n+  //   border-bottom:1px solid #ebebeb;\n+  // }\n+  // .nav-tabs>li.active>a:hover{\n+  //   border-bottom:0px solid #ebebeb;\n+  // }\n+  .col-1 {\n+    width: 13px;\n+    padding: 8px;\n+    float: left;\n+  }\n+  .gray-color a {\n+    color: #666!important;\n+  }\n+  .source-iframe-container {\n+    background-color: #ebebeb;\n+    padding-right: 0;\n+  }\n+  .source-right-sidebar {\n+    @include box-shadow( -3px, 4px, 10px, rgba(0,0,0,0.15));\n+    position: absolute;\n+    right: 0;\n+    border-left: 1px solid #BBBBBB;\n+    top: 51px;\n+    bottom: 0;\n+    overflow-y: scroll;\n+  }\n+}\n+\n+.source-item {\n+  width: 100%;\n+  display: inline-block;\n+  background: #FFFDF3;\n+  // padding: 10px;\n+  // margin-bottom: 10px;\n+  border: 1px solid #FFF1D6;\n+  // background: #FFFFFF;\n+  padding: 10px;\n+  margin-bottom: 10px;\n+  // border: 1px solid #EBEBEB;\n+  // box-shadow: 0px 3px 12px -5px rgba(0, 0, 0, 0.25);\n+  // @include box-shadow(0px 3px 12px -5px rgba(0, 0, 0, 0.25));\n+  .vote-button {\n+    width: 20px;\n+    height: 20px;\n+  }\n+  .vote-count {\n+    width: 20px;\n+    height: 18px;\n+    padding-top: 0px;\n+  }\n+  .source-icon{\n+    width: 1%;\n+    margin: 0px 10px;\n+    float: left;\n+    visibility: hidden; //until we find a good icon\n+  }\n+  .source-content{\n+    float: left;\n+    width: 85%;\n+  }\n+  .source-link {\n+    color: #9A5F00;\n+    div {\n+    display: inline;\n+    }\n+    a {\n+    color: inherit;;//#BA8A3C;\n+    }\n+  }\n+  .source-website {\n+    .item-name {\n+    padding: 0;\n+    }\n+  }\n+  .source-extra {\n+    float: left;\n+    margin-left: 32px;\n+    font-size: 11px;\n+    color: #ABABAB;\n+    ul{\n+    margin-bottom: 0px;\n+    }\n+    .list-inline>li {\n+    margin-top: 8px;\n+    margin-right: 10px;\n+    }\n+    .list-inline>li:last-child{\n+    font-weight: bold;\n+    }\n+    i {\n+      padding-right: 4px;\n+    }\n+    a{\n+    color: inherit;\n+    }\n+  }\n+}\n+\n+//custom button on source citation\n+.c-btn{\n+  width: 62px;\n+  position: absolute;\n+  right: 6px;\n+  padding: 2px;\n+  bottom: 19%;\n+}\n+\n+#source-form-container{\n+  .source-item {\n+  margin-bottom: -6px;\n+  }\n+}\n+.source-info-container {\n+  margin-bottom: 0;\n+  font-size: 12px;\n+  // background: #FFFBE6;\n+  display: inline-block;\n+  width: 100%;\n+  position: relative;\n+  // padding: 6px;\n+  &.with-vote-button .item-content {\n+    padding: 16px;\n+  }\n+  .item-summary {\n+    width: 78%;\n+  }\n+}\n+.source-details-toggle {\n+  cursor: pointer;\n+  position: relative;\n+  width: 99%;\n+  &.active .source-item{\n+    border: 1px solid #ccc;\n+    background: #FFF8D5;\n+    color: #666;\n+  }\n+  &:hover .source-item {\n+    background: #FFF9DA;\n+  }\n+  // .item-content {\n+  //   background: none!important;\n+  // }\n+  &.active {\n+    &:after {\n+      content: '';\n+      display: block;\n+      position: absolute;\n+      top: 25px;\n+      left: 99.9%;\n+      width: 0;\n+      height: 0;\n+      border-color: transparent transparent transparent #FFF8D5;\n+      border-style: solid;\n+      border-width: 11px;\n+    }\n+    &:before {\n+      content: '';\n+      display: block;\n+      position: absolute;\n+      top: 23px;\n+      left: 99.9%;\n+      width: 0;\n+      height: 0;\n+      border-color: transparent transparent transparent #C3C3C3;\n+      border-style: solid;\n+      border-width: 13px;\n+    }\n+  }\n+}\n+\n+\n+// Finally ! working on this.\n+// TODO: refactor all source related HTML soon. Its a mess\n+/*all source related css classes copied from *css */\n+// #note-count,\n+// .STRUCTURE-source_item,\n+// .STRUCTURE-source_item_preview,\n+// .STRUCTURE-source_preview_item,\n+// .source-info-container {\n+//   margin-bottom: 20px;\n+//   // padding: 3px 3% 8px;\n+//   .vote-button {\n+//     width: 25px;\n+//     height: 25px;\n+//   }\n+//   .source-icon {\n+//     padding: 5px;\n+//     float: left;\n+//   }\n+//   .vote-count {\n+//     width: 25px;\n+//     height: 20px;\n+//     padding-top: 0;\n+//   }\n+//   .item-content {\n+//     background: #FFFBE6;\n+//     padding: 14px;\n+//     color: #BA8A3C;\n+//   }\n+//   .note-count {\n+//     background-color: #fff;\n+//     padding: 5px;\n+//     float: right;\n+//     overflow: hidden;\n+//     color: #aaa;\n+//     margin-right: 2px;\n+//   }\n+//   .SELF-source_icon3 {\n+//     float: left;\n+//   }\n+//   .SELF-source_icon3 img {\n+//     background-color: inherit;\n+//     opacity: 0.5;\n+//   }\n+//   .item-summary {\n+//     margin-left: 40px;\n+//     > div {\n+//       .show-link-in-popup {\n+//         float: right;\n+//       }\n+//       div {\n+//         display: inline;\n+//         .pointer-item.item-name {\n+//           padding-left: 0;\n+//         }\n+//       }\n+//     }\n+//   }\n+// }\n+\n+\n+\n+\n+\n+.STRUCTURE-company_note_item .last-update,\n+.STRUCTURE-note_item,\n+.STRUCTURE-source_item .last-update,\n+.STRUCTURE-source_preview_item .last-update {\n+  color: #ccc;\n+  font-size: 12px;\n+}\n+.STRUCTURE-source_preview_item {\n+  margin-top: 20px;\n+  div.pointer-list,\n+  div.search-result-list {\n+    padding: 0;\n+  }\n+}\n+.STRUCTURE-source_item,\n+.STRUCTURE-source_preview_item {\n+  .last-update {\n+    float: left;\n+    margin-top: 5px;\n+  }\n+  .item-content {\n+    padding: 12px;\n+    margin-left: 40px;\n+    overflow: hidden;\n+  }\n+}\n+.STRUCTURE-company_note_item,\n+.STRUCTURE-note_item {\n+  .item-content {\n+    padding: 12px;\n+    margin-left: 40px;\n+    overflow: hidden;\n+    background: #fff;\n+  }\n+}\n+.STRUCTURE-note_item,\n+.STRUCTURE-source_item,\n+.STRUCTURE-source_preview_item {\n+  &.card-content .missing-view {\n+    display: none;\n+  }\n+}\n+.STRUCTURE-source_item .last-edit,","path":"mod/wikirate_source/lib/stylesheets/style_source_preview.scss","position":1079,"original_position":1079,"commit_id":"1c6f5672c36317fed5cd0f226ee2f94acae74a67","original_commit_id":"1c6f5672c36317fed5cd0f226ee2f94acae74a67","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Selector `STRUCTURE-source_item` should be written in lowercase with hyphens<br>Selector `STRUCTURE-source_preview_item` should be written in lowercase with hyphens","created_at":"2016-06-10T16:15:47Z","updated_at":"2016-06-10T16:15:48Z","html_url":"https://github.com/wagn/wikirate/pull/436#discussion_r66640644","pull_request_url":"https://api.github.com/repos/wagn/wikirate/pulls/436","_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments/66640644"},"html":{"href":"https://github.com/wagn/wikirate/pull/436#discussion_r66640644"},"pull_request":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/436"}}},"pull_request":{"url":"https://api.github.com/repos/wagn/wikirate/pulls/436","id":73398852,"html_url":"https://github.com/wagn/wikirate/pull/436","diff_url":"https://github.com/wagn/wikirate/pull/436.diff","patch_url":"https://github.com/wagn/wikirate/pull/436.patch","issue_url":"https://api.github.com/repos/wagn/wikirate/issues/436","number":436,"state":"open","locked":false,"title":"UX improvements, code clean and bug fixes ","user":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-10T16:15:32Z","updated_at":"2016-06-10T16:15:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f0dcae402a4a7add284f78694b42d2f3fbb1d2b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wagn/wikirate/pulls/436/commits","review_comments_url":"https://api.github.com/repos/wagn/wikirate/pulls/436/comments","review_comment_url":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wagn/wikirate/issues/436/comments","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/1c6f5672c36317fed5cd0f226ee2f94acae74a67","head":{"label":"srivig:improve","ref":"improve","sha":"1c6f5672c36317fed5cd0f226ee2f94acae74a67","user":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"repo":{"id":26482921,"name":"wikirate","full_name":"srivig/wikirate","owner":{"login":"srivig","id":6579236,"avatar_url":"https://avatars.githubusercontent.com/u/6579236?v=3","gravatar_id":"","url":"https://api.github.com/users/srivig","html_url":"https://github.com/srivig","followers_url":"https://api.github.com/users/srivig/followers","following_url":"https://api.github.com/users/srivig/following{/other_user}","gists_url":"https://api.github.com/users/srivig/gists{/gist_id}","starred_url":"https://api.github.com/users/srivig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srivig/subscriptions","organizations_url":"https://api.github.com/users/srivig/orgs","repos_url":"https://api.github.com/users/srivig/repos","events_url":"https://api.github.com/users/srivig/events{/privacy}","received_events_url":"https://api.github.com/users/srivig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/srivig/wikirate","description":"","fork":true,"url":"https://api.github.com/repos/srivig/wikirate","forks_url":"https://api.github.com/repos/srivig/wikirate/forks","keys_url":"https://api.github.com/repos/srivig/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/srivig/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/srivig/wikirate/teams","hooks_url":"https://api.github.com/repos/srivig/wikirate/hooks","issue_events_url":"https://api.github.com/repos/srivig/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/srivig/wikirate/events","assignees_url":"https://api.github.com/repos/srivig/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/srivig/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/srivig/wikirate/tags","blobs_url":"https://api.github.com/repos/srivig/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/srivig/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/srivig/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/srivig/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/srivig/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/srivig/wikirate/languages","stargazers_url":"https://api.github.com/repos/srivig/wikirate/stargazers","contributors_url":"https://api.github.com/repos/srivig/wikirate/contributors","subscribers_url":"https://api.github.com/repos/srivig/wikirate/subscribers","subscription_url":"https://api.github.com/repos/srivig/wikirate/subscription","commits_url":"https://api.github.com/repos/srivig/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/srivig/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/srivig/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/srivig/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/srivig/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/srivig/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/srivig/wikirate/merges","archive_url":"https://api.github.com/repos/srivig/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/srivig/wikirate/downloads","issues_url":"https://api.github.com/repos/srivig/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/srivig/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/srivig/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/srivig/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/srivig/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/srivig/wikirate/releases{/id}","deployments_url":"https://api.github.com/repos/srivig/wikirate/deployments","created_at":"2014-11-11T11:53:21Z","updated_at":"2016-05-16T11:59:10Z","pushed_at":"2016-06-10T16:13:25Z","git_url":"git://github.com/srivig/wikirate.git","ssh_url":"git@github.com:srivig/wikirate.git","clone_url":"https://github.com/srivig/wikirate.git","svn_url":"https://github.com/srivig/wikirate","homepage":null,"size":93208,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"wagn:master","ref":"master","sha":"6b1edce23b8738cab89622a73c97cef9bd3157b6","user":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"repo":{"id":15884166,"name":"wikirate","full_name":"wagn/wikirate","owner":{"login":"wagn","id":20722,"avatar_url":"https://avatars.githubusercontent.com/u/20722?v=3","gravatar_id":"","url":"https://api.github.com/users/wagn","html_url":"https://github.com/wagn","followers_url":"https://api.github.com/users/wagn/followers","following_url":"https://api.github.com/users/wagn/following{/other_user}","gists_url":"https://api.github.com/users/wagn/gists{/gist_id}","starred_url":"https://api.github.com/users/wagn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wagn/subscriptions","organizations_url":"https://api.github.com/users/wagn/orgs","repos_url":"https://api.github.com/users/wagn/repos","events_url":"https://api.github.com/users/wagn/events{/privacy}","received_events_url":"https://api.github.com/users/wagn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wagn/wikirate","description":"","fork":false,"url":"https://api.github.com/repos/wagn/wikirate","forks_url":"https://api.github.com/repos/wagn/wikirate/forks","keys_url":"https://api.github.com/repos/wagn/wikirate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wagn/wikirate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wagn/wikirate/teams","hooks_url":"https://api.github.com/repos/wagn/wikirate/hooks","issue_events_url":"https://api.github.com/repos/wagn/wikirate/issues/events{/number}","events_url":"https://api.github.com/repos/wagn/wikirate/events","assignees_url":"https://api.github.com/repos/wagn/wikirate/assignees{/user}","branches_url":"https://api.github.com/repos/wagn/wikirate/branches{/branch}","tags_url":"https://api.github.com/repos/wagn/wikirate/tags","blobs_url":"https://api.github.com/repos/wagn/wikirate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wagn/wikirate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wagn/wikirate/git/refs{/sha}","trees_url":"https://api.github.com/repos/wagn/wikirate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wagn/wikirate/statuses/{sha}","languages_url":"https://api.github.com/repos/wagn/wikirate/languages","stargazers_url":"https://api.github.com/repos/wagn/wikirate/stargazers","contributors_url":"https://api.github.com/repos/wagn/wikirate/contributors","subscribers_url":"https://api.github.com/repos/wagn/wikirate/subscribers","subscription_url":"https://api.github.com/repos/wagn/wikirate/subscription","commits_url":"https://api.github.com/repos/wagn/wikirate/commits{/sha}","git_commits_url":"https://api.github.com/repos/wagn/wikirate/git/commits{/sha}","comments_url":"https://api.github.com/repos/wagn/wikirate/comments{/number}","issue_comment_url":"https://api.github.com/repos/wagn/wikirate/issues/comments{/number}","contents_url":"https://api.github.com/repos/wagn/wikirate/contents/{+path}","compare_url":"https://api.github.com/repos/wagn/wikirate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wagn/wikirate/merges","archive_url":"https://api.github.com/repos/wagn/wikirate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wagn/wikirate/downloads","issues_url":"https://api.github.com/repos/wagn/wikirate/issues{/number}","pulls_url":"https://api.github.com/repos/wagn/wikirate/pulls{/number}","milestones_url":"https://api.github.com/repos/wagn/wikirate/milestones{/number}","notifications_url":"https://api.github.com/repos/wagn/wikirate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wagn/wikirate/labels{/name}","releases_url":"https://api.github.com/repos/wagn/wikirate/releases{/id}","deployments_url":"https://api.github.com/repos/wagn/wikirate/deployments","created_at":"2014-01-13T22:29:39Z","updated_at":"2016-05-07T04:55:35Z","pushed_at":"2016-06-10T16:15:32Z","git_url":"git://github.com/wagn/wikirate.git","ssh_url":"git@github.com:wagn/wikirate.git","clone_url":"https://github.com/wagn/wikirate.git","svn_url":"https://github.com/wagn/wikirate","homepage":null,"size":92535,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/436"},"html":{"href":"https://github.com/wagn/wikirate/pull/436"},"issue":{"href":"https://api.github.com/repos/wagn/wikirate/issues/436"},"comments":{"href":"https://api.github.com/repos/wagn/wikirate/issues/436/comments"},"review_comments":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/436/comments"},"review_comment":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wagn/wikirate/pulls/436/commits"},"statuses":{"href":"https://api.github.com/repos/wagn/wikirate/statuses/1c6f5672c36317fed5cd0f226ee2f94acae74a67"}}}}
{"actor":{"display_login":"houndci-bot"}}