##// END OF EJS Templates
diffs: ui improvements over the sticky header.
dan -
r3128:814ba1c1 default
parent child Browse files
Show More
@@ -717,7 +717,14 b' input.filediff-collapse-state {'
717 717 transform: translate(0, 0); /* For browsers don't support translate3d. */
718 718 transform: translate3d(0, 0, 0);
719 719 will-change: position, transform;
720 height: 60px;
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 730 .fpath-placeholder {
@@ -728,9 +735,9 b' input.filediff-collapse-state {'
728 735 .is-affixed {
729 736 .sidebar_inner_shadow {
730 737 position: fixed;
731 top: 43px;
732 right: 0;
733 left: 0;
738 top: 75px;
739 right: -100%;
740 left: -100%;
734 741 z-index: 28;
735 742 display: block;
736 743 height: 5px;
@@ -737,7 +737,8 b' def get_comments_for(diff_type, comments'
737 737
738 738 <div id="diff-file-sticky" class="diffset-menu clearinner">
739 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 742 <div class="pull-right">
742 743 <div class="btn-group">
743 744
@@ -788,11 +789,12 b' def get_comments_for(diff_type, comments'
788 789 onclick="updateSticky();return Rhodecode.comments.toggleWideMode(this)">${_('Wide Mode Diff')}</a>
789 790
790 791 </div>
792 </div>
791 793 </div>
792 794 <div class="fpath-placeholder">
793 795 <i class="icon-file-text"></i>
794 796 <strong class="fpath-placeholder-text">
795
797 Context file:
796 798 </strong>
797 799 </div>
798 800 <div class="sidebar_inner_shadow"></div>
@@ -940,7 +942,7 b' def get_comments_for(diff_type, comments'
940 942 setFPathInfo($(this.element).data('fPath'), $(this.element).data('anchorId'))
941 943 }
942 944 }, {
943 offset: 60,
945 offset: 70,
944 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 957 offset: function () {
956 return -this.element.clientHeight + 80
958 return -this.element.clientHeight + 90
957 959 },
958 960 context: '.fpath-placeholder'
959 961 }
General Comments 0
You need to be logged in to leave comments. Login now