##// END OF EJS Templates
styling: gravatar improvements for special cases
lisaq -
r8:d9e065f6 default
parent child
Show More
@@ -439,6 +439,11 div.codeblock {
439 padding: @padding;
439 padding: @padding;
440 border-bottom: @border-thickness solid @grey5;
440 border-bottom: @border-thickness solid @grey5;
441
441
442 .rc-user {
443 min-width: 0;
444 margin-right: .5em;
445 }
446
442 .stats {
447 .stats {
443 clear: both;
448 clear: both;
444 margin: 0 0 @padding 0;
449 margin: 0 0 @padding 0;
@@ -52,6 +52,11 tr.inline-comments div {
52 padding: 4px 0 0 0;
52 padding: 4px 0 0 0;
53 line-height: 1em;
53 line-height: 1em;
54
54
55 .rc-user {
56 min-width: 0;
57 margin: -2px .5em 0 0;
58 }
59
55 .meta {
60 .meta {
56 position: relative;
61 position: relative;
57 width: 100%;
62 width: 100%;
@@ -671,6 +671,7 label {
671 }
671 }
672
672
673 .rc-user { // gravatar + user wrapper
673 .rc-user { // gravatar + user wrapper
674 float: left;
674 position: relative;
675 position: relative;
675 min-width: 100px;
676 min-width: 100px;
676 max-width: 200px;
677 max-width: 200px;
@@ -1223,6 +1224,16 table.issuetracker {
1223 max-width: 83%;
1224 max-width: 83%;
1224 padding-right: 20px;
1225 padding-right: 20px;
1225 vertical-align: middle;
1226 vertical-align: middle;
1227 line-height: 1;
1228
1229 .rc-user {
1230 min-width: 0;
1231 margin: -2px 1em 0 0;
1232 }
1233
1234 .reviewer {
1235 float: left;
1236 }
1226 }
1237 }
1227
1238
1228 .reviewer_member_remove {
1239 .reviewer_member_remove {
@@ -1253,7 +1264,7 table.issuetracker {
1253 }
1264 }
1254 .pr-details-content {
1265 .pr-details-content {
1255 margin-top: @textmargin;
1266 margin-top: @textmargin;
1256 margin-bottom: @textmargin/2;
1267 margin-bottom: @textmargin;
1257 }
1268 }
1258 .pr-description {
1269 .pr-description {
1259 white-space:pre-wrap;
1270 white-space:pre-wrap;
@@ -195,9 +195,9
195 <div class="reviewer_status tooltip" title="${h.tooltip(h.commit_status_lbl(status[0][1].status if status else 'not_reviewed'))}">
195 <div class="reviewer_status tooltip" title="${h.tooltip(h.commit_status_lbl(status[0][1].status if status else 'not_reviewed'))}">
196 <div class="${'flag_status %s' % (status[0][1].status if status else 'not_reviewed')} pull-left reviewer_member_status"></div>
196 <div class="${'flag_status %s' % (status[0][1].status if status else 'not_reviewed')} pull-left reviewer_member_status"></div>
197 </div>
197 </div>
198 <span id="reviewer_${member.user_id}_name" class="reviewer_name">
198 <div id="reviewer_${member.user_id}_name" class="reviewer_name">
199 ${self.gravatar_with_user(member.email, 16)}
199 ${self.gravatar_with_user(member.email, 16)} <div class="reviewer">(${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})</div>
200 (${_('owner') if c.pull_request.user_id == member.user_id else _('reviewer')})</span>
200 </div>
201 <input id="reviewer_${member.user_id}_input" type="hidden" value="${member.user_id}" name="review_members" />
201 <input id="reviewer_${member.user_id}_input" type="hidden" value="${member.user_id}" name="review_members" />
202 %if c.allowed_to_update:
202 %if c.allowed_to_update:
203 <div class="reviewer_member_remove action_button" onclick="removeReviewMember(${member.user_id}, true)" style="visibility: hidden;">
203 <div class="reviewer_member_remove action_button" onclick="removeReviewMember(${member.user_id}, true)" style="visibility: hidden;">
General Comments 0
You need to be logged in to leave comments. Login now