Skip to content

Commit

Permalink
Merge pull request 'fix/update-common-controls-sprite' (#58) from fix…
Browse files Browse the repository at this point in the history
…/update-common-controls-sprite into release/v8.2.0
  • Loading branch information
Julia Radzhabova committed Oct 3, 2024
2 parents 157a3ca + 077b617 commit e387446
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 18 deletions.
4 changes: 2 additions & 2 deletions apps/common/main/lib/template/Comments.template
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@
<% } %>
<% } %>
<% if (editable && !scope.viewmode) { %>
<div class="btn-resolve <% if (resolved) print('comment-resolved') %>" data-toggle="tooltip"></div>
<div class="btn-resolve <% if (resolved) print('img-commonctrl comment-resolved') %>" data-toggle="tooltip"></div>
<% } else if ((!editable || scope.viewmode) && resolved) { %>
<div class="icon-resolve i-comment-resolved" data-toggle="tooltip"></div>
<div class="icon-resolve i-comment-resolved img-commonctrl" data-toggle="tooltip"></div>
<% } %>
</div>
<% } %>
Expand Down
4 changes: 2 additions & 2 deletions apps/common/main/lib/template/CommentsPopover.template
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
<% } %>
<% } %>
<% if (editable && (fullInfoInHint || !hint) && !scope.viewmode) { %>
<div class="btn-resolve <% if (resolved) print('comment-resolved') %>" data-toggle="tooltip"></div>
<div class="btn-resolve <% if (resolved) print('img-commonctrl comment-resolved') %>" data-toggle="tooltip"></div>
<% } else if ((fullInfoInHint || !hint) && (!editable || scope.viewmode) && resolved) { %>
<div class="icon-resolve i-comment-resolved" data-toggle="tooltip"></div>
<div class="icon-resolve i-comment-resolved img-commonctrl" data-toggle="tooltip"></div>
<% } %>
</div>
<% } %>
Expand Down
Binary file modified apps/common/main/resources/img/controls/common-controls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/common/main/resources/img/controls/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/common/main/resources/img/controls/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/common/main/resources/img/controls/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apps/common/main/resources/img/controls/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 5 additions & 14 deletions apps/common/main/resources/less/comments.less
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,11 @@
}
}

.btn-resolve, .btn-accept, .icon-resolve {
.btn-resolve.comment-resolved, .icon-resolve.i-comment-resolved {
background-position: 0px -64px;
}

.btn-resolve:not(.comment-resolved), .btn-accept{
position: relative;

&:after {
Expand All @@ -446,19 +450,6 @@
left: 6px;
top: 0px;
}

&.comment-resolved, &.i-comment-resolved {
&:after {
border-color: @icon-success-ie;
border-color: @icon-success;
width: 5px;
height: 9px;
top: 3px;
}
.box-shadow(0 0 0 1px @icon-success-ie);
.box-shadow(0 0 0 1px @icon-success);
border-radius: 18px;
}
}

.btn-resolve-check {
Expand Down

0 comments on commit e387446

Please sign in to comment.