Show More
@@ -717,7 +717,14 b' input.filediff-collapse-state {' | |||||
717 | transform: translate(0, 0); /* For browsers don't support translate3d. */ |
|
717 | transform: translate(0, 0); /* For browsers don't support translate3d. */ | |
718 | transform: translate3d(0, 0, 0); |
|
718 | transform: translate3d(0, 0, 0); | |
719 | will-change: position, transform; |
|
719 | will-change: position, transform; | |
720 |
height: |
|
720 | height: 70px; | |
|
721 | z-index: 30; | |||
|
722 | background-color: #fff; | |||
|
723 | padding: 5px 0px; | |||
|
724 | } | |||
|
725 | ||||
|
726 | .sidebar__bar { | |||
|
727 | padding: 5px 0px 0px 0px | |||
721 | } |
|
728 | } | |
722 |
|
729 | |||
723 | .fpath-placeholder { |
|
730 | .fpath-placeholder { | |
@@ -728,9 +735,9 b' input.filediff-collapse-state {' | |||||
728 | .is-affixed { |
|
735 | .is-affixed { | |
729 | .sidebar_inner_shadow { |
|
736 | .sidebar_inner_shadow { | |
730 | position: fixed; |
|
737 | position: fixed; | |
731 |
top: |
|
738 | top: 75px; | |
732 | right: 0; |
|
739 | right: -100%; | |
733 | left: 0; |
|
740 | left: -100%; | |
734 | z-index: 28; |
|
741 | z-index: 28; | |
735 | display: block; |
|
742 | display: block; | |
736 | height: 5px; |
|
743 | height: 5px; |
@@ -737,7 +737,8 b' def get_comments_for(diff_type, comments' | |||||
737 |
|
737 | |||
738 | <div id="diff-file-sticky" class="diffset-menu clearinner"> |
|
738 | <div id="diff-file-sticky" class="diffset-menu clearinner"> | |
739 | ## auto adjustable |
|
739 | ## auto adjustable | |
740 | <div class="sidebar__inner" style="z-index: 30;background-color: #fff; padding: 5px 0px;"> |
|
740 | <div class="sidebar__inner"> | |
|
741 | <div class="sidebar__bar"> | |||
741 | <div class="pull-right"> |
|
742 | <div class="pull-right"> | |
742 | <div class="btn-group"> |
|
743 | <div class="btn-group"> | |
743 |
|
744 | |||
@@ -788,11 +789,12 b' def get_comments_for(diff_type, comments' | |||||
788 | onclick="updateSticky();return Rhodecode.comments.toggleWideMode(this)">${_('Wide Mode Diff')}</a> |
|
789 | onclick="updateSticky();return Rhodecode.comments.toggleWideMode(this)">${_('Wide Mode Diff')}</a> | |
789 |
|
790 | |||
790 | </div> |
|
791 | </div> | |
|
792 | </div> | |||
791 | </div> |
|
793 | </div> | |
792 | <div class="fpath-placeholder"> |
|
794 | <div class="fpath-placeholder"> | |
793 | <i class="icon-file-text"></i> |
|
795 | <i class="icon-file-text"></i> | |
794 | <strong class="fpath-placeholder-text"> |
|
796 | <strong class="fpath-placeholder-text"> | |
795 |
|
797 | Context file: | ||
796 | </strong> |
|
798 | </strong> | |
797 | </div> |
|
799 | </div> | |
798 | <div class="sidebar_inner_shadow"></div> |
|
800 | <div class="sidebar_inner_shadow"></div> | |
@@ -940,7 +942,7 b' def get_comments_for(diff_type, comments' | |||||
940 | setFPathInfo($(this.element).data('fPath'), $(this.element).data('anchorId')) |
|
942 | setFPathInfo($(this.element).data('fPath'), $(this.element).data('anchorId')) | |
941 | } |
|
943 | } | |
942 | }, { |
|
944 | }, { | |
943 |
offset: |
|
945 | offset: 70, | |
944 | context: '.fpath-placeholder' |
|
946 | context: '.fpath-placeholder' | |
945 | } |
|
947 | } | |
946 | ); |
|
948 | ); | |
@@ -953,7 +955,7 b' def get_comments_for(diff_type, comments' | |||||
953 | } |
|
955 | } | |
954 | }, { |
|
956 | }, { | |
955 | offset: function () { |
|
957 | offset: function () { | |
956 |
return -this.element.clientHeight + |
|
958 | return -this.element.clientHeight + 90 | |
957 | }, |
|
959 | }, | |
958 | context: '.fpath-placeholder' |
|
960 | context: '.fpath-placeholder' | |
959 | } |
|
961 | } |
General Comments 0
You need to be logged in to leave comments.
Login now